This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/81863] [7 regression] -mword-relocations is unreliable


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81863

Arnd Bergmann <arnd at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|6.3.1                       |

--- Comment #1 from Arnd Bergmann <arnd at linaro dot org> ---
I originally couldn't reproduce this on gcc-6, but now I found another file
that shows very similar behavior with gcc-6.3.1 but not gcc-5 or gcc-7. In that
case we increment a global variable "cell->id = cmodio_id++;", reading the
variable uses a relative relocation, but writing it back uses
R_ARM_MOVW_ABS_NC.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]