[PR32610] gcc-4.2: internal compiler error: in gen_tagged_type_instantiation_die, at dwarf2out.c:12762
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc |
Fix Released
|
Medium
|
|||
gcc-4.2 (Ubuntu) |
Fix Released
|
Medium
|
Matthias Klose |
Bug Description
Binary package hint: gcc-4.2
I have a gutsy chroot on my amd64 feisty system.
gcc-4.2 (and gcc-snapshot) both fail to compile one of my source files when -g and -O3 are both used. The code that it chokes on is very small. It's not preprocessed because it doesn't #include anything. I'll attach the file to this bug report.
gcc-4.2 -Wall -O3 -g -s mycompute_
mycompute_
mycompute_
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:
BTW, note that gcc-4.2's error messages say to read .../gcc-4.1/... That's not my typo.
-- System Information:
Debian Release: lenny/sid
APT prefers gutsy-updates
APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500, 'gutsy-proposed'), (500, 'gutsy')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.20-16-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=
Shell: /bin/sh linked to /bin/dash
Versions of packages gcc-4.2 depends on:
ii binutils 2.17.20070426cv
ii cpp-4.2 4.2-20070609-
ii gcc-4.2-base 4.2-20070609-
ii libc6 2.5-11ubuntu1 GNU C Library: Shared libraries
ii libgcc1 1:4.2-20070609-
ii libgomp1 4.2-20070609-
Versions of packages gcc-4.2 recommends:
ii libc6-dev 2.5-11ubuntu1 GNU C Library: Development Librari
pn libmudflap0-4.2-dev <none> (no description available)
I also tried with gcc-snapshot 20070414-1, and got the same error message.
Gutsy's gcc-4.1 works fine.
Related branches
Changed in gcc: | |
status: | Unknown → New |
Changed in gcc-4.2: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in gcc: | |
status: | New → Confirmed |
Changed in gcc: | |
status: | Confirmed → In Progress |
Changed in gcc-4.2: | |
assignee: | nobody → doko |
status: | Confirmed → In Progress |
Changed in gcc: | |
status: | In Progress → Fix Released |
Changed in gcc: | |
importance: | Unknown → Medium |
BTW, the code is from a phylogenetics program called procov.
rtop() is code to exponentiate a matrix, given it's eigen decomposition (R = V * diag(rr) * V^-1).
It seems to be inlining into rtop() that's the problem. compiling with -S, there is asm code for matmat() in the output file. Also, commenting out rtop() makes the file compile even with -O3 -g.