https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112658
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[12/13/14 Regression] ICE: |[12/13/14 Regression] ICE: |finish_expr_stmt , at |finish_expr_stmt with |cp/semantics.cc:892 |casting an temp array to | |pointer --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Here is a better testcase: ``` struct foo{ foo(const int *new_mac); }; typedef int t[1]; void g(){ foo f((int*)t{ 0xFC}); } ``` Which is definitely valid code.