[LLVMbugs] [Bug 1045] NEW: ScalarReplAggregates.cpp:474 assert tripped

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Dec 11 19:07:45 PST 2006


http://llvm.org/bugs/show_bug.cgi?id=1045

           Summary: ScalarReplAggregates.cpp:474 assert tripped
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gccld
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: scottm at aero.org


ScalarReplAggregates.cpp:474 assert tripped while compiling the gcc4 frontend.
Also occurs when running gccld directly on the resulting bytecode (with -O2 -g
removed and -emit-llvm inserted on the compiler's command line):

[compiler ugliness, started in gdb]
Starting program:
/work/scottm/llvm-cfrontend/obj/i686-unknown-linux-gnu/gcc/xgcc -O2 -g
-shared-libgcc -B/work/scottm/llvm-cfrontend/obj/i686-unknown-linux-gnu/gcc/
-nostdinc++
-L/work/scottm/llvm-cfrontend/obj/i686-unknown-linux-gnu/i686-pc-linux-gnu/libstdc++-v3/src
-L/work/scottm/llvm-cfrontend/obj/i686-unknown-linux-gnu/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/work/scottm/llvm-cfrontend/i686-unknown-linux-gnu/i686-pc-linux-gnu/bin/
-B/work/scottm/llvm-cfrontend/i686-unknown-linux-gnu/i686-pc-linux-gnu/lib/
-isystem
/work/scottm/llvm-cfrontend/i686-unknown-linux-gnu/i686-pc-linux-gnu/include
-isystem
/work/scottm/llvm-cfrontend/i686-unknown-linux-gnu/i686-pc-linux-gnu/sys-include
-I/work/scottm/llvm-cfrontend/obj/i686-unknown-linux-gnu/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/work/scottm/llvm-cfrontend/obj/i686-unknown-linux-gnu/i686-pc-linux-gnu/libstdc++-v3/include
-I/work/scottm/llvm-cfrontend/libstdc++-v3/libsupc++ -D_GNU_SOURCE
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c
../../../../../libstdc++-v3/src/bitmap_allocator.cc -o bitmap_allocator.o
[Thread debugging using libthread_db enabled]
[New Thread -1479231808 (LWP 20699)]
WARNING: EH not supported yet!
cc1plus: /work/scottm/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:474:
bool MergeInType(const llvm::Type*, const llvm::Type*&, const
llvm::TargetData&): Assertion `In->isIntegral() && "Unknown FP type!"' failed.
/work/scottm/llvm-cfrontend/obj/i686-unknown-linux-gnu/i686-pc-linux-gnu/libstdc++-v3/include/ext/bitmap_allocator.h:
In member function '_Tp*
__gnu_cxx::bitmap_allocator<_Tp>::_M_allocate_single_object() [with _Tp = wchar_t]':
/work/scottm/llvm-cfrontend/obj/i686-unknown-linux-gnu/i686-pc-linux-gnu/libstdc++-v3/include/ext/bitmap_allocator.h:998:
internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.

[gccld ugliness]
(gemsbok) src gccld bitmap_allocator.bc
gccld: /work/scottm/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:474:
bool MergeInType(const llvm::Type*, const llvm::Type*&, const
llvm::TargetData&): Assertion `In->isIntegral() && "Unknown FP type!"' failed.
gccld((anonymous namespace)::PrintStackTrace()+0x1a)[0x827732a]
/lib/tls/i686/cmov/libc.so.6(abort+0x109)[0xa7cbefb9]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0x10f)[0xa7cb6fbf]
gccld[0x8116987]
zsh: abort      gccld bitmap_allocator.bc



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list