------- Comment #2 from irar at il dot ibm dot com 2010-03-28 10:58 -------
(In reply to comment #0)
> sub_hfyu_median_prediction.c:18: note: not vectorized: unhandled data-ref
>
> Looking with GDB at it, I get:
> (gdb) p debug_data_references (datarefs)
> (Data Ref:
> stmt: D.2736_16 = *D.2735_15;
> ref: *D.2735_15;
> base_object: *src1_14(D);
> Access function 0: {0B, +, 1}_1
> )
> (Data Ref:
> stmt:
> ref:
> base_object:
> )
>
> I think it is the dst data ref that is NULL. Might be an aliasing
> problem for the data dep analysis, but still, the data ref should be
> analyzed correctly first.
Data refs analysis fails because of the function call in the loop.
The vectorizer should check the return value of
compute_data_dependences_for_loop() and print some better error message though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43436