public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/38426] New: Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time
@ 2008-12-06 9:50 d dot g dot gorbachev at gmail dot com
2008-12-06 9:53 ` [Bug middle-end/38426] " d dot g dot gorbachev at gmail dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2008-12-06 9:50 UTC (permalink / raw)
To: gcc-bugs
GCC-4.4
_PsConvertToGuiThread@0:
pushl %ebp
pushl %edi
pushl %esi
pushl %ebx
subl $28, %esp
movl -2100956, %ebx
movl 56(%ebx), %ebp
%ebp is used as a spare register in a non-leaf function.
--
Summary: Incorrect code produced with -momit-leaf-frame-pointer -
fno-unit-at-a-time
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: d dot g dot gorbachev at gmail dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i386-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38426
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/38426] Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time
2008-12-06 9:50 [Bug middle-end/38426] New: Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time d dot g dot gorbachev at gmail dot com
@ 2008-12-06 9:53 ` d dot g dot gorbachev at gmail dot com
2008-12-09 1:12 ` d dot g dot gorbachev at gmail dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2008-12-06 9:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from d dot g dot gorbachev at gmail dot com 2008-12-06 09:52 -------
Created an attachment (id=16839)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16839&action=view)
Preprocessed source
mingw32-gcc -S -Os -momit-leaf-frame-pointer -fno-unit-at-a-time win32.i
C source:
<http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/win32.c?revision=37615&content-type=text%2Fplain>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38426
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/38426] Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time
2008-12-06 9:50 [Bug middle-end/38426] New: Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time d dot g dot gorbachev at gmail dot com
2008-12-06 9:53 ` [Bug middle-end/38426] " d dot g dot gorbachev at gmail dot com
@ 2008-12-09 1:12 ` d dot g dot gorbachev at gmail dot com
2008-12-09 20:34 ` [Bug rtl-optimization/38426] " d dot g dot gorbachev at gmail dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2008-12-09 1:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from d dot g dot gorbachev at gmail dot com 2008-12-09 01:11 -------
Ira() calls setup_eliminable_regset() at ira.c:1794, which calls
ix86_frame_pointer_required() at ira.c:1296, which checks
current_function_is_leaf, but this variable is updated only at ira.c:1866.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38426
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/38426] Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time
2008-12-06 9:50 [Bug middle-end/38426] New: Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time d dot g dot gorbachev at gmail dot com
2008-12-06 9:53 ` [Bug middle-end/38426] " d dot g dot gorbachev at gmail dot com
2008-12-09 1:12 ` d dot g dot gorbachev at gmail dot com
@ 2008-12-09 20:34 ` d dot g dot gorbachev at gmail dot com
2008-12-23 23:36 ` [Bug rtl-optimization/38426] [4.4 Regression] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2008-12-09 20:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from d dot g dot gorbachev at gmail dot com 2008-12-09 20:31 -------
Patch: http://gcc.gnu.org/ml/gcc-patches/2008-12/msg00583.html
--
d dot g dot gorbachev at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |rtl-optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38426
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/38426] [4.4 Regression] Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time
2008-12-06 9:50 [Bug middle-end/38426] New: Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time d dot g dot gorbachev at gmail dot com
` (2 preceding siblings ...)
2008-12-09 20:34 ` [Bug rtl-optimization/38426] " d dot g dot gorbachev at gmail dot com
@ 2008-12-23 23:36 ` pinskia at gcc dot gnu dot org
2009-01-05 11:22 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-23 23:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-23 23:34 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2008-
| |12/msg00583.html
Severity|normal |blocker
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |patch, ra, wrong-code
Known to fail| |4.4.0
Known to work| |4.3.0
Last reconfirmed|0000-00-00 00:00:00 |2008-12-23 23:34:31
date| |
Summary|Incorrect code produced with|[4.4 Regression] Incorrect
|-momit-leaf-frame-pointer - |code produced with -momit-
|fno-unit-at-a-time |leaf-frame-pointer -fno-
| |unit-at-a-time
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38426
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/38426] [4.4 Regression] Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time
2008-12-06 9:50 [Bug middle-end/38426] New: Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time d dot g dot gorbachev at gmail dot com
` (3 preceding siblings ...)
2008-12-23 23:36 ` [Bug rtl-optimization/38426] [4.4 Regression] " pinskia at gcc dot gnu dot org
@ 2009-01-05 11:22 ` rguenth at gcc dot gnu dot org
2009-01-05 23:34 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-05 11:22 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |normal
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38426
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/38426] [4.4 Regression] Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time
2008-12-06 9:50 [Bug middle-end/38426] New: Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time d dot g dot gorbachev at gmail dot com
` (4 preceding siblings ...)
2009-01-05 11:22 ` rguenth at gcc dot gnu dot org
@ 2009-01-05 23:34 ` pinskia at gcc dot gnu dot org
2009-01-06 21:59 ` rsandifo at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-05 23:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2009-01-05 23:33 -------
A better patch was posted and approved:
http://gcc.gnu.org/ml/gcc-patches/2009-01/msg00155.html
-- Pinski
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
URL|http://gcc.gnu.org/ml/gcc- |http://gcc.gnu.org/ml/gcc-
|patches/2008- |patches/2009-
|12/msg00583.html |01/msg00155.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38426
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/38426] [4.4 Regression] Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time
2008-12-06 9:50 [Bug middle-end/38426] New: Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time d dot g dot gorbachev at gmail dot com
` (5 preceding siblings ...)
2009-01-05 23:34 ` pinskia at gcc dot gnu dot org
@ 2009-01-06 21:59 ` rsandifo at gcc dot gnu dot org
2009-01-06 22:02 ` rsandifo at gcc dot gnu dot org
2009-01-07 16:01 ` d dot g dot gorbachev at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2009-01-06 21:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rsandifo at gcc dot gnu dot org 2009-01-06 21:58 -------
Subject: Bug 38426
Author: rsandifo
Date: Tue Jan 6 21:58:46 2009
New Revision: 143135
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143135
Log:
gcc/
PR rtl-optimization/38426.
* ira.c (ira): Set current_function_is_leaf earlier.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ira.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38426
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/38426] [4.4 Regression] Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time
2008-12-06 9:50 [Bug middle-end/38426] New: Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time d dot g dot gorbachev at gmail dot com
` (6 preceding siblings ...)
2009-01-06 21:59 ` rsandifo at gcc dot gnu dot org
@ 2009-01-06 22:02 ` rsandifo at gcc dot gnu dot org
2009-01-07 16:01 ` d dot g dot gorbachev at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2009-01-06 22:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rsandifo at gcc dot gnu dot org 2009-01-06 22:02 -------
Fixed on mainline. Dmitry, sorry for the duplicate work.
--
rsandifo at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38426
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/38426] [4.4 Regression] Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time
2008-12-06 9:50 [Bug middle-end/38426] New: Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time d dot g dot gorbachev at gmail dot com
` (7 preceding siblings ...)
2009-01-06 22:02 ` rsandifo at gcc dot gnu dot org
@ 2009-01-07 16:01 ` d dot g dot gorbachev at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2009-01-07 16:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from d dot g dot gorbachev at gmail dot com 2009-01-07 16:01 -------
> sorry for the duplicate work.
Thanks for fixing it!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38426
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-01-07 16:01 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-06 9:50 [Bug middle-end/38426] New: Incorrect code produced with -momit-leaf-frame-pointer -fno-unit-at-a-time d dot g dot gorbachev at gmail dot com
2008-12-06 9:53 ` [Bug middle-end/38426] " d dot g dot gorbachev at gmail dot com
2008-12-09 1:12 ` d dot g dot gorbachev at gmail dot com
2008-12-09 20:34 ` [Bug rtl-optimization/38426] " d dot g dot gorbachev at gmail dot com
2008-12-23 23:36 ` [Bug rtl-optimization/38426] [4.4 Regression] " pinskia at gcc dot gnu dot org
2009-01-05 11:22 ` rguenth at gcc dot gnu dot org
2009-01-05 23:34 ` pinskia at gcc dot gnu dot org
2009-01-06 21:59 ` rsandifo at gcc dot gnu dot org
2009-01-06 22:02 ` rsandifo at gcc dot gnu dot org
2009-01-07 16:01 ` d dot g dot gorbachev at gmail dot com
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).