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 rtl-optimization/9085] Unable to find register to spill when optimizing


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-01-12 02:31 -------
// C testcase, use '-O1 -mregparm=1 -fschedule-insns -march=i386':

struct A
{
  int j;
};

void foo (struct A *p, int j)
{
  p->j = j % 3;
}

Introduced by this change:

Tue Oct 27 23:32:34 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>

	* reload.h (struct insn_chain): Add need_operand_change element.
	* reload1.c (new_insn_chain): Clear it.
	(calculate_needs_all_insns): Set it; don't overload need_reload.
	(reload_as_needed): Use it.
        ...


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |2.95 3.2 3.3.5 3.4.4 4.0.0
   Last reconfirmed|2004-08-14 06:46:33         |2005-01-12 02:31:19
               date|                            |


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


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