public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/44099] New: ICE in g++.dg/debug/nullptr01.C test on Solaris 2/SPARC
@ 2010-05-12 16:02 ro at gcc dot gnu dot org
2010-05-12 17:28 ` [Bug target/44099] " ebotcazou at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: ro at gcc dot gnu dot org @ 2010-05-12 16:02 UTC (permalink / raw)
To: gcc-bugs
The new g++.dg/debug/nullptr01.C test currently fails on Solaris 10/11 SPARC:
FAIL: g++.dg/debug/nullptr01.C -gdwarf-2 -g1 (internal compiler error)
FAIL: g++.dg/debug/nullptr01.C -gdwarf-2 -g1 (test for excess errors)
ERROR: g++.dg/debug/nullptr01.C: error executing dg-final: couldn't open "nullp
tr01.s": no such file or directory
g++.log reveals:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/debug/nullptr01.C: In function
'std::nullptr_t g(T) [with T = A<std::nullptr_t>, std::nullptr_t =
std::nullptr_t]':
/vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/debug/nullptr01.C:13:1:
internal compiler error: in sparc_type_code, at config/sparc/sparc.c:7371
--
Summary: ICE in g++.dg/debug/nullptr01.C test on Solaris 2/SPARC
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ro at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.10
GCC host triplet: sparc-sun-solaris2.10
GCC target triplet: sparc-sun-solaris2.10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44099
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/44099] ICE in g++.dg/debug/nullptr01.C test on Solaris 2/SPARC
2010-05-12 16:02 [Bug target/44099] New: ICE in g++.dg/debug/nullptr01.C test on Solaris 2/SPARC ro at gcc dot gnu dot org
@ 2010-05-12 17:28 ` ebotcazou at gcc dot gnu dot org
2010-05-12 17:30 ` jason at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-05-12 17:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ebotcazou at gcc dot gnu dot org 2010-05-12 17:28 -------
Isn't that again a C++ tree code that leaks into the back-end?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44099
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/44099] ICE in g++.dg/debug/nullptr01.C test on Solaris 2/SPARC
2010-05-12 16:02 [Bug target/44099] New: ICE in g++.dg/debug/nullptr01.C test on Solaris 2/SPARC ro at gcc dot gnu dot org
2010-05-12 17:28 ` [Bug target/44099] " ebotcazou at gcc dot gnu dot org
@ 2010-05-12 17:30 ` jason at gcc dot gnu dot org
2010-05-12 19:16 ` mikpe at it dot uu dot se
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-05-12 17:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jason at gcc dot gnu dot org 2010-05-12 17:29 -------
Yeah, another aspect of the same issue as 44048.
*** This bug has been marked as a duplicate of 44048 ***
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44099
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/44099] ICE in g++.dg/debug/nullptr01.C test on Solaris 2/SPARC
2010-05-12 16:02 [Bug target/44099] New: ICE in g++.dg/debug/nullptr01.C test on Solaris 2/SPARC ro at gcc dot gnu dot org
2010-05-12 17:28 ` [Bug target/44099] " ebotcazou at gcc dot gnu dot org
2010-05-12 17:30 ` jason at gcc dot gnu dot org
@ 2010-05-12 19:16 ` mikpe at it dot uu dot se
2010-05-12 19:20 ` jason at gcc dot gnu dot org
2010-05-13 5:05 ` jason at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: mikpe at it dot uu dot se @ 2010-05-12 19:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from mikpe at it dot uu dot se 2010-05-12 19:15 -------
I get the same errors with nullptr01.C on sparc64-unknown-linux-gnu. My build
has c++ as an enabled language, and most other c++ and libstdc++ tests work, so
I don't think this is a dupe of PR44048.
--
mikpe at it dot uu dot se changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpe at it dot uu dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44099
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/44099] ICE in g++.dg/debug/nullptr01.C test on Solaris 2/SPARC
2010-05-12 16:02 [Bug target/44099] New: ICE in g++.dg/debug/nullptr01.C test on Solaris 2/SPARC ro at gcc dot gnu dot org
` (2 preceding siblings ...)
2010-05-12 19:16 ` mikpe at it dot uu dot se
@ 2010-05-12 19:20 ` jason at gcc dot gnu dot org
2010-05-13 5:05 ` jason at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-05-12 19:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jason at gcc dot gnu dot org 2010-05-12 19:20 -------
I marked it as a dupe because it has the same cause, though different specific
effects.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|jason at redhat dot com |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44099
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/44099] ICE in g++.dg/debug/nullptr01.C test on Solaris 2/SPARC
2010-05-12 16:02 [Bug target/44099] New: ICE in g++.dg/debug/nullptr01.C test on Solaris 2/SPARC ro at gcc dot gnu dot org
` (3 preceding siblings ...)
2010-05-12 19:20 ` jason at gcc dot gnu dot org
@ 2010-05-13 5:05 ` jason at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-05-13 5:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jason at gcc dot gnu dot org 2010-05-13 05:05 -------
Subject: Bug 44099
Author: jason
Date: Thu May 13 05:04:46 2010
New Revision: 159350
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159350
Log:
PR bootstrap/44048
PR target/44099
gcc/cp:
* cp-tree.def (NULLPTR_TYPE): Remove.
* cp-tree.h (NULLPTR_TYPE_P): New.
(SCALAR_TYPE_P): Use it.
(nullptr_type_node): New.
(cp_tree_index): Add CPTI_NULLPTR_TYPE.
* decl.c (cxx_init_decl_processing): Call record_builtin_type on
nullptr_type_node.
* cvt.c (ocp_convert): Use NULLPTR_TYPE_P instead of NULLPTR_TYPE.
* cxx-pretty-print.c (pp_cxx_constant): Likewise.
* error.c (dump_type, dump_type_prefix, dump_type_suffix): Likewise.
* mangle.c (write_type): Likewise.
* name-lookup.c (arg_assoc_type): Likewise.
* typeck.c (build_reinterpret_cast_1): Likewise.
* rtti.c (typeinfo_in_lib_p): Likewise.
(emit_support_tinfos): Remove local nullptr_type_node.
gcc:
* dbxout.c (dbxout_type): Remove NULLPTR_TYPE handling.
* sdbout.c (plain_type_1): Likewise.
* dwarf2out.c (is_base_type): Likewise.
(gen_type_die_with_usage): Likewise. Generate
DW_TAG_unspecified_type for any LANG_TYPE.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/cp-tree.def
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/cvt.c
trunk/gcc/cp/cxx-pretty-print.c
trunk/gcc/cp/decl.c
trunk/gcc/cp/error.c
trunk/gcc/cp/mangle.c
trunk/gcc/cp/name-lookup.c
trunk/gcc/cp/rtti.c
trunk/gcc/cp/typeck.c
trunk/gcc/dbxout.c
trunk/gcc/dwarf2out.c
trunk/gcc/sdbout.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44099
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-05-13 5:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-12 16:02 [Bug target/44099] New: ICE in g++.dg/debug/nullptr01.C test on Solaris 2/SPARC ro at gcc dot gnu dot org
2010-05-12 17:28 ` [Bug target/44099] " ebotcazou at gcc dot gnu dot org
2010-05-12 17:30 ` jason at gcc dot gnu dot org
2010-05-12 19:16 ` mikpe at it dot uu dot se
2010-05-12 19:20 ` jason at gcc dot gnu dot org
2010-05-13 5:05 ` jason at gcc dot gnu dot 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).