[Bug middle-end/106582] Wrong code generation resulting in HardFault

2022-08-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106582 --- Comment #8 from Richard Biener --- (In reply to Piotr from comment #3) > (In reply to Richard Biener from comment #1) > > Can you provide preprocessed source of the file where the crash occurs and > > the compiler commandline? Can you also

[Bug middle-end/106582] Wrong code generation resulting in HardFault

2022-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106582 --- Comment #7 from Andrew Pinski --- It is address 12, that is offset 12 from address 0. And yes there is a path where pQueryChunk can still be null pointer. If pPage->dwOptions & (0x2000) is false and (pQuery is nulll or *pQuery != '?'),

[Bug middle-end/106582] Wrong code generation resulting in HardFault

2022-08-11 Thread jankowski938 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106582 Piotr changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/106582] Wrong code generation resulting in HardFault

2022-08-11 Thread jankowski938 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106582 --- Comment #5 from Piotr --- (In reply to Andrew Pinski from comment #4) > > > 080157fe: movsr3, #0 > 08015800: ldr.w r2, [r9, #20] > 08015804: str r2, [r3, #12] > > This is doing a store at the address 12 which is invalid norm