[Bug fortran/18525] ICE on valid code in gfc_get_symbol_decl()

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Mar 19 19:53:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-19 19:53 -------
Subject: Bug 18525

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	tobi@gcc.gnu.org	2005-03-19 19:52:53

Modified files:
	gcc/fortran    : ChangeLog dump-parse-tree.c resolve.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gfortran.dg: nesting_1.f90 

Log message:
	fortran/
	* dump-parse-tree.c (gfc_show_expr): Dump name of namespace
	in which the variable is declared.
	
	PR fortran/18525
	* resolve.c (was_declared): Also check for dummy attribute.
	
	testsuite/
	PR fortran/18525
	* gfortran.dg/nesting_1.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.335.2.16&r2=1.335.2.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/dump-parse-tree.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.14&r2=1.14.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.34.2.4&r2=1.34.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.53&r2=1.5084.2.54
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/nesting_1.f90.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1



-- 


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



More information about the Gcc-bugs mailing list