[Bug c/18963] [4.0 Regression] static and nested declarations cause an ice

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 21 17:07:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-21 17:07 -------
Subject: Bug 18963

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	phython@gcc.gnu.org	2004-12-21 17:07:06

Modified files:
	gcc            : c-decl.c ChangeLog 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: pr18963-1.c 

Log message:
	2004-12-21  James A. Morrison  <phython@gcc.gnu.org>
	
	PR c/18963
	* c-decl.c (pushdecl): Remove block trying to merge static function
	declarations at block scope to file scope declarations.
	
	testsuite:
	PR c/18963
	* gcc.dg/pr18963-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&r1=1.618&r2=1.619
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6911&r2=2.6912
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4789&r2=1.4790
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/pr18963-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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



More information about the Gcc-bugs mailing list