[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcl-2.6.13 released [stable]

From: Jerry James
Subject: Re: gcl-2.6.13 released [stable]
Date: Fri, 23 Dec 2022 21:53:51 -0700

On Fri, Dec 23, 2022 at 1:55 PM Jerry James <loganjerry@gmail.com> wrote:
> I was able to reduce your test code, Camm, and have filed
> https://bugzilla.redhat.com/show_bug.cgi?id=2156088.  I am now going
> to vanish for the rest of the year, but will have sporadic email
> access.

I haven't quite vanished yet, and I already got a reply on that bug.
The code invokes undefined behavior.  Add -fsanitize=undefined to the
build flags and you will see:

$ ./t -8874444426961747968
t.c:50:16: runtime error: signed integer overflow: 8874444426961747968
+ 2305843009213693952 cannot be represented in type 'long int'

Jerry James

reply via email to

[Prev in Thread] Current Thread [Next in Thread]