This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/5105: compound literal patch broken with inlining


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]