[PATCH] Fix up preprocessing of #pragma GCC ivdep (PR c++/60267)

Jeff Law law@redhat.com
Wed Feb 19 16:37:00 GMT 2014


On 02/19/14 07:52, Jakub Jelinek wrote:
> Hi!
>
> In #pragma GCC ivdep there is nothing the preprocessor should care about,
> thus there is no reason to register it when doing just -E (and, otherwise
> we'd have to handle PRAGMA_IVDEP in pragma lookups).
>
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> trunk?
>
> 2014-02-19  Jakub Jelinek  <jakub@redhat.com>
>
> 	PR c++/60267
> 	* c-pragma.c (init_pragma): Don't call cpp_register_deferred_pragma
> 	for PRAGMA_IVDEP if flag_preprocess_only.
>
> 	* gcc.dg/pr60267.c: New test.
OK.
jeff



More information about the Gcc-patches mailing list