[Bug target/77882] [Aarch64] Add 'naked' function attribute

2024-04-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 --- Comment #15 from Andrew Pinski --- (In reply to Nick Desaulniers from comment #14) > Adding a data point from > https://discourse.llvm.org/t/hand-written-in-assembly-in-libc-setjmp-longjmp/ > 73249/9. > > It's becoming a code portability

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2024-04-08 Thread ndesaulniers at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 Nick Desaulniers changed: What|Removed |Added CC||ndesaulniers at google dot com ---

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2023-01-17 Thread stefan.tauner at gmx dot at via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 stefan.tauner at gmx dot at changed: What|Removed |Added CC||stefan.tauner at gmx dot at

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2022-05-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 --- Comment #12 from Andrew Pinski --- (In reply to Fangrui Song from comment #11) > The number of targets supporting this attribute is large but the popular > aarch64 somehow doesn't support it... I just run into a case where > supporting this

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2022-05-25 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #11 from

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2019-11-06 Thread christophe.monat at st dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 --- Comment #10 from Christophe Monat --- (In reply to Elad Lahav from comment #9) Thanks for your patch proposal! > 1. GCC emits a warning: >/home/elahav/src/projects/aarch64_naked/aarch64_naked.c:15:1: warning: no > return statement in

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2019-11-05 Thread e2lahav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 --- Comment #9 from Elad Lahav --- While trying to write a simple test to demonstrate that the suggested patch works I ran into a couple of issues. First, here is the test code: #include #include #if defined(__aarch64__) static long

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2019-10-28 Thread e2lahav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 --- Comment #8 from Elad Lahav --- (In reply to Andrew Pinski from comment #7) > The problem with the naked attribute is usually it is not well defined. For > things like interrupts functions and interrupt returns, there is always > plain .s

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2019-10-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 --- Comment #7 from Andrew Pinski --- The problem with the naked attribute is usually it is not well defined. For things like interrupts functions and interrupt returns, there is always plain .s files. Interrupts usually save/restore all

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2019-10-28 Thread e2lahav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 --- Comment #6 from Elad Lahav --- (In reply to Richard Earnshaw from comment #5) > Patches need to be sent to gcc-patc...@gcc.gnu.org. Note, if you've not > contributed to gcc before you'll also need to sort out a copyright > assignment for

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2019-10-28 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 --- Comment #5 from Richard Earnshaw --- (In reply to Elad Lahav from comment #4) > Created attachment 47119 [details] > Proposed implementation of naked functions for aarch64 > > The change is quite simple (see the proposed patch). I hope it

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2019-10-28 Thread e2lahav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 Elad Lahav changed: What|Removed |Added CC||e2lahav at gmail dot com --- Comment #4

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2016-10-06 Thread christophe.monat at st dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 --- Comment #3 from Christophe Monat --- Andrew, (In reply to Andrew Pinski from comment #2) > I really think the naked attribute as not useful at all. I think it was a > bad idea. Why not write a .s file which does what you want? Well, from

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2016-10-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 Andrew Pinski changed: What|Removed |Added Component|c |target --- Comment #2 from Andrew