more on ICE in current mainline (x86) (msg00269.html)

Ulrich Drepper drepper@redhat.com
Mon Aug 14 17:17:00 GMT 2000


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   `------------------------


More information about the Gcc-bugs mailing list