LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 42817 - Bump __GNUC__, __GNUC_MINOR__ from 4.2.1
Summary: Bump __GNUC__, __GNUC_MINOR__ from 4.2.1
Status: NEW
Alias: None
Product: clang
Classification: Unclassified
Component: Frontend (show other bugs)
Version: trunk
Hardware: PC Linux
: P enhancement
Assignee: Sylvestre Ledru
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-29 13:12 PDT by David Bolvansky
Modified: 2019-07-29 13:44 PDT (History)
4 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Bolvansky 2019-07-29 13:12:13 PDT
ICC:

printf("%d %d %d %d %s",__GXX_ABI_VERSION, __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__, __VERSION__);

1010 7 4 0 Intel(R) C++ gcc 7.4 mode

Clang's current gcc-compat version "4.2.1" is very old and may force Clang to take path for dump, old compilers.
Comment 1 Sylvestre Ledru 2019-07-29 13:13:55 PDT
Which version would you like to see? Same as ICC ?
Comment 2 David Bolvansky 2019-07-29 13:44:20 PDT
Yes, 7 could be good enough for now.