public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug translation/55392] New: Internal compiler error in get_expr_operands, c++11 without optimization
@ 2012-11-19 10:46 david at aitellu dot com
2012-11-19 11:58 ` [Bug c++/55392] " redi at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: david at aitellu dot com @ 2012-11-19 10:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55392
Bug #: 55392
Summary: Internal compiler error in get_expr_operands, c++11
without optimization
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: translation
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: david@aitellu.com
I have tried compiling this code both with gcc 4.7.2 and the gcc-snapshot of
4.8 from Ubuntu (gcc version 4.8.0 20121008 (experimental) [trunk revision
192192]) and it crashes in both cases. My command line is simply:
g++ -Wall -g -O0 -std=c++11
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: be9316d4d24873f9eb2c1149d4699d98
unhandled expression in get_expr_operands():
<field_decl 0x7f16a8f322f8 __this
type <pointer_type 0x7f16a939f738
type <record_type 0x7f16a97731f8 TightTree sizes-gimplified asm_written
needs-constructing type_1 type_5 type_6 BLK
size <integer_cst 0x7f16add73ba0 constant 512>
unit size <integer_cst 0x7f16add73800 constant 64>
align 64 symtab -1455709008 alias set -1 canonical type
0x7f16a97731f8 fields <field_decl 0x7f16a93a1ab0 D.111478> context
<translation_unit_decl 0x7f16ae144170 D.1>
full-name "class TightTree<unsigned char, int, 8u, 1000000ul,
TightVector<unsigned int, 1000000ul> >"
needs-constructor X(constX&) this=(X&) n_parents=1 use_template=1
interface-unknown
pointer_to_this <pointer_type 0x7f16a939f5e8> reference_to_this
<reference_type 0x7f16a93be9d8> chain <type_decl 0x7f16a976b228 TightTree>>
readonly sizes-gimplified unsigned DI
size <integer_cst 0x7f16ae12bdc0 constant 64>
unit size <integer_cst 0x7f16ae12bde0 constant 8>
align 64 symtab -1460303440 alias set -1 canonical type 0x7f16a939f738>
readonly used unsigned nonlocal decl_7 DI file
/home/gurgeh/projs/hg/Turtle/src/TightStructures/tight_tree.hpp line 102 col 41
size <integer_cst 0x7f16ae12bdc0 64> unit size <integer_cst 0x7f16ae12bde0 8>
align 64 offset_align 128
offset <integer_cst 0x7f16ae12be00 type <integer_type 0x7f16ae146000
sizetype> constant 0>
bit offset <integer_cst 0x7f16ae12be80 type <integer_type 0x7f16ae1460a8
bitsizetype> constant 0> context <record_type 0x7f16a8f312a0 __lambda0> chain
<type_decl 0x7f16a8f307e8 __lambda0>>
/home/gurgeh/projs/hg/Turtle/src/TightStructures/test_ttree.cpp: In lambda
function:
/home/gurgeh/projs/hg/Turtle/src/TightStructures/test_ttree.cpp:62:92: internal
compiler error: in get_expr_operands, at tree-ssa-operands.c:984
BOOST_AUTO_TEST_SUITE_END()
The place where it crashes is inside a unit test, using the Boost unit test
framework.
clang 3.1 compiles the code fine.
The last line of the output is, oddly,
"The bug is not reproducible, so it is likely a hardware or OS problem." But I
don't understand this. I can certainly reproduce it 100% of the times, with
both 4.7 and 4.8.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/55392] Internal compiler error in get_expr_operands, c++11 without optimization
2012-11-19 10:46 [Bug translation/55392] New: Internal compiler error in get_expr_operands, c++11 without optimization david at aitellu dot com
@ 2012-11-19 11:58 ` redi at gcc dot gnu.org
2012-11-19 12:20 ` david at aitellu dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2012-11-19 11:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55392
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2012-11-19
Component|translation |c++
Ever Confirmed|0 |1
Severity|major |normal
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-19 11:58:21 UTC ---
The testcase is missing.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/55392] Internal compiler error in get_expr_operands, c++11 without optimization
2012-11-19 10:46 [Bug translation/55392] New: Internal compiler error in get_expr_operands, c++11 without optimization david at aitellu dot com
2012-11-19 11:58 ` [Bug c++/55392] " redi at gcc dot gnu.org
@ 2012-11-19 12:20 ` david at aitellu dot com
2012-11-19 12:52 ` markus at trippelsdorf dot de
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: david at aitellu dot com @ 2012-11-19 12:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55392
--- Comment #2 from David Fendrich <david at aitellu dot com> 2012-11-19 12:19:55 UTC ---
Created attachment 28730
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28730
Lzma compressed .ii file from -save-temps
I attached this file uncompressed to the original post, but it seems to have
been to large.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/55392] Internal compiler error in get_expr_operands, c++11 without optimization
2012-11-19 10:46 [Bug translation/55392] New: Internal compiler error in get_expr_operands, c++11 without optimization david at aitellu dot com
2012-11-19 11:58 ` [Bug c++/55392] " redi at gcc dot gnu.org
2012-11-19 12:20 ` david at aitellu dot com
@ 2012-11-19 12:52 ` markus at trippelsdorf dot de
2012-11-19 13:30 ` redi at gcc dot gnu.org
2012-11-19 14:59 ` paolo.carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: markus at trippelsdorf dot de @ 2012-11-19 12:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55392
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markus at trippelsdorf dot
| |de
--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-11-19 12:51:51 UTC ---
Most likely a dup of Bug 53137.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/55392] Internal compiler error in get_expr_operands, c++11 without optimization
2012-11-19 10:46 [Bug translation/55392] New: Internal compiler error in get_expr_operands, c++11 without optimization david at aitellu dot com
` (2 preceding siblings ...)
2012-11-19 12:52 ` markus at trippelsdorf dot de
@ 2012-11-19 13:30 ` redi at gcc dot gnu.org
2012-11-19 14:59 ` paolo.carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2012-11-19 13:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55392
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |UNCONFIRMED
Ever Confirmed|1 |0
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-19 13:30:09 UTC ---
(In reply to comment #2)
> I attached this file uncompressed to the original post, but it seems to have
> been to large.
Which is usually a hint you should reduce it:
http://gcc.gnu.org/bugs/minimize.html
However I think Markus is right and it's probably a dup anyway.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/55392] Internal compiler error in get_expr_operands, c++11 without optimization
2012-11-19 10:46 [Bug translation/55392] New: Internal compiler error in get_expr_operands, c++11 without optimization david at aitellu dot com
` (3 preceding siblings ...)
2012-11-19 13:30 ` redi at gcc dot gnu.org
@ 2012-11-19 14:59 ` paolo.carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-11-19 14:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55392
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-19 14:58:49 UTC ---
Let's resolve as Dup and remember to double check the fix on this testcase too.
*** This bug has been marked as a duplicate of bug 53137 ***
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-11-19 14:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-19 10:46 [Bug translation/55392] New: Internal compiler error in get_expr_operands, c++11 without optimization david at aitellu dot com
2012-11-19 11:58 ` [Bug c++/55392] " redi at gcc dot gnu.org
2012-11-19 12:20 ` david at aitellu dot com
2012-11-19 12:52 ` markus at trippelsdorf dot de
2012-11-19 13:30 ` redi at gcc dot gnu.org
2012-11-19 14:59 ` paolo.carlini at oracle dot com
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).