------- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-01 05:29 ------- It is failing right out if you don't have any computed gotos in your function (or a goto to that label). You should try doing: asm volatile("faulted: ud2"); and make faulted a static function but that might not work with unrolling, etc.
Really there is no way for doing what you are asking and really not the correct way to think about what you are doing. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|c |middle-end Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29305