public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/15449] New: der_io.f90 failure apparently due to misoptimization
@ 2004-05-15 17:19 tobi at gcc dot gnu dot org
2004-05-15 18:21 ` [Bug fortran/15449] [gfortran] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-05-15 17:19 UTC (permalink / raw)
To: gcc-bugs
I have posted a very basic analysis of this problem here:
http://gcc.gnu.org/ml/gcc/2004-05/msg00781.html
After the nested function gets inlined, its result is lost.
I put this in the middle-end component, as this seems to be where the nastiness
happens.
--
Summary: der_io.f90 failure apparently due to misoptimization
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tobi at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15449
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/15449] [gfortran] der_io.f90 failure apparently due to misoptimization
2004-05-15 17:19 [Bug middle-end/15449] New: der_io.f90 failure apparently due to misoptimization tobi at gcc dot gnu dot org
@ 2004-05-15 18:21 ` pinskia at gcc dot gnu dot org
2004-05-17 7:27 ` tobi at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-15 18:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-15 00:50 -------
Actually I think this is a gfortran problem.
The issue I think is that the return statement does not contain a modify expression which is what :
return __result_bar;
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|middle-end |fortran
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-05-15 00:50:11
date| |
Summary|der_io.f90 failure |[gfortran] der_io.f90
|apparently due to |failure apparently due to
|misoptimization |misoptimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15449
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/15449] [gfortran] der_io.f90 failure apparently due to misoptimization
2004-05-15 17:19 [Bug middle-end/15449] New: der_io.f90 failure apparently due to misoptimization tobi at gcc dot gnu dot org
2004-05-15 18:21 ` [Bug fortran/15449] [gfortran] " pinskia at gcc dot gnu dot org
@ 2004-05-17 7:27 ` tobi at gcc dot gnu dot org
2004-05-17 7:42 ` [Bug tree-optimization/15449] " pinskia at gcc dot gnu dot org
2004-05-17 7:54 ` tobi at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-05-17 7:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-05-16 20:43 -------
(In reply to comment #1)
> Actually I think this is a gfortran problem.
>
> The issue I think is that the return statement does not contain a modify
expression which is what :
I would be very grateful, if you could finish that sentence. You may remove
yourself from CC afterwards. :-)
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15449
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/15449] [gfortran] der_io.f90 failure apparently due to misoptimization
2004-05-15 17:19 [Bug middle-end/15449] New: der_io.f90 failure apparently due to misoptimization tobi at gcc dot gnu dot org
2004-05-15 18:21 ` [Bug fortran/15449] [gfortran] " pinskia at gcc dot gnu dot org
2004-05-17 7:27 ` tobi at gcc dot gnu dot org
@ 2004-05-17 7:42 ` pinskia at gcc dot gnu dot org
2004-05-17 7:54 ` tobi at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-17 7:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-16 20:50 -------
I looked again, and this is not what I thought it was.
The finish of the sentence is "what the tree inliner expects". But I was wrong in the analysis.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|fortran |tree-optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15449
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/15449] [gfortran] der_io.f90 failure apparently due to misoptimization
2004-05-15 17:19 [Bug middle-end/15449] New: der_io.f90 failure apparently due to misoptimization tobi at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-05-17 7:42 ` [Bug tree-optimization/15449] " pinskia at gcc dot gnu dot org
@ 2004-05-17 7:54 ` tobi at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-05-17 7:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-05-16 20:55 -------
(In reply to comment #3)
> I looked again, and this is not what I thought it was.
>
> The finish of the sentence is "what the tree inliner expects". But I was
wrong in the analysis.
Too bad. Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15449
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-05-16 20:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-15 17:19 [Bug middle-end/15449] New: der_io.f90 failure apparently due to misoptimization tobi at gcc dot gnu dot org
2004-05-15 18:21 ` [Bug fortran/15449] [gfortran] " pinskia at gcc dot gnu dot org
2004-05-17 7:27 ` tobi at gcc dot gnu dot org
2004-05-17 7:42 ` [Bug tree-optimization/15449] " pinskia at gcc dot gnu dot org
2004-05-17 7:54 ` tobi 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).