This C code also seems to generate the same error on 32 bit ARM:
void test_incomplete_array_fam() {
struct FAM {
char c;
int data[]
};
}
void test_single_element_array_possible_fam() {
struct FAM {
char c;
int data[1]
};
}
dcb@raspberrypi5:~/cvise $ /home/dcb/gcc/results.20241114/bin/gcc -w -g -c fam.c
dcb@raspberrypi5:~/cvise $ /home/dcb/gcc/results.20241116/bin/gcc -w -g -c fam.c
fam.c: In function ‘test_single_element_array_possible_fam’:
fam.c:12:1: error: ‘TYPE_CANONICAL’ is not compatible
12 | }
| ^
It seems to go wrong sometime between g:361050589b144913
and g:601a734188f3d2d3, so recent gcc trunk.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1890435
Title:
gcc-10 breaks on armhf (flaky): internal compiler error: Segmentation
fault
To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1890435/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs