- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
GCC (and clang) support __attribute__((__target__("bmi2"))), ICC doesn't, which can cause compile failures due to ICC masquerading as GCC (defining __GNUC__ and friends).
Reproducible by simply adding the attribute to a function, for example:
_attribute__((__target__("bmi2"))) int main (void) { return 0; }
Will trigger something like
icc (ICC) 17.0.1 20161005 Copyright (C) 1985-2016 Intel Corporation. All rights reserved. bmi2.c(1): warning #3550: target attribute not recognized __attribute__((__target__("bmi2"))) ^
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for reporting this, I've opened DPD200415859 in our internal bug tracking database. --Melanie

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page