https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79574
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work|7.0 | Known to fail| |7.0 --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- There's one additional issue: $ cat /tmp/tc.c #include "stdarg.h" int buf[100]; int buf1[10]; int rd (int *pppp, int n, ...) { va_list argp; int *p; int i; int res; va_start (argp, n); for (; n > 0; n--) va_arg (argp, double); p = va_arg (argp, int *); i = va_arg (argp, int); res = p[i]; __builtin_printf ("%d\n", res); return res; } int mpx_test (int argc, const char **argv) { rd (buf1, 2, 10.0d, 10.0d, buf, 100, buf1); return 0; } ./xgcc -B. -Os --param gcse-cost-distance-ratio=2147483647 -c /tmp/tc.c /tmp/tc.c: In function ‘rd’: /tmp/tc.c:23:1: internal compiler error: in should_hoist_expr_to_dom, at gcse.c:2943 } ^ 0x93c3c9 should_hoist_expr_to_dom ../../gcc/gcse.c:2943 0x93e432 hoist_code ../../gcc/gcse.c:3200 0x93e432 one_code_hoisting_pass ../../gcc/gcse.c:3537 0x93e432 execute_rtl_hoist ../../gcc/gcse.c:4021 0x93e432 execute ../../gcc/gcse.c:4102