public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/9085] Unable to find register to spill when optimizing
       [not found] <20021228134601.9085.j.vanbemmel@home.nl>
@ 2003-08-18  2:38 ` pinskia at gcc dot gnu dot org
  2005-01-12  2:31 ` [Bug rtl-optimization/9085] " belyshev at depni dot sinp dot msu dot ru
  2005-05-09 14:51 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-18  2:38 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|                            |i?86-pc-linuc-gnu
   Last reconfirmed|2003-06-26 19:04:48         |2003-08-18 02:38:17
               date|                            |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-18 02:38 -------
You only need: gcc -Os -mregparm=2 pr9085.cc -fschedule-insns
It happens on most arch's.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug rtl-optimization/9085] Unable to find register to spill when optimizing
       [not found] <20021228134601.9085.j.vanbemmel@home.nl>
  2003-08-18  2:38 ` [Bug optimization/9085] Unable to find register to spill when optimizing pinskia at gcc dot gnu dot org
@ 2005-01-12  2:31 ` belyshev at depni dot sinp dot msu dot ru
  2005-05-09 14:51 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 7+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-01-12  2:31 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug rtl-optimization/9085] Unable to find register to spill when optimizing
       [not found] <20021228134601.9085.j.vanbemmel@home.nl>
  2003-08-18  2:38 ` [Bug optimization/9085] Unable to find register to spill when optimizing pinskia at gcc dot gnu dot org
  2005-01-12  2:31 ` [Bug rtl-optimization/9085] " belyshev at depni dot sinp dot msu dot ru
@ 2005-05-09 14:51 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-09 14:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-09 14:51 -------
*** Bug 13565 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc at mrousseau dot org


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug rtl-optimization/9085] Unable to find register to spill when optimizing
       [not found] <bug-9085-3579@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2009-10-01 20:51 ` ubizjak at gmail dot com
@ 2009-11-09 22:13 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-11-09 22:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from reichelt at gcc dot gnu dot org  2009-11-09 22:13 -------
The testcase from comment #7 doesn't crash since GCC 4.0.0.
The testcase from comment #4 stopped crashing in August or September,
so let's close the bug for good.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug rtl-optimization/9085] Unable to find register to spill when optimizing
       [not found] <bug-9085-3579@http.gcc.gnu.org/bugzilla/>
  2007-05-31  8:53 ` mkuvyrkov at gcc dot gnu dot org
  2008-09-14  4:36 ` pinskia at gcc dot gnu dot org
@ 2009-10-01 20:51 ` ubizjak at gmail dot com
  2009-11-09 22:13 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2009-10-01 20:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from ubizjak at gmail dot com  2009-10-01 20:51 -------
None of the testcases fail anymore with GCC: (GNU) 4.5.0 20091001
(experimental) [trunk revision 152374].

The testcase from #7 produces:

foo:
        pushl   %ebp
        movl    %esp, %ebp
        pushl   %ebx
        movl    %eax, %ecx
        movl    8(%ebp), %eax
        movl    $3, %edx
        movl    %edx, %ebx
        cltd
        idivl   %ebx
        movl    %edx, (%ecx)
        popl    %ebx
        leave
        ret


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug rtl-optimization/9085] Unable to find register to spill when optimizing
       [not found] <bug-9085-3579@http.gcc.gnu.org/bugzilla/>
  2007-05-31  8:53 ` mkuvyrkov at gcc dot gnu dot org
@ 2008-09-14  4:36 ` pinskia at gcc dot gnu dot org
  2009-10-01 20:51 ` ubizjak at gmail dot com
  2009-11-09 22:13 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-14  4:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pinskia at gcc dot gnu dot org  2008-09-14 04:34 -------
Related to PR 22072.


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug rtl-optimization/9085] Unable to find register to spill when optimizing
       [not found] <bug-9085-3579@http.gcc.gnu.org/bugzilla/>
@ 2007-05-31  8:53 ` mkuvyrkov at gcc dot gnu dot org
  2008-09-14  4:36 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: mkuvyrkov at gcc dot gnu dot org @ 2007-05-31  8:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from mkuvyrkov at gcc dot gnu dot org  2007-05-31 08:53 -------
*** Bug 31508 has been marked as a duplicate of this bug. ***


-- 

mkuvyrkov at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marat dot buharov at gmail
                   |                            |dot com


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-11-09 22:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20021228134601.9085.j.vanbemmel@home.nl>
2003-08-18  2:38 ` [Bug optimization/9085] Unable to find register to spill when optimizing pinskia at gcc dot gnu dot org
2005-01-12  2:31 ` [Bug rtl-optimization/9085] " belyshev at depni dot sinp dot msu dot ru
2005-05-09 14:51 ` pinskia at gcc dot gnu dot org
     [not found] <bug-9085-3579@http.gcc.gnu.org/bugzilla/>
2007-05-31  8:53 ` mkuvyrkov at gcc dot gnu dot org
2008-09-14  4:36 ` pinskia at gcc dot gnu dot org
2009-10-01 20:51 ` ubizjak at gmail dot com
2009-11-09 22:13 ` reichelt at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).