// testcase, compile with -fno-tree-dominator-opts : void foo (int p[100], int k, ) { int j, *q; __builtin_va_list ap; __builtin_va_start (ap, k); q = __builtin_va_arg (ap, int *); for (j = 0; j < 100; j++) p [j] = q [j]; __builtin_va_end(ap); } // compiler output: capifunc.i: In function 'foo': capifunc.i:2: internal compiler error: in dominated_by_p, at dominance.c:827
No.1 | | 162 bytes | |
Additional Comments From pinskia at gcc dot gnu dot org 2005-09-11 14:36 Note this is only reproducible on x86_64 because of the way var_args are implemented.
No.2 | | 147 bytes | |
Additional Comments From pinskia at gcc dot gnu dot org 2005-09-11 14:38 Confirmed, it is ICE while doing std args which is also new for 4.1.0.
No.3 | | 101 bytes | |
Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-09-12 14:20 Patch posted.
No.4 | | 139 bytes | |
Additional Comments From pinskia at gcc dot gnu dot org 2005-09-16 23:05 (In reply to comment #3) Patch posted. And approved.
No.5 | | 520 bytes | |
Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-20 15:29 Subject: Bug 23818