[Bug c/28418] [4.0/4.1/4.2 regression] ICE incrementing compound literal expression

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Aug 18 03:20:00 GMT 2006



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-08-18 03:20 -------
Wait a minute the C front-end produces for this testcase:
  <<< Unknown tree: compound_literal_expr
    struct A D.1524 = {.i=0}; >>>
.i = <<< Unknown tree: compound_literal_expr
    struct A D.1524 = {.i=0}; >>>
.i + 1;


so obviously we are going to gimplify the compound_literal_expr twice.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28418



More information about the Gcc-bugs mailing list