* [Bug c++/66267] internal compiler error: Segmentation fault
2015-05-23 21:50 [Bug c++/66267] New: internal compiler error: Segmentation fault cjedic at gmail dot com
` (2 preceding siblings ...)
2015-05-24 16:48 ` cjedic at gmail dot com
@ 2015-05-24 16:49 ` daniel.kruegler at googlemail dot com
3 siblings, 0 replies; 5+ messages in thread
From: daniel.kruegler at googlemail dot com @ 2015-05-24 16:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66267
Daniel Krügler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler@googlemail.
| |com
--- Comment #4 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
The code seems to compile successfully on gcc 4.7.3, 4.8.1, 4.8.2, 4.9.0,
4.9.1, 4.9.2, 5.1.0, and gcc HEAD 6.0.0 20150523 (experimental)
>From gcc-bugs-return-487190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 24 16:52:30 2015
Return-Path: <gcc-bugs-return-487190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14912 invoked by alias); 24 May 2015 16:52:30 -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 14894 invoked by uid 48); 24 May 2015 16:52:26 -0000
From: "martin.sjolund at liu dot se" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/66276] New: [5 regression] internal compiler error: in get_loop_body, at cfgloop.c:856
Date: Sun, 24 May 2015 16:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 5.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: martin.sjolund at liu dot se
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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_file_loc bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild attachments.created
Message-ID: <bug-66276-4@http.gcc.gnu.org/bugzilla/>
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: 2015-05/txt/msg02030.txt.bz2
Content-length: 1657
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66276
Bug ID: 66276
Summary: [5 regression] internal compiler error: in
get_loop_body, at cfgloop.c:856
Product: gcc
Version: 5.1.0
URL: https://github.com/OpenModelica/OMCompiler
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: martin.sjolund at liu dot se
CC: martin.sjolund at liu dot se
Target Milestone: ---
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu
Created attachment 35618
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35618&action=edit
File triggering the bug (pre-processed and slightly trimmed down from the
original)
Configured with: ./configure --prefix=/opt/gcc-5.1.0
gcc version 5.1.0 (GCC)
$ /opt/gcc-5.1.0/bin/gcc -O2 Matching.c
Matching.c: In function ‘omc_Matching_PR__FIFO__FAIRrelabel’:
Matching.c:3319:1: internal compiler error: in get_loop_body, at cfgloop.c:856
}
^
0x6ba046 get_loop_body(loop const*)
../.././gcc/cfgloop.c:856
0x9358b0 predict_loops
../.././gcc/predict.c:1580
0x9358b0 tree_estimate_probability()
../.././gcc/predict.c:2371
0x936542 execute
../.././gcc/predict.c:3066
The original code compiles fine in gcc 4.4-4.9 and clang. It crashes in 5.1.0,
the svn 5 branch and svn trunk.
Does not seem to be related to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65517
>From gcc-bugs-return-487191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 24 17:13:29 2015
Return-Path: <gcc-bugs-return-487191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36605 invoked by alias); 24 May 2015 17:13:29 -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 36465 invoked by uid 48); 24 May 2015 17:13:26 -0000
From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66268] struct { volatile int x; } should not be trivially copyable
Date: Sun, 24 May 2015 17:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 5.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: daniel.kruegler at googlemail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: cc
Message-ID: <bug-66268-4-cADJLkpSXt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66268-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66268-4@http.gcc.gnu.org/bugzilla/>
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: 2015-05/txt/msg02031.txt.bz2
Content-length: 1494
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66268
Daniel Krügler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler@googlemail.
| |com
--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
It is correct that the rule change in regard to trivial copy/move constructors
had been introduced via CWG 496,
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#496
But recently another new issue had been opened regarding this particular rule.
CWG 2094 (becomes visible in the next issue list publication). The essence of
the new issue are two items, quoted below:
a) "This change breaks the IA-64 ABI, so it has been requested that CWG
reconsider this aspect of the resolution."
b) "the resolution of issue 496 also changed 3.9 [basic.types] paragraph 9,
which makes volatile-qualified scalar types “trivial” but not “trivially
copyable.” It is not clear why there is a distinction made here; the only
actual use of “trivial type” in the Standard appears to be in the description
of qsort, which should probably use “trivially copyable.” (See also issue
1746.)"
This issue has not yet been discussed during the Lenexa meeting
>From gcc-bugs-return-487192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 24 17:57:02 2015
Return-Path: <gcc-bugs-return-487192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67764 invoked by alias); 24 May 2015 17:57:02 -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 67728 invoked by uid 48); 24 May 2015 17:56:58 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66267] internal compiler error: Segmentation fault
Date: Sun, 24 May 2015 17:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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_status cc resolution
Message-ID: <bug-66267-4-OyBXzynR6E@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66267-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66267-4@http.gcc.gnu.org/bugzilla/>
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: 2015-05/txt/msg02032.txt.bz2
Content-length: 723
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66267
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |trippels at gcc dot gnu.org
Resolution|--- |WONTFIX
--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Daniel Krügler from comment #4)
> The code seems to compile successfully on gcc 4.7.3, 4.8.1, 4.8.2, 4.9.0,
> 4.9.1, 4.9.2, 5.1.0, and gcc HEAD 6.0.0 20150523 (experimental)
Thanks. Closing.
>From gcc-bugs-return-487193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 24 18:09:08 2015
Return-Path: <gcc-bugs-return-487193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103803 invoked by alias); 24 May 2015 18:09:08 -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 103772 invoked by uid 48); 24 May 2015 18:09:05 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66267] internal compiler error: Segmentation fault
Date: Sun, 24 May 2015 18:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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: resolution
Message-ID: <bug-66267-4-qFNElTScei@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66267-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66267-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: 2015-05/txt/msg02033.txt.bz2
Content-length: 300
https://gcc.gnu.org/bugzilla/show_bug.cgi?idf267
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WONTFIX |FIXED
^ permalink raw reply [flat|nested] 5+ messages in thread