public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60379] New: [4.9 Regression] pugixml build failure caused by r207001
@ 2014-03-01 12:13 trippels at gcc dot gnu.org
  2014-03-01 19:21 ` [Bug c++/60379] " jason at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-03-01 12:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60379

            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=4 -march=native -O2 -Dpugixml_EXPORTS  -DNDEBUG
-march=native -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 ‘static typename Traits::value_type
pugi::impl::{anonymous}::utf_decoder<Tra
its, opt_swap>::decode_utf8_block(const uint8_t*, size_t, typename
Traits::value_type)’:
/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 >= 4 && (*static_cast<const uint32_t*>(static_cast<const
void*>(data)) & 0x80808080) == 0)


markus@x4 tmp % cat test.ii
template <int> struct A {
  void m_fn1(int p1) {
    int *a;
    while (p1 && *static_cast<int *>(static_cast<void *>(a)))
      ;
  }
};

markus@x4 tmp % g++ -c test.ii
test.ii: In member function ‘void A<<anonymous> >::m_fn1(int)’:
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<int *>(static_cast<void *>(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: <gcc-bugs-return-445148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
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: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
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" <gcc-bugzilla@gcc.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: <bug-60071-4-Y6Qp028RAc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60071-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60071-4@http.gcc.gnu.org/bugzilla/>
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`071

--- Comment #8 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Sat Mar  1 13:16:37 2014
New Revision: 208242

URL: http://gcc.gnu.org/viewcvs?rev 8242&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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/60379] [4.9 Regression] pugixml build failure caused by r207001
  2014-03-01 12:13 [Bug c++/60379] New: [4.9 Regression] pugixml build failure caused by r207001 trippels at gcc dot gnu.org
@ 2014-03-01 19:21 ` jason at gcc dot gnu.org
  2014-03-01 19:41 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2014-03-01 19:21 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60379

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2014-03-01
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
     Ever confirmed|0                           |1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/60379] [4.9 Regression] pugixml build failure caused by r207001
  2014-03-01 12:13 [Bug c++/60379] New: [4.9 Regression] pugixml build failure caused by r207001 trippels at gcc dot gnu.org
  2014-03-01 19:21 ` [Bug c++/60379] " jason at gcc dot gnu.org
@ 2014-03-01 19:41 ` jason at gcc dot gnu.org
  2014-03-01 21:03 ` jason at gcc dot gnu.org
  2014-03-03  9:00 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2014-03-01 19:41 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60379

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Mar  1 19:40:33 2014
New Revision: 208247

URL: http://gcc.gnu.org/viewcvs?rev=208247&root=gcc&view=rev
Log:
    PR c++/60379
    * semantics.c (begin_maybe_infinite_loop): Use
    fold_non_dependent_expr_sfinae.

Added:
    trunk/gcc/testsuite/g++.dg/template/loop1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/60379] [4.9 Regression] pugixml build failure caused by r207001
  2014-03-01 12:13 [Bug c++/60379] New: [4.9 Regression] pugixml build failure caused by r207001 trippels at gcc dot gnu.org
  2014-03-01 19:21 ` [Bug c++/60379] " jason at gcc dot gnu.org
  2014-03-01 19:41 ` jason at gcc dot gnu.org
@ 2014-03-01 21:03 ` jason at gcc dot gnu.org
  2014-03-03  9:00 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2014-03-01 21:03 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60379

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/60379] [4.9 Regression] pugixml build failure caused by r207001
  2014-03-01 12:13 [Bug c++/60379] New: [4.9 Regression] pugixml build failure caused by r207001 trippels at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-03-01 21:03 ` jason at gcc dot gnu.org
@ 2014-03-03  9:00 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-03-03  9:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60379

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-03  9:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-01 12:13 [Bug c++/60379] New: [4.9 Regression] pugixml build failure caused by r207001 trippels at gcc dot gnu.org
2014-03-01 19:21 ` [Bug c++/60379] " jason at gcc dot gnu.org
2014-03-01 19:41 ` jason at gcc dot gnu.org
2014-03-01 21:03 ` jason at gcc dot gnu.org
2014-03-03  9:00 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).