------- Comment #10 from janis at gcc dot gnu dot org 2008-12-05 00:23 ------- The fix causes two tests to get an internal compiler error for powerpc*-*-*:
g++.dg/init/copy5.C gcc.c-torture/execute/930718-1.c Here's a smaller version of 930718-1.c: typedef struct rtx_def { int f2 :1; } *rtx; static rtx f (rtx orig) { if (orig->f2) return orig; orig->f2 = 1; return orig; } int main () { struct rtx_def foo = { 0 }; rtx bar; bar = f (&foo); return (bar->f2 != 0); } It fails with an ICE in gimplify_expr at gimplify.c:6959 with code=COND_EXPR. -- janis at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |luisgpm at linux dot vnet | |dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37716