aboutsummaryrefslogtreecommitdiff
path: root/gcc/lra-constraints.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2013-04-19 13:39:16 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2013-04-19 13:39:16 +0000
commitf6b64c35014ca111711e753be85bb99280a1e115 (patch)
treecfb5aede3dc10b27de8a955ca7bcb7bff5699aa4 /gcc/lra-constraints.c
parent01d8bf070a2ca6a10c66a81f1b5e1c00856b5bc4 (diff)
downloadgcc-f6b64c35014ca111711e753be85bb99280a1e115.zip
gcc-f6b64c35014ca111711e753be85bb99280a1e115.tar.gz
gcc-f6b64c35014ca111711e753be85bb99280a1e115.tar.bz2
re PR tree-optimization/56982 (Bad optimization with setjmp())
2013-04-19 Richard Biener <rguenther@suse.de> PR tree-optimization/56982 * builtins.def (BUILT_IN_LONGJMP): longjmp is not a leaf function. * gimplify.c (gimplify_call_expr): Notice special calls. (gimplify_modify_expr): Likewise. * tree-cfg.c (make_abnormal_goto_edges): Handle setjmp-like abnormal control flow receivers. (call_can_make_abnormal_goto): Handle cfun->calls_setjmp in the same way as cfun->has_nonlocal_labels. (gimple_purge_dead_abnormal_call_edges): Likewise. (stmt_starts_bb_p): Make setjmp-like abnormal control flow receivers start a basic-block. * gcc.c-torture/execute/pr56982.c: New testcase. From-SVN: r198096
Diffstat (limited to 'gcc/lra-constraints.c')
0 files changed, 0 insertions, 0 deletions