https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107513
--- Comment #7 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #6)
> The patch for PR 96780 added -ffold-simple-inlines which works for some
> specific functions. This attribute would extend that to arbitrary functions.
I dis
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107513
Jonathan Wakely changed:
What|Removed |Added
Last reconfirmed||2023-10-31
Status|UNCONFI
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107513
--- Comment #5 from Roy Jacobson ---
I still think it might be good idea to introduce this for the sake of reducing
debug symbols size. I'm less interested in improving debug experience in this
case, but obviously any improvement to that is welc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107513
--- Comment #4 from Jonathan Wakely ---
But what does DW_AT_artificial do? Does gdb just ignore it? I've never noticed
it helping at all.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107513
--- Comment #3 from Andrew Pinski ---
(In reply to Roy Jacobson from comment #2)
> I might be using it wrong? But it doesn't seem to do anything:
> https://godbolt.org/z/9bdKhz4E7
>
> It would be nice to at least avoid having the function's nam
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107513
--- Comment #2 from Roy Jacobson ---
I might be using it wrong? But it doesn't seem to do anything:
https://godbolt.org/z/9bdKhz4E7
It would be nice to at least avoid having the function's name in the binary,
clang does it with nodebug.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107513
--- Comment #1 from Andrew Pinski ---
GCC's artificial attribute should be similar for functions:
https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Common-Function-Attributes.html#index-artificial-function-attribute
Which was added in GCC 4.3.0 by