aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2017-05-18 15:58:33 +0000
committerWilco Dijkstra <wilco@gcc.gnu.org>2017-05-18 15:58:33 +0000
commit00d600138536a4978f40b25233c2f37c0fc426d4 (patch)
tree8f1c7987efcffcb6c2d403a3ea483a1fdd783b71 /gcc/fortran
parent2063b07f4de76afe602730fb51acd8aebbf5c1bd (diff)
downloadgcc-00d600138536a4978f40b25233c2f37c0fc426d4.zip
gcc-00d600138536a4978f40b25233c2f37c0fc426d4.tar.gz
gcc-00d600138536a4978f40b25233c2f37c0fc426d4.tar.bz2
Add an assert to leaf_function_p to ensure it is not called from a prolog or...
Add an assert to leaf_function_p to ensure it is not called from a prolog or epilog sequence (which would incorrectly return true in a non-leaf function). There are several targets which still call leaf_function_p, and while most appear safe or appear aware of the issue, it is likely not all such calls are safe. This check enables any such latent bugs to be found. gcc/ * final.c (leaf_function_p): Check we are not in a sequence. From-SVN: r248240
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions