aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/rotate-6a.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2023-12-07 09:47:54 +0100
committerJakub Jelinek <jakub@redhat.com>2023-12-07 09:47:54 +0100
commit8c088c4307dbb855596acb6366b0882e95d20b91 (patch)
tree2fc5aa11562ecfc2dc4c251d3563884bfaa861eb /gcc/testsuite/c-c++-common/rotate-6a.c
parente5489faf8efa30d8548bb669c0a700c409068bce (diff)
downloadgcc-8c088c4307dbb855596acb6366b0882e95d20b91.zip
gcc-8c088c4307dbb855596acb6366b0882e95d20b91.tar.gz
gcc-8c088c4307dbb855596acb6366b0882e95d20b91.tar.bz2
c-family: Fix up -fno-debug-cpp [PR111965]
As can be seen in the second testcase, -fno-debug-cpp is actually implemented the same as -fdebug-cpp and so doesn't turn the debugging off. The following patch fixes that. 2023-12-07 Andrew Pinski <pinskia@gmail.com> Jakub Jelinek <jakub@redhat.com> PR preprocessor/111965 gcc/c-family/ * c-opts.cc (c_common_handle_option) <case OPT_fdebug_cpp>: Set cpp_opts->debug to value rather than 1. gcc/testsuite/ * gcc.dg/cpp/pr111965-1.c: New test. * gcc.dg/cpp/pr111965-2.c: New test.
Diffstat (limited to 'gcc/testsuite/c-c++-common/rotate-6a.c')
0 files changed, 0 insertions, 0 deletions