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/28200] One warning seems to appear only with '-O2' even though '-Wall' is specified



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-06-29 12:55 -------
Please read
http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options:
-Wuninitialized
Warn if an automatic variable is used without first being initialized or if a
variable may be clobbered by a setjmp call.
These warnings are possible only in optimizing compilation, because they
require data flow information that is computed only when optimizing. If you do
not specify -O, you will not get these warnings. Instead, GCC will issue a
warning about -Wuninitialized requiring -O.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28200


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