public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
@ 2015-05-08 7:16 jamrial at gmail dot com
2015-05-08 10:49 ` [Bug c++/66067] [6 Regression] " rguenth at gcc dot gnu.org
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: jamrial at gmail dot com @ 2015-05-08 7:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
Bug ID: 66067
Summary: tree check ICE: accessed elt 1 of tree_vec with 0 elts
in write_template_args, at cp/mangle.c:2574
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jamrial at gmail dot com
Target Milestone: ---
Created attachment 35494
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35494&action=edit
Preprocessed source as generated by -freport-bug
In file included from
/home/jamrial/range-v3/include/range/v3/range_fwd.hpp:19:0,
from /home/jamrial/range-v3/include/range/v3/begin_end.hpp:21,
from /home/jamrial/range-v3/include/range/v3/core.hpp:17,
from /home/jamrial/range-v3/test/container_conversion.cpp:17:
/home/jamrial/range-v3/include/meta/meta.hpp: In instantiation of ‘constexpr
const size_t
meta::v1::detail::reverse_find_index_<meta::v1::list<meta::v1::defer<meta::v1::and_,
meta::v1::detail::is_valid_<meta::v1::defer<ranges::v3::detail::builtin_common_t,
const
ranges::v3::basic_iterator<ranges::v3::adaptor_cursor<ranges::v3::basic_iterator<ranges::v3::iota_view<int,
void>, ranges::v3::default_sentinel>,
ranges::v3::iter_transform_view<ranges::v3::view::ints_fn,
ranges::v3::indirected<main()::<lambda(int)> > >::adaptor<true> >,
ranges::v3::adaptor_sentinel<ranges::v3::basic_sentinel<ranges::v3::default_sentinel>,
ranges::v3::adaptor_base> >&, const long int&>, 0>,
meta::v1::defer<meta::v1::or_,
std::is_reference<meta::v1::defer<ranges::v3::detail::builtin_common_t, const
ranges::v3::basic_iterator<ranges::v3::adaptor_cursor<ranges::v3::basic_iterator<ranges::v3::iota_view<int,
void>, ranges::v3::default_sentinel>,
ranges::v3::iter_transform_view<ranges::v3::view::ints_fn,
ranges::v3::indirected<main()::<lambda(int)> > >::adaptor<true> >,
ranges::v3::adaptor_sentinel<ranges::v3::basic_sentinel<ranges::v3::default_sentinel>,
ranges::v3::adaptor_base> >&, const long int&> >, std::integral_constant<bool,
true> > > >, const long int&>::i’:
/home/jamrial/range-v3/test/container_conversion.cpp:62:1: required from here
/home/jamrial/range-v3/include/meta/meta.hpp:1645:46: internal compiler error:
tree check: accessed elt 1 of tree_vec with 0 elts in write_template_args, at
cp/mangle.c:2574
static constexpr std::size_t i = List::size() -
reverse_find<List, T>::size();
^
0xeefa55 tree_vec_elt_check_failed(int, int, char const*, int, char const*)
/home/jamrial/gcc-6-20150506/gcc/tree.c:9517
0x78e1ff tree_vec_elt_check(tree_node*, int, char const*, int, char const*)
/home/jamrial/gcc-6-20150506/gcc/tree.h:3073
0x78e1ff write_template_args
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:2574
0x78ee60 write_nested_name
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:1005
0x78cf71 write_name
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:910
0x78ddf9 write_template_template_arg
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:3210
0x78ddf9 write_template_arg
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:3171
0x78e0f8 write_template_args
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:2582
0x78ee4d write_nested_name
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:997
0x78cf71 write_name
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:910
0x78a5d6 write_class_enum_type
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:2553
0x78a5d6 write_type
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:2010
0x78e0f8 write_template_args
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:2582
0x78ee4d write_nested_name
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:997
0x78cf71 write_name
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:910
0x78a5d6 write_class_enum_type
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:2553
0x78a5d6 write_type
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:2010
0x78db44 write_template_arg
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:3164
0x78e0f8 write_template_args
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:2582
0x78ee4d write_nested_name
/home/jamrial/gcc-6-20150506/gcc/cp/mangle.c:997
>From gcc-bugs-return-485823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 08 07:34:20 2015
Return-Path: <gcc-bugs-return-485823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93343 invoked by alias); 8 May 2015 07:34:19 -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 93264 invoked by uid 55); 8 May 2015 07:34:16 -0000
From: "aldot at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/48904] x86_64-knetbsd-gnu fails to build
Date: Fri, 08 May 2015 07:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aldot at gcc dot gnu.org
X-Bugzilla-Status: NEW
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:
Message-ID: <bug-48904-4-Gps8187P1w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-48904-4@http.gcc.gnu.org/bugzilla/>
References: <bug-48904-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/msg00663.txt.bz2
Content-length: 670
https://gcc.gnu.org/bugzilla/show_bug.cgi?idH904
--- Comment #4 from Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> ---
Author: aldot
Date: Fri May 8 07:33:42 2015
New Revision: 222903
URL: https://gcc.gnu.org/viewcvs?rev"2903&root=gcc&view=rev
Log:
PR target/48904 x86_64-knetbsd-gnu missing defs
2015-05-08 H.J. Lu <hongjiu.lu@intel.com>
Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
PR target/48904
* config.gcc (x86_64-*-knetbsd*-gnu): Add i386/knetbsd-gnu64.h.
* config/i386/knetbsd-gnu64.h: New file.
Added:
trunk/gcc/config/i386/knetbsd-gnu64.h
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.gcc
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
@ 2015-05-08 10:49 ` rguenth at gcc dot gnu.org
2015-05-22 4:53 ` [Bug c++/66067] [5/6 " jamrial at gmail dot com
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-05-08 10:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |6.0
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/66067] [5/6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
2015-05-08 10:49 ` [Bug c++/66067] [6 Regression] " rguenth at gcc dot gnu.org
@ 2015-05-22 4:53 ` jamrial at gmail dot com
2015-06-02 17:56 ` trippels at gcc dot gnu.org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jamrial at gmail dot com @ 2015-05-22 4:53 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 4220 bytes --]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
James Almer <jamrial at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work|5.1.0 |
Summary|[6 Regression] tree check |[5/6 Regression] tree check
|ICE: accessed elt 1 of |ICE: accessed elt 1 of
|tree_vec with 0 elts in |tree_vec with 0 elts in
|write_template_args, at |write_template_args, at
|cp/mangle.c:2574 |cp/mangle.c:2574
Known to fail| |5.1.1
--- Comment #1 from James Almer <jamrial at gmail dot com> ---
While the above file compiles with 4.9.2 and 5.1, the following file fails with
5.1 with a segmentation fault error in the same line (6.0 however also fails
with the tree check ICE).
In file included from
/home/jamrial/range-v3/include/range/v3/range_fwd.hpp:19:0,
from /home/jamrial/range-v3/include/range/v3/begin_end.hpp:21,
from /home/jamrial/range-v3/include/range/v3/core.hpp:17,
from /home/jamrial/range-v3/test/algorithm/rotate.cpp:26:
/home/jamrial/range-v3/include/meta/meta.hpp: In instantiation of âconstexpr
const size_t
meta::v1::detail::reverse_find_index_<meta::v1::list<meta::v1::defer<meta::v1::and_,
meta::v1::detail::is_valid_<meta::v1::defer<ranges::v3::detail::builtin_common_t,
int* const&, const long int&>, 0>, meta::v1::defer<meta::v1::or_,
std::is_reference<meta::v1::defer<ranges::v3::detail::builtin_common_t, int*
const&, const long int&> >, std::integral_constant<bool, true> > > >, const
long int&>::iâ:
/home/jamrial/range-v3/test/algorithm/rotate.cpp:278:1: required from here
/home/jamrial/range-v3/include/meta/meta.hpp:1645:46: internal compiler error:
Segmentation fault
static constexpr std::size_t i = List::size() -
reverse_find<List, T>::size();
>From gcc-bugs-return-487026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 22 04:55:01 2015
Return-Path: <gcc-bugs-return-487026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7212 invoked by alias); 22 May 2015 04:55:01 -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 7156 invoked by uid 48); 22 May 2015 04:54:57 -0000
From: "jamrial at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66067] [5/6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
Date: Fri, 22 May 2015 04:55: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamrial at gmail 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: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-66067-4-L3eN4AfIxP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66067-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66067-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/msg01866.txt.bz2
Content-length: 288
https://gcc.gnu.org/bugzilla/show_bug.cgi?idf067
--- Comment #2 from James Almer <jamrial at gmail dot com> ---
Created attachment 35594
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id5594&actioníit
Preprocessed source as generated by -freport-bug, from the second test case
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/66067] [5/6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
2015-05-08 10:49 ` [Bug c++/66067] [6 Regression] " rguenth at gcc dot gnu.org
2015-05-22 4:53 ` [Bug c++/66067] [5/6 " jamrial at gmail dot com
@ 2015-06-02 17:56 ` trippels at gcc dot gnu.org
2015-06-02 17:57 ` [Bug c++/66067] [6 " trippels at gcc dot gnu.org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-06-02 17:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trippels at gcc dot gnu.org
--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Created attachment 35682
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35682&action=edit
Somewhat reduced testcase
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
` (2 preceding siblings ...)
2015-06-02 17:56 ` trippels at gcc dot gnu.org
@ 2015-06-02 17:57 ` trippels at gcc dot gnu.org
2015-06-02 18:39 ` jamrial at gmail dot com
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-06-02 17:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-06-02
Summary|[5/6 Regression] tree check |[6 Regression] tree check
|ICE: accessed elt 1 of |ICE: accessed elt 1 of
|tree_vec with 0 elts in |tree_vec with 0 elts in
|write_template_args, at |write_template_args, at
|cp/mangle.c:2574 |cp/mangle.c:2574
Ever confirmed|0 |1
Known to fail|5.1.1 |
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Cannot reproduce the issue with 5.1.1.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
` (3 preceding siblings ...)
2015-06-02 17:57 ` [Bug c++/66067] [6 " trippels at gcc dot gnu.org
@ 2015-06-02 18:39 ` jamrial at gmail dot com
2015-06-02 18:52 ` trippels at gcc dot gnu.org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jamrial at gmail dot com @ 2015-06-02 18:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
--- Comment #5 from James Almer <jamrial at gmail dot com> ---
Created attachment 35683
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35683&action=edit
Preprocessed source as generated by -freport-bug, third test case, gcc 5.1.1
svn 223417
How about this one? Crashes with segmentation fault on gcc 5.1.1 svn 223417
(ArchLinux x86_64).
With gcc 6.0.0 svn 223906 it crashes with apparently the same tree_check ICE as
the first test case.
I can post that -freport-bug output if needed.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
` (4 preceding siblings ...)
2015-06-02 18:39 ` jamrial at gmail dot com
@ 2015-06-02 18:52 ` trippels at gcc dot gnu.org
2015-06-02 19:07 ` jamrial at gmail dot com
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-06-02 18:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to James Almer from comment #5)
> Created attachment 35683 [details]
> Preprocessed source as generated by -freport-bug, third test case, gcc 5.1.1
> svn 223417
>
> How about this one? Crashes with segmentation fault on gcc 5.1.1
> (ArchLinux x86_64).
>
> With gcc 6.0.0 svn 223906 it crashes with apparently the same tree_check ICE
> as the first test case.
> I can post that -freport-bug output if needed.
I'm using "gcc version 5.1.1 20150519".
Will recheck with an updated version tomorrow.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
` (5 preceding siblings ...)
2015-06-02 18:52 ` trippels at gcc dot gnu.org
@ 2015-06-02 19:07 ` jamrial at gmail dot com
2015-06-02 22:27 ` jamrial at gmail dot com
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jamrial at gmail dot com @ 2015-06-02 19:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
--- Comment #7 from James Almer <jamrial at gmail dot com> ---
(In reply to Markus Trippelsdorf from comment #6)
> (In reply to James Almer from comment #5)
> > Created attachment 35683 [details]
> > Preprocessed source as generated by -freport-bug, third test case, gcc 5.1.1
> > svn 223417
> >
> > How about this one? Crashes with segmentation fault on gcc 5.1.1
> > (ArchLinux x86_64).
> >
> > With gcc 6.0.0 svn 223906 it crashes with apparently the same tree_check ICE
> > as the first test case.
> > I can post that -freport-bug output if needed.
>
> I'm using "gcc version 5.1.1 20150519".
> Will recheck with an updated version tomorrow.
That's the one that crashed for me with this new test case. svn 223417 (used
for the 20150519 weekly snapshot).
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
` (6 preceding siblings ...)
2015-06-02 19:07 ` jamrial at gmail dot com
@ 2015-06-02 22:27 ` jamrial at gmail dot com
2015-06-04 12:07 ` trippels at gcc dot gnu.org
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jamrial at gmail dot com @ 2015-06-02 22:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
--- Comment #8 from James Almer <jamrial at gmail dot com> ---
(In reply to James Almer from comment #7)
> (In reply to Markus Trippelsdorf from comment #6)
> > (In reply to James Almer from comment #5)
> > > Created attachment 35683 [details]
> > > Preprocessed source as generated by -freport-bug, third test case, gcc 5.1.1
> > > svn 223417
> > >
> > > How about this one? Crashes with segmentation fault on gcc 5.1.1
> > > (ArchLinux x86_64).
> > >
> > > With gcc 6.0.0 svn 223906 it crashes with apparently the same tree_check ICE
> > > as the first test case.
> > > I can post that -freport-bug output if needed.
> >
> > I'm using "gcc version 5.1.1 20150519".
> > Will recheck with an updated version tomorrow.
>
> That's the one that crashed for me with this new test case. svn 223417 (used
> for the 20150519 weekly snapshot).
Looks like a heisenbug. Can't reproduce it when i use the preprocessed output
created by -freport-bug, only when i try to normally compile the file.
If the same happens in your end, you could try (with gcc 5.1.1):
git clone https://github.com/ericniebler/range-v3.git
cd range-v3 && mkdir build && cd build
cmake .. && make alg.partial_sort_copy
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
` (7 preceding siblings ...)
2015-06-02 22:27 ` jamrial at gmail dot com
@ 2015-06-04 12:07 ` trippels at gcc dot gnu.org
2015-06-25 14:03 ` jason at gcc dot gnu.org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-06-04 12:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
--- Comment #9 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
I've tested latest gcc-5 branch and still cannot reproduce the issue.
The only ICE I get building range-v3 is PR66405.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
` (8 preceding siblings ...)
2015-06-04 12:07 ` trippels at gcc dot gnu.org
@ 2015-06-25 14:03 ` jason at gcc dot gnu.org
2015-06-26 21:18 ` jason at gcc dot gnu.org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jason at gcc dot gnu.org @ 2015-06-25 14:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
` (9 preceding siblings ...)
2015-06-25 14:03 ` jason at gcc dot gnu.org
@ 2015-06-26 21:18 ` jason at gcc dot gnu.org
2015-06-26 21:28 ` jason at gcc dot gnu.org
2015-06-26 21:28 ` jason at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: jason at gcc dot gnu.org @ 2015-06-26 21:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
` (11 preceding siblings ...)
2015-06-26 21:28 ` jason at gcc dot gnu.org
@ 2015-06-26 21:28 ` jason at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: jason at gcc dot gnu.org @ 2015-06-26 21:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jun 26 20:33:41 2015
New Revision: 225083
URL: https://gcc.gnu.org/viewcvs?rev=225083&root=gcc&view=rev
Log:
PR c++/66067
* mangle.c (write_nested_name): Limit TYPENAME_TYPE handling to
TYPE_DECLs.
* mangle.c (write_template_args): Handle 0 length TREE_VEC.
Added:
trunk/gcc/testsuite/g++.dg/abi/mangle66.C
trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-50.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/mangle.c
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c++/66067] [6 Regression] tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
` (10 preceding siblings ...)
2015-06-26 21:18 ` jason at gcc dot gnu.org
@ 2015-06-26 21:28 ` jason at gcc dot gnu.org
2015-06-26 21:28 ` jason at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: jason at gcc dot gnu.org @ 2015-06-26 21:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66067
--- Comment #13 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jun 26 20:35:06 2015
New Revision: 225085
URL: https://gcc.gnu.org/viewcvs?rev=225085&root=gcc&view=rev
Log:
PR c++/66067
* mangle.c (write_template_args): Handle 0 length TREE_VEC.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/alias-decl-50.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/mangle.c
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2015-06-26 21:28 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-08 7:16 [Bug c++/66067] New: tree check ICE: accessed elt 1 of tree_vec with 0 elts in write_template_args, at cp/mangle.c:2574 jamrial at gmail dot com
2015-05-08 10:49 ` [Bug c++/66067] [6 Regression] " rguenth at gcc dot gnu.org
2015-05-22 4:53 ` [Bug c++/66067] [5/6 " jamrial at gmail dot com
2015-06-02 17:56 ` trippels at gcc dot gnu.org
2015-06-02 17:57 ` [Bug c++/66067] [6 " trippels at gcc dot gnu.org
2015-06-02 18:39 ` jamrial at gmail dot com
2015-06-02 18:52 ` trippels at gcc dot gnu.org
2015-06-02 19:07 ` jamrial at gmail dot com
2015-06-02 22:27 ` jamrial at gmail dot com
2015-06-04 12:07 ` trippels at gcc dot gnu.org
2015-06-25 14:03 ` jason at gcc dot gnu.org
2015-06-26 21:18 ` jason at gcc dot gnu.org
2015-06-26 21:28 ` jason at gcc dot gnu.org
2015-06-26 21:28 ` 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).