]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/37217 (-Wconversion causes ICE with __builtin_strcmp with one char compare)
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Thu, 28 Aug 2008 00:00:49 +0000 (00:00 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Thu, 28 Aug 2008 00:00:49 +0000 (00:00 +0000)
commit1bfb8f513f3d5af5a967b6860b0eb642e738de0c
tree00b3ce510ba3cb580887d6c03dc392d1719a90bf
parente9527cfd9665e3cb0887682ccb0d17d040732799
re PR c++/37217 (-Wconversion causes ICE with __builtin_strcmp with one char compare)

2008-08-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR 37217
* c-common.c (conversion_warning): Check for null operands.
testsuite/
* gcc.dg/pr37217.c: New.

From-SVN: r139682
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr37217.c [new file with mode: 0644]