[Bug target/114441] Relocation issues when compiling with -O1,-O2,and -Os

2024-03-25 Thread njuwy at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114441 --- Comment #5 from Yang Wang --- (In reply to Xi Ruoyao from comment #4) > (In reply to Yang Wang from comment #3) > > (In reply to Andrew Pinski from comment #1) > > > This is not a GCC bug, > > > > > > You need to use -mcmodel=large if you

[Bug target/114441] Relocation issues when compiling with -O1,-O2,and -Os

2024-03-24 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114441 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #4 fr

[Bug target/114441] Relocation issues when compiling with -O1,-O2,and -Os

2024-03-23 Thread njuwy at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114441 --- Comment #3 from Yang Wang --- (In reply to Andrew Pinski from comment #1) > This is not a GCC bug, > > You need to use -mcmodel=large if you have huge statically allocated arrays. > > The default -mcmodel=medium does not support more than

[Bug target/114441] Relocation issues when compiling with -O1,-O2,and -Os

2024-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114441 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #2 fr

[Bug target/114441] Relocation issues when compiling with -O1,-O2,and -Os

2024-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114441 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED