[Bug middle-end/12342] [tree-ssa] staticvariables in static functions are incorrectly "optimized" away
schwab at suse dot de
gcc-bugzilla@gcc.gnu.org
Fri Sep 19 19:56: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=12342
schwab at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schwab at suse dot de
------- Additional Comments From schwab at suse dot de 2003-09-19 19:23 -------
Does reverting this change fix the bug (see bug 12313)?
2003-09-15 Jason Merrill <jason@redhat.com>
* tree-simple.c (is_gimple_val): Allow addresses of all decls.
(is_gimple_const): Allow addresses of all non-weak statics.
* tree-ssa-ccp.c (fold_stmt): Return bool.
* tree-flow.h: Adjust prototype.
* tree-ssa-dom.c (optimize_stmt): If folding changed stuff, we
need to recalculate the vops.
More information about the Gcc-bugs
mailing list