Hi Tobias, Am 05.10.21 um 20:03 schrieb Tobias Burnus:
Played around with the warning in the 'omp_lib' module (needs tweaking as for the current version, no warning is done). Turned out that already use omp_lib outputs a warning even when not used.
that must have been a non-trivial example; I didn't see that on my installation.
That's fixed by the attached patch - even if the location is not perfect.
That is certainly an improvement for the testcase. IIUC the warning is for GCC$ ATTRIBUTES DEPRECATED, so could you mention that in the commit message.
OK for GCC 12 + GCC 11 backport?
OK for both. Thanks for the patch! Harald
Tobias ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955