https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61372
David Crocker changed:
What|Removed |Added
CC||dcrocker at eschertech dot com
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61372
Jonathan Wakely changed:
What|Removed |Added
Keywords||diagnostic
Blocks|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61372
--- Comment #3 from David Crocker ---
(In reply to Jonathan Wakely from comment #2)
> extern "C" functions can throw, so it would be wrong to unconditionally
> assume they can't.
True, you can write an extern "C" function that throws. But does i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61372
--- Comment #4 from Jonathan Wakely ---
(In reply to David Crocker from comment #3)
> (In reply to Jonathan Wakely from comment #2)
> > extern "C" functions can throw, so it would be wrong to unconditionally
> > assume they can't.
>
> True, you
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61372
--- Comment #5 from David Crocker ---
You seem to be assuming that C++ exceptions can propagate through functions
compiled with a C compiler. On most platforms, they normally cannot, because a
C compiler does not produce the information needed fo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61372
--- Comment #6 from Jonathan Wakely ---
(In reply to David Crocker from comment #5)
> You seem to be assuming that C++ exceptions can propagate through functions
> compiled with a C compiler.
I'm not assuming anything. I know for a fact that the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61372
--- Comment #7 from Andrew Pinski ---
(In reply to Jonathan Wakely from comment #2)
> extern "C" functions can throw, so it would be wrong to unconditionally
> assume they can't.
Yes that is correct. Even extern "C" functions could be written i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61372
Eric Gallager changed:
What|Removed |Added
CC||egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61372
Eric Gallager changed:
What|Removed |Added
CC||rafael at espindo dot la
--- Comment #9