]> gcc.gnu.org Git - gcc.git/commit - gcc/c-family/ChangeLog
re PR preprocessor/69543 (_Pragma does not apply within macro)
authorJakub Jelinek <jakub@redhat.com>
Mon, 1 Feb 2016 22:36:07 +0000 (23:36 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 1 Feb 2016 22:36:07 +0000 (23:36 +0100)
commite1b81f2ba000a61a3d845f0d3bb038b62d43673f
tree4804a0cc9d344020d642b070a4d01995e66ec630
parentbf672ee50f33f845c71a456984b9faf10e86b407
re PR preprocessor/69543 (_Pragma does not apply within macro)

PR preprocessor/69543
PR c/69558
* c-pragma.c (handle_pragma_diagnostic): Pass input_location
instead of loc to control_warning_option.

* gcc.dg/pr69543.c: New test.
* gcc.dg/pr69558.c: New test.

From-SVN: r233058
gcc/c-family/ChangeLog
gcc/c-family/c-pragma.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr69543.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr69558.c [new file with mode: 0644]
This page took 0.06696 seconds and 5 git commands to generate.