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]

[Bug c/5675] [4.0 regression] const variables wrongly considered part of constant expressions


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-17 18:56 -------
Subject: Bug 5675

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ian@gcc.gnu.org	2005-01-17 18:55:57

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gcc.dg: c90-const-expr-3.c c99-const-expr-3.c 

Log message:
	PR c/5675
	* gcc.dg/c90-const-expr-3.c: Remove xfails on tests which now
	pass--those that refer just to the variable, possibly with a
	cast.
	* gcc.dg/c99-const-expr-3.c: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4897&r2=1.4898
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/c90-const-expr-3.c.diff?cvsroot=gcc&r1=1.5&r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/c99-const-expr-3.c.diff?cvsroot=gcc&r1=1.4&r2=1.5



-- 


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


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