This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/50735] [4.7 Regression] gcc.dg/torture/vector-2.c:52:1: ICE: verify_ssa failed at -O1 and above


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]