[Bug c/108978] Add __builtin_FILE_NAME() which behaves like the __FILE_NAME__ macro

2023-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108978 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/108978] Add __builtin_FILE_NAME() which behaves like the __FILE_NAME__ macro

2023-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108978 --- Comment #2 from Andrew Pinski --- Created attachment 54561 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54561&action=edit quick patch This is a quick hacked patch which adds this. I didn't even test it or add testcases. It might not

[Bug c/108978] Add __builtin_FILE_NAME() which behaves like the __FILE_NAME__ macro

2023-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108978 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Andrew