re PR c/20631 (Support -std=c90 as alias for -std=c89)
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Fri, 26 Feb 2010 17:09:29 +0000 (17:09 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Fri, 26 Feb 2010 17:09:29 +0000 (17:09 +0000)
commit7e1542b921b63aea61cc239be5eeeb632631a5b9
treea275d8dedbbb1c786a414966d5eb5590a5ad6f80
parent0b901e4cdc55c0c05f72cfac03c25aea6f602d9e
re PR c/20631 (Support -std=c90 as alias for -std=c89)

2010-02-26  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c/20631
* doc/cpp.texi: Use c90 instead of c89 and gnu90 instead of gnu89.
* doc/standards.texi: Likewise.
* doc/extend.texi: Likewise.
* doc/trouble.texi: Likewise.
* doc/cppopts.texi: Likewise.
* doc/install.texi: Likewise.
* c.opt (std=c90,std=gnu90): New options.
* c-opts.c (c_common_handle_option): Handle them.
testsuite/
* gcc.dg/cpp/c90-pedantic.c: New.
* gcc.dg/cpp/c90.c: New.
* gcc.dg/gnu90-const-expr-1.c: New.
* gcc.dg/Woverlength-strings-pedantic-c90.c: New.

From-SVN: r157096
15 files changed:
gcc/ChangeLog
gcc/c-opts.c
gcc/c.opt
gcc/doc/cpp.texi
gcc/doc/cppopts.texi
gcc/doc/extend.texi
gcc/doc/install.texi
gcc/doc/invoke.texi
gcc/doc/standards.texi
gcc/doc/trouble.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Woverlength-strings-pedantic-c90.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/c90-pedantic.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/c90.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/gnu90-const-expr-1.c [new file with mode: 0644]