[Bug tree-optimization/33993] [4.3 Regression] ICE: verify_stmts failed (invalid reference prefix)

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Nov 4 22:23:00 GMT 2007



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-11-04 22:23 -------
I think this is just a bug in the checking system:
      if (!CONSTANT_CLASS_P (t) && !is_gimple_lvalue (t))
        {
          error ("invalid reference prefix");
          return t;
        }

CONSTANT_CLASS_P is going to be false for CONSTRUCTOR but this is a constant as
the elements are all constant.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33993



More information about the Gcc-bugs mailing list