This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52370] [4.7/4.8/4.9 Regression] Spurious "may be used uninitialized" warning for check of optional argument
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 14 Dec 2013 18:18:37 +0000
- Subject: [Bug fortran/52370] [4.7/4.8/4.9 Regression] Spurious "may be used uninitialized" warning for check of optional argument
- Auto-submitted: auto-generated
- References: <bug-52370-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52370
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-12-14
Summary|Spurious "may be used |[4.7/4.8/4.9 Regression]
|uninitialized" warning for |Spurious "may be used
|check of optional argument |uninitialized" warning for
| |check of optional argument
Ever confirmed|0 |1
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I get the warning with 4.6.4 up to trunk (r205944), but not for 4.5.4. The
change occurred between revisions r182107 (2011-12-08) and r182980
(2012-01-07).
> That the warning only shows up in 4.7 but not in 4.7.2 is probably due
> to the patch for PR 50923. (The warning is only printed for -O1 but not
> for -O2 or -O0.)
The fix for PR 50923 is in the above range.