From: Paul Iannetta <pianne...@gcc.gnu.org>

Hi,

Currently, the way pragmas are registered is a bit different depending on
whether gcc is performing preprocessing only.  This patch harmonizes both
behaviors and registers the name and space of all pragmas in all cases, and not
only the handler when not in pre-processing only mode.

This allows to query information about pragmas when encountering them, in all
contexts.

bootstrapped, and regtested on x86, is it ok for trunk?

Thanks,

Paul Iannetta (1):
  Unify registered_pp_pragmas and registered_pragmas

 gcc/c-family/c-pragma.cc | 54 +++++++++++++++++-----------------------
 1 file changed, 23 insertions(+), 31 deletions(-)

-- 
2.35.1.500.gb896f729e2





Reply via email to