[Bug preprocessor/48532] Wrong location of namespaced pragma involving macros

gjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 30 14:53:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48532

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gjl at gcc dot gnu.org

--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-06-30 14:52:54 UTC ---
(In reply to comment #2)
> Author: dodji

> gcc/testsuite/
> 
>     * gcc.dg/cpp/pragma-3.c: New test case.
> 
> Added:
>     trunk/gcc/testsuite/gcc.dg/cpp/pragma-3.c

Your testcase breaks if target do not support openmp.
Please put it in some gomp subdir or use a gate function like

./testsuite/lib/target-supports.exp::check_effective_target_fopenmp

Thanks, Johann



More information about the Gcc-bugs mailing list