[Bug optimization/5079] Reference to static const int not eliminated during optimization
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 28 07:14:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5079
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-08-28 07:14 -------
Subject: Bug 5079
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2003-08-28 07:14:26
Modified files:
gcc/testsuite : ChangeLog
gcc/cp : ChangeLog call.c
Added files:
gcc/testsuite/g++.dg/opt: static3.C
Log message:
PR optimization/5079
* call.c (build_conditional_expr): Use decl_constant_value to
simplify the arguments.
PR optimization/5079
* g++.dg/opt/static3.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3008&r2=1.3009
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/static3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3627&r2=1.3628
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&r1=1.425&r2=1.426
More information about the Gcc-bugs
mailing list