From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27589 invoked by alias); 20 Mar 2013 20:39:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 27553 invoked by uid 48); 20 Mar 2013 20:38:52 -0000 From: "townsend at astro dot wisc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56670] New: Allocatable-length character var causes bogus warning with -Wall Date: Wed, 20 Mar 2013 20:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: townsend at astro dot wisc.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2013-03/txt/msg01437.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56670 Bug #: 56670 Summary: Allocatable-length character var causes bogus warning with -Wall Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: townsend@astro.wisc.edu Compiling this short test case with the -Wall option: program uninit_test implicit none character(LEN=3D:), allocatable :: name_format name_format =3D '' end program uninit_test ...causes the following bogus warning: uninit_test.f90: In function =E2=80=98uninit_test=E2=80=99: uninit_test.f90:7:0: warning: =E2=80=98.name_format=E2=80=99 may be used un= initialized in this function [-Wmaybe-uninitialized] name_format =3D '' ^ (Note also that the warning arises in the main program, and not in a functi= on as the message suggests). gfortran -v: Using built-in specs. COLLECT_GCC=3D/Applications/madsdk/bin/gfortran.exec COLLECT_LTO_WRAPPER=3D/Applications/madsdk/libexec/gcc/x86_64-apple-darwin1= 1.4.2/4.8.0/lto-wrapper Target: x86_64-apple-darwin11.4.2 Configured with: ./configure CC=3D'gcc -D_FORTIFY_SOURCE=3D0' --build=3Dx86_64-apple-darwin11.4.2 --prefix=3D/Applications/madsdk --with-gmp=3D/Applications/madsdk --with-mpfr=3D/Applications/madsdk --with-mpc=3D/Applications/madsdk --enable-languages=3Dc,c++,fortran --disable-multilib Thread model: posix gcc version 4.8.0 20130314 (experimental) (GCC) >>From gcc-bugs-return-417997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 20 22:00:35 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20231 invoked by alias); 20 Mar 2013 22:00:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20154 invoked by uid 48); 20 Mar 2013 22:00:27 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/53323] assertion failure on indefinite array of controlled objects and storage pools Date: Wed, 20 Mar 2013 22:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-03/txt/msg01438.txt.bz2 Content-length: 349 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53323 --- Comment #5 from Eric Botcazou 2013-03-20 22:00:26 UTC --- > Must have been a recent fix, cos it failed with gcc version 4.8.0 20130309 > (experimental) [trunk revision 196573] (GCC)! Sort of, we now disable the front-end assertions on release branches.