https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58059
Felix Janda changed:
What|Removed |Added
CC||felix.janda at posteo dot de
--- Comment
: c
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.janda at posteo dot de
Target Milestone: ---
Minimal test case (containing invalid code):
static char *a[] = {""};
int main(void) {
for(int i=1;i<2;i++) if(a[i]) break;
}
The same error was alread
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65958
--- Comment #2 from Felix Janda ---
Actually I can hit this issue also with sh4 and microblaze. The test
program needs to be modified slightly:
int main(void)
{
char *p;
if(1) {
char i[48];
p = __b
Assignee: unassigned at gcc dot gnu.org
Reporter: felix.janda at posteo dot de
Target Milestone: ---
Target: arm
On arm, gcc-4.9.2 compiles the following snippet to a program which
returns 1 instead of 0 when the option -fstack-check is given.
int main(void