[Bug target/99217] [MIPS] wrong function entry with -fpatchable-function-entry

2021-12-15 Thread huangpei at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99217 --- Comment #7 from huangpei at loongson dot cn --- Created attachment 52006 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52006&action=edit patch 0001

[Bug target/99217] [MIPS] wrong function entry with -fpatchable-function-entry

2021-12-15 Thread huangpei at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99217 huangpei at loongson dot cn changed: What|Removed |Added CC||huangpei at loongson dot cn

[Bug target/99217] [MIPS] wrong function entry with -fpatchable-function-entry

2021-12-03 Thread huangpei at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99217 --- Comment #5 from huangpei at loongson dot cn --- Hi, with this fix and bug 93242 fixed, a.c with mips16 is OK, ambrosehua@3A1000-800M:~$ gcc -fpatchable-function-entry=3 -mips16 -mabi=32 -c a.c -S -o a.1.s ambrosehua@3A1000-800M:~$ cat a

[Bug target/99217] [MIPS] wrong function entry with -fpatchable-function-entry

2021-03-04 Thread huangpei at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99217 --- Comment #4 from huangpei at loongson dot cn --- what do you mean " move the call to mips16_build_function_stub" ?

[Bug target/99217] [MIPS] wrong function entry with -fpatchable-function-entry

2021-03-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99217 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment #

[Bug target/99217] [MIPS] wrong function entry with -fpatchable-function-entry

2021-03-03 Thread huangpei at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99217 --- Comment #2 from huangpei at loongson dot cn --- my colleague Xu Chenghua (xucheng...@loongson.cn) add a patch to address this diff --git a/src/gcc/config/mips/mips-protos.h b/src/gcc/config/mips/mips-protos.h index aba1

[Bug target/99217] [MIPS] wrong function entry with -fpatchable-function-entry

2021-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99217 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED