[PTR-PLUS] Fix C++ libgomp failures

Andrew_Pinski@PlayStation.Sony.Com Andrew_Pinski@PlayStation.Sony.Com
Mon May 7 04:29:00 GMT 2007


The problem is just the normal problem of updating the creating of 
PLUS_EXPR to POINTER_PLUS_EXPR and needing removing the cast to the 
pointer type.

Committed after a build/test on i686-linux-gnu of the C++ libgomp tests.

Thanks,
Andrew Pinski

ChangeLog:

        * cp-gimplify.c (cxx_omp_clause_apply_fn): Convert
        PLUS_EXPR on pointer types over to use
        POINTER_PLUS_EXPR and remove the conversion
        to the pointer types.

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


More information about the Gcc-patches mailing list