public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60146] New: Regression: ICE when compiling this code with -fopenmp
@ 2014-02-11 15:59 tweenk.pl at gmail dot com
  2014-02-14 17:31 ` [Bug c++/60146] [4.8/4.9 Regression] " reichelt at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: tweenk.pl at gmail dot com @ 2014-02-11 15:59 UTC (permalink / raw)
  To: gcc-bugs

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

            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 easily
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
‘SpectrumRegionAxis<<anonymous>, <template-parameter-1-2>,
<template-parameter-1-3>, <anonymous> >::Self& SpectrumRegionAxis<<anonymous>,
<template-parameter-1-2>, <template-parameter-1-3>, <anonymous>
>::operator=(const Self&) [with unsigned int D = 4u; C = short unsigned int; T
= float; unsigned int BLOCKSIZE = 32u; SpectrumRegionAxis<<anonymous>,
<template-parameter-1-2>, <template-parameter-1-3>, <anonymous> >::Self =
SpectrumRegionAxis<4u, short unsigned int, float, 32u>]’:
../tests/../common/include/SpectralData.h:1195:8:   required from
‘BinaryOutput& operator<<(BinaryOutput&, const SpectrumRegionAxis<D, C, T,
BSIZE>&) [with unsigned int D = 4u; C = short unsigned int; T = float; unsigned
int BSIZE = 32u]’
../tests/../common/include/Spectrum.h:75:6:   required from ‘BinaryOutput&
operator<<(BinaryOutput&, const Spectrum<D>&) [with unsigned int D = 4u]’
../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 <file:///usr/share/doc/gcc-4.8/README.Bugs> 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: <gcc-bugs-return-443303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
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: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
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" <gcc-bugzilla@gcc.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: <bug-52370-4-yjBRQ3MaJz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52370-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52370-4@http.gcc.gnu.org/bugzilla/>
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?idR370

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Indeed, this regressed with r182211.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-03-01 19:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-11 15:59 [Bug c++/60146] New: Regression: ICE when compiling this code with -fopenmp tweenk.pl at gmail dot com
2014-02-14 17:31 ` [Bug c++/60146] [4.8/4.9 Regression] " reichelt at gcc dot gnu.org
2014-02-14 17:38 ` reichelt at gcc dot gnu.org
2014-02-16 19:36 ` reichelt at gcc dot gnu.org
2014-02-17 10:40 ` jakub at gcc dot gnu.org
2014-02-17 17:34 ` jakub at gcc dot gnu.org
2014-02-17 18:45 ` jakub at gcc dot gnu.org
2014-02-24 19:03 ` jason at gcc dot gnu.org
2014-02-24 22:18 ` jason at gcc dot gnu.org
2014-02-24 22:23 ` [Bug c++/60146] [4.8 " jason at gcc dot gnu.org
2014-03-01 18:44 ` jason at gcc dot gnu.org
2014-03-01 19:18 ` jason at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).