sim: cgen: tweak cgen_rtx_error to fix warnings
authorMike Frysinger <vapier@gentoo.org>
Sun, 2 May 2021 02:05:25 +0000 (22:05 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 8 May 2021 16:27:45 +0000 (12:27 -0400)
commit6ae9091ab051a64a50678190a9c8f4d92b70933a
tree74f0588d3a09cd74d0789caaaca19f930d193eb4
parentaac7ce3c8771f8db2fd0492a17fa45e85d449174
sim: cgen: tweak cgen_rtx_error to fix warnings

The function was missing a prototype, and passing a constant string
as the format string instead of going through a %s format.
sim/common/ChangeLog
sim/common/cgen-ops.h
sim/common/cgen-utils.c