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/52370] [4.7/4.8/4.9 Regression] Spurious "may be used uninitialized" warning for check of optional argument


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.


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