aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-im.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2016-06-29 11:08:04 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2016-06-29 11:08:04 +0200
commit54d19c3b7fb38097973a57b6e822e15cbcbd031d (patch)
tree607bd431945a31016513565efdb3f36e5a571dfb /gcc/tree-ssa-loop-im.c
parentf9d8d99478f3b02e55a69b166a70646c87a7f5cd (diff)
downloadgcc-54d19c3b7fb38097973a57b6e822e15cbcbd031d.zip
gcc-54d19c3b7fb38097973a57b6e822e15cbcbd031d.tar.gz
gcc-54d19c3b7fb38097973a57b6e822e15cbcbd031d.tar.bz2
Improve diagnostic messages of "#pragma omp cancel", "#pragma omp cancellation point" parsing
gcc/c/ * c-parser.c (c_parser_pragma) <PRAGMA_OMP_CANCELLATION_POINT>: Move pragma context checking into... (c_parser_omp_cancellation_point): ... here, and improve diagnostic messages. * c-typeck.c (c_finish_omp_cancel) (c_finish_omp_cancellation_point): Improve diagnostic messages. gcc/cp/ * parser.c (cp_parser_pragma) <PRAGMA_OMP_CANCELLATION_POINT>: Move pragma context checking into... (cp_parser_omp_cancellation_point): ... here, and improve diagnostic messages. * semantics.c (finish_omp_cancel, finish_omp_cancellation_point): Improve diagnostic messages. gcc/testsuite/ * c-c++-common/gomp/cancel-1.c: Extend. From-SVN: r237843
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
0 files changed, 0 insertions, 0 deletions