public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/3480: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
@ 2001-12-01 22:56 rodrigc
0 siblings, 0 replies; 7+ messages in thread
From: rodrigc @ 2001-12-01 22:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR optimization/3480; it has been noted by GNATS.
From: rodrigc@gcc.gnu.org
To: chr.breitkopf@magrathea.de, rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, jk@tools.de, nobody@gcc.gnu.org
Cc:
Subject: Re: optimization/3480: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
Date: 2 Dec 2001 06:49:13 -0000
Synopsis: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Sat Dec 1 22:49:12 2001
State-Changed-Why:
I think this has been fixed by:
http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00698.html
Can you try a gcc 3.0.3 snapshot and verify this?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3480&database=gcc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: optimization/3480: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
@ 2001-12-11 22:26 rodrigc
0 siblings, 0 replies; 7+ messages in thread
From: rodrigc @ 2001-12-11 22:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR optimization/3480; it has been noted by GNATS.
From: rodrigc@gcc.gnu.org
To: chr.breitkopf@magrathea.de, rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, jk@tools.de, nobody@gcc.gnu.org
Cc:
Subject: Re: optimization/3480: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
Date: 12 Dec 2001 06:22:46 -0000
Synopsis: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Tue Dec 11 22:22:46 2001
State-Changed-Why:
Fixed in current snapshot. Confirmed by submitter.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3480&database=gcc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: optimization/3480: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
@ 2001-12-11 22:22 rodrigc
0 siblings, 0 replies; 7+ messages in thread
From: rodrigc @ 2001-12-11 22:22 UTC (permalink / raw)
To: chr.breitkopf, rodrigc, gcc-bugs, gcc-gnats, gcc-prs, jk, nobody
Synopsis: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Tue Dec 11 22:22:46 2001
State-Changed-Why:
Fixed in current snapshot. Confirmed by submitter.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3480&database=gcc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: optimization/3480: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
@ 2001-12-03 4:36 Juergen Keil
0 siblings, 0 replies; 7+ messages in thread
From: Juergen Keil @ 2001-12-03 4:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR optimization/3480; it has been noted by GNATS.
From: Juergen Keil <jk@tools.de>
To: chr.breitkopf@magrathea.de, rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, jk@tools.de, nobody@gcc.gnu.org
Cc:
Subject: Re: optimization/3480: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
Date: Mon, 3 Dec 2001 13:30:00 +0100 (MET)
> Synopsis: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on in=
tel=20
x86
>=20
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-When: Sat Dec 1 22:49:12 2001
> State-Changed-Why:
> I think this has been fixed by:
> http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00698.html
> =20
> Can you try a gcc 3.0.3 snapshot and verify this?
>=20
>=20
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&pr=3D3480&d=
atabase=3Dg
cc
Yes, the problem seems to be fixed.
I've downloaded and installed snapshot gcc-20011126 and the code
generated for the problematic function 'acmStreamOpen' looks much better
now:
.type acmStreamOpen,@function
acmStreamOpen:
pushl %ebp
pushl %edi
pushl %esi
pushl %ebx
subl $16, %esp
movl 44(%esp), %esi <-- third parameter is now accessed via %es=
p=20
with correct offset
movzwl 16(%esi), %ecx
movl 48(%esp), %ebx
In the released versions of gcc-3.0.x, the following buggy code is generate=
d
(from my bug report)
=09.globl acmStreamOpen
=09.type acmStreamOpen,@function
=09acmStreamOpen:
=09pushl %ebp
=09pushl %edi
=09pushl %esi
=09pushl %ebx
=09subl $96, %esp
=09movl 12(%ebp), %esi <--- accesses pwfxSrc as offset(%ebp), no
=09=09=09 <--- valid %ebp setup yet!
=09movzwl 16(%esi), %edx
=09movl 16(%ebp), %ebx
--
J=FCrgen Keil =09=09jk@tools.de
Tools GmbH=09=09=09+49 (228) 9858011
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: optimization/3480: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
@ 2001-12-03 4:36 Juergen Keil
0 siblings, 0 replies; 7+ messages in thread
From: Juergen Keil @ 2001-12-03 4:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR optimization/3480; it has been noted by GNATS.
From: Juergen Keil <jk@tools.de>
To: chr.breitkopf@magrathea.de, rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, jk@tools.de,
nobody@gcc.gnu.org
Cc:
Subject: Re: optimization/3480: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
Date: Mon, 3 Dec 2001 13:30:00 +0100 (MET)
> Synopsis: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on in=
tel=20
x86
>=20
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-When: Sat Dec 1 22:49:12 2001
> State-Changed-Why:
> I think this has been fixed by:
> http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00698.html
> =20
> Can you try a gcc 3.0.3 snapshot and verify this?
>=20
>=20
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&pr=3D3480&d=
atabase=3Dg
cc
Yes, the problem seems to be fixed.
I've downloaded and installed snapshot gcc-20011126 and the code
generated for the problematic function 'acmStreamOpen' looks much better
now:
.type acmStreamOpen,@function
acmStreamOpen:
pushl %ebp
pushl %edi
pushl %esi
pushl %ebx
subl $16, %esp
movl 44(%esp), %esi <-- third parameter is now accessed via %es=
p=20
with correct offset
movzwl 16(%esi), %ecx
movl 48(%esp), %ebx
In the released versions of gcc-3.0.x, the following buggy code is generate=
d
(from my bug report)
=09.globl acmStreamOpen
=09.type acmStreamOpen,@function
=09acmStreamOpen:
=09pushl %ebp
=09pushl %edi
=09pushl %esi
=09pushl %ebx
=09subl $96, %esp
=09movl 12(%ebp), %esi <--- accesses pwfxSrc as offset(%ebp), no
=09=09=09 <--- valid %ebp setup yet!
=09movzwl 16(%esi), %edx
=09movl 16(%ebp), %ebx
--
J=FCrgen Keil =09=09jk@tools.de
Tools GmbH=09=09=09+49 (228) 9858011
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: optimization/3480: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
@ 2001-12-03 4:06 Christoph Breitkopf
0 siblings, 0 replies; 7+ messages in thread
From: Christoph Breitkopf @ 2001-12-03 4:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR optimization/3480; it has been noted by GNATS.
From: Christoph Breitkopf <chr.breitkopf@magrathea.de>
To: rodrigc@gcc.gnu.org
Cc:
Subject: Re: optimization/3480: gcc-3.0, bad code generated with -O3
-fomit-frame-pointer on intel x86
Date: Mon, 03 Dec 2001 12:40:43 +0100
rodrigc@gcc.gnu.org schrieb:
>
> Synopsis: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
>
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-When: Sat Dec 1 22:49:12 2001
> State-Changed-Why:
> I think this has been fixed by:
> http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00698.html
>
> Can you try a gcc 3.0.3 snapshot and verify this?
I tried with gcc 3.1 20011126 (experimental),
and yes, the SEGV with -fomit-frame-pointer has been fixed!
Thanks for the good work.
Regards,
Chris
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: optimization/3480: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
@ 2001-12-01 22:49 rodrigc
0 siblings, 0 replies; 7+ messages in thread
From: rodrigc @ 2001-12-01 22:49 UTC (permalink / raw)
To: chr.breitkopf, rodrigc, gcc-bugs, gcc-gnats, gcc-prs, jk, nobody
Synopsis: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Sat Dec 1 22:49:12 2001
State-Changed-Why:
I think this has been fixed by:
http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00698.html
Can you try a gcc 3.0.3 snapshot and verify this?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3480&database=gcc
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-12-12 6:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-01 22:56 optimization/3480: gcc-3.0, bad code generated with -O3 -fomit-frame-pointer on intel x86 rodrigc
-- strict thread matches above, loose matches on Subject: below --
2001-12-11 22:26 rodrigc
2001-12-11 22:22 rodrigc
2001-12-03 4:36 Juergen Keil
2001-12-03 4:36 Juergen Keil
2001-12-03 4:06 Christoph Breitkopf
2001-12-01 22:49 rodrigc
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).