From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1932 invoked by alias); 11 Feb 2014 15:59:26 -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 1907 invoked by uid 48); 11 Feb 2014 15:59:22 -0000 From: "tweenk.pl at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60146] New: Regression: ICE when compiling this code with -fopenmp Date: Tue, 11 Feb 2014 15:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tweenk.pl at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-02/txt/msg01058.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60146 Bug ID: 60146 Summary: Regression: ICE when compiling this code with -fopenmp Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tweenk.pl at gmail dot com The linked preprocessed code compiled correctly in GCC 4.7.x (Ubuntu 13.04). After upgrade to GCC 4.8.1 (Ubuntu 13.10), it crashes. The code is too big (3.1MB) to attach it to the bug report and cannot be ea= sily reduced, so I'm providing a download link: http://osch.chem.uw.edu.pl/gccbug.cpp Compile with: g++ -fopenmp gccbug.cpp -c -o gccbug.o Output: In file included from ../tests/../common/include/Spectrum.h:16:0, from ../tests/TestSpectralData.cpp:2: ../tests/../common/include/SpectralData.h: In instantiation of =E2=80=98SpectrumRegionAxis<, , , >::Self& SpectrumRegionAxis<, , , >::operator=3D(const Self&) [with unsigned int D =3D 4u; C =3D short unsign= ed int; T =3D float; unsigned int BLOCKSIZE =3D 32u; SpectrumRegionAxis<, , , >::Self =3D SpectrumRegionAxis<4u, short unsigned int, float, 32u>]=E2=80=99: ../tests/../common/include/SpectralData.h:1195:8: required from =E2=80=98BinaryOutput& operator<<(BinaryOutput&, const SpectrumRegionAxis&) [with unsigned int D =3D 4u; C =3D short unsigned int; T =3D float= ; unsigned int BSIZE =3D 32u]=E2=80=99 ../tests/../common/include/Spectrum.h:75:6: required from =E2=80=98Binary= Output& operator<<(BinaryOutput&, const Spectrum&) [with unsigned int D =3D 4u]= =E2=80=99 ../tests/TestSpectralData.cpp:163:9: required from here ../tests/../common/include/SpectralData.h:650:5: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Preprocessed source stored into /tmp/ccsMy4oS.out file, please attach this = to your bugreport. >>From gcc-bugs-return-443303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 11 16:02:44 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11010 invoked by alias); 11 Feb 2014 16:02:43 -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 10804 invoked by uid 48); 11 Feb 2014 16:02:40 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/52370] [4.7/4.8/4.9 Regression] Spurious "may be used uninitialized" warning for check of optional argument Date: Tue, 11 Feb 2014 16:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor X-Bugzilla-Who: jakub 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: 4.7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-02/txt/msg01060.txt.bz2 Content-length: 412 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52370 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek --- Indeed, this regressed with r182211.