[MacPorts] #62184: gcc-devel on big sur Apple Silicon w/ xcode 12.4 fails to assemble pc-relative literal loads
MacPorts
noreply at macports.org
Sat Jan 30 18:44:22 UTC 2021
#62184: gcc-devel on big sur Apple Silicon w/ xcode 12.4 fails to assemble pc-
relative literal loads
--------------------+-----------------------
Reporter: blu | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: gcc-devel
--------------------+-----------------------
gcc-devel @11-20210124 on big sur Apple Silicon w/ xcode 12.4 fails to
assemble pc-relative literal loads (-mpc-relative-literal-loads)
{{{
// repro.cpp
int __attribute__ ((vector_size(sizeof(int) * 4))) x;
int const __attribute__ ((vector_size(sizeof(int) * 4))) y = { 1, 2, 3, 4
};
int main(int, char**)
{
int const __attribute__ ((vector_size(sizeof(int) * 4))) z = x * y;
return z[0] + z[1] + z[2] + z[3];
}
$ xcrun g++-mp-devel repro.cpp -mpc-relative-literal-loads
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62184>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list