I just tried to compile Suse Linux package ddiwrapper-0.2-86 with the GNU C compiler version 4.3 snapshot 20070803. The compiler said write_msft.c: In function 'ctl2_alloc_string': write_msft.c:562: internal compiler error: tree check: expected ssa_name, have symbol_memory_tag in is_old_name, at tree-into-ssa.c:566 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Preprocessed source attached. Flags -O2 -ftree-vectorize -m32 required.
Created attachment 14037 [details] C source code
Reducing.
Here is a reduced testcase: int ctl2_encode_string( const char *string, char **result) { int length; static char converted_string[0x104]; int offset; length = strlen(string); for(offset = 0; offset < 4; offset++) converted_string[length + offset + 2] = 0x57; }
Subject: Bug 33017 Author: jakub Date: Tue Sep 4 23:29:58 2007 New Revision: 128107 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128107 Log: PR tree-optimization/33017 * tree-data-ref.c (split_constant_offset) <case SSA_NAME>: Don't recurse for pure or const function calls. * gcc.dg/pr33017.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr33017.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-data-ref.c
Fixed.