aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/check.c
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2021-11-30 18:45:11 +0100
committerMartin Jambor <mjambor@suse.cz>2021-11-30 18:45:21 +0100
commite5440bc08e07fd491dcccd47e1b86a5985ee117c (patch)
tree2348faca18b82a098b00c49fa19a75f1572cbd6e /gcc/fortran/check.c
parent7057b8f8c2fbb7a2112705c2962d92b8ccef7c30 (diff)
downloadgcc-e5440bc08e07fd491dcccd47e1b86a5985ee117c.zip
gcc-e5440bc08e07fd491dcccd47e1b86a5985ee117c.tar.gz
gcc-e5440bc08e07fd491dcccd47e1b86a5985ee117c.tar.bz2
ipa-sra: Check also ECF_LOOPING_CONST_OR_PURE when evaluating calls
in PR 103267 Honza found out that IPA-SRA does not look at ECF_LOOPING_CONST_OR_PURE when evaluating if a call can have side effects. Fixed with this patch. The testcase infinitely loops in a const function, so it would not make a good addition to the testsuite. gcc/ChangeLog: 2021-11-29 Martin Jambor <mjambor@suse.cz> PR ipa/103267 * ipa-sra.c (scan_function): Also check ECF_LOOPING_CONST_OR_PURE flag.
Diffstat (limited to 'gcc/fortran/check.c')
0 files changed, 0 insertions, 0 deletions