[Bug c/107554] Segmentation fault during GIMPLE pass: strlen (tree-ssa-strlen.cc:4772)

2022-11-07 Thread nik_1357 at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107554 --- Comment #2 from Nikita Voronov --- Seems like I attached call stack from previous release version. Here's from master: 0xf0ad0f crash_signal ../../../gcc/gcc-master/gcc/toplev.cc:314 0x7f6b9445d51f ??? ./signal/../sysdeps/uni

[Bug c/107554] Segmentation fault during GIMPLE pass: strlen (tree-ssa-strlen.cc:4772)

2022-11-07 Thread nik_1357 at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107554 --- Comment #1 from Nikita Voronov --- I debugged a little and found out that this bug is caused when size of object which has type of "long int" is being assigned to local variable of type "int". Here's patch which fixed bug for me: diff --git

[Bug c/107554] New: Segmentation fault during GIMPLE pass: strlen (tree-ssa-strlen.cc:4772)

2022-11-07 Thread nik_1357 at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107554 Bug ID: 107554 Summary: Segmentation fault during GIMPLE pass: strlen (tree-ssa-strlen.cc:4772) Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal