[Cfp-interest] draft of syntax discussion for C committee

Fred J. Tydeman tydeman at tybor.com
Thu Jun 12 09:01:36 PDT 2014


On Fri, 06 Jun 2014 20:36:42 -0700 (PDT) Fred J. Tydeman wrote:
>
>On Fri, 6 Jun 2014 16:25:15 -0700 (PDT) David Hough CFP wrote:
>>
>> #pragma STDC catch_fe fe_exception1 label1
>> #pragma STDC catch_fe fe_exception2 label2
>
>What is the interaction between this idea and
>a signal handler for SIGFPE?

Related to that issue:  What is the state of objects?
Since the trap could happen in the middle of an expression,
it seems some objects have an unknown state.
Do objects have to be sig_atomic_t?

Also, how does this work with threads?

---
Fred J. Tydeman        Tydeman Consulting
tydeman at tybor.com      Testing, numerics, programming
+1 (775) 287-5904      Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.



More information about the Cfp-interest mailing list