http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47139
Summary: ice in process_use, at tree-vect-stmts.c:290 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: reg...@cs.utah.edu CC: cheny...@cs.utah.edu [reg...@gamow tmp433]$ current-gcc -O3 small.c -c small.c: In function 'func_1': small.c:19:1: internal compiler error: in process_use, at tree-vect-stmts.c:290 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. [reg...@gamow tmp433]$ current-gcc -v Using built-in specs. COLLECT_GCC=current-gcc COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r168380-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../configure --with-libelf=/usr/local --enable-lto --prefix=/home/regehr/z/compiler-install/gcc-r168380-install --program-prefix=r168380- --enable-languages=c,c++ Thread model: posix gcc version 4.6.0 20101231 (experimental) (GCC) [reg...@gamow tmp433]$ cat small.c typedef signed char int8_t; typedef int int32_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; static uint8_t safe_add_func_uint32_t_u_u (uint32_t ui1, uint8_t ui2) { return ui1 + ui2; } int32_t g_10; int32_t *g_23 = &g_10; int32_t **const volatile g = &g_23; int32_t g_42; int32_t *func_68 (uint16_t p_69, int8_t p_70); uint8_t func_1 (void) { *g = func_68 (0x837BL, 0); return 0; } int32_t * func_68 (uint16_t p_69, int8_t p_70) { int32_t l_113; for (p_70 = 1; p_70; p_70 = safe_add_func_uint32_t_u_u (p_70, 1)) { int32_t *l_118 = &g_42; *l_118 = l_113; l_113 |= p_70; } return 0; } int main (int argc, char *argv[]) { func_1 (); return 0; }