Hi PA, hello world,

gcc/ChangeLog:

        * builtin-types.def (BT_FN_BOOL_UINT): New function type.

Actually, BT_FN_BOOL_UINT is not used – but BT_FN_BOOL_INT. Hence,
the patch does not touch this file at all.

        * omp-builtins.def (BUILT_IN_GOMP_HAS_MASKED_THREAD_NUM): New builtin.
        * omp-low.cc (lower_omp_master): Call it.

gcc/fortran/ChangeLog:
        * types.def (BT_FN_BOOL_UINT): New function type.

As int and not unsigned is used, fortran/ wasn't touched.

Otherwise: LGTM.

Thanks for the patch!

Tobias


Reply via email to