c-pragma.c (handle_pragma_message): New function.
authorSimon Baldwin <simonb@google.com>
Mon, 28 Jul 2008 11:55:11 +0000 (11:55 +0000)
committerSimon Baldwin <simonb@gcc.gnu.org>
Mon, 28 Jul 2008 11:55:11 +0000 (11:55 +0000)
commit0d48657d7378a4b1cb25ed181bca8020eae520f1
tree33aa42b4f5b37d44f904ae5deec152d79f68e2e8
parent17df49a3e95d79d33e62e33ef83159d1c7d4e4a1
c-pragma.c (handle_pragma_message): New function.

* c-pragma.c (handle_pragma_message): New function.
(init_pragma): Register handle_pragma_message.
* doc/extend.texi (Diagnostic Pragmas): Added #pragma message
documentation.

* gcc.dg/pragma-message.c: New.

From-SVN: r138206
gcc/ChangeLog
gcc/c-pragma.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pragma-message.c [new file with mode: 0644]