This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/78122] [5/6/7 Regression] [F08] ICE in get, at cgraph.h:395


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78122

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |55207

--- Comment #5 from janus at gcc dot gnu.org ---
I think the test case is valid. A workaround for the ICE is to declare 'a' with
 the SAVE attribute.

According to the F08 standard every variable in the main program implicitly
gets the SAVE attribute, which is the subject of PR55207.

I assume the regression is caused by r208668.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55207
[Bug 55207] [F08] Variables declared in the main program should implicitly get
the SAVE attribute

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]