Skip to content

Commit ba9f289

Browse files
authored
fix Issue 22305 - ImportC: #pragma STDC FENV_ACCESS is not supported (#3212)
1 parent c2f96ba commit ba9f289

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

spec/importc.dd

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,22 @@ $(H2 $(LNAME2 implementation, Implementation))
168168
$(RATIONALE Implicit function declarations are very error-prone and cause hard
169169
to find bugs.)
170170

171+
$(H3 $(LNAME2 pragma-STDC-FENV_ACCESS, #pragma STDC FENV_ACCESS))
172+
173+
$(P This is described in C11 7.6.1)
174+
175+
$(GRAMMAR
176+
#pragma STDC FENV_ACCESS on-off-switch
177+
178+
on-off-switch:
179+
ON
180+
OFF
181+
DEFAULT
182+
)
183+
184+
$(P It is completely ignored.)
185+
186+
171187
$(H2 $(LNAME2 limitations, Limitations))
172188

173189
$(H3 $(LNAME2 exceptions, Exception Handling))

0 commit comments

Comments
 (0)