]> git.ipfire.org Git - thirdparty/gcc.git/commit
* c-typeck.c (build_unary_op): If pedantic, pedwarn for increment
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2000 20:38:04 +0000 (20:38 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2000 20:38:04 +0000 (20:38 +0000)
commit0bcef9f8db69d7a20614f48b5984367ee2dfbd47
treed9a7f79a901c7d085dbabeba47b30815be00d912
parent984399896635701cea6dfcc1e04f823993629c24
* c-typeck.c (build_unary_op): If pedantic, pedwarn for increment
and decrement of complex types.

testsuite:
* gcc.dg/c99-complex-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37164 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c99-complex-2.c [new file with mode: 0644]