This is an archive of the discontinued LLVM Phabricator instance.

FP math settings for static duration initialization - work in progress
AbandonedPublic

Authored by mibintc on Sep 28 2020, 7:14 PM.

Details

Reviewers
sepavloff
Summary

When compiling this C test case with -frounding-math there is an error diagnostic due to the rounding

float F3d = 0x1.000001p0;

This patch resets the FP settings around the initialization expression

Diff Detail

Event Timeline

mibintc requested review of this revision.Sep 28 2020, 7:14 PM
mibintc created this revision.