https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
--- Comment #16 from Wilco ---
(In reply to Christophe Lyon from comment #15)
> (In reply to Wilco from comment #14)
> > (In reply to Christophe Lyon from comment #11)
> > > (In reply to Wilco from comment #10)
> >
> > > Right, but the code is f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
--- Comment #15 from Christophe Lyon ---
(In reply to Wilco from comment #14)
> (In reply to Christophe Lyon from comment #11)
> > (In reply to Wilco from comment #10)
>
> > Right, but the code is functional.
>
> It doesn't avoid the literal lo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
--- Comment #14 from Wilco ---
(In reply to Christophe Lyon from comment #11)
> (In reply to Wilco from comment #10)
> Right, but the code is functional.
It doesn't avoid the literal load from flash which is exactly what pure-code
and slow-flas
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
--- Comment #13 from Wilco ---
(In reply to Christophe Lyon from comment #12)
> I've posted a patch to fix the regression for your f3() examples:
> https://gcc.gnu.org/pipermail/gcc-patches/2020-April/543993.html
Yes that improves some of the ex
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
--- Comment #12 from Christophe Lyon ---
I've posted a patch to fix the regression for your f3() examples:
https://gcc.gnu.org/pipermail/gcc-patches/2020-April/543993.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
--- Comment #11 from Christophe Lyon ---
(In reply to Wilco from comment #10)
>
> For example:
>
> int x;
> int f1 (void) { return x; }
>
> with eg. -O2 -mcpu=cortex-m0 -mpure-code I get:
>
> movsr3, #:upper8_15:#.LC1
> ls
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
--- Comment #10 from Wilco ---
(In reply to Christophe Lyon from comment #8)
> > Adding Christophe. I'm thinking the best approach right now is to revert
> > given -mpure-code doesn't work at all on Thumb-1 targets - it still emits
> > literal po
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
--- Comment #9 from Zdenek Sojka ---
Please don't take this PR serious; it might not be a valid use-case in
real-world application.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
--- Comment #8 from Christophe Lyon ---
> Adding Christophe. I'm thinking the best approach right now is to revert
> given -mpure-code doesn't work at all on Thumb-1 targets - it still emits
> literal pools, switch tables etc. That's not pure co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
--- Comment #7 from Wilco ---
(In reply to Wilco from comment #4)
> (In reply to Zdenek Sojka from comment #3)
> > (In reply to Wilco from comment #2)
> > > This was introduced by commit e24f6408d so only in GCC10.
> >
> > Thank you for checking
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
Iain Sandoe changed:
What|Removed |Added
CC||iains at gcc dot gnu.org
--- Comment #6 fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
--- Comment #5 from CVS Commits ---
The master branch has been updated by Iain D Sandoe :
https://gcc.gnu.org/g:0666767eb4cc864f00ba34d97b9d58f8dc650bba
commit r10-7682-g0666767eb4cc864f00ba34d97b9d58f8dc650bba
Author: Iain Sandoe
Date: Fri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
--- Comment #4 from Wilco ---
(In reply to Zdenek Sojka from comment #3)
> (In reply to Wilco from comment #2)
> > This was introduced by commit e24f6408d so only in GCC10.
>
> Thank you for checking this!
>
> I am quite sure this fails in gcc-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
--- Comment #3 from Zdenek Sojka ---
(In reply to Wilco from comment #2)
> This was introduced by commit e24f6408d so only in GCC10.
Thank you for checking this!
I am quite sure this fails in gcc-9 as well:
$ armv7a-hardfloat-linux-gnueabi-gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538
Wilco changed:
What|Removed |Added
Summary|[9/10 Regression] ICE: in |[10 Regression] ICE: in
|extra
15 matches
Mail list logo