public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/111047] New: Un-silenceable note for ABI parameters 64-byte alignment
@ 2023-08-17 11:15 gonzalo.gadeschi at gmail dot com
2023-08-17 11:29 ` [Bug c++/111047] " schwab@linux-m68k.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: gonzalo.gadeschi at gmail dot com @ 2023-08-17 11:15 UTC (permalink / raw)
To: gcc-bugs
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".
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/111047] Un-silenceable note for ABI parameters 64-byte alignment
2023-08-17 11:15 [Bug c++/111047] New: Un-silenceable note for ABI parameters 64-byte alignment gonzalo.gadeschi at gmail dot com
@ 2023-08-17 11:29 ` schwab@linux-m68k.org
2023-08-17 13:30 ` redi at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2023-08-17 11:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111047
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
-Wno-abi
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/111047] Un-silenceable note for ABI parameters 64-byte alignment
2023-08-17 11:15 [Bug c++/111047] New: Un-silenceable note for ABI parameters 64-byte alignment gonzalo.gadeschi at gmail dot com
2023-08-17 11:29 ` [Bug c++/111047] " schwab@linux-m68k.org
@ 2023-08-17 13:30 ` redi at gcc dot gnu.org
2023-08-17 17:00 ` [Bug target/111047] " gonzalo.gadeschi at gmail dot com
2023-08-18 6:40 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2023-08-17 13:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111047
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2023-08-17
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
More specifically, -Wno-psabi (which is a subset of -Wabi).
The various 'inform' notes in i386.cc that depend on warn_psabi should probably
output "[-Wpsabi]" to make this clear.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/111047] Un-silenceable note for ABI parameters 64-byte alignment
2023-08-17 11:15 [Bug c++/111047] New: Un-silenceable note for ABI parameters 64-byte alignment gonzalo.gadeschi at gmail dot com
2023-08-17 11:29 ` [Bug c++/111047] " schwab@linux-m68k.org
2023-08-17 13:30 ` redi at gcc dot gnu.org
@ 2023-08-17 17:00 ` gonzalo.gadeschi at gmail dot com
2023-08-18 6:40 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: gonzalo.gadeschi at gmail dot com @ 2023-08-17 17:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111047
--- Comment #3 from gnzlbg <gonzalo.gadeschi at gmail dot com> ---
Thank you both.
> should probably output "[-Wpsabi]" to make this clear.
+1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/111047] Un-silenceable note for ABI parameters 64-byte alignment
2023-08-17 11:15 [Bug c++/111047] New: Un-silenceable note for ABI parameters 64-byte alignment gonzalo.gadeschi at gmail dot com
` (2 preceding siblings ...)
2023-08-17 17:00 ` [Bug target/111047] " gonzalo.gadeschi at gmail dot com
@ 2023-08-18 6:40 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-08-18 6:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111047
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
unfortunately inform() wasn't designed for this, I suppose using warning()
would have been better here.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-08-18 6:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-17 11:15 [Bug c++/111047] New: Un-silenceable note for ABI parameters 64-byte alignment gonzalo.gadeschi at gmail dot com
2023-08-17 11:29 ` [Bug c++/111047] " schwab@linux-m68k.org
2023-08-17 13:30 ` redi at gcc dot gnu.org
2023-08-17 17:00 ` [Bug target/111047] " gonzalo.gadeschi at gmail dot com
2023-08-18 6:40 ` rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).