https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973
Arsen Arsenović changed:
What|Removed |Added
Status|ASSIGNED|WAITING
--- Comment #10 from Arsen Ar
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973
--- Comment #9 from GCC Commits ---
The trunk branch has been updated by Arsen Arsenovic :
https://gcc.gnu.org/g:7b7ad3f4b2455072f42e7884b93fd96ebb920bc8
commit r15-3453-g7b7ad3f4b2455072f42e7884b93fd96ebb920bc8
Author: Arsen ArsenoviÄ
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973
Arsen Arsenović changed:
What|Removed |Added
CC||arsen at gcc dot gnu.org
As
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973
--- Comment #7 from Hui Peng Hu ---
I was trying to call libjpeg to decode images inside a generator. A snippet of
code that I found online used setjmp/longjmp for error handling, hence I ran
into this issue. Given that the longjmp is called whi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973
--- Comment #6 from Iain Sandoe ---
(In reply to Jonathan Wakely from comment #5)
> The standard says:
>
> > A call to setjmp or longjmp has undefined behavior if invoked in a
> > suspension context of a coroutine (7.6.2.4).
>
> Given that, I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973
--- Comment #5 from Jonathan Wakely ---
The standard says:
> A call to setjmp or longjmp has undefined behavior if invoked in a suspension
> context of a coroutine (7.6.2.4).
Given that, I don't see why using setjmp in example would be useful
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973
--- Comment #4 from Iain Sandoe ---
Of course, we should not crash in this case.
However, I am curious as to how you would expect setjmp/longjmp to work with a
coroutine (I recall that the coroutine implementators discussed this with,
AFAIR, th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973
Martin Liška changed:
What|Removed |Added
CC||iains at gcc dot gnu.org
Sta
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973
--- Comment #2 from Hui Peng Hu ---
Created attachment 53592
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53592&action=edit
preprocessed cpp file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Ever confirmed|0
10 matches
Mail list logo