public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/46368] New: [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033
@ 2010-11-08 14:47 rguenth at gcc dot gnu.org
2010-11-08 14:47 ` [Bug middle-end/46368] " rguenth at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-08 14:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46368
Summary: [4.6 Regression] ICE in make_decl_rtl, at
varasm.c:1033
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rguenth@gcc.gnu.org
Target: i?86-*-linux
Created attachment 22324
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22324
preprocessed source
The package yast2-pkg-bindings fails to build with
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/YaST2 -DY2LOG=\"Pkg\"
-DSUSEVERSION=\"\" -DLOCALEDIR=\"/usr/share/YaST2/locale\" -fno-inline
-Woverloaded-virtual -DZYPP_BASE_LOGGER_LOGGROUP=\"Pkg\" -fomit-frame-pointer
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -std=gnu++0x
-DHAVE_CXX0X -Wall -Wformat=2 -MT Package.lo -MD -MP -MF .deps/Package.Tpo -c
Package.cc -fPIC -DPIC -o .libs/Package.o
Package.cc: In member function 'YCPValue PkgFunctions::GetPackages(const
YCPSymbol&, const YCPBoolean&)':
Package.cc:1489:58: internal compiler error: in make_decl_rtl, at varasm.c:1033
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
where the preprocessed source shows plain -O0 is enough to trigger the bug:
> ./cc1plus -quiet ~/Package.ii -o /dev/null -m32 -std=gnu++0x
Package.cc: In member function 'YCPValue PkgFunctions::GetPackages(const
YCPSymbol&, const YCPBoolean&)':
Package.cc:1489:58: internal compiler error: in make_decl_rtl, at varasm.c:1033
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
(gdb) call debug_tree (decl)
<var_decl 0x7ffff134a5a0 D.204121
type <record_type 0x7ffff0123c78 YCPNull type_5 QI
size <integer_cst 0x7ffff7ed34b0 constant 8>
unit size <integer_cst 0x7ffff7ed34d8 constant 1>
align 8 symtab 0 alias set -1 canonical type 0x7ffff0123c78
fields <type_decl 0x7ffff0109508 YCPNull type <record_type
0x7ffff0123d20 YCPNull>
nonlocal decl_4 VOID file /usr/include/YaST2/ycp/YCPElement.h line
124 col 15
align 1 context <record_type 0x7ffff0123c78 YCPNull> result
<record_type 0x7ffff0123c78 YCPNull>
> context <translation_unit_decl 0x7ffff7edf958 D.1>
full-name "class YCPNull"
X() X(constX&) this=(X&) n_parents=0 use_template=0 interface-unknown
pointer_to_this <pointer_type 0x7ffff02f4bd0> reference_to_this
<reference_type 0x7ffff02ed150> chain <type_decl 0x7ffff0111cf0 YCPNull>>
addressable ignored QI file /usr/include/YaST2/ycp/YCPValue.h line 288 col
75 size <integer_cst 0x7ffff7ed34b0 8> unit size <integer_cst 0x7ffff7ed34d8 1>
align 8 context <function_decl 0x7fffeec4e700 PkgCommit> chain <var_decl
0x7fffee3b2a00 D.230722>>
(gdb) call debug_gimple_stmt (stmt)
D.266801_72 = &D.204121;
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/46368] [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033
2010-11-08 14:47 [Bug middle-end/46368] New: [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033 rguenth at gcc dot gnu.org
@ 2010-11-08 14:47 ` rguenth at gcc dot gnu.org
2010-11-08 15:27 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-08 14:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46368
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/46368] [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033
2010-11-08 14:47 [Bug middle-end/46368] New: [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033 rguenth at gcc dot gnu.org
2010-11-08 14:47 ` [Bug middle-end/46368] " rguenth at gcc dot gnu.org
@ 2010-11-08 15:27 ` jakub at gcc dot gnu.org
2010-11-08 17:53 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-08 15:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46368
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-08 15:27:33 UTC ---
I'll look at this.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/46368] [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033
2010-11-08 14:47 [Bug middle-end/46368] New: [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033 rguenth at gcc dot gnu.org
2010-11-08 14:47 ` [Bug middle-end/46368] " rguenth at gcc dot gnu.org
2010-11-08 15:27 ` jakub at gcc dot gnu.org
@ 2010-11-08 17:53 ` jakub at gcc dot gnu.org
2010-11-09 11:47 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-08 17:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46368
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-08 17:53:34 UTC ---
Reducing right now...
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/46368] [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033
2010-11-08 14:47 [Bug middle-end/46368] New: [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033 rguenth at gcc dot gnu.org
` (2 preceding siblings ...)
2010-11-08 17:53 ` jakub at gcc dot gnu.org
@ 2010-11-09 11:47 ` jakub at gcc dot gnu.org
2010-11-09 13:30 ` [Bug c++/46368] " hjl.tools at gmail dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-09 11:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46368
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.11.09 11:46:48
Ever Confirmed|0 |1
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-09 11:46:48 UTC ---
Reduced testcase, ICEs with -std=c++0x:
class A;
class B
{
A foo ();
A bar ();
};
class C
{
};
struct D
{
D (C);
};
struct A : D
{
A (const C & n) : D (n) {}
};
A baz (const char *, A = C ());
A
B::foo ()
{
try
{
baz ("foo");
}
catch (...)
{
}
}
A
B::bar ()
{
baz ("bar");
}
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/46368] [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033
2010-11-08 14:47 [Bug middle-end/46368] New: [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033 rguenth at gcc dot gnu.org
` (3 preceding siblings ...)
2010-11-09 11:47 ` jakub at gcc dot gnu.org
@ 2010-11-09 13:30 ` hjl.tools at gmail dot com
2010-11-09 14:40 ` jason at gcc dot gnu.org
2010-11-10 23:34 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-09 13:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46368
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at redhat dot com
Component|middle-end |c++
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-09 13:30:25 UTC ---
It is caused by revision 166167:
http://gcc.gnu.org/ml/gcc-cvs/2010-11/msg00053.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/46368] [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033
2010-11-08 14:47 [Bug middle-end/46368] New: [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033 rguenth at gcc dot gnu.org
` (4 preceding siblings ...)
2010-11-09 13:30 ` [Bug c++/46368] " hjl.tools at gmail dot com
@ 2010-11-09 14:40 ` jason at gcc dot gnu.org
2010-11-10 23:34 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2010-11-09 14:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46368
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jason at gcc dot gnu.org
Resolution| |DUPLICATE
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2010-11-09 14:40:26 UTC ---
Fixed already, looks like a dup.
*** This bug has been marked as a duplicate of bug 46335 ***
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/46368] [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033
2010-11-08 14:47 [Bug middle-end/46368] New: [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033 rguenth at gcc dot gnu.org
` (5 preceding siblings ...)
2010-11-09 14:40 ` jason at gcc dot gnu.org
@ 2010-11-10 23:34 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-10 23:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46368
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-10 23:34:00 UTC ---
Author: jakub
Date: Wed Nov 10 23:33:56 2010
New Revision: 166574
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166574
Log:
PR debug/46409
* gcc.dg/debug/pr46409.c: New test.
PR c++/46368
* g++.dg/cpp0x/constexpr-defarg2.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-defarg2.C
trunk/gcc/testsuite/gcc.dg/debug/pr46409.c
Modified:
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-11-10 23:34 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-08 14:47 [Bug middle-end/46368] New: [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033 rguenth at gcc dot gnu.org
2010-11-08 14:47 ` [Bug middle-end/46368] " rguenth at gcc dot gnu.org
2010-11-08 15:27 ` jakub at gcc dot gnu.org
2010-11-08 17:53 ` jakub at gcc dot gnu.org
2010-11-09 11:47 ` jakub at gcc dot gnu.org
2010-11-09 13:30 ` [Bug c++/46368] " hjl.tools at gmail dot com
2010-11-09 14:40 ` jason at gcc dot gnu.org
2010-11-10 23:34 ` 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).