From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30345 invoked by alias); 1 Mar 2014 12:13:00 -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 30321 invoked by uid 48); 1 Mar 2014 12:12:56 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60379] New: [4.9 Regression] pugixml build failure caused by r207001 Date: Sat, 01 Mar 2014 12:13: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: trippels at gcc dot gnu.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 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-03/txt/msg00016.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60379 Bug ID: 60379 Summary: [4.9 Regression] pugixml build failure caused by r207001 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: jason at gcc dot gnu.org /usr/bin/g++ -flto=3D4 -march=3Dnative -O2 -Dpugixml_EXPORTS -DNDEBUG -march=3Dnative -O2 -pipe -fPIC -o CMakeFiles/pugixml.dir/var/tmp/portage/dev-libs/pugixml-1.4/work/pugix ml-1.4/src/pugixml.cpp.o -c /var/tmp/portage/dev-libs/pugixml-1.4/work/pugixml-1.4/src/pugixml.cpp /var/tmp/portage/dev-libs/pugixml-1.4/work/pugixml-1.4/src/pugixml.cpp: In static member function =E2=80=98static typename Traits::value_type pugi::impl::{anonymous}::utf_decoder::decode_utf8_block(const uint8_t*, size_t, typename Traits::value_type)=E2=80=99: /var/tmp/portage/dev-libs/pugixml-1.4/work/pugixml-1.4/src/pugixml.cpp:892:= 90: error: a cast to a type other than an integral or enumeration type cannot appear in a constant- expression while (size >=3D 4 && (*static_cast(static_cast(data)) & 0x80808080) =3D=3D 0) markus@x4 tmp % cat test.ii template struct A { void m_fn1(int p1) { int *a; while (p1 && *static_cast(static_cast(a))) ; } }; markus@x4 tmp % g++ -c test.ii test.ii: In member function =E2=80=98void A< >::m_fn1(int)=E2=80= =99: test.ii:4:15: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression while (p1 && *static_cast(static_cast(a))) ^ Started with r207001. >>From gcc-bugs-return-445148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 01 13:17:19 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21609 invoked by alias); 1 Mar 2014 13:17: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21565 invoked by uid 55); 1 Mar 2014 13:17:12 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/60071] [4.9 Regression] [SH] internal compiler error: in final_scan_insn, at final.c:2963 Date: Sat, 01 Mar 2014 13:17: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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: 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-03/txt/msg00017.txt.bz2 Content-length: 601 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60071 --- Comment #8 from Oleg Endo --- Author: olegendo Date: Sat Mar 1 13:16:37 2014 New Revision: 208242 URL: http://gcc.gnu.org/viewcvs?rev=208242&root=gcc&view=rev Log: PR target/60071 * config/sh/sh.md (*mov_t_msb_neg): Split into ... (*mov_t_msb_neg_negc): ... this new insn. PR target/60071 * gcc.c-torture/compile/pr60071.c: New. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr60071.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/sh/sh.md trunk/gcc/testsuite/ChangeLog