@@ -10432,7 +10432,7 @@ def compile(flags):
1043210432
1043310433 compile(['-c'])
1043410434 verify_features_sec('bulk-memory', False)
10435- verify_features_sec('nontrapping-fptoint', False )
10435+ verify_features_sec('nontrapping-fptoint', True )
1043610436 verify_features_sec('sign-ext', True)
1043710437 verify_features_sec('mutable-globals', True)
1043810438 verify_features_sec('multivalue', True)
@@ -10453,8 +10453,8 @@ def compile(flags):
1045310453 compile(['-sMIN_FIREFOX_VERSION=61', '-msign-ext'])
1045410454 verify_features_sec_linked('sign-ext', True)
1045510455
10456- compile(['-mnontrapping-fptoint', '-c '])
10457- verify_features_sec ('nontrapping-fptoint', True )
10456+ compile(['-mno-nontrapping-fptoint '])
10457+ verify_features_sec_linked ('nontrapping-fptoint', False )
1045810458
1045910459 # Setting this SAFARI_VERSION should enable bulk memory because it links in emscripten_memcpy_bulkmem
1046010460 # However it does not enable nontrapping-fptoint yet because it has no effect at compile time and
@@ -10464,7 +10464,7 @@ def compile(flags):
1046410464 verify_features_sec_linked('mutable-globals', True)
1046510465 verify_features_sec_linked('multivalue', True)
1046610466 verify_features_sec_linked('bulk-memory', True)
10467- verify_features_sec_linked('nontrapping-fptoint', False )
10467+ verify_features_sec_linked('nontrapping-fptoint', True )
1046810468
1046910469 compile(['-sMIN_SAFARI_VERSION=150000', '-mno-bulk-memory'])
1047010470 # -mno-bulk-memory at link time overrides MIN_SAFARI_VERSION
0 commit comments