public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/63588] New: [5 Regression] ICE (segfault) on arm-linux-gnueabihf
@ 2014-10-18 13:57 doko at gcc dot gnu.org
2014-10-20 12:53 ` [Bug c++/63588] " rguenth at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: doko at gcc dot gnu.org @ 2014-10-18 13:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63588
Bug ID: 63588
Summary: [5 Regression] ICE (segfault) on arm-linux-gnueabihf
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
seen building libjava on arm-linux-gnueabihf on the trunk (PR63574 for the
bootstrap issue).
$ cat foo.cc
template < class T > T elements;
elements <>
$ /home/doko/gcc/gcc-snapshot-20141017/build/gcc/xg++
-B/home/doko/gcc/gcc-snapshot-20141017/build/gcc/ -c -O2 foo.cc
foo.cc:1:24: warning: variable templates only available with -std=c++14 or
-std=gnu++14
template < class T > T elements;
^
foo.cc:2:18: internal compiler error: Segmentation fault
elements <>
^
Please submit a full bug report,
with preprocessed source if appropriate.
unsure if this is correctly reduced, because the original file in PR63574
succeeds to build with -O1.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/63588] [5 Regression] ICE (segfault) on arm-linux-gnueabihf
2014-10-18 13:57 [Bug c++/63588] New: [5 Regression] ICE (segfault) on arm-linux-gnueabihf doko at gcc dot gnu.org
@ 2014-10-20 12:53 ` rguenth at gcc dot gnu.org
2014-10-20 12:56 ` ktkachov at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-10-20 12:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63588
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |5.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/63588] [5 Regression] ICE (segfault) on arm-linux-gnueabihf
2014-10-18 13:57 [Bug c++/63588] New: [5 Regression] ICE (segfault) on arm-linux-gnueabihf doko at gcc dot gnu.org
2014-10-20 12:53 ` [Bug c++/63588] " rguenth at gcc dot gnu.org
@ 2014-10-20 12:56 ` ktkachov at gcc dot gnu.org
2014-10-20 13:21 ` doko at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-10-20 12:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63588
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktkachov at gcc dot gnu.org
--- Comment #1 from ktkachov at gcc dot gnu.org ---
So is there a reduced testcase for this?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/63588] [5 Regression] ICE (segfault) on arm-linux-gnueabihf
2014-10-18 13:57 [Bug c++/63588] New: [5 Regression] ICE (segfault) on arm-linux-gnueabihf doko at gcc dot gnu.org
2014-10-20 12:53 ` [Bug c++/63588] " rguenth at gcc dot gnu.org
2014-10-20 12:56 ` ktkachov at gcc dot gnu.org
@ 2014-10-20 13:21 ` doko at gcc dot gnu.org
2014-11-20 12:37 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: doko at gcc dot gnu.org @ 2014-10-20 13:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63588
--- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> ---
yes, see above.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/63588] [5 Regression] ICE (segfault) on arm-linux-gnueabihf
2014-10-18 13:57 [Bug c++/63588] New: [5 Regression] ICE (segfault) on arm-linux-gnueabihf doko at gcc dot gnu.org
` (2 preceding siblings ...)
2014-10-20 13:21 ` doko at gcc dot gnu.org
@ 2014-11-20 12:37 ` rguenth at gcc dot gnu.org
2014-11-20 13:38 ` doko at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-20 12:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63588
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |ice-on-invalid-code
Target|arm-linxux-gnueabihf |
Priority|P3 |P1
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2014-11-20
Ever confirmed|0 |1
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed on x86_64.
#0 0x000000000073fb39 in uses_template_parms (t=<tree 0x0>)
at /space/rguenther/src/svn/trunk/gcc/cp/pt.c:8284
#1 0x000000000073dfb4 in lookup_template_variable (
templ=<template_decl 0x7ffff6da2080 elements>, arglist=<tree 0x0>)
at /space/rguenther/src/svn/trunk/gcc/cp/pt.c:8019
#2 0x0000000000803278 in cp_parser_template_id (parser=0x7ffff6da2000,
template_keyword_p=false, check_dependency_p=false, tag_type=none_type,
is_declaration=false)
at /space/rguenther/src/svn/trunk/gcc/cp/parser.c:13752
#3 0x000000000080d617 in cp_parser_class_name (parser=0x7ffff6da2000,
typename_keyword_p=false, template_keyword_p=false, tag_type=none_type,
check_dependency_p=false, class_head_p=false, is_declaration=false)
at /space/rguenther/src/svn/trunk/gcc/cp/parser.c:19598
#4 0x00000000007f5ba6 in cp_parser_qualifying_entity (parser=0x7ffff6da2000,
typename_keyword_p=false, template_keyword_p=false,
check_dependency_p=false, type_p=false, is_declaration=false)
at /space/rguenther/src/svn/trunk/gcc/cp/parser.c:5645
#5 0x00000000007f4db1 in cp_parser_nested_name_specifier_opt (
parser=0x7ffff6da2000, typename_keyword_p=false, check_dependency_p=false,
type_p=false, is_declaration=false)
at /space/rguenther/src/svn/trunk/gcc/cp/parser.c:5370
note the reduced testcase is invalid (obviously). Please provide unreduced.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/63588] [5 Regression] ICE (segfault) on arm-linux-gnueabihf
2014-10-18 13:57 [Bug c++/63588] New: [5 Regression] ICE (segfault) on arm-linux-gnueabihf doko at gcc dot gnu.org
` (3 preceding siblings ...)
2014-11-20 12:37 ` rguenth at gcc dot gnu.org
@ 2014-11-20 13:38 ` doko at gcc dot gnu.org
2014-11-21 21:35 ` jason at gcc dot gnu.org
2014-11-21 21:38 ` jason at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: doko at gcc dot gnu.org @ 2014-11-20 13:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63588
--- Comment #4 from Matthias Klose <doko at gcc dot gnu.org> ---
libjava builds again with 20141119 on arm-linux-gnueabihf
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/63588] [5 Regression] ICE (segfault) on arm-linux-gnueabihf
2014-10-18 13:57 [Bug c++/63588] New: [5 Regression] ICE (segfault) on arm-linux-gnueabihf doko at gcc dot gnu.org
` (4 preceding siblings ...)
2014-11-20 13:38 ` doko at gcc dot gnu.org
@ 2014-11-21 21:35 ` jason at gcc dot gnu.org
2014-11-21 21:38 ` jason at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2014-11-21 21:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63588
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Nov 21 21:34:54 2014
New Revision: 217948
URL: https://gcc.gnu.org/viewcvs?rev=217948&root=gcc&view=rev
Log:
PR c++/63588
* pt.c (uses_template_parms): Handle null argument.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/var-templ15.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/63588] [5 Regression] ICE (segfault) on arm-linux-gnueabihf
2014-10-18 13:57 [Bug c++/63588] New: [5 Regression] ICE (segfault) on arm-linux-gnueabihf doko at gcc dot gnu.org
` (5 preceding siblings ...)
2014-11-21 21:35 ` jason at gcc dot gnu.org
@ 2014-11-21 21:38 ` jason at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2014-11-21 21:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63588
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |jason at gcc dot gnu.org
Resolution|--- |FIXED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-11-21 21:38 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-18 13:57 [Bug c++/63588] New: [5 Regression] ICE (segfault) on arm-linux-gnueabihf doko at gcc dot gnu.org
2014-10-20 12:53 ` [Bug c++/63588] " rguenth at gcc dot gnu.org
2014-10-20 12:56 ` ktkachov at gcc dot gnu.org
2014-10-20 13:21 ` doko at gcc dot gnu.org
2014-11-20 12:37 ` rguenth at gcc dot gnu.org
2014-11-20 13:38 ` doko at gcc dot gnu.org
2014-11-21 21:35 ` jason at gcc dot gnu.org
2014-11-21 21:38 ` 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).