From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26292 invoked by alias); 7 Oct 2014 16:53:17 -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 26252 invoked by uid 48); 7 Oct 2014 16:53:12 -0000 From: "ville.voutilainen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/63362] The c++11 triviality-traits need front-end help Date: Tue, 07 Oct 2014 16:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: ville.voutilainen at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-10/txt/msg00482.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63362 --- Comment #16 from Ville Voutilainen = --- (In reply to Ville Voutilainen from comment #15) > (In reply to Jason Merrill from comment #14) > > (In reply to Ville Voutilainen from comment #13) > > > Hmm. The first of the two ICE tests still ICEs. > >=20 > > Which test? None of the tests are ICEing for me. >=20 > This one: >=20 > #include >=20 > template > struct mytrait : public std::__and_, > std::integral_constant __is_trivially_constructible(T, Args...)>>::type > { > } And the trace is [ville@localhost ~]$ g++ --std=3Dc++14 -c trivial_trait.cpp trivial_trait.cpp:5:43: internal compiler error: tree check: expected class =E2=80=98type=E2=80=99, have =E2=80=98exceptional=E2=80=99 (tree_list) in c= omptypes, at cp/typeck.c:1391 __is_trivially_constructible(T, Args...)>>::type ^ 0xe07427 tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*) ../../gcc/tree.c:9226 0x6b4f50 tree_class_check(tree_node*, tree_code_class, char const*, int, ch= ar const*) ../../gcc/tree.h:2856 0x6b4f50 comptypes(tree_node*, tree_node*, int) ../../gcc/cp/typeck.c:1391 0x5c2934 template_args_equal ../../gcc/cp/pt.c:7223 0x5c2fbe comp_template_args_with_info ../../gcc/cp/pt.c:7250 0x5c30ec comp_template_args(tree_node*, tree_node*) ../../gcc/cp/pt.c:7268 0x5c30ec eq_specializations ../../gcc/cp/pt.c:1512 0x123c2c4 htab_find_with_hash ../../libiberty/hashtab.c:598 0x5e9b31 lookup_template_class_1 ../../gcc/cp/pt.c:7688 0x5e9b31 lookup_template_class(tree_node*, tree_node*, tree_node*, tree_nod= e*, int, int) ../../gcc/cp/pt.c:7979 0x700da2 finish_template_type(tree_node*, tree_node*, int) ../../gcc/cp/semantics.c:2981 0x6936e9 cp_parser_template_id ../../gcc/cp/parser.c:13658 0x6939f8 cp_parser_class_name ../../gcc/cp/parser.c:19487 0x687b4a cp_parser_qualifying_entity ../../gcc/cp/parser.c:5570 0x687b4a cp_parser_nested_name_specifier_opt ../../gcc/cp/parser.c:5295 0x69fec0 cp_parser_simple_type_specifier ../../gcc/cp/parser.c:14864 0x67b725 cp_parser_type_specifier ../../gcc/cp/parser.c:14610 0x67c97b cp_parser_type_specifier_seq ../../gcc/cp/parser.c:18355 0x691e52 cp_parser_type_id_1 ../../gcc/cp/parser.c:18227 0x691f4e cp_parser_template_type_arg ../../gcc/cp/parser.c:18277 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. >>From gcc-bugs-return-463462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 07 16:57:31 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29375 invoked by alias); 7 Oct 2014 16:57:31 -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 28869 invoked by uid 48); 7 Oct 2014 16:57:25 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/63362] The c++11 triviality-traits need front-end help Date: Tue, 07 Oct 2014 16:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-10/txt/msg00483.txt.bz2 Content-length: 539 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63362 --- Comment #17 from Jason Merrill --- (In reply to Ville Voutilainen from comment #16) > > This one: > >=20 > > #include > >=20 > > template > > struct mytrait : public std::__and_, > > std::integral_constant > __is_trivially_constructible(T, Args...)>>::type > > { > > } Yeah, that works fine for me. Perhaps the ICE is related to changes you've made to type_traits? >>From gcc-bugs-return-463463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 07 17:08:44 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3503 invoked by alias); 7 Oct 2014 17:08:43 -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 3471 invoked by uid 48); 7 Oct 2014 17:08:39 -0000 From: "spear at cse dot lehigh.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/63472] New: transaction_atomic within while loop causes ICE Date: Tue, 07 Oct 2014 17:08: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: critical X-Bugzilla-Who: spear at cse dot lehigh.edu 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-10/txt/msg00484.txt.bz2 Content-length: 1732 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63472 Bug ID: 63472 Summary: transaction_atomic within while loop causes ICE Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: spear at cse dot lehigh.edu Summary: The following code produces an ICE when compiled with "g++ -fgnu-tm bug.cc = -c" int val; void test() { while (true) { __transaction_atomic { if (val =3D=3D 42) return; } } } Error Message: bug.cc: In function =E2=80=98void test()=E2=80=99: bug.cc:12:1: internal compiler error: in duplicate_block, at cfghooks.c:1032 } ^ 0x84c987 duplicate_block(basic_block_def*, edge_def*, basic_block_def*) ../../source_git/gcc/cfghooks.c:1032 0x84cca5 copy_bbs(basic_block_def**, unsigned int, basic_block_def**, edge_def**, unsigned int, edge_def**, loop*, basic_block_def*, bool) ../../source_git/gcc/cfghooks.c:1312 0xbd6139 ipa_uninstrument_transaction ../../source_git/gcc/trans-mem.c:4093 0xbd6139 ipa_tm_scan_calls_transaction ../../source_git/gcc/trans-mem.c:4167 0xbd6139 ipa_tm_execute ../../source_git/gcc/trans-mem.c:5340 0xbd6139 execute ../../source_git/gcc/trans-mem.c:5578 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. GCC Information: gcc (GCC) 5.0.0 20141007 (experimental) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215970 138bc75d-0d04-0410-961f-82ee72b054a4 >>From gcc-bugs-return-463464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 07 17:13:42 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6088 invoked by alias); 7 Oct 2014 17:13:41 -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 6054 invoked by uid 48); 7 Oct 2014 17:13:38 -0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/56183] [meta-bug][avr] Problems with register allocation Date: Tue, 07 Oct 2014 17:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: meta-bug, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: gjl 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: bug_status resolution 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-10/txt/msg00485.txt.bz2 Content-length: 500 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56183 Bug 56183 depends on bug 52278, which changed state. Bug 52278 Summary: [4.8/4.9/5 Regression] [avr] inefficient register allocation for SUBREGs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52278 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME