public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/39801] New: Builtins are assumed not to throw exceptions, even with -fnon-call-exceptions
@ 2009-04-17 20:50 mmitchel at gcc dot gnu dot org
2009-04-21 17:47 ` [Bug middle-end/39801] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2009-04-17 20:50 UTC (permalink / raw)
To: gcc-bugs
Some builtin functions are marked as not throwing exceptions, even when
-fnon-call-exceptions is in use. As a result, the compiler will assume these
functions will not throw exceptions -- but they might. For example, the buitin
va_arg might cause a SEGV, which would become an exception, if the pointer
provided was invalid. Even builtins which call external library routines might
do so, if the routines have themselves been compiled with
-fnon-call-exceptions.
For more background, see:
http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00920.html
and follow-ups thereto.
--
Summary: Builtins are assumed not to throw exceptions, even with
-fnon-call-exceptions
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mmitchel at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39801
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug middle-end/39801] Builtins are assumed not to throw exceptions, even with -fnon-call-exceptions
2009-04-17 20:50 [Bug middle-end/39801] New: Builtins are assumed not to throw exceptions, even with -fnon-call-exceptions mmitchel at gcc dot gnu dot org
@ 2009-04-21 17:47 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-21 17:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-21 17:47 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-04-21 17:47:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39801
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-21 17:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-17 20:50 [Bug middle-end/39801] New: Builtins are assumed not to throw exceptions, even with -fnon-call-exceptions mmitchel at gcc dot gnu dot org
2009-04-21 17:47 ` [Bug middle-end/39801] " pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).