diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-09-23 11:56:28 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-09-23 11:56:28 +0000 |
commit | d431b2cae597afbe272e95bcd7ac60d7d9368cf7 (patch) | |
tree | 04b86dad7e81cb4143cb89b74b02ed4e3b91593f | |
parent | a59c15a6c7aa63e3e80fbd6c6fba73dc1a558ce8 (diff) | |
download | gcc-d431b2cae597afbe272e95bcd7ac60d7d9368cf7.tar.gz |
* final.c (insn_default_length, insn_min_length): In !HAVE_ATTR_length
case, define as macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104561 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/final.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 672a484c4a9..df183299652 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/final.c b/gcc/final.c index f8270698ecb..ddd339b3688 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -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 */ } |