------- Comment #10 from vincent at vinc17 dot org  2008-06-10 14:52 -------
(In reply to comment #9)
> Calling abort() doesn't work with free-standing environments.

OK, but how about using an illegal instruction with free-standing environments
and abort() with hosted ones? After all, the abort() way is documented in the
GCC manual (under __builtin_trap) and IMHO, abort() would provide a better QoI
for hosted environments.

Now, concerning the warning "note: if this code is reached, the program will
abort", could "with __builtin_trap" be added so that the user could look at the
right place in the manual?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36484

Reply via email to