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/79487] Invalid _Decimal32 comparison on s390x


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

--- Comment #9 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
(In reply to Jakub Jelinek from comment #8)
> This isn't truncation, but extension (SDmode to DDmode).  I presume all
> SDmode values are representable in DDmode, so I don't see anything wrong on
> that.

But -9223372036854775808 *isn't* an SDmode constant - the mantissa is too short
to represent the constant.

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