[Bug target/92499] nios2 backend needs to consider allocated object size, not C object size for gprel optimization

sandra at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 14 06:42:00 GMT 2019


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

--- Comment #4 from sandra at gcc dot gnu.org ---
Hmmm, the plot thickens.  The comment on int_size_in_bytes in tree.c says:

/* Return the size of TYPE (in bytes) as a wide integer                         
   or return -1 if the size can vary or is larger than an integer.  */

but apparently it is failing to return -1 in this case.


More information about the Gcc-bugs mailing list