------- 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