[Bug middle-end/66817] ICE in hard_function_value, at explow.c:1844 with -miamcu
hjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 9 09:27:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66817
--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Thu Jul 9 09:26:47 2015
New Revision: 225605
URL: https://gcc.gnu.org/viewcvs?rev=225605&root=gcc&view=rev
Log:
Check int_size_in_bytes in ix86_return_in_memory
ix86_return_in_memory should check negative return from int_size_in_bytes,
similar to other ports.
gcc/
PR target/66817
* config/i386/i386.c (ix86_return_in_memory): Return true
if int_size_in_bytes returns negative for IA MCU.
gcc/testsuite/
PR target/66817
* gcc.target/i386/pr66817.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr66817.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list