This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/3573: Internal compiler error in fixup_var_refs_1, at function.c:1922
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/3573: Internal compiler error in fixup_var_refs_1, at function.c:1922
- From: stevenj at alum dot mit dot edu
- Date: 5 Jul 2001 18:25:04 -0000
- Reply-To: stevenj at alum dot mit dot edu
>Number: 3573
>Category: c
>Synopsis: Internal compiler error in fixup_var_refs_1, at function.c:1922
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 05 11:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Steven G. Johnson
>Release: gcc 3.0
>Organization:
>Environment:
Debian GNU/Linux 2.2r3 on 1GHz Dual Pentium III, gcc compiled from source with 'make bootstrap'
>Description:
When compiling the file bug.c containing simply:
void kill_gcc3(void)
{
double x = 0.0, y;
y = *(&x);
if (!(&y != &x)) {
}
}
with:
gcc -c -O bug.c
I get:
bug.c: In function `kill_gcc3':
bug.c:7: Internal compiler error in fixup_var_refs_1, at function.c:1922
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Note that it is important to use -O in order to trigger the bug.
Thanks for your attention!
Cordially,
Steven G. Johnson
>How-To-Repeat:
See description, above (compile the provided function with gcc -c -O).
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: