[Bug optimization/12372] [3.4 regression] miscompilation of execute/20030307-1.c at -O2 and -Os
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jan 10 21:39:00 GMT 2004
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-01-10 21:39 -------
The problem seems to arise because args[i].value can be null in
+ if (flags & ECF_CONST)
+ call_fusage = gen_rtx_EXPR_LIST (VOIDmode,
+ gen_rtx_USE (VOIDmode,
+ args[i].value),
+ call_fusage);
You should be able to reproduce it with g++.dg/opt/const3.C and a cross to i586.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12372
More information about the Gcc-bugs
mailing list