c/5105: compound literal patch broken with inlining
aj@gcc.gnu.org
aj@gcc.gnu.org
Mon Dec 17 08:27:00 GMT 2001
Synopsis: compound literal patch broken with inlining
State-Changed-From-To: open->closed
State-Changed-By: aj
State-Changed-When: Mon Dec 17 01:40:51 2001
State-Changed-Why:
This has been fixed with Joseph's patch (just tested glibc),
thanks,
Andreas
2001-12-17 Joseph S. Myers <jsm28@cam.ac.uk>
* c-common.def (COMPOUND_LITERAL_EXPR): Contain a DECL_STMT, not
a DECL directly.
* c-common.h (COMPOUND_LITERAL_EXPR_DECL_STMT): New.
(COMPOUND_LITERAL_EXPR_DECL): Adjust definition.
* c-decl.c (build_compound_literal): Put the decl inside a
DECL_STMT.
* doc/c-tree.texi (COMPOUND_LITERAL_EXPR): Update documentation.
Fixes PR c/5105.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5105
More information about the Gcc-bugs
mailing list