This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bit fields
- From: Richard Henderson <rth at redhat dot com>
- To: Jean Christophe Beyler <jean dot christophe dot beyler at gmail dot com>
- Cc: Ian Lance Taylor <iant at google dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 01 Sep 2009 07:54:47 -0700
- Subject: Re: Bit fields
- References: <c568a2600908311220m60550051ne55455ea03888cc0@mail.gmail.com> <m3zl9frdbo.fsf@google.com> <c568a2600908311307m3410d5d0va3571e9bbc90ca@mail.gmail.com> <4A9C345E.2030600@redhat.com> <c568a2600908311407i154c858eq9c5b085cafdc4d3b@mail.gmail.com> <4A9C4029.2070205@redhat.com> <c568a2600908311920s22d4db28obecbf66614356bca@mail.gmail.com>
On 08/31/2009 07:20 PM, Jean Christophe Beyler wrote:
Ok, is it normal to see a ashift with a negative value though or is
this already sign of a (potentially) different problem?
I seem to recall that it's normal. Combine was originally
written in the days of VAX, where negative shifts were allowed.
You'll just want to reject them in your patterns.
r~