This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure on Solaris
- To: gcc at gcc dot gnu dot org, rl at cs dot tu-berlin dot de
- Subject: Re: Bootstrap failure on Solaris
- From: Jan Hubicka <jh at suse dot cz>
- Date: Fri, 22 Jun 2001 19:28:32 +0200
Hi,
The call to gen_highpart with VOIDmode operand is bogus, as you need to
know size of the value to extract upper n bits. We usually call gen_highpart
with mode size equal to the half of the argument, but you can't bet on
that.
Proper fix is probably to make Sparc call simplify_gen_subreg directly
with subreg_highpart_offset having proper mode argument.
In case it is dificult for you to fix that, I can do it if you send me
the preprocessed testcase.
Thanks for analyzing the problem,
Honza