Commit 495fb8cd by Ben Elliston Committed by Ben Elliston

genpreds.c (write_insn_preds_c): Only write out the function body for regclass_for_constraint if...

	* genpreds.c (write_insn_preds_c): Only write out the function
	body for regclass_for_constraint if we have register constraints.

From-SVN: r120879
parent 679c0f9a
2007-01-18 Ben Elliston <bje@au.ibm.com>
* genpreds.c (write_insn_preds_c): Only write out the function
body for regclass_for_constraint if we have register constraints.
2007-01-17 Tom Tromey <tromey@redhat.com> 2007-01-17 Tom Tromey <tromey@redhat.com>
* doc/sourcebuild.texi (libgcj Tests): Use sourceware.org. * doc/sourcebuild.texi (libgcj Tests): Use sourceware.org.
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
- prototype declarations for operand predicates (tm-preds.h) - prototype declarations for operand predicates (tm-preds.h)
- function definitions of operand predicates, if defined new-style - function definitions of operand predicates, if defined new-style
(insn-preds.c) (insn-preds.c)
Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007
Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -1336,7 +1337,8 @@ write_insn_preds_c (void) ...@@ -1336,7 +1337,8 @@ write_insn_preds_c (void)
if (constraint_max_namelen > 0) if (constraint_max_namelen > 0)
{ {
write_lookup_constraint (); write_lookup_constraint ();
write_regclass_for_constraint (); if (have_register_constraints)
write_regclass_for_constraint ();
write_constraint_satisfied_p (); write_constraint_satisfied_p ();
if (constraint_max_namelen > 1) if (constraint_max_namelen > 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment