From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10446 invoked by alias); 12 Dec 2014 20:31:09 -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 10397 invoked by uid 48); 12 Dec 2014 20:31:05 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/64292] New: [5.0 regression] FAIL: g++.dg/torture/pr60474.C -O1 (internal compiler error) Date: Fri, 12 Dec 2014 20:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org 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 cc cf_gcctarget 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-12/txt/msg01494.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64292 Bug ID: 64292 Summary: [5.0 regression] FAIL: g++.dg/torture/pr60474.C -O1 (internal compiler error) Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: schwab@linux-m68k.org CC: mpolacek at gcc dot gnu.org Target: m68k-*-* $ gcc/xg++ -B gcc/ -S -O ../gcc/testsuite/g++.dg/torture/pr60474.C=20 ../gcc/testsuite/g++.dg/torture/pr60474.C: In function =E2=80=98void fn1(A<= int>&, int Layer::*, int)=E2=80=99: ../gcc/testsuite/g++.dg/torture/pr60474.C:12:6: internal compiler error: tr= ee check: expected boolean_type or enumeral_type or integer_type, have offset_= type in negate_expr_p, at fold-const.c:403 void fn1 (A &p1, int Layer::*p2, int p3) ^ 0xe28144 tree_check_failed(tree_node const*, char const*, int, char const*, ...) ../../gcc/tree.c:9226 0x916519 any_integral_type_check ../../gcc/tree.h:3015 0x916519 negate_expr_p ../../gcc/fold-const.c:403 0x922f62 fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) ../../gcc/fold-const.c:10590 0x931baa fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_nod= e*, tree_node*) ../../gcc/fold-const.c:14285 0xfacc9e add_elt_to_tree ../../gcc/tree-affine.c:439 0xfaeba2 aff_combination_to_tree(aff_tree*) ../../gcc/tree-affine.c:502 0xd0ff98 get_loop_invariant_expr_id ../../gcc/tree-ssa-loop-ivopts.c:4080 0xd0ff98 get_computation_cost_at ../../gcc/tree-ssa-loop-ivopts.c:4246 0xd12e1c get_computation_cost ../../gcc/tree-ssa-loop-ivopts.c:4328 0xd12e1c determine_use_iv_cost_generic ../../gcc/tree-ssa-loop-ivopts.c:4355 0xd12e1c determine_use_iv_cost ../../gcc/tree-ssa-loop-ivopts.c:4913 0xd15168 determine_use_iv_costs ../../gcc/tree-ssa-loop-ivopts.c:5033 0xd15168 tree_ssa_iv_optimize_loop ../../gcc/tree-ssa-loop-ivopts.c:6847 0xd15983 tree_ssa_iv_optimize() ../../gcc/tree-ssa-loop-ivopts.c:6893 0xd24250 execute ../../gcc/tree-ssa-loop.c:471 unit size align 16 symtab 0 alias set -1 canonical type 0x7ffff66c4690 precis= ion 32 min max pointer_to_this > public SI size unit size align 16 symtab 0 alias set -1 canonical type 0x7ffff6807348 basetype > >>From gcc-bugs-return-470489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 12 21:06:14 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5127 invoked by alias); 12 Dec 2014 21:06:14 -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 5086 invoked by uid 55); 12 Dec 2014 21:06:09 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/58594] [4.9 Regression] std::make_shared does not accept const types as parameters Date: Fri, 12 Dec 2014 21:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-12/txt/msg01496.txt.bz2 Content-length: 878 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58594 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Fri Dec 12 21:05:35 2014 New Revision: 218691 URL: https://gcc.gnu.org/viewcvs?rev=218691&root=gcc&view=rev Log: PR libstdc++/58594 * include/bits/shared_ptr_base.h: Cast away cv-quals. * testsuite/20_util/shared_ptr/creation/58594-no-rtti.cc: New. * testsuite/20_util/shared_ptr/creation/private.cc: Make allocator rebindable so test passes with -fno-rtti. Added: trunk/libstdc++-v3/testsuite/20_util/shared_ptr/creation/58594-no-rtti.cc - copied, changed from r218690, trunk/libstdc++-v3/testsuite/20_util/shared_ptr/creation/private.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/shared_ptr_base.h trunk/libstdc++-v3/testsuite/20_util/shared_ptr/creation/private.cc