This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, tree-optimization]: Fix PR46346


Hello!

Various tests fail with -mfma with: internal compiler error: in
rhs_to_tree, at tree-ssa-forwprop.c:352. Attached patch adds missing
GIMPLE_TERNARY_RHS handling to rhs_to_tree.

2010-11-07  Uros Bizjak  <ubizjak@gmail.com>

	PR tree-optimization/46346
	* tree-ssa-forwprop.c (rhs_to_tree): Handle GIMPLE_TERNARY_RHS.

Patch was regression tested on x86_64-pc-linux-gnu. Additionally, it
fixes ICE on x86 with -mfma, reported in [1].

OK'd by richi in the PR, committed to mainline SVN.

[1] http://gcc.gnu.org/ml/gcc-patches/2010-11/msg00665.html

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]