public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* committed: Fix build for targets that have SECONDARY_MEMORY_NEEDED ignoring CLASS* arguments.
@ 2012-10-31  3:13 Joern Rennecke
  0 siblings, 0 replies; only message in thread
From: Joern Rennecke @ 2012-10-31  3:13 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 85 bytes --]

Build tested on powerpc64-unknown-linux-gnu X microblaze-elf .
Committed as obvious.

[-- Attachment #2: tmp --]
[-- Type: text/plain, Size: 695 bytes --]

2012-10-31  Joern Rennecke  <joern.rennecke@embecosm.com>

	* lra-constraints.c (choose_split_class): Add ATTRIBUTE_UNUSED to
	hard_reg_class.

Index: lra-constraints.c
===================================================================
--- lra-constraints.c	(revision 192994)
+++ lra-constraints.c	(working copy)
@@ -3852,7 +3852,8 @@
 #else
   int i;
   enum reg_class cl, best_cl = NO_REGS;
-  enum reg_class hard_reg_class = REGNO_REG_CLASS (hard_regno);
+  enum reg_class hard_reg_class ATTRIBUTE_UNUSED
+    = REGNO_REG_CLASS (hard_regno);
 
   if (! SECONDARY_MEMORY_NEEDED (allocno_class, allocno_class, mode)
       && TEST_HARD_REG_BIT (reg_class_contents[allocno_class], hard_regno))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-31  2:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-31  3:13 committed: Fix build for targets that have SECONDARY_MEMORY_NEEDED ignoring CLASS* arguments Joern Rennecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).