[Bug c++/80655] -Werror=format-truncation inconsistency between x86_32 and x86_64

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun May 7 09:42:00 GMT 2017


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Hmm,
  _58 = operator new (_5);
  __builtin_memset (_58, 0, _5);
  _6 = *args#0_11(D);
  _7 = (int) _6;
  snprintf (_58, _5, format_13(D), _7);


I don't see how -m32 could change the above IR.


More information about the Gcc-bugs mailing list