public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/64994] New: [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353
@ 2015-02-10  7:00 trippels at gcc dot gnu.org
  2015-02-10 10:14 ` [Bug c++/64994] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-02-10  7:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64994

            Bug ID: 64994
           Summary: [5 Regression] Firefox build error: ICE: in
                    cxx_eval_call_expression, at cp/constexpr.c:1353
           Product: gcc
           Version: 5.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

Probably since r220544 (haven't bisected yet) I get:

trippels@gcc2-power8 generic % g++ -w -c -O0 -std=c++11 nsGfxScrollFrame.ii
/home/trippels/gecko-dev/layout/generic/nsGfxScrollFrame.cpp: In constructor
‘mozilla::ScrollFrameHelper::AsyncScroll::AsyncScroll(nsPoint)’:
/home/trippels/gecko-dev/layout/generic/nsGfxScrollFrame.cpp:1514:22:   in
constexpr expansion of ‘mozilla::TimeStamp()’
/home/trippels/gecko-dev/layout/generic/nsGfxScrollFrame.cpp:1514:22: internal
compiler error: in cxx_eval_call_expression, at cp/constexpr.c:1353
     , mCallee(nullptr)
                      ^
0x1042e6e3 cxx_eval_call_expression
        ../../gcc/gcc/cp/constexpr.c:1353
0x1042f607 cxx_eval_constant_expression
        ../../gcc/gcc/cp/constexpr.c:3016
0x10435713 cxx_eval_outermost_constant_expr
        ../../gcc/gcc/cp/constexpr.c:3523
0x104398db maybe_constant_init(tree_node*, tree_node*)
        ../../gcc/gcc/cp/constexpr.c:3727
0x10363d2f build_vec_init(tree_node*, tree_node*, tree_node*, bool, int, int)
        ../../gcc/gcc/cp/init.c:3793
0x1040de63 cp_gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**)
        ../../gcc/gcc/cp/cp-gimplify.c:566
0x10795143 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        ../../gcc/gcc/gimplify.c:7806
0x1079adff gimplify_stmt(tree_node**, gimple_statement_base**)
        ../../gcc/gcc/gimplify.c:5514
0x107976cb gimplify_cleanup_point_expr
        ../../gcc/gcc/gimplify.c:5290
0x107976cb gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        ../../gcc/gcc/gimplify.c:8260
0x1079adff gimplify_stmt(tree_node**, gimple_statement_base**)
        ../../gcc/gcc/gimplify.c:5514
0x1079828b gimplify_statement_list
        ../../gcc/gcc/gimplify.c:1483
0x1079828b gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        ../../gcc/gcc/gimplify.c:8312
0x1079adff gimplify_stmt(tree_node**, gimple_statement_base**)
        ../../gcc/gcc/gimplify.c:5514
0x1079bd2f gimplify_bind_expr
        ../../gcc/gcc/gimplify.c:1132
0x10797867 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        ../../gcc/gcc/gimplify.c:8094
0x1079adff gimplify_stmt(tree_node**, gimple_statement_base**)
        ../../gcc/gcc/gimplify.c:5514
0x1079cb97 gimplify_body(tree_node*, bool)
        ../../gcc/gcc/gimplify.c:9048
0x1079d2db gimplify_function_tree(tree_node*)
        ../../gcc/gcc/gimplify.c:9202
0x10579b77 cgraph_node::analyze()
        ../../gcc/gcc/cgraphunit.c:631
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reducing...
>From gcc-bugs-return-476603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 10 07:17:48 2015
Return-Path: <gcc-bugs-return-476603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11148 invoked by alias); 10 Feb 2015 07:17:47 -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 11087 invoked by uid 48); 10 Feb 2015 07:17:44 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/61889] [5 Regression] gcov-tool.c uses nftw, ftw.h
Date: Tue, 10 Feb 2015 07:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: law at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: xur at google dot com
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-61889-4-5Jt5Kz4HDV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61889-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61889-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: 2015-02/txt/msg00936.txt.bz2
Content-length: 625

https://gcc.gnu.org/bugzilla/show_bug.cgi?ida889

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |law at redhat dot com
         Resolution|---                         |FIXED

--- Comment #24 from Jeffrey A. Law <law at redhat dot com> ---
Fixed by Trevor's patch to the trunk.  We have a configure check for ftw.h and
if it's not found we disable things that are dependent on ftw.


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

* [Bug c++/64994] [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353
  2015-02-10  7:00 [Bug c++/64994] New: [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353 trippels at gcc dot gnu.org
@ 2015-02-10 10:14 ` rguenth at gcc dot gnu.org
  2015-02-10 11:35 ` trippels at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-02-10 10:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64994

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
           Priority|P3                          |P1
   Target Milestone|---                         |5.0


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

* [Bug c++/64994] [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353
  2015-02-10  7:00 [Bug c++/64994] New: [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353 trippels at gcc dot gnu.org
  2015-02-10 10:14 ` [Bug c++/64994] " rguenth at gcc dot gnu.org
@ 2015-02-10 11:35 ` trippels at gcc dot gnu.org
  2015-02-10 16:34 ` hubicka at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-02-10 11:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64994

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 test % cat nsGfxScrollFrame.ii
class TimeStamp {
public:
  constexpr TimeStamp() : mValue() {}
  int mValue;
};

class A {
  class B;
  A(bool);
};
class C {
  TimeStamp mFadeBeginTime;
};
class A::B {
public:
  B(int) {}
  TimeStamp mPrevEventTime[1];
};

A::A(bool) {
  new C;
  B(0);
}

markus@x4 test % g++ -c --std=c++11 nsGfxScrollFrame.ii
nsGfxScrollFrame.ii: In constructor ‘A::B::B(int)’:
nsGfxScrollFrame.ii:16:10:   in constexpr expansion of ‘TimeStamp()’
nsGfxScrollFrame.ii:16:10: internal compiler error: in
cxx_eval_call_expression, at cp/constexpr.c:1353

Reverting r220544 "fixes" the issue.
>From gcc-bugs-return-476635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 10 11:37:32 2015
Return-Path: <gcc-bugs-return-476635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9092 invoked by alias); 10 Feb 2015 11:37:32 -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 8984 invoked by uid 48); 10 Feb 2015 11:37:25 -0000
From: "alalaw01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/64997] New: [AArch64] Illegal EON on SIMD registers
Date: Tue, 10 Feb 2015 11:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alalaw01 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
Message-ID: <bug-64997-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: 2015-02/txt/msg00968.txt.bz2
Content-length: 1046

https://gcc.gnu.org/bugzilla/show_bug.cgi?idd997

            Bug ID: 64997
           Summary: [AArch64] Illegal EON on SIMD registers
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alalaw01 at gcc dot gnu.org

Testcase:

#include <arm_neon.h>
#define force_simd(V1) asm volatile ("mov %d0, %1.d[0]" \
            : "=w"(V1)                                     \
            : "w"(V1)                                      \
            : /* No clobbers */)

int foo(int64x1_t val4, int64x1_t val6, int64x1_t val7)
{
  int64x1_t val5 = vbic_s64 (val4,
                             veor_s64 (val6,
                                       vsri_n_s64 (val6, val7, 13)));
  force_simd (val5);
  return vget_lane_s64 (val5, 0) == 0 ? 1 : 0;
}

generates an illegal assembly instruction (eon v1, v3, v1 -- EON works only on
General-Purpose Registers) at -O1 and higher.


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

* [Bug c++/64994] [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353
  2015-02-10  7:00 [Bug c++/64994] New: [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353 trippels at gcc dot gnu.org
  2015-02-10 10:14 ` [Bug c++/64994] " rguenth at gcc dot gnu.org
  2015-02-10 11:35 ` trippels at gcc dot gnu.org
@ 2015-02-10 16:34 ` hubicka at gcc dot gnu.org
  2015-02-10 17:03 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu.org @ 2015-02-10 16:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64994

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-02-10
                 CC|                            |hubicka at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Confirmed, also happens for me at x86_64-linux build.


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

* [Bug c++/64994] [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353
  2015-02-10  7:00 [Bug c++/64994] New: [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353 trippels at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-02-10 16:34 ` hubicka at gcc dot gnu.org
@ 2015-02-10 17:03 ` jason at gcc dot gnu.org
  2015-02-10 17:20 ` jason at gcc dot gnu.org
  2015-02-10 18:03 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2015-02-10 17:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64994

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org


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

* [Bug c++/64994] [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353
  2015-02-10  7:00 [Bug c++/64994] New: [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353 trippels at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-02-10 17:03 ` jason at gcc dot gnu.org
@ 2015-02-10 17:20 ` jason at gcc dot gnu.org
  2015-02-10 18:03 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2015-02-10 17:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64994

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Feb 10 17:20:01 2015
New Revision: 220589

URL: https://gcc.gnu.org/viewcvs?rev=220589&root=gcc&view=rev
Log:
    PR c++/64994
    * constexpr.c (cxx_eval_call_expression): Walk the clone list.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-ctor18.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c


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

* [Bug c++/64994] [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353
  2015-02-10  7:00 [Bug c++/64994] New: [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353 trippels at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-02-10 17:20 ` jason at gcc dot gnu.org
@ 2015-02-10 18:03 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-10 18:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64994

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2015-02-10 18:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-10  7:00 [Bug c++/64994] New: [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353 trippels at gcc dot gnu.org
2015-02-10 10:14 ` [Bug c++/64994] " rguenth at gcc dot gnu.org
2015-02-10 11:35 ` trippels at gcc dot gnu.org
2015-02-10 16:34 ` hubicka at gcc dot gnu.org
2015-02-10 17:03 ` jason at gcc dot gnu.org
2015-02-10 17:20 ` jason at gcc dot gnu.org
2015-02-10 18:03 ` jakub 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).