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

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 17 18:56:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list