c-parser.c (c_parser_asm_string_literal): Clear warn_overlength_strings.
authorTom Tromey <tromey@redhat.com>
Mon, 14 Mar 2011 18:01:10 +0000 (18:01 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 14 Mar 2011 18:01:10 +0000 (18:01 +0000)
commit87f9e23dafd42a3ad8df6feb6cc413e3aa6f110b
treef289bb5ce64b337811d0290881f63709853bfe93
parentb3ab9ea2979fd0fcc2a3eff1f0c417c5e6f27f35
c-parser.c (c_parser_asm_string_literal): Clear warn_overlength_strings.

gcc
* c-parser.c (c_parser_asm_string_literal): Clear
warn_overlength_strings.
gcc/testsuite
* gcc.dg/Woverlength-strings-pedantic-c90-asm.c: New file.
* gcc.dg/Woverlength-strings-pedantic-c89-asm.c: New file.
* gcc.dg/Woverlength-strings-pedantic-c99-asm.c: New file.

From-SVN: r170948
gcc/ChangeLog
gcc/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Woverlength-strings-pedantic-c89-asm.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Woverlength-strings-pedantic-c90-asm.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Woverlength-strings-pedantic-c99-asm.c [new file with mode: 0644]