------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-03 05:58 ------- (In reply to comment #2) > Should this be revisited now that gcc-4.x has disallowed > ternaries as lvalues? My users are somewhat mystified > as to why they need to declare storage for integer > constants whose address is never taken.
Because that is what the standard allows. Also if you turn on optimization, the references go away. Reopening to ... -- What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10483