First Last Prev Next    No search results available
Details
: [llvmg++] Crash in initializing array with constructors i...
Bug#: 421
: tools
: llvm-g++
Status: RESOLVED
Resolution: FIXED
: All
: All
: 1.0
: P2
: normal
: 1.4

:
: compile-fail
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Adam Treat <manyoso@yahoo.com>
Assigned To: Chris Lattner <sabre@nondot.org>
:

Attachments
Preprocessed source for the bug (4.38 KB, text/plain)
2004-08-15 15:57, Adam Treat
Details
complete preprocessed source for the bug (177.86 KB, text/plain)
2004-10-20 14:57, Brian R. Gaeke
Details
reduced test case for the bug (323 bytes, text/plain)
2004-10-20 15:50, Brian R. Gaeke
Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2004-08-15 15:53
g++ -c -o meta.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 
-Igenerators/mac -I/home/manyoso/dev/qt-x11-free-3.3.2/include/qmake 
-I/home/manyoso/dev/qt-x11-free-3.3.2/include 
-I/home/manyoso/dev/qt-x11-free-3.3.2/include -DQT_NO_TEXTCODEC 
-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS 
-save-temps -I/home/manyoso/dev/qt-x11-free-3.3.2/mkspecs/linux-g++ 
-DHAVE_QCONFIG_CPP meta.cpp 
cc1plus: ../../cfrontend/src/gcc/llvm-expand.c:1098: llvm_emit_label: 
Assertion `f->containing_block == InnermostCleanupScope && "Eliminating fixup 
for non-current scope!"' failed. 
meta.cpp: In member function `bool QMakeMetaInfo::readLibtoolFile(const 
QString&)': 
meta.cpp:148: internal compiler error: Aborted 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://llvm.cs.uiuc.edu> for instructions. 
 
This is using the latest LLVM release. 
 
Cheers,  Adam
------- Comment #1 From Adam Treat 2004-08-15 15:57:21 -------
Created an attachment (id=165) [details]
Preprocessed source for the bug
------- Comment #2 From Brian R. Gaeke 2004-08-25 14:11:31 -------
Hi there,
I'm afraid that this preprocessed source is incomplete. It depends on the
Qt headers, which I don't have handy. Can you re-run the compile command
with the "-save-temps" option to llvm-g++, and send us the resulting .ii file?
Thanks,
-Brian
------- Comment #3 From Brian R. Gaeke 2004-10-20 14:57:28 -------
Created an attachment (id=178) [details]
complete preprocessed source for the bug
------- Comment #4 From Brian R. Gaeke 2004-10-20 15:50:58 -------
Created an attachment (id=179) [details]
reduced test case for the bug

This preprocessed C++ source reproduces the bug and is minimal, I think.
------- Comment #5 From Chris Lattner 2004-11-27 14:52:46 -------
Here's a slightly more reduced testcase:

struct Strongbad {
    Strongbad(const char *str );
    ~Strongbad();
    operator const char *() const;
};

void TheCheat () {
  Strongbad foo(0);
  Strongbad dirs[] = { Strongbad(0) + 1};
}

First Last Prev Next    No search results available