Skip to content
Snippets Groups Projects
Commit 184978cd authored by Christoph Müllner's avatar Christoph Müllner
Browse files

riscv: Fix compiler warning in thead.cc


A recent commit introduced a compiler warning in thead.cc:
error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
 1144 |       fprintf (file, "(%s),"HOST_WIDE_INT_PRINT_DEC",%u", reg_names[REGNO (addr.reg)],
      |                      ^

This commit addresses this issue and breaks the line such that it won't
exceed 80 characters.

gcc/ChangeLog:

	* config/riscv/thead.cc (th_print_operand_address): Fix compiler
	warning.

Signed-off-by: default avatarChristoph Müllner <christoph.muellner@vrull.eu>
parent d49780c0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment