This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH PING^2 for 3.4 "save-temps still produces different .s and .o"
> I'm surprised mainline complains about this code but 3.4 does doesn't.
> A bug that got fixed in mainline?
Are you talking about not issuing the error message on 3.4 like the Sun
compiler?
> There are two easy fixes:
> (1) Remove the const from the return type of cpp_get_line_maps.
> (2) Add a cast.
>
> (1) is probably cleaner. cpp_get_line_maps doesn't appear to be used
> anywhere except in this place, and is no longer needed for mainline.
>
> Could you try (1), and if it works check in a fix?
Not immediately, the 5 SPARC machines are now busy bootstrapping with GCC and
this takes time. Moreover, I'm not a specialist of the preprocessor/lexer so
I think it would be nice if a specialist could take a look, especially on a
branch.
--
Eric Botcazou