------- Comment #2 from jakub at gcc dot gnu dot org 2010-04-12 09:44 ------- Created an attachment (id=20362) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20362&action=view) gcc46-pr43690.patch
This is very ugly. Either we should reject all these during gimplification ("m" (x+1) is also rejected during gimplification), or for POST{IN,DE}CREMENT_EXPR we could mark its operand as addressable in the FEs (but that wouldn't solve PRE{IN,DE}CREMENT_EXPR which would ICE anyway). Or FEs would need to reject this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43690