aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop-manip.cc
diff options
context:
space:
mode:
authorJin Ma <jinma@linux.alibaba.com>2024-01-29 17:57:00 +0800
committerChristoph Müllner <christoph.muellner@vrull.eu>2024-01-30 07:38:13 +0100
commit4ac00b7c809ca70775a04708863b9101d94af5c2 (patch)
tree18cf387279753cfea8ab1a191115ab5859d93fe7 /gcc/tree-vect-loop-manip.cc
parenta88e08feb8367898e0562622517d33f95684a03d (diff)
downloadgcc-4ac00b7c809ca70775a04708863b9101d94af5c2.zip
gcc-4ac00b7c809ca70775a04708863b9101d94af5c2.tar.gz
gcc-4ac00b7c809ca70775a04708863b9101d94af5c2.tar.bz2
RISC-V: THEAD: Fix improper immediate value for MODIFY_DISP instruction on 32-bit systems.
When using '%ld' to print 'long long int' variable, 'fprintf' will produce messy output on a 32-bit system, in an incorrect instruction being generated, such as 'th.lwib a1,(a0),-16,4294967295'. And the following error occurred during compilation: Assembler messages: Error: improper immediate value (18446744073709551615) gcc/ChangeLog: * config/riscv/thead.cc (th_print_operand_address): Change %ld to %lld.
Diffstat (limited to 'gcc/tree-vect-loop-manip.cc')
0 files changed, 0 insertions, 0 deletions