This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [SPARC] Fix PR target/60941
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 26 Apr 2014 15:30:25 +0200
- Subject: Re: [SPARC] Fix PR target/60941
- Authentication-results: sourceware.org; auth=none
- References: <3316944 dot sc4MgGFZdG at polaris> <1723181 dot Y3gD841okm at polaris> <20140425112922 dot GO1817 at tucnak dot redhat dot com>
> > Not clear to me, (2U << i) should be zero if the shift count is masked.
>
> 2U << 31 is undefined behavior on those targets.
Precisely not, or else we are not talking about the same notion of masking.
--
Eric Botcazou