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 middle-end/71876] longjmp is miscompiled with -ffreestanding


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

--- Comment #11 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Jeffrey A. Law from comment #10)
> No opinion on the "x" prefix.  I think that was already in place when that
> code was updated to support qsetjmp and savectx in the early 90s.  I've
> never seen the "x" versions in practice.
> 

I would like to get rid of the 25 year old ballast, that is likely good for
nothing.

> ANd yes, you're raising real issues (you can find instances in the real
> world where this has bitten folks).
> 
> Unfortunately, I don't know a signature for savectx.  I haven't used a
> solaris system in eons.

Maybe it would be a better option to add the returns_twice it to the
fixinclude machinery?

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