https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53424
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2012-05-20 00:00:00 |2026-2-4
CC| |jsm28 at gcc dot gnu.org
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Re-confirmed. IMO correctness trumps optimization, but possibly instead of
just allowing const DECL_P this should move down to default: handling and we
should handle INDIRECT_REF specially like we handle ADDR_EXPR in only
allowing const iff the address is invariant itself?