public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/66653] New: ice in gen_type_die_with_usage, at dwarf2out.c:20876
@ 2015-06-24 17:11 dcb314 at hotmail dot com
2015-06-24 19:37 ` [Bug c++/66653] [6 Regression] " trippels at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2015-06-24 17:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66653
Bug ID: 66653
Summary: ice in gen_type_die_with_usage, at dwarf2out.c:20876
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 35844
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35844&action=edit
gzipped C++ source code
For gcc trunk dated 20150624, I get the following error:
$ ../results/bin/gcc -g -c bug213.cc
cc1plus: internal compiler error: in gen_type_die_with_usage, at
dwarf2out.c:20876
0x9d2f41 gen_type_die_with_usage
../../src/trunk/gcc/dwarf2out.c:20876
0x9d29fd gen_type_die_with_usage
../../src/trunk/gcc/dwarf2out.c:20791
0x9d3276 gen_type_die
../../src/trunk/gcc/dwarf2out.c:20887
0x9d0dc4 gen_decl_die
../../src/trunk/gcc/dwarf2out.c:21496
0x9d1a2c dwarf2out_decl
../../src/trunk/gcc/dwarf2out.c:21923
0x93a0e2 analyze_functions
../../src/trunk/gcc/cgraphunit.c:1153
0x93a520 symbol_table::finalize_compilation_unit()
../../src/trunk/gcc/cgraphunit.c:2491
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/66653] [6 Regression] ice in gen_type_die_with_usage, at dwarf2out.c:20876
2015-06-24 17:11 [Bug c++/66653] New: ice in gen_type_die_with_usage, at dwarf2out.c:20876 dcb314 at hotmail dot com
@ 2015-06-24 19:37 ` trippels at gcc dot gnu.org
2015-06-24 19:37 ` trippels at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-06-24 19:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66653
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-06-24
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/66653] [6 Regression] ice in gen_type_die_with_usage, at dwarf2out.c:20876
2015-06-24 17:11 [Bug c++/66653] New: ice in gen_type_die_with_usage, at dwarf2out.c:20876 dcb314 at hotmail dot com
2015-06-24 19:37 ` [Bug c++/66653] [6 Regression] " trippels at gcc dot gnu.org
@ 2015-06-24 19:37 ` trippels at gcc dot gnu.org
2015-06-24 19:46 ` mpolacek at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-06-24 19:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66653
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trippels at gcc dot gnu.org
Summary|ice in |[6 Regression] ice in
|gen_type_die_with_usage, at |gen_type_die_with_usage, at
|dwarf2out.c:20876 |dwarf2out.c:20876
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
template <typename T> class A
{
static __thread T a;
};
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/66653] [6 Regression] ice in gen_type_die_with_usage, at dwarf2out.c:20876
2015-06-24 17:11 [Bug c++/66653] New: ice in gen_type_die_with_usage, at dwarf2out.c:20876 dcb314 at hotmail dot com
2015-06-24 19:37 ` [Bug c++/66653] [6 Regression] " trippels at gcc dot gnu.org
2015-06-24 19:37 ` trippels at gcc dot gnu.org
@ 2015-06-24 19:46 ` mpolacek at gcc dot gnu.org
2015-06-25 0:50 ` [Bug debug/66653] " aldyh at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-06-24 19:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66653
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
Target Milestone|--- |6.0
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r224161.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/66653] [6 Regression] ice in gen_type_die_with_usage, at dwarf2out.c:20876
2015-06-24 17:11 [Bug c++/66653] New: ice in gen_type_die_with_usage, at dwarf2out.c:20876 dcb314 at hotmail dot com
` (2 preceding siblings ...)
2015-06-24 19:46 ` mpolacek at gcc dot gnu.org
@ 2015-06-25 0:50 ` aldyh at gcc dot gnu.org
2015-06-25 19:27 ` aldyh at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: aldyh at gcc dot gnu.org @ 2015-06-25 0:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66653
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |debug
--- Comment #3 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Mine.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/66653] [6 Regression] ice in gen_type_die_with_usage, at dwarf2out.c:20876
2015-06-24 17:11 [Bug c++/66653] New: ice in gen_type_die_with_usage, at dwarf2out.c:20876 dcb314 at hotmail dot com
` (3 preceding siblings ...)
2015-06-25 0:50 ` [Bug debug/66653] " aldyh at gcc dot gnu.org
@ 2015-06-25 19:27 ` aldyh at gcc dot gnu.org
2015-06-30 14:32 ` jason at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: aldyh at gcc dot gnu.org @ 2015-06-25 19:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66653
--- Comment #4 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Proposed patch and subsequent discussion:
https://gcc.gnu.org/ml/gcc-patches/2015-06/msg01751.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/66653] [6 Regression] ice in gen_type_die_with_usage, at dwarf2out.c:20876
2015-06-24 17:11 [Bug c++/66653] New: ice in gen_type_die_with_usage, at dwarf2out.c:20876 dcb314 at hotmail dot com
` (4 preceding siblings ...)
2015-06-25 19:27 ` aldyh at gcc dot gnu.org
@ 2015-06-30 14:32 ` jason at gcc dot gnu.org
2015-06-30 15:41 ` jason at gcc dot gnu.org
2015-07-24 0:02 ` jason at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2015-06-30 14:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66653
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun 30 14:31:36 2015
New Revision: 225192
URL: https://gcc.gnu.org/viewcvs?rev=225192&root=gcc&view=rev
Log:
PR debug/66653
* cp-tree.h (CP_DECL_THREAD_LOCAL_P): New.
(DECL_GNU_TLS_P): Use DECL_LANG_SPECIFIC field.
(SET_DECL_GNU_TLS_P): New.
* call.c (make_temporary_var_for_ref_to_temp): Use
CP_DECL_THREAD_LOCAL_P.
(set_up_extended_ref_temp): Likewise.
* decl.c (duplicate_decls, expand_static_init): Likewise.
(redeclaration_error_message, grokvardecl): Likewise.
(start_decl, register_dtor_fn, grokdeclarator): Likewise.
* decl2.c (get_guard, var_needs_tls_wrapper): Likewise.
(handle_tls_init): Likewise.
* pt.c (tsubst_decl, tsubst_copy_and_build): Likewise.
* semantics.c (finish_id_expression): Likewise.
(handle_omp_array_sections_1, finish_omp_clauses): Likewise.
(finish_omp_threadprivate): Likewise.
* tree.c (decl_storage_duration): Likewise.
* cp-gimplify.c (omp_var_to_track): Likewise.
(cp_genericize_r): Check that it matches DECL_THREAD_LOCAL_P.
* lex.c (retrofit_lang_decl): Return if DECL_LANG_SPECIFIC is
already set.
Added:
trunk/gcc/testsuite/g++.dg/debug/dwarf2/tls1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/cp-gimplify.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl.c
trunk/gcc/cp/decl2.c
trunk/gcc/cp/lex.c
trunk/gcc/cp/pt.c
trunk/gcc/cp/semantics.c
trunk/gcc/cp/tree.c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/66653] [6 Regression] ice in gen_type_die_with_usage, at dwarf2out.c:20876
2015-06-24 17:11 [Bug c++/66653] New: ice in gen_type_die_with_usage, at dwarf2out.c:20876 dcb314 at hotmail dot com
` (5 preceding siblings ...)
2015-06-30 14:32 ` jason at gcc dot gnu.org
@ 2015-06-30 15:41 ` jason at gcc dot gnu.org
2015-07-24 0:02 ` jason at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2015-06-30 15:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66653
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun 30 15:40:38 2015
New Revision: 225193
URL: https://gcc.gnu.org/viewcvs?rev=225193&root=gcc&view=rev
Log:
PR debug/66653
* decl2.c (is_late_template_attribute): True for tls_model.
Added:
trunk/gcc/testsuite/g++.dg/tls/tls_model1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/66653] [6 Regression] ice in gen_type_die_with_usage, at dwarf2out.c:20876
2015-06-24 17:11 [Bug c++/66653] New: ice in gen_type_die_with_usage, at dwarf2out.c:20876 dcb314 at hotmail dot com
` (6 preceding siblings ...)
2015-06-30 15:41 ` jason at gcc dot gnu.org
@ 2015-07-24 0:02 ` jason at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2015-07-24 0:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66653
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jason at gcc dot gnu.org
Resolution|--- |FIXED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-07-24 0:02 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-24 17:11 [Bug c++/66653] New: ice in gen_type_die_with_usage, at dwarf2out.c:20876 dcb314 at hotmail dot com
2015-06-24 19:37 ` [Bug c++/66653] [6 Regression] " trippels at gcc dot gnu.org
2015-06-24 19:37 ` trippels at gcc dot gnu.org
2015-06-24 19:46 ` mpolacek at gcc dot gnu.org
2015-06-25 0:50 ` [Bug debug/66653] " aldyh at gcc dot gnu.org
2015-06-25 19:27 ` aldyh at gcc dot gnu.org
2015-06-30 14:32 ` jason at gcc dot gnu.org
2015-06-30 15:41 ` jason at gcc dot gnu.org
2015-07-24 0:02 ` 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).