Hello,

on i686-pc-linux-gnu the test case gcc.target/i386/intrinsics_4.c fails because 
of
an internal compiler error, see PR58155.

The reason for this is that the optab CODE_FOR_movv8sf is disabled when it
should be enabled.

This happens because invoke_set_current_function_hook changes the pointer
"this_fn_optabs" after targetm.set_current_function has already modified the
optab to enable/disable CODE_FOR_movv8sf, leaving that optab entry
in an undefined state.

Boot-strapped and regression-tested on i686-pc-linux-gnu.

Ok for trunk?

Regards
Bernd.                                    
2013-11-03  Bernd Edlinger  <bernd.edlin...@hotmail.de>

        PR target/58115
        * function.c (invoke_set_current_function_hook): Call
        targetm.set_current_function after setting this_fn_optabs.

Attachment: patch-pr58115.diff
Description: Binary data

Reply via email to