https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
--- Comment #13 from John Paul Adrian Glaubitz ---
(In reply to Oleg Endo from comment #12)
> > This is still present in gcc-13, I just ran into it while cross-building the
> > Haskell compiler GHC for sh4:
> >
>
> Have you tried using the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
--- Comment #12 from Oleg Endo ---
(In reply to John Paul Adrian Glaubitz from comment #11)
> Created attachment 56123 [details]
> Preprocessed source from building GHC with gcc-13
>
> This is still present in gcc-13, I just ran into it while
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
--- Comment #11 from John Paul Adrian Glaubitz ---
Created attachment 56123
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56123=edit
Preprocessed source from building GHC with gcc-13
This is still present in gcc-13, I just ran into it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
Oleg Endo changed:
What|Removed |Added
CC||olegendo at gcc dot gnu.org
Ever
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
--- Comment #10 from John Paul Adrian Glaubitz ---
(In reply to Oleg Endo from comment #9)
> Unfortunately, there's no simple fix for it that I know of. You can try to
> use the new register allocator with the option -mlra on a selective basis,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
--- Comment #9 from Oleg Endo ---
(In reply to Sergei Trofimovich from comment #7)
> Not sure if it's the same bug or not, but I get the same error building GHC
"unable to find a register to spill in class 'R0_REGS'"
... kind of errors
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
--- Comment #8 from Sergei Trofimovich ---
Created attachment 47159
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47159=edit
bug.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
Sergei Trofimovich changed:
What|Removed |Added
CC||slyfox at inbox dot ru
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
--- Comment #6 from John Paul Adrian Glaubitz ---
(In reply to Oleg Endo from comment #5)
> This sounds like a different issue. Can you please create another PR for
> that with the title "syntax error in @(disp,[Rn, gbr, pc]) when compiling
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
--- Comment #5 from Oleg Endo ---
(In reply to John Paul Adrian Glaubitz from comment #4)
>
> It helps, indeed. The build now passes the problematic source code file.
> However, it now bails out later with:
>
> /tmp/cck5XKuE.s: Assembler
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
--- Comment #4 from John Paul Adrian Glaubitz ---
(In reply to Oleg Endo from comment #3)
> Please try. It might allow you to at least build the package. Regardless
> of that, let's keep this PR open.
It helps, indeed. The build now passes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
--- Comment #3 from Oleg Endo ---
(In reply to John Paul Adrian Glaubitz from comment #2)
>
> Not yet, I will give it a try now.
Please try. It might allow you to at least build the package. Regardless of
that, let's keep this PR open.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
--- Comment #2 from John Paul Adrian Glaubitz ---
(In reply to Oleg Endo from comment #1)
> Have you tried compiling the package with -mlra?
Not yet, I will give it a try now.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
--- Comment #1 from Oleg Endo ---
Have you tried compiling the package with -mlra?
14 matches
Mail list logo