[Bug fortran/100440] allocated() gives True for unallocated variable

2021-07-26 Thread David.Smith at lmu dot edu via Gcc-bugs
() gives True for unallocated variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 --- Comment #12 from anlauf at gcc dot gnu.org --- A small variation of the testcase in comment#9 suggests that there are actually two underlying issues: lack of initialization and a missing temporary. program p

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 --- Comment #12 from anlauf at gcc dot gnu.org --- A small variation of the testcase in comment#9 suggests that there are actually two underlying issues: lack of initialization and a missing temporary. program p implicit none type fm re

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-08 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 --- Comment #10 from Steve Kargl --- On Sat, May 08, 2021 at 06:49:11PM +, anlauf at gcc dot gnu.org wrote: > (In reply to Steve Kargl from comment #7) > > There is no default initialization in the code below. default > > initialization is

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-08 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-08 Thread David.Smith at lmu dot edu via Gcc-bugs
23.912767172321328589357039228003304505549129195999272982160 David Smith From: kargl at gcc dot gnu.org Sent: Friday, May 7, 2021 2:09 PM To: Smith, David Subject: [Bug fortran/100440] allocated() gives True for unallocated variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 --- Comment #5 from

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-07 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 --- Comment #7 from Steve Kargl --- On Fri, May 07, 2021 at 09:12:15PM +, anlauf at gcc dot gnu.org wrote: > --- Comment #6 from anlauf at gcc dot gnu.org --- > There seems to be something fishy with default initialization of function > resu

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 --- Comment #6 from anlauf at gcc dot gnu.org --- There seems to be something fishy with default initialization of function results of derived types. Looking at the attached code, I guessed the following potential reproducer: program p implic

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-07 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 --- Comment #5 from kargl at gcc dot gnu.org --- David, On amd64-*-freebsd, I see % gfcx -o z -O2 -fcheck=all allocate_error.f95 % ./z Sample 10. Eigenvalue from matrix powers. Iterationeigenvalue approximation 0 1.

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-07 Thread David.Smith at lmu dot edu via Gcc-bugs
[Bug fortran/100440] allocated() gives True for unallocated variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 --- Comment #3 from Steve Kargl --- On Thu, May 06, 2021 at 09:31:49PM +, David.Smith at lmu dot edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-06 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 --- Comment #3 from Steve Kargl --- On Thu, May 06, 2021 at 09:31:49PM +, David.Smith at lmu dot edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 > > --- Comment #2 from David.Smith at lmu dot edu --- > > With neither acces

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-06 Thread David.Smith at lmu dot edu via Gcc-bugs
ay, May 5, 2021 5:22 PM To: Smith, David Subject: [Bug fortran/100440] allocated() gives True for unallocated variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 kargl at gcc dot gnu.org changed: Wha

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-05 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---