This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]