-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Open
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Description
Bugzilla Link | 46068 |
Version | 10.0 |
OS | All |
Blocks | #44654 |
CC | @zygoloid,@tstellar |
Fixed by commit(s) | f9e94eb 9021ce9 |
Extended Description
The following test case does not compile with clang (and also causes failures to configure projects when -mfloat128 is in the FLAGS):
#include <math.h>
__CFLOAT128 testkf(__CFLOAT128 a, __CFLOAT128 b) {
return a + b;
}
$ clang -I /opt/at12.0/include -S -mfloat128 -mcpu=power9 noKC.c -O
In file included from noKC.c:1:
In file included from /opt/at12.0/include/math.h:43:
/opt/at12.0/include/bits/floatn.h:82:52: error: unknown machine mode 'KC'
typedef _Complex float __cfloat128 attribute ((mode (KC)));
^
1 error generated.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"