OSDN Git Service

2010-02-26 Manuel López-Ibáñez <manu@gcc.gnu.org>
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Feb 2010 17:09:29 +0000 (17:09 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Feb 2010 17:09:29 +0000 (17:09 +0000)
commit32f1f35b2efa25d537e6ef7d3bfde8c329e4710c
treea275d8dedbbb1c786a414966d5eb5590a5ad6f80
parent83d93c3bd0277f5ffb42061c91e6e32b68b49366
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157096 138bc75d-0d04-0410-961f-82ee72b054a4
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]