SRA bit-field optimization

Alexandre Oliva aoliva@redhat.com
Wed Oct 3 16:50:00 GMT 2007


On Oct  3, 2007, Richard Sandiford <rsandifo@nildram.co.uk> wrote:

> For the record, it also causes many failures on mips-linux-gnu,
> such as the following execute.exp ones:

> FWIW, the gcc.c-torture/execute/20000113-1.c failures can easily be
> reproduced with a cross-compiler, because after the patch, foobar is
> optimised to a call to abort.

This patch appears to fix at least the first one.  I haven't given it
a full round of testing yet, FWIW.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-sra-bit-field-ref-fallout.patch
Type: text/x-patch
Size: 2665 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071003/d9d4d277/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member         http://www.fsfla.org/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


More information about the Gcc-patches mailing list