[Bug fortran/88124] Wrong results with procedure in seperate file

2021-01-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88124 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING CC|

[Bug fortran/88124] Wrong results with procedure in seperate file

2018-11-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88124 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/88124] Wrong results with procedure in seperate file

2018-11-21 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88124 --- Comment #9 from Steve Kargl --- On Wed, Nov 21, 2018 at 08:59:08AM -0800, Steve Kargl wrote: > On Wed, Nov 21, 2018 at 08:49:55AM +, tkoenig at gcc dot gnu.org wrote: > > > > --- Comment #6 from Thomas Koenig --- > > The type has

[Bug fortran/88124] Wrong results with procedure in seperate file

2018-11-21 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88124 --- Comment #8 from Steve Kargl --- On Wed, Nov 21, 2018 at 08:49:55AM +, tkoenig at gcc dot gnu.org wrote: > > --- Comment #6 from Thomas Koenig --- > The type has SEQUENCE, so I think this should actually work... or did I miss >

[Bug fortran/88124] Wrong results with procedure in seperate file

2018-11-21 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88124 --- Comment #7 from Jerry DeLisle --- (In reply to Thomas Koenig from comment #6) > The type has SEQUENCE, so I think this should actually work... or did I miss > something here? It does seem to be not well defined. The preprocessor will

[Bug fortran/88124] Wrong results with procedure in seperate file

2018-11-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88124 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug fortran/88124] Wrong results with procedure in seperate file

2018-11-20 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88124 --- Comment #5 from Steve Kargl --- On Wed, Nov 21, 2018 at 03:57:05AM +, kargl at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88124 > > --- Comment #4 from kargl at gcc dot gnu.org --- > (In reply to kargl from

[Bug fortran/88124] Wrong results with procedure in seperate file

2018-11-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88124 --- Comment #4 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #3) > I think you're running into undefined behavior. Even though > the derive type defined in the include file is obviously > identical when the main program and

[Bug fortran/88124] Wrong results with procedure in seperate file

2018-11-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88124 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug fortran/88124] Wrong results with procedure in seperate file

2018-11-20 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88124 --- Comment #2 from Jerry DeLisle --- See https://gcc.gnu.org/ml/fortran/2018-11/msg00101.html For further explanation of problem. I found that when I placed the content of sub.F into main.f with the contains, that it gave the correct results.

[Bug fortran/88124] Wrong results with procedure in seperate file

2018-11-20 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88124 --- Comment #1 from Jerry DeLisle --- Created attachment 45050 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45050=edit Include file for example