public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/67388] New: cannot compile function with SAVE in it with gfortran option -finit-real
@ 2015-08-28 17:31 urbanjost at comcast dot net
2015-08-28 18:48 ` [Bug fortran/67388] " dominiq at lps dot ens.fr
0 siblings, 1 reply; 2+ messages in thread
From: urbanjost at comcast dot net @ 2015-08-28 17:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67388
Bug ID: 67388
Summary: cannot compile function with SAVE in it with gfortran
option -finit-real
Product: gcc
Version: 4.9.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: urbanjost at comcast dot net
Target Milestone: ---
Created attachment 36264
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36264&action=edit
test code, test script and output
If compile fortran function with the -finit-real=nan option and the function
has a SAVE in it I get the following error for the returned RESULT:
\
FUNCTION buggy(p,t) RESULT(buggy_result)
1
Error: Function result 'buggy_result' at (1) cannot have an initializer
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fortran/67388] cannot compile function with SAVE in it with gfortran option -finit-real
2015-08-28 17:31 [Bug fortran/67388] New: cannot compile function with SAVE in it with gfortran option -finit-real urbanjost at comcast dot net
@ 2015-08-28 18:48 ` dominiq at lps dot ens.fr
0 siblings, 0 replies; 2+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-08-28 18:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67388
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Dup.
*** This bug has been marked as a duplicate of bug 59537 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-28 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-28 17:31 [Bug fortran/67388] New: cannot compile function with SAVE in it with gfortran option -finit-real urbanjost at comcast dot net
2015-08-28 18:48 ` [Bug fortran/67388] " dominiq at lps dot ens.fr
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).