[PTR-PLUS] Fix some of libmudflap failures

Andrew_Pinski@PlayStation.Sony.Com Andrew_Pinski@PlayStation.Sony.Com
Mon May 7 05:01:00 GMT 2007

I had missed a conversion to sizetype when I converted libmudflap over to 
use POINTER_PLUS_EXPR so we got an check failure.  This patch fixes that 
problem.   I still get execution failures in libmudflap but I get exactly 
those on the trunk so I am not worried about them at all.  I also 
reformated some of the lines in this file for line length issues I saw.

So now the only thing left to fix is SCEV and the other front-ends.

Committed after a build/test of libmudflap's testsuite.

Andrew Pinski

        * tree-mudflap.c (mf_xform_derefs_1 <case BIT_FIELD_REF>):
        Add a conversion of ofs to sizetype.
        (mf_decl_eligible_p): Reformat for length issues.
        (mf_xform_derefs_1): Likewise.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixlibmudflap.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070507/488c7543/attachment.txt>

More information about the Gcc-patches mailing list