[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-17 Thread wilco at gcc dot gnu.org
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

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-16 Thread clyon at gcc dot gnu.org
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

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-16 Thread wilco at gcc dot gnu.org
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

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-16 Thread wilco at gcc dot gnu.org
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

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-16 Thread clyon at gcc dot gnu.org
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

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-14 Thread clyon at gcc dot gnu.org
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

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-14 Thread wilco at gcc dot gnu.org
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

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-14 Thread zsojka at seznam dot cz
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.

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-14 Thread clyon at gcc dot gnu.org
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

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-14 Thread wilco at gcc dot gnu.org
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

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-10 Thread iains at gcc dot gnu.org
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

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-10 Thread cvs-commit at gcc dot gnu.org
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

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-09 Thread wilco at gcc dot gnu.org
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-

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-09 Thread zsojka at seznam dot cz
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

[Bug target/94538] [10 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2223 (insn does not satisfy its constraints) with -mcpu=cortex-m23 -mslow-flash-data

2020-04-09 Thread wilco at gcc dot gnu.org
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