This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50735] [4.7 Regression] gcc.dg/torture/vector-2.c:52:1: ICE: verify_ssa failed at -O1 and above
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Oct 2011 10:48:12 +0000
- Subject: [Bug tree-optimization/50735] [4.7 Regression] gcc.dg/torture/vector-2.c:52:1: ICE: verify_ssa failed at -O1 and above
- Auto-submitted: auto-generated
- References: <bug-50735-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50735
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-10-15 10:48:12 UTC ---
Created attachment 25509
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25509
gcc47-pr50735.patch
Untested fix. Alternatively we could do:
/* If PARM was addressable, move that flag over
to the local copy, as its address will be taken,
not the PARMs. Keep the parms address taken
as we'll query that flag during gimplification. */
if (TREE_ADDRESSABLE (parm))
{
local = create_tmp_var (type, get_name (parm));
TREE_ADDRESSABLE (local) = 1;
}
else
local = create_tmp_reg (type, get_name (parm));
DECL_IGNORED_P (local) = 0;