I just tried to compile the Linux kernel version linux-2.6.34-rc6 with the C compiler version 4.6 snapshot 20100501 and it said init/main.c: In function 'do_one_initcall': init/main.c:915:1: internal compiler error: vector VEC(ce_s,base) index domain error, in do_structure_copy at tree-ssa-structalias.c:3450 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Preprocessed source code attached. Flags -fno-delete-null-pointer-checks -Os required.
Created attachment 20543 [details] gzipped C source code
Mine.
Subject: Bug 43971 Author: rguenth Date: Mon May 3 16:12:12 2010 New Revision: 158991 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158991 Log: 2010-05-03 Richard Guenther <rguenther@suse.de> PR tree-optimization/43971 * tree-ssa-structalias.c (get_constraint_for_1): Fix constraints in the !flag_delete_null_pointer_checks case. * gcc.dg/pr43971.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/pr43971.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-structalias.c
Fixed.