This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug bootstrap/26679] boostrap failure due to warning in gcc/varasm.c
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Graham Stott <graham dot stott at btinternet dot com>
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-bugzilla at gcc dot gnu dot org
- Date: Tue, 14 Mar 2006 13:57:11 -0500
- Subject: Re: [Bug bootstrap/26679] boostrap failure due to warning in gcc/varasm.c
- References: <20060314185550.9511.qmail@web86111.mail.ukl.yahoo.com>
On Mar 14, 2006, at 1:55 PM, Graham Stott wrote:
All,
If the warning isn't bogus then we probably need to do the shift in
two steps
(i.e. hwi = (hwi >> (shift - 1)) >> 1) as done elsewhere to avoid the
potential warning.
The only reason why it is bogus is because well it is dead code :).
-- Pinski