https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103262
Bug ID: 103262 Summary: [12 Regression] Random FAIL: gcc.c-torture/execute/20061220-1.c after r12-5242 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- On Linux/x86-64, I got random spawn -ignore SIGHUP /export/users/hjl/build/gnu/tools-build/gcc-32bit-gitlab/build-i686-linux/gcc/xgcc -B/export/users/hjl/build/gnu/tools-build/gcc-32bit-gitlab/build-i686-linux/gcc/ /export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gcc.c-torture/execute/20061220-1.c -fdiagnostics-plain-output -O1 -w -lm -o ./20061220-1.exe during GIMPLE pass: modref /export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gcc.c-torture/execute/20061220-1.c: In function 'main': /export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gcc.c-torture/execute/20061220-1.c:73:1: internal compiler error: in operator[], at vec.h:889 0x8306118 vec<ipa_jump_func, va_gc, vl_embed>::operator[](unsigned int) /export/gnu/import/git/gitlab/x86-gcc/gcc/vec.h:889 0x8306dbe vec<modref_parm_map, va_heap, vl_embed>::operator[](unsigned int) /export/gnu/import/git/gitlab/x86-gcc/gcc/vec.h:1903 0x8306dbe vec<modref_parm_map, va_heap, vl_ptr>::operator[](unsigned int) /export/gnu/import/git/gitlab/x86-gcc/gcc/vec.h:1495 0x8306dbe merge_call_side_effects /export/gnu/import/git/gitlab/x86-gcc/gcc/ipa-modref.c:1034 0x8866a54 analyze_call /export/gnu/import/git/gitlab/x86-gcc/gcc/ipa-modref.c:1414 0x8866a54 analyze_stmt /export/gnu/import/git/gitlab/x86-gcc/gcc/ipa-modref.c:1585 0x8868eb1 analyze_function /export/gnu/import/git/gitlab/x86-gcc/gcc/ipa-modref.c:2935 0x886ac6d execute /export/gnu/import/git/gitlab/x86-gcc/gcc/ipa-modref.c:3965 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. compiler exited with status 1 FAIL: gcc.c-torture/execute/20061220-1.c -O1 (internal compiler error) FAIL: gcc.c-torture/execute/20061220-1.c -O1 (test for excess errors) r12-5242 is OK and r12-5244 is not. But it may be latent since it fails at random.