Fix ICE.
authorChen Gang <gang.chen.5i5j@gmail.com>
Mon, 29 Sep 2014 16:40:10 +0000 (16:40 +0000)
committerMichael Eager <eager@gcc.gnu.org>
Mon, 29 Sep 2014 16:40:10 +0000 (16:40 +0000)
commitd03efd2a58a0a2eda9f8ffbfd0cea59aecdffd29
tree3121ab327fe48cda206b610f88caf3aba1603b29
parentf642a8b72fb1ed23ff709b9ccaae4457df169b7c
Fix ICE.

Fix ICE.  Need use VOID instead of SI, or when real VOIDmode comes, it does not
match SImode, so cause issue.

2014-09-25  Chen Gang  <gang.chen.5i5j@gmail.com>

gcc:
* config/microblaze/microblaze.md (call_internal1): Use VOID
instead of SI to fix "((void (*)(void)) 0)()" issue
gcc/testsuite:
* gcc.c-torture/compile/calls-void.c: New test.

From-SVN: r215684
gcc/ChangeLog
gcc/config/microblaze/microblaze.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/calls-void.c [new file with mode: 0644]