not enabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158186
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-04-10 Bernd Schmidt <bernd.schmidt@codesourcery.com>
+
+ * ira-costs.c (record_reg_classes): Ignore alternatives that are
+ not enabled.
+
2010-04-09 Uros Bizjak <ubizjak@gmail.com>
PR target/43707
2010-04-09 Uros Bizjak <ubizjak@gmail.com>
PR target/43707
int alt_fail = 0;
int alt_cost = 0, op_cost_add;
int alt_fail = 0;
int alt_cost = 0, op_cost_add;
+ if (!recog_data.alternative_enabled_p[alt])
+ {
+ for (i = 0; i < recog_data.n_operands; i++)
+ constraints[i] = skip_alternative (constraints[i]);
+
+ continue;
+ }
+
for (i = 0; i < n_ops; i++)
{
unsigned char c;
for (i = 0; i < n_ops; i++)
{
unsigned char c;