This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
middle-end/8408: simple legal c program ice in fixup_var_refs_1, at function.c:1938
- From: pinskia at physics dot uc dot edu
- To: gcc-gnats at gcc dot gnu dot org
- Date: 30 Oct 2002 22:34:31 -0000
- Subject: middle-end/8408: simple legal c program ice in fixup_var_refs_1, at function.c:1938
- Reply-to: pinskia at physics dot uc dot edu
>Number: 8408
>Category: middle-end
>Synopsis: simple legal c program ice in fixup_var_refs_1, at function.c:1938
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Wed Oct 30 14:36:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Andrew Pinski
>Release: gcc version 3.3 20021030 (experimental)
>Organization:
>Environment:
i686-pc-linux-gnu
glibc 2.2.5
Reading specs from /home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: /home/gates/pinskia/src/gnu/gcc/src/configure --target=i686-pc-linux-gnu --enable-__cxa_atexit --prefix=/home/gates/pinskia/linux --enable-threads=posix --enable-shared
Thread model: posix
gcc version 3.3 20021030 (experimental
>Description:
a simple c legal program ice in fixup_var_refs_1, at function.c:1938 with -O1:
tin:~/src/gnu/gcctest>gcc -O gcc302bug.c
gcc302bug.c: In function `gcc3_profundity':
gcc302bug.c:7: internal compiler error: in fixup_var_refs_1, at function.c:1938
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
compile the following with -O1 or higher (yes this has been on the mailing lists before):
void gcc3_profundity(/* the */ void /* of ignorance */)
{
double truth = 3.14159 /* ... */, beauty;
beauty = *(&truth);
if (!(&beauty != &truth)) {
}
}
>Fix:
Do not know.
>Release-Note:
>Audit-Trail:
>Unformatted: