[Bug target/101559] RISCV -- incorrect label address when using -O2

2021-07-21 Thread joel.porquet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101559 --- Comment #3 from Joël Porquet --- Thanks for the quick replies and the clear explanation! I'm a little bummed because this construct enabled me to write --what I considered to be-- clean code for a bootloader. As shown below, I could tempora

[Bug target/101559] New: RISCV -- incorrect label address when using -O2

2021-07-21 Thread joel.porquet at gmail dot com via Gcc-bugs
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: joel.porquet at gmail dot com Target Milestone: --- The GNU construct `&&label` supposedly allows the programmer to get the address corresponding to a label. When compiling for RISCV, the correct address is

[Bug c/61267] New: [MIPS] -march=mips32 does not always disable the use of branch likely instructions

2014-05-21 Thread joel.porquet at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: joel.porquet at gmail dot com The symptom of this bug is that even when specifying "-march=mips32", which is normally supposed to disable the use of bra