]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-ccp.c
re PR tree-optimization/43220 (Paritially optimized __builtin_save_stack/__builtin_re...
authorRichard Guenther <rguenther@suse.de>
Mon, 1 Mar 2010 16:57:02 +0000 (16:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 1 Mar 2010 16:57:02 +0000 (16:57 +0000)
commit12f9ddbc7da85ff73fc4fd4bf6a15cd30cefdef4
treedce5f3e5cbf410a30b6490696932190d8e2cdfe1
parentf0c10f0fabb9b9559f9eeee4a8d1ec663df89aa1
re PR tree-optimization/43220 (Paritially optimized __builtin_save_stack/__builtin_restore_stack causes segmentation fault)

2010-03-01  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43220
* tree-ssa-ccp.c (optimize_stack_restore): Do not optimize
BUILT_IN_STACK_{SAVE,RESTORE} around alloca.

* gcc.c-torture/execute/pr43220.c: New testcase.

From-SVN: r157149
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr43220.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c