aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-low.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2021-11-11 14:39:19 +0100
committerJan Hubicka <jh@suse.cz>2021-11-11 14:39:19 +0100
commit6e30c48120500ef2e8643a7574636ed02567dbb6 (patch)
treecaa16297293051a1172012d9d00d10f889d5dfb4 /gcc/omp-low.c
parent61396dfb2acfe956d420b279b2becec1c4f81ba2 (diff)
downloadgcc-6e30c48120500ef2e8643a7574636ed02567dbb6.zip
gcc-6e30c48120500ef2e8643a7574636ed02567dbb6.tar.gz
gcc-6e30c48120500ef2e8643a7574636ed02567dbb6.tar.bz2
Fix recursion discovery in ipa-pure-const
We make self recursive functions as looping of fear of endless recursion. This is done correctly for local pure/const and for non-trivial SCCs in callgraph, but for trivial SCCs we miss the flag. I think it is bad decision since infinite recursion will run out of stack, but changing it upsets some testcases and should be done independently. So this patch is fixing current behaviour to be consistent. gcc/ChangeLog: 2021-11-11 Jan Hubicka <hubicka@ucw.cz> * ipa-pure-const.c (propagate_pure_const): Self recursion is a side effects.
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions