This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/28418] [4.0/4.1 regression] ICE incrementing compound literal expression
- From: "fjahanian at apple dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2006 21:36:19 -0000
- Subject: [Bug c/28418] [4.0/4.1 regression] ICE incrementing compound literal expression
- References: <bug-28418-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from fjahanian at apple dot com 2006-08-25 21:36 -------
I was about to sub mit the patch. Thank you for this patch.
- Fariborz
> Subject: Bug 28418
>
> Author: jsm28
> Date: Fri Aug 25 21:14:24 2006
> New Revision: 116436
>
> URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116436
> Log:
> 2006-08-25 Fariborz Jahanian <fjahanian@apple.com>
>
> PR c/28418
> * c-gimplify.c (gimplify_compound_literal_expr): Don't add
> variable again if DECL_SEEN_IN_BIND_EXPR_P.
>
> 2006-08-25 Joseph S. Myers <joseph@codesourcery.com>
>
> * gcc.c-torture/compile/compound-literal-1.c: New test.
>
> Added:
> trunk/gcc/testsuite/gcc.c-torture/compile/compound-literal-1.c
> Modified:
> trunk/gcc/ChangeLog
> trunk/gcc/c-gimplify.c
> trunk/gcc/testsuite/ChangeLog
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28418