Bug 9806 - [3.2 regression] internal compiler error in inline assembly with -fPIC flag
Summary: [3.2 regression] internal compiler error in inline assembly with -fPIC flag
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: inline-asm (show other bugs)
Version: 3.2.1
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2003-02-22 19:45 UTC by matze
Modified: 2003-07-25 17:33 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
qsqrtbug.cpp (795 bytes, text/x-c )
2003-05-21 15:17 UTC, matze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matze 2003-02-22 19:45:59 UTC
The attached source file triggers an internal compiler error when compiled with -fPIC flag (it also fails in a bigger source files without -fPIC but I wasn't able to strip that file down so far). The bug happens also on debian so I assume this not a gentoo issue.

[matze@taylor] ~ > g++ qsqrtbug.cpp -fPIC
qsqrtbug.cpp: In function `float qsqrt(float)':
qsqrtbug.cpp:51: Internal compiler error in instantiate_virtual_regs_1, at
   function.c:4128
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.

Release:
3.2.1

Environment:
linux gentoo x86, glibc 2.3.1, pentium 4

How-To-Repeat:
g++ qsqrtbug.cpp -fPIC
Comment 1 Eric Botcazou 2003-02-22 20:31:15 UTC
State-Changed-From-To: open->analyzed
State-Changed-Why: Confirmed on 3.2 branch. 3.3 and mainline are not affected.
Comment 2 Joe Buck 2003-04-25 21:26:05 UTC
State-Changed-From-To: analyzed->closed
State-Changed-Why: Fixed for 3.3.