http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48968
eggert at gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Version|4.6.0 |4.7.0 --- Comment #6 from eggert at gnu dot org 2012-06-01 20:42:42 UTC --- I just now ran into the bug again when compiling a new Emacs version and so am following up. The function read_char_minibuf_menu_prompt does not call setjmp. Apparently GCC is inlining the function into some other place and then complaining that the result is unsafe, but this sort of inlining would be incorrect if it actually made the code unsafe, so the diagnostic is either incorrect, or (if correct) indicates the possibility that the wrong code has been generated. I have verified that the problem is still there with GCC 4.7.0 and so I'll try to change the version number in this bug report.