This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66459] bogus warning 'w.offset' may be used uninitialized in this function [-Wmaybe-uninitialized]
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Jun 2015 14:46:36 +0000
- Subject: [Bug fortran/66459] bogus warning 'w.offset' may be used uninitialized in this function [-Wmaybe-uninitialized]
- Auto-submitted: auto-generated
- References: <bug-66459-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66459
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-06-08
CC| |mikael at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Mikael Morin <mikael at gcc dot gnu.org> ---
Confirmed.
Possibly related bug: PR60500
(In reply to Mario Baumann from comment #0)
> - -O0 works fine
This is expected, uninitializedness may only become apparent to the compiler
after some optimization passes have simplified/reorganized the code.