[Bug target/56875] vax target miscompiles short negative constants for 64bit values

jbglaw@lug-owl.de gcc-bugzilla@gcc.gnu.org
Mon Sep 16 21:06:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56875

--- Comment #1 from Jan-Benedict Glaw <jbglaw@lug-owl.de> ---
The `gas' bug seems to only show up on 32bit host platform. Creating a
cross-gas on a amd64 systems seems to always result in "correct" VAX binary
output, even for old 2.21 releases. (Will further check this.)

I tend to not fix GCC in this regard. Its output is correct, though doing hex
output instead of negative decimals would work-around gas's bug. However, I
think we'd better fix gas and possibly add a version check to gcc?



More information about the Gcc-bugs mailing list