public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46298] New: constexpr ICE on ARM
@ 2010-11-04 3:28 cltang at gcc dot gnu.org
2010-11-04 17:16 ` [Bug c++/46298] " jason at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: cltang at gcc dot gnu.org @ 2010-11-04 3:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46298
Summary: constexpr ICE on ARM
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: cltang@gcc.gnu.org
Target: arm
Current mainline trunk ARM build fails with this (seems a BIND_EXPR appears in
an assertion expecting a CALL_EXPR):
make[4]: Entering directory
`/home/cltang/nexus/build/gcc-arm-4_6/arm-nthu-linux-gnueabi/libstdc++-v3/include'
mkdir -p ./arm-nthu-linux-gnueabi/bits/stdc++.h.gch
/home/cltang/nexus/build/gcc-arm-4_6/./gcc/xgcc -shared-libgcc
-B/home/cltang/nexus/build/gcc-arm-4_6/./gcc -nostdinc++
-L/home/cltang/nexus/build/gcc-arm-4_6/arm-nthu-linux-gnueabi/libstdc++-v3/src
-L/home/cltang/nexus/build/gcc-arm-4_6/arm-nthu-linux-gnueabi/libstdc++-v3/src/.libs
-B/home/cltang/nexus/arm-4_6/arm-nthu-linux-gnueabi/bin/
-B/home/cltang/nexus/arm-4_6/arm-nthu-linux-gnueabi/lib/ -isystem
/home/cltang/nexus/arm-4_6/arm-nthu-linux-gnueabi/include -isystem
/home/cltang/nexus/arm-4_6/arm-nthu-linux-gnueabi/sys-include -x c++-header
-nostdinc++ -g -O2 -D_GNU_SOURCE
-I/home/cltang/nexus/build/gcc-arm-4_6/arm-nthu-linux-gnueabi/libstdc++-v3/include/arm-nthu-linux-gnueabi
-I/home/cltang/nexus/build/gcc-arm-4_6/arm-nthu-linux-gnueabi/libstdc++-v3/include
-I/home/cltang/nexus/trunk/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x
/home/cltang/nexus/trunk/libstdc++-v3/include/precompiled/stdc++.h \
-o arm-nthu-linux-gnueabi/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from
/home/cltang/nexus/build/gcc-arm-4_6/arm-nthu-linux-gnueabi/libstdc++-v3/include/ccomplex:42:0,
from
/home/cltang/nexus/trunk/libstdc++-v3/include/precompiled/stdc++.h:53:
/home/cltang/nexus/build/gcc-arm-4_6/arm-nthu-linux-gnueabi/libstdc++-v3/include/complex:
In constructor 'constexpr
std::complex<float>::complex(std::complex<float>::_ComplexT)':
/home/cltang/nexus/build/gcc-arm-4_6/arm-nthu-linux-gnueabi/libstdc++-v3/include/complex:1044:67:
internal compiler error: in build_data_member_initialization, at
cp/semantics.c:5475
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46298] constexpr ICE on ARM
2010-11-04 3:28 [Bug c++/46298] New: constexpr ICE on ARM cltang at gcc dot gnu.org
@ 2010-11-04 17:16 ` jason at gcc dot gnu.org
2010-11-04 17:18 ` rearnsha at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2010-11-04 17:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46298
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2010-11-04 17:16:10 UTC ---
Please provide preprocessed input; I can't configure libstdc++ without an ARM
assembler/linker.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46298] constexpr ICE on ARM
2010-11-04 3:28 [Bug c++/46298] New: constexpr ICE on ARM cltang at gcc dot gnu.org
2010-11-04 17:16 ` [Bug c++/46298] " jason at gcc dot gnu.org
@ 2010-11-04 17:18 ` rearnsha at gcc dot gnu.org
2010-11-04 18:03 ` cltang at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2010-11-04 17:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46298
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2010.11.04 17:18:27
CC| |rearnsha at gcc dot gnu.org
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46298] constexpr ICE on ARM
2010-11-04 3:28 [Bug c++/46298] New: constexpr ICE on ARM cltang at gcc dot gnu.org
2010-11-04 17:16 ` [Bug c++/46298] " jason at gcc dot gnu.org
2010-11-04 17:18 ` rearnsha at gcc dot gnu.org
@ 2010-11-04 18:03 ` cltang at gcc dot gnu.org
2010-11-04 20:31 ` jason at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: cltang at gcc dot gnu.org @ 2010-11-04 18:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46298
--- Comment #2 from Chung-Lin Tang <cltang at gcc dot gnu.org> 2010-11-04 18:03:21 UTC ---
Created attachment 22286
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22286
Testcase
-std=gnu++0x is enough to trigger, but seems to only manifest on ARM.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46298] constexpr ICE on ARM
2010-11-04 3:28 [Bug c++/46298] New: constexpr ICE on ARM cltang at gcc dot gnu.org
` (2 preceding siblings ...)
2010-11-04 18:03 ` cltang at gcc dot gnu.org
@ 2010-11-04 20:31 ` jason at gcc dot gnu.org
2010-11-14 17:39 ` rearnsha at gcc dot gnu.org
2010-12-08 20:05 ` jason at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2010-11-04 20:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46298
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2010-11-04 20:31:36 UTC ---
Author: jason
Date: Thu Nov 4 20:31:31 2010
New Revision: 166330
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166330
Log:
PR c++/46298
* semantics.c (build_constexpr_constructor_member_initializers):
Handle an enclosing STATEMENT_LIST.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46298] constexpr ICE on ARM
2010-11-04 3:28 [Bug c++/46298] New: constexpr ICE on ARM cltang at gcc dot gnu.org
` (3 preceding siblings ...)
2010-11-04 20:31 ` jason at gcc dot gnu.org
@ 2010-11-14 17:39 ` rearnsha at gcc dot gnu.org
2010-12-08 20:05 ` jason at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2010-11-14 17:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46298
--- Comment #4 from Richard Earnshaw <rearnsha at gcc dot gnu.org> 2010-11-14 17:19:03 UTC ---
Jason - is this fixed now? If so can you close this please.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46298] constexpr ICE on ARM
2010-11-04 3:28 [Bug c++/46298] New: constexpr ICE on ARM cltang at gcc dot gnu.org
` (4 preceding siblings ...)
2010-11-14 17:39 ` rearnsha at gcc dot gnu.org
@ 2010-12-08 20:05 ` jason at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2010-12-08 20:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46298
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2010-12-08 20:04:45 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-12-08 20:05 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-04 3:28 [Bug c++/46298] New: constexpr ICE on ARM cltang at gcc dot gnu.org
2010-11-04 17:16 ` [Bug c++/46298] " jason at gcc dot gnu.org
2010-11-04 17:18 ` rearnsha at gcc dot gnu.org
2010-11-04 18:03 ` cltang at gcc dot gnu.org
2010-11-04 20:31 ` jason at gcc dot gnu.org
2010-11-14 17:39 ` rearnsha at gcc dot gnu.org
2010-12-08 20:05 ` jason 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).