public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
@ 2010-11-04 2:12 zsojka at seznam dot cz
2010-11-04 2:16 ` [Bug tree-optimization/46297] " zsojka at seznam dot cz
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: zsojka at seznam dot cz @ 2010-11-04 2:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
Summary: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with
-Os -fno-asynchronous-unwind-tables
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Output:
$ gfortran -Os -fno-asynchronous-unwind-tables 980701-0.f
$ ./a.out
Aborted
valgrind output:
$ gfortran -Os -fno-asynchronous-unwind-tables 980701-0.f -g
$ valgrind -q ./a.out
==3171== Conditional jump or move depends on uninitialised value(s)
==3171== at 0x40078C: x_ (980701-0.f:67)
==3171==
==3171== Conditional jump or move depends on uninitialised value(s)
==3171== at 0x40078E: x_ (980701-0.f:67)
==3171==
Aborted
The warning is for these instructions:
400781: f3 0f 10 00 movss (%rax),%xmm0
400785: 0f 2e 05 7c 02 00 00 ucomiss 0x27c(%rip),%xmm0 #
400a08 <options.0.1574+0x28>
40078c: 7a 41 jp 4007cf <x_+0x14b>
40078e: 75 3f jne 4007cf <x_+0x14b>
Tested revisions:
r166272 - fail
r163636 - fail
r161659 - OK
4.5 r165781 - OK
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
@ 2010-11-04 2:16 ` zsojka at seznam dot cz
2010-11-04 4:04 ` hjl.tools at gmail dot com
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: zsojka at seznam dot cz @ 2010-11-04 2:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2010-11-04 02:16:26 UTC ---
Created attachment 22271
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22271
auto-reduced testcase
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
2010-11-04 2:16 ` [Bug tree-optimization/46297] " zsojka at seznam dot cz
@ 2010-11-04 4:04 ` hjl.tools at gmail dot com
2010-11-04 14:47 ` law at redhat dot com
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-04 4:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.11.04 04:04:37
CC| |bernds at codesourcery dot
| |com, hjl.tools at gmail dot
| |com
Target Milestone|--- |4.6.0
Ever Confirmed|0 |1
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-04 04:04:37 UTC ---
It is caused by revision 162270:
http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00624.html
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
2010-11-04 2:16 ` [Bug tree-optimization/46297] " zsojka at seznam dot cz
2010-11-04 4:04 ` hjl.tools at gmail dot com
@ 2010-11-04 14:47 ` law at redhat dot com
2010-11-04 17:03 ` law at redhat dot com
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: law at redhat dot com @ 2010-11-04 14:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |law at redhat dot com
--- Comment #3 from Jeffrey A. Law <law at redhat dot com> 2010-11-04 14:47:11 UTC ---
I think this might be a problem with handling auto-increment addressing modes
in the new optimization. I'll be looking at it further later today.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-11-04 14:47 ` law at redhat dot com
@ 2010-11-04 17:03 ` law at redhat dot com
2010-11-15 12:26 ` rguenth at gcc dot gnu.org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: law at redhat dot com @ 2010-11-04 17:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
--- Comment #4 from Jeffrey A. Law <law at redhat dot com> 2010-11-04 17:03:26 UTC ---
Testing a fix...
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-11-04 17:03 ` law at redhat dot com
@ 2010-11-15 12:26 ` rguenth at gcc dot gnu.org
2010-11-15 13:03 ` bernds at gcc dot gnu.org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-15 12:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
` (4 preceding siblings ...)
2010-11-15 12:26 ` rguenth at gcc dot gnu.org
@ 2010-11-15 13:03 ` bernds at gcc dot gnu.org
2010-11-15 14:26 ` law at redhat dot com
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bernds at gcc dot gnu.org @ 2010-11-15 13:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
Bernd Schmidt <bernds at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bernds at gcc dot gnu.org
--- Comment #5 from Bernd Schmidt <bernds at gcc dot gnu.org> 2010-11-15 12:30:26 UTC ---
Jeff, what have you found?
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
` (5 preceding siblings ...)
2010-11-15 13:03 ` bernds at gcc dot gnu.org
@ 2010-11-15 14:26 ` law at redhat dot com
2010-11-15 15:18 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: law at redhat dot com @ 2010-11-15 14:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
--- Comment #6 from Jeffrey A. Law <law at redhat dot com> 2010-11-15 14:13:55 UTC ---
On 11/15/10 05:40, bernds at gcc dot gnu.org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
>
> Bernd Schmidt<bernds at gcc dot gnu.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |bernds at gcc dot gnu.org
>
> --- Comment #5 from Bernd Schmidt<bernds at gcc dot gnu.org> 2010-11-15 12:30:26 UTC ---
> Jeff, what have you found?
>
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg00634.html
Waiting for review...
jeff
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
` (6 preceding siblings ...)
2010-11-15 14:26 ` law at redhat dot com
@ 2010-11-15 15:18 ` rguenth at gcc dot gnu.org
2010-11-15 18:13 ` law at redhat dot com
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-15 15:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-15 15:10:12 UTC ---
(In reply to comment #6)
> On 11/15/10 05:40, bernds at gcc dot gnu.org wrote:
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
> >
> > Bernd Schmidt<bernds at gcc dot gnu.org> changed:
> >
> > What |Removed |Added
> > ----------------------------------------------------------------------------
> > CC| |bernds at gcc dot gnu.org
> >
> > --- Comment #5 from Bernd Schmidt<bernds at gcc dot gnu.org> 2010-11-15 12:30:26 UTC ---
> > Jeff, what have you found?
> >
> http://gcc.gnu.org/ml/gcc-patches/2010-11/msg00634.html
>
> Waiting for review...
You don't need explicit approval for this middle-end patch.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
` (7 preceding siblings ...)
2010-11-15 15:18 ` rguenth at gcc dot gnu.org
@ 2010-11-15 18:13 ` law at redhat dot com
2010-11-15 23:00 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: law at redhat dot com @ 2010-11-15 18:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
--- Comment #8 from Jeffrey A. Law <law at redhat dot com> 2010-11-15 18:05:11 UTC ---
On 11/15/10 08:14, rguenth at gcc dot gnu.org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
>
> --- Comment #7 from Richard Guenther<rguenth at gcc dot gnu.org> 2010-11-15 15:10:12 UTC ---
> (In reply to comment #6)
>> On 11/15/10 05:40, bernds at gcc dot gnu.org wrote:
>>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
>>>
>>> Bernd Schmidt<bernds at gcc dot gnu.org> changed:
>>>
>>> What |Removed |Added
>>> ----------------------------------------------------------------------------
>>> CC| |bernds at gcc dot gnu.org
>>>
>>> --- Comment #5 from Bernd Schmidt<bernds at gcc dot gnu.org> 2010-11-15 12:30:26 UTC ---
>>> Jeff, what have you found?
>>>
>> http://gcc.gnu.org/ml/gcc-patches/2010-11/msg00634.html
>>
>> Waiting for review...
> You don't need explicit approval for this middle-end patch.
Noted. More than happy to consider postreload.c part of the middle end :-)
I wouldn't mind hearing from Bernd to ensure that I'm marking the reg as
being used in an unknown fashion correctly, but if I haven't heard from
him in a few days, I'll go ahead and check it in.
jeff
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
` (8 preceding siblings ...)
2010-11-15 18:13 ` law at redhat dot com
@ 2010-11-15 23:00 ` rguenth at gcc dot gnu.org
2010-11-18 14:35 ` [Bug middle-end/46297] " law at redhat dot com
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-15 23:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-15 22:44:32 UTC ---
(In reply to comment #8)
> >>
> >> Waiting for review...
> > You don't need explicit approval for this middle-end patch.
> Noted. More than happy to consider postreload.c part of the middle end :-)
Folklore says that everything that is not frontend is middle-end ;)
At least I'm using it that way when feeling comfortable to do so
(which usually excludes all RTL parts ...).
Richard.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
` (9 preceding siblings ...)
2010-11-15 23:00 ` rguenth at gcc dot gnu.org
@ 2010-11-18 14:35 ` law at redhat dot com
2010-11-18 14:36 ` law at gcc dot gnu.org
2010-11-19 10:17 ` jakub at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: law at redhat dot com @ 2010-11-18 14:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Component|tree-optimization |middle-end
AssignedTo|unassigned at gcc dot |law at redhat dot com
|gnu.org |
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
` (10 preceding siblings ...)
2010-11-18 14:35 ` [Bug middle-end/46297] " law at redhat dot com
@ 2010-11-18 14:36 ` law at gcc dot gnu.org
2010-11-19 10:17 ` jakub at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: law at gcc dot gnu.org @ 2010-11-18 14:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
--- Comment #10 from Jeffrey A. Law <law at gcc dot gnu.org> 2010-11-18 14:34:33 UTC ---
Author: law
Date: Thu Nov 18 14:34:29 2010
New Revision: 166905
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166905
Log:
PR middle-end-optimization/46297
* postreload.c (reload_combine_note_store): Deal with embedded
side effects in MEM expressions.
* gfortran.dg/pr46297.f: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr46297.f
Modified:
trunk/gcc/ChangeLog
trunk/gcc/postreload.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
` (11 preceding siblings ...)
2010-11-18 14:36 ` law at gcc dot gnu.org
@ 2010-11-19 10:17 ` jakub at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-19 10:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution| |FIXED
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-19 10:01:46 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2010-11-19 10:02 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-04 2:12 [Bug tree-optimization/46297] New: [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables zsojka at seznam dot cz
2010-11-04 2:16 ` [Bug tree-optimization/46297] " zsojka at seznam dot cz
2010-11-04 4:04 ` hjl.tools at gmail dot com
2010-11-04 14:47 ` law at redhat dot com
2010-11-04 17:03 ` law at redhat dot com
2010-11-15 12:26 ` rguenth at gcc dot gnu.org
2010-11-15 13:03 ` bernds at gcc dot gnu.org
2010-11-15 14:26 ` law at redhat dot com
2010-11-15 15:18 ` rguenth at gcc dot gnu.org
2010-11-15 18:13 ` law at redhat dot com
2010-11-15 23:00 ` rguenth at gcc dot gnu.org
2010-11-18 14:35 ` [Bug middle-end/46297] " law at redhat dot com
2010-11-18 14:36 ` law at gcc dot gnu.org
2010-11-19 10:17 ` jakub at gcc dot gnu.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).