[Bug rtl-optimization/116780] [lra][avr] internal compiler error: output_operand: address operand requires constraint for X, Y, or Z register
gjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Oct 20 07:29:09 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116780
--- Comment #10 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
...hmmm https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html reads: <quote>
6.18 Arrays of Length Zero
Declaring zero-length arrays is allowed in GNU C as an extension. A zero-length
array can be useful as the last element of a structure that is really a header
for a variable-length object:
[...]
Declaring zero-length arrays in other contexts, including [...] as non-member
objects, is discouraged. Accessing elements of zero-length arrays declared in
such contexts is undefined and may be diagnosed.
</quote>
So the test case for PR64088 is already invalid?
More information about the Gcc-bugs
mailing list