[Bug c/92383] New: ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1519
mpoulhies at kalray dot eu
gcc-bugzilla@gcc.gnu.org
Tue Nov 5 16:52:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92383
Bug ID: 92383
Summary: ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1519
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: mpoulhies at kalray dot eu
Target Milestone: ---
Giving this to all GCC on godbolt.org (9.2 to 4.1.2) :
#include <string.h>
int main (int argc, char **argv) {
struct S {
char toto[argc];
};
int f (struct S arg) {
strcpy(arg.toto, argv[0]);
return arg.toto[10];
}
struct S bob;
strcpy(bob.toto, "coucoucoucou");
return f(bob);
}
Raises an ICE (the line corresponds to the 9.2
during GIMPLE pass: dse
<source>: In function 'main':
<source>:15:1: internal compiler error: in refs_may_alias_p_1, at
tree-ssa-alias.c:1519
15 | }
| ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
Compiler returned: 1
More information about the Gcc-bugs
mailing list