This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
more on ICE in current mainline (x86) (msg00269.html)
- To: gcc-bugs at gcc dot gnu dot org
- Subject: more on ICE in current mainline (x86) (msg00269.html)
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 14 Aug 2000 16:25:26 -0700
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
This is some more information about
http://gcc.gnu.org/ml/gcc-bugs/2000-08/msg00269.html
I've verified that it is still a problem with today's mainline gcc.
The debugger shows that an unspec slipped through to gen_lowpart which
is obviously wrong.
(gdb) l
1079 return change_address (x, mode, plus_constant (XEXP (x, 0), offset));
1080 }
1081 else if (GET_CODE (x) == ADDRESSOF)
1082 return gen_lowpart (mode, force_reg (GET_MODE (x), x));
1083 else
1084 abort (); <---------- THIS IS WHERE IT STOPS
1085 }
(gdb) p x
$1 = 0x40361010
(gdb) pr
(const (unspec[
(symbol_ref/v:SI ("locale_file_list"))
] 7))
unspec 7 is used for @GOTOFF addressing which seems fine.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------