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
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);
}
```
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
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: