https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111047
Bug ID: 111047
Summary: Un-silenceable note for ABI parameters 64-byte
alignment
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gonzalo.gadeschi at gmail dot com
Target Milestone: ---
Reproducer (https://godbolt.org/z/jvedoeK9E):
struct alignas(64) big_t{int x;};
void f(big_t b) { return; }
outputs:
<source>: In function 'void f(big_t)':
<source>:2:6: note: the ABI for passing parameters with 64-byte alignment has
changed in GCC 4.6
2 | void f(big_t b) { return; }
| ^
We are hitting this "note" throughout our code base, which is confusing many of
our developers, and we cannot find a way to silence it.
It would be really helpful to have a flag to disable this "note".