[Bug tree-optimization/51058] [4.7 Regression] ICE: gimple check: expected gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs_code, at gimple.h:1992

rguenther at suse dot de gcc-bugzilla@gcc.gnu.org
Thu Nov 10 09:53:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51058

--- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> 2011-11-10 09:29:52 UTC ---
On Wed, 9 Nov 2011, jakub at gcc dot gnu.org wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51058
> 
> --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-09 17:17:54 UTC ---
> Or use
>   enum tree_code code = gimple_expr_code (stmt);

One of the functions that IMHO should be removed ;)  (like
gimple_expr_type)



More information about the Gcc-bugs mailing list