OSDN Git Service

* final.c (insn_default_length, insn_min_length): In !HAVE_ATTR_length
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Sep 2005 11:56:28 +0000 (11:56 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Sep 2005 11:56:28 +0000 (11:56 +0000)
case, define as macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104561 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/final.c

index 672a484..df18329 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-23  J"orn Rennecke <joern.rennecke@st.com>
+
+       * final.c (insn_default_length, insn_min_length): In !HAVE_ATTR_length
+       case, define as macros.
+
 2005-09-22  Ranjit Mathew  <rmathew@gcc.gnu.org>
 
        * doc/install.texi: Update URL for Jacks.
index f827069..ddd339b 100644 (file)
@@ -443,6 +443,8 @@ get_attr_length_1 (rtx insn ATTRIBUTE_UNUSED,
   return length;
 #else /* not HAVE_ATTR_length */
   return 0;
+#define insn_default_length 0
+#define insn_min_length 0
 #endif /* not HAVE_ATTR_length */
 }