[Bug driver/117992] gcc -flto -fharden leads to warning

2024-12-11 Thread icenowy at aosc dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117992 --- Comment #4 from Icenowy Zheng --- I don't think this issue is similar to 117739 , because in my case I didn't pass any parameters that are known to be negated by -fhardened -- there's at least no document that -fhardened will affect -flto.

[Bug driver/117992] gcc -flto -fharden leads to warning

2024-12-10 Thread icenowy at aosc dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117992 --- Comment #1 from Icenowy Zheng --- BTW adding `-Wno-hardened` cannot suppress this warning.

[Bug driver/117992] New: gcc -flto -fharden leads to warning

2024-12-10 Thread icenowy at aosc dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117992 Bug ID: 117992 Summary: gcc -flto -fharden leads to warning Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver

[Bug target/97779] New: Newest releases/gcc-10 cannot build because lack of PTA_CLDEMOTE

2020-11-10 Thread icenowy at aosc dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97779 Bug ID: 97779 Summary: Newest releases/gcc-10 cannot build because lack of PTA_CLDEMOTE Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/97535] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-10-23 Thread icenowy at aosc dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 --- Comment #3 from Icenowy Zheng --- A minimal reproduction: (Compile with gcc -c -O1) ``` #include #define SIZE 2181038080 extern char raw_buffer[SIZE]; void setRaw(const void *raw) { memcpy(raw_buffer, raw, SIZE); } ```

[Bug rtl-optimization/97535] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-10-22 Thread icenowy at aosc dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 --- Comment #1 from Icenowy Zheng --- The problem is found to be trying to expand a memcpy() call with fixed length 2181038080. Handling of memcpy() expansion seem to be corrupted when len >= 2147483648. The length is mod with 2147483648, and th

[Bug rtl-optimization/97535] New: ICE when building xmrig on AArch64

2020-10-22 Thread icenowy at aosc dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 Bug ID: 97535 Summary: ICE when building xmrig on AArch64 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimizatio