diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2016-11-02 18:34:43 +0000 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gcc.gnu.org> | 2016-11-02 18:34:43 +0000 |
commit | 9ae4ef4cd3f5881501d7569d36c833806051962b (patch) | |
tree | 14278f2b6eddd68b0ce7a0bb9098db904bab6206 /libgcc/libgcc2.c | |
parent | 302fd2cc3f4b3742e13361a2dbfbe54cd855d0e7 (diff) | |
download | gcc-9ae4ef4cd3f5881501d7569d36c833806051962b.zip gcc-9ae4ef4cd3f5881501d7569d36c833806051962b.tar.gz gcc-9ae4ef4cd3f5881501d7569d36c833806051962b.tar.bz2 |
xtensa: fix ICE on pr59037.c test
xtensa gcc gets ICE on pr59037.c test because its xtensa_output_literal
function cannot handle integer literals of sizes other than 4 and 8,
whereas the test uses 16-byte int vector.
Split integer literal formatting into the recursive function
xtensa_output_integer_literal_parts capable of handling literals of any
power of 2 size not less than 4.
2016-11-02 Max Filippov <jcmvbkbc@gmail.com>
gcc/
* config/xtensa/xtensa.c (xtensa_output_integer_literal_parts):
New function.
(xtensa_output_literal): Use xtensa_output_integer_literal_parts
to format MODE_INT and MODE_PARTIAL_INT literals.
From-SVN: r241800
Diffstat (limited to 'libgcc/libgcc2.c')
0 files changed, 0 insertions, 0 deletions