public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/26150] New: Initialize local scalar variables @ 2006-02-07 9:04 fxcoudert at gcc dot gnu dot org 2006-02-07 9:06 ` [Bug fortran/26150] " fxcoudert at gcc dot gnu dot org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2006-02-07 9:04 UTC (permalink / raw) To: gcc-bugs It would be nice having a compile-time option to initialize local scalar variables, to zero (.false. for logical, 0 for integer and 0.0 for real) and to NaN (for floating-point types). g77 had -finit-local-zero, Intel has -zero, we could have -finit-local-zero and -finit-local-nan. -- Summary: Initialize local scalar variables Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fxcoudert at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26150 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/26150] Initialize local scalar variables 2006-02-07 9:04 [Bug fortran/26150] New: Initialize local scalar variables fxcoudert at gcc dot gnu dot org @ 2006-02-07 9:06 ` fxcoudert at gcc dot gnu dot org 2006-02-07 12:37 ` pinskia at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2006-02-07 9:06 UTC (permalink / raw) To: gcc-bugs -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-02-07 09:06:13 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26150 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/26150] Initialize local scalar variables 2006-02-07 9:04 [Bug fortran/26150] New: Initialize local scalar variables fxcoudert at gcc dot gnu dot org 2006-02-07 9:06 ` [Bug fortran/26150] " fxcoudert at gcc dot gnu dot org @ 2006-02-07 12:37 ` pinskia at gcc dot gnu dot org 2006-02-07 12:48 ` fxcoudert at gcc dot gnu dot org 2006-02-07 14:18 ` pinskia at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-02-07 12:37 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-07 12:37 ------- Isn't this is a dup of bug 20441? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26150 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/26150] Initialize local scalar variables 2006-02-07 9:04 [Bug fortran/26150] New: Initialize local scalar variables fxcoudert at gcc dot gnu dot org 2006-02-07 9:06 ` [Bug fortran/26150] " fxcoudert at gcc dot gnu dot org 2006-02-07 12:37 ` pinskia at gcc dot gnu dot org @ 2006-02-07 12:48 ` fxcoudert at gcc dot gnu dot org 2006-02-07 14:18 ` pinskia at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2006-02-07 12:48 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-02-07 12:48 ------- Yes, it's a duplicate of 20441 (which I didn't know about). Although I don't understand your comment in PR20441 about -finit-local-zero being only useful for old codes. *** This bug has been marked as a duplicate of 20441 *** -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26150 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/26150] Initialize local scalar variables 2006-02-07 9:04 [Bug fortran/26150] New: Initialize local scalar variables fxcoudert at gcc dot gnu dot org ` (2 preceding siblings ...) 2006-02-07 12:48 ` fxcoudert at gcc dot gnu dot org @ 2006-02-07 14:18 ` pinskia at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-02-07 14:18 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-07 14:18 ------- (In reply to comment #2) > Although I don't understand your comment in PR20441 about -finit-local-zero > being only useful for old codes. Because From what I remember whne I filed the bug, it was mentioned that it should be used only with old code (then again it was a while back). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26150 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-02-07 14:18 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-02-07 9:04 [Bug fortran/26150] New: Initialize local scalar variables fxcoudert at gcc dot gnu dot org 2006-02-07 9:06 ` [Bug fortran/26150] " fxcoudert at gcc dot gnu dot org 2006-02-07 12:37 ` pinskia at gcc dot gnu dot org 2006-02-07 12:48 ` fxcoudert at gcc dot gnu dot org 2006-02-07 14:18 ` pinskia 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).