From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3734 invoked by alias); 22 Feb 2014 03:20:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 3698 invoked by uid 48); 22 Feb 2014 03:20:06 -0000 From: "lucdanton at free dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60314] New: [4.9][C++1y] ICE with decltype(auto) when generating debug information Date: Sat, 22 Feb 2014 03:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lucdanton at free dot fr X-Bugzilla-Status: UNCONFIRMED 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_status bug_severity priority component assigned_to reporter Message-ID: 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: 2014-02/txt/msg02343.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60314 Bug ID: 60314 Summary: [4.9][C++1y] ICE with decltype(auto) when generating debug information Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lucdanton at free dot fr Using trunk (g++-trunk (GCC) 4.9.0 20140222 (experimental)): $=C2=A0cat main.cpp=20 // fine // decltype(auto) qux() { return 42; } struct foo { // also ICEs if not static static decltype(auto) bar() { return 42; } }; int main() { } $=C2=A0g++-trunk -std=3Dc++1y main.cpp # Succeeds $=C2=A0g++-trunk -std=3Dc++1y main.cpp -g main.cpp:4:8: internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19864 struct foo { ^ 0x8dcdf9 gen_type_die_with_usage ../../gcc/gcc/dwarf2out.c:19864 0x8d9945 gen_decl_die ../../gcc/gcc/dwarf2out.c:20361 0x8db9f4 gen_member_die ../../gcc/gcc/dwarf2out.c:19414 0x8db9f4 gen_struct_or_union_type_die ../../gcc/gcc/dwarf2out.c:19486 0x8db9f4 gen_tagged_type_die ../../gcc/gcc/dwarf2out.c:19676 0x8dcd6d gen_type_die_with_usage ../../gcc/gcc/dwarf2out.c:19823 0x8d9ba2 gen_decl_die ../../gcc/gcc/dwarf2out.c:20400 0xae80b2 rest_of_type_compilation(tree_node*, int) ../../gcc/gcc/passes.c:283 0x653f70 finish_struct_1(tree_node*) ../../gcc/gcc/cp/class.c:6636 0x65548c finish_struct(tree_node*, tree_node*) ../../gcc/gcc/cp/class.c:6801 0x6880a1 cp_parser_class_specifier_1 ../../gcc/gcc/cp/parser.c:19249 0x6880a1 cp_parser_class_specifier ../../gcc/gcc/cp/parser.c:19468 0x6880a1 cp_parser_type_specifier ../../gcc/gcc/cp/parser.c:14305 0x6a112d cp_parser_decl_specifier_seq ../../gcc/gcc/cp/parser.c:11547 0x6a7ab9 cp_parser_simple_declaration ../../gcc/gcc/cp/parser.c:11137 0x68b570 cp_parser_block_declaration ../../gcc/gcc/cp/parser.c:11086 0x6b4abb cp_parser_declaration ../../gcc/gcc/cp/parser.c:10983 0x6b373d cp_parser_declaration_seq_opt ../../gcc/gcc/cp/parser.c:10869 0x6b4f9a cp_parser_translation_unit ../../gcc/gcc/cp/parser.c:4014 0x6b4f9a c_parse_file() ../../gcc/gcc/cp/parser.c:31568 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-444588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 22 04:14:10 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20988 invoked by alias); 22 Feb 2014 04:14:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20928 invoked by uid 48); 22 Feb 2014 04:14:05 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/50677] volatile forces load into register Date: Sat, 22 Feb 2014 04:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW 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: In-Reply-To: References: 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: 2014-02/txt/msg02345.txt.bz2 Content-length: 443 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50677 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com --- Comment #3 from Andrew Pinski --- *** Bug 60313 has been marked as a duplicate of this bug. ***