Fix attrib-5.c test-case.
commitfd54803250b4b5b1c8e41d1a6c3b77e96d7193c4
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Oct 2017 19:45:02 +0000 (16 19:45 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Oct 2017 19:45:02 +0000 (16 19:45 +0000)
tree518c3d689b2bbe3a8d24fed9ecff2798518b85ba
parent27bc48e41b30549785ff1146c3c273cfe0f4e9b0
Fix attrib-5.c test-case.

2017-10-16  Martin Liska  <mliska@suse.cz>

* c-c++-common/ubsan/attrib-5.c (float_cast2): Fix warning scan
so that it will work for both C and C++ FEs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253795 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/ubsan/attrib-5.c