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 iss
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882
Nick Desaulniers changed:
What|Removed |Added
CC||ndesaulniers at google dot com
--- Co
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
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 w
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
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 fu
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 __attribu
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 fil
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 registe
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 the
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 ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882
Elad Lahav changed:
What|Removed |Added
CC||e2lahav at gmail dot com
--- Comment #4 fro
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 th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882
Andrew Pinski changed:
What|Removed |Added
Component|c |target
--- Comment #2 from Andrew Pinski
14 matches
Mail list logo