[Bug tree-optimization/22088] [4.1 regression] ICE with -ftree-vectorize
hubicka at ucw dot cz
gcc-bugzilla@gcc.gnu.org
Fri Jun 17 13:53:00 GMT 2005
------- Additional Comments From hubicka at ucw dot cz 2005-06-17 13:53 -------
Subject: Re: [4.1 regression] ICE with -ftree-vectorize
>
> ------- Additional Comments From dorit at il dot ibm dot com 2005-06-17 12:58 -------
> > bug.c: In function 'foo':
> > bug.c:4: internal compiler error: in get_bb_copy, at cfg.c:1078
>
> a bunch of vectorizer testcases are failing with this error on
> i686-pc-linux-gnu and powerpc-darwin
THe attached patch should fix it. I wonder why it didn't show up in my
i686 regtest originally? (are the vectorizer testcases disabled by
default or something?)
Index: tree-vect-transform.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-vect-transform.c,v
retrieving revision 2.25
diff -c -3 -p -r2.25 tree-vect-transform.c
*** tree-vect-transform.c 10 Jun 2005 14:51:44 -0000 2.25
--- tree-vect-transform.c 17 Jun 2005 13:13:52 -0000
*************** vect_transform_loop (loop_vec_info loop_
*** 2048,2053 ****
--- 2048,2054 ----
if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
fprintf (vect_dump, "=== vec_transform_loop ===");
+ initialize_original_copy_tables ();
/* Peel the loop if there are data refs with unknown alignment.
Only one data ref with unknown store is allowed. */
*************** vect_transform_loop (loop_vec_info loop_
*** 2139,2144 ****
--- 2140,2147 ----
until all the loops have been transformed? */
update_ssa (TODO_update_ssa);
+ free_original_copy_tables ();
+
if (vect_print_dump_info (REPORT_VECTORIZED_LOOPS, LOOP_LOC (loop_vinfo)))
fprintf (vect_dump, "LOOP VECTORIZED.");
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22088
More information about the Gcc-bugs
mailing list