aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-07-31 08:41:56 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:20:21 -0300
commit11a630f20c766ffa91cfe323e02bb7a0e55e5cff (patch)
tree49eedb0ff616a266d6ec659419aef8c1c526654d /gcc/fortran
parent24893cb6c1b8c56863331b6532a5f601c6f6c910 (diff)
downloadgcc-11a630f20c766ffa91cfe323e02bb7a0e55e5cff.zip
gcc-11a630f20c766ffa91cfe323e02bb7a0e55e5cff.tar.gz
gcc-11a630f20c766ffa91cfe323e02bb7a0e55e5cff.tar.bz2
middle-end/96369 - fix missed short-circuiting during range folding
This makes the special case of constant evaluated LHS for a short-circuiting or/and explicit rather than doing range merging and eventually exposing a side-effect that shouldn't be evaluated. 2020-07-31 Richard Biener <rguenther@suse.de> PR middle-end/96369 * fold-const.c (fold_range_test): Special-case constant LHS for short-circuiting operations. * c-c++-common/pr96369.c: New testcase.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions