http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48134
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-15 14:36:39 UTC --- Created attachment 23664 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23664 gcc46-pr48134.patch This fixes it, though perhaps as discussed earlier we want to fold everything in expand_debug_expr except for memory addresses or something similar. For 4.6 this is low priority, as with --enable-checking=release it will just work, so doesn't need to be fixed before 4.6.0 release.