[Bug bootstrap/16504] [3.5 Regression] ICE in gmon-sol2, stage2

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 14 22:09:00 GMT 2004


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-14 22:09 -------
The stage2 compiler (and more precisely reload.c:combine_reloads) is miscompiled
by the stage1 compiler.  The bug stems from a bad interaction between libcalls,
CSE and loop invariant motion that would probably not be easy to fix.

However, I don't want to fix it because it uncovered what appears to be a major
problem in:

2004-07-09  David S. Miller  <davem@nuts.davemloft.net>

	* config/sparc/sparc.h (processor_costs): Define.
	(sparc_costs): Declare.
	* config/sparc/sparc.c (cypress_costs, supersparc_costs,
	hypersparc_costs, sparclet_costs, ultrasparc_costs,
	ultrasparc3_costs): New.
	(sparc_override_options): Set sparc_costs as appropriate.
	(sparc_rtx_costs): Use sparc_costs instead of messy
	conditionals.


The bootstrap failure should go away after this problem is corrected.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16504



More information about the Gcc-bugs mailing list