From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83772 invoked by alias); 23 Mar 2015 16:14:33 -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 83717 invoked by uid 48); 23 Mar 2015 16:14:30 -0000 From: "marciso.gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65525] New: ICE: sorry, unimplemented: unexpected AST of kind mem_ref (-std=c++14, ICE: in potential_constant_expression_1, at cp/constexpr.c:4432) Date: Mon, 23 Mar 2015 16:49: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marciso.gcc at gmail dot com 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: 2015-03/txt/msg02422.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65525 Bug ID: 65525 Summary: ICE: sorry, unimplemented: unexpected AST of kind mem_ref (-std=3Dc++14, ICE: in potential_constant_expression_1, at cp/constexpr.c:4432) Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marciso.gcc at gmail dot com // The following code triggers "unimplemented ICE" when compiled with "-std=3Dc++14"; // "-std=3Dc++11" compiles fine. // g++ -std=3Dc++14 test.cpp // Tested with: // g++ (GCC) 5.0.0 20150308 (experimental) // g++ (GCC) 5.0.0 20150323 (experimental) struct A { int x; char y; // Actually, short and bool (types smaller than int?) trigger t= his ICE too // Also: the problem doesn't occur if you put the smaller type first, e= .g. "char x; int y;" A(int x) {} // custom ctor needed for ICE }; int main() { A a{0}, x{1}, y{2}; x =3D a; // OK y =3D a; // OK x =3D y =3D a; // ICE: sorry, unimplemented: unexpected AST of kind mem= _ref // internal compiler error: in potential_constant_expression_1, at cp/constexpr.c:4432 return 0; } /* ./gcc/bin/g++ -std=3Dc++14 test.cpp -o test test.cpp: In function =E2=80=98int main()=E2=80=99: test.cpp:20:13: sorry, unimplemented: unexpected AST of kind mem_ref x =3D y =3D a; // ICE: sorry, unimplemented: unexpected AST of kind me= m_ref ^ test.cpp:20:13: internal compiler error: in potential_constant_expression_1= , at cp/constexpr.c:4432 0x843238 potential_constant_expression_1 ../../gcc/cp/constexpr.c:4432 0x842eca potential_constant_expression_1 ../../gcc/cp/constexpr.c:4049 0x8423e5 potential_constant_expression_1 ../../gcc/cp/constexpr.c:4379 0x74c3d2 cp_parser_constant_expression ../../gcc/cp/parser.c:8672 0x74c0b4 cp_parser_assignment_expression ../../gcc/cp/parser.c:8434 0x74e80d cp_parser_expression ../../gcc/cp/parser.c:8569 0x74f0f6 cp_parser_expression_statement ../../gcc/cp/parser.c:9976 0x73c8b5 cp_parser_statement ../../gcc/cp/parser.c:9827 0x73d422 cp_parser_statement_seq_opt ../../gcc/cp/parser.c:10099 0x73d57b cp_parser_compound_statement ../../gcc/cp/parser.c:10053 0x75233b cp_parser_function_body ../../gcc/cp/parser.c:19185 0x75233b cp_parser_ctor_initializer_opt_and_function_body ../../gcc/cp/parser.c:19221 0x75cbaa cp_parser_function_definition_after_declarator ../../gcc/cp/parser.c:23464 0x75da23 cp_parser_function_definition_from_specifiers_and_declarator ../../gcc/cp/parser.c:23376 0x75da23 cp_parser_init_declarator ../../gcc/cp/parser.c:17055 0x75efbc cp_parser_simple_declaration ../../gcc/cp/parser.c:11592 0x75f313 cp_parser_block_declaration ../../gcc/cp/parser.c:11466 0x767879 cp_parser_declaration ../../gcc/cp/parser.c:11363 0x767afa cp_parser_declaration_seq_opt ../../gcc/cp/parser.c:11249 0x767e0f cp_parser_translation_unit ../../gcc/cp/parser.c:4100 Please submit a full bug report, >>From gcc-bugs-return-481279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 23 16:16:00 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87870 invoked by alias); 23 Mar 2015 16:15:59 -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 87801 invoked by uid 48); 23 Mar 2015 16:15:56 -0000 From: "wilson at tuliptree dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/60408] ARM: inefficient code for vget_lane_f32 intrinsic Date: Mon, 23 Mar 2015 17:02: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.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at tuliptree dot 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 attachments.created 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: 2015-03/txt/msg02423.txt.bz2 Content-length: 519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60408 Jim Wilson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilson at tuliptree dot org --- Comment #2 from Jim Wilson --- Created attachment 35114 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35114&action=edit patch to use subregs instead of vec_extract