This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49822] New: [gcc-4.7 regression] Segfault in remove_prop_source_from_use
- From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 23 Jul 2011 14:06:10 +0000
- Subject: [Bug tree-optimization/49822] New: [gcc-4.7 regression] Segfault in remove_prop_source_from_use
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49822
Summary: [gcc-4.7 regression] Segfault in
remove_prop_source_from_use
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rearnsha@gcc.gnu.org
Target: arm-eabi
Created attachment 24815
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24815
testcase
Attached testcase segfaults GCC for arm-eabi when compiled with
cc1 -marm -mcpu=arm7tdmi -Os -fno-short-enums
This was caused by:
2011-07-21 Richard Guenther <rguenther@suse.de>
* tree-ssa-forwprop.c (combine_conversions): Return whether
we have to run cfg-cleanup. Properly remove dead stmts.
(ssa_forward_propagate_and_combine): Adjust.