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 middle-end/12342] [tree-ssa] staticvariables in static functions are incorrectly "optimized" away


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.


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