aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorZiemowit Laski <zlaski@apple.com>2005-01-16 08:13:14 +0000
committerZiemowit Laski <zlaski@gcc.gnu.org>2005-01-16 08:13:14 +0000
commit6435c34baf300afa9f1b13418ebbe0d3a086c404 (patch)
tree5444cb4187a017b2e42263569528adf82526d617 /gcc/objc
parentc3bcec128aaee8fff7cd512a6ebc13b8437db6dc (diff)
downloadgcc-6435c34baf300afa9f1b13418ebbe0d3a086c404.zip
gcc-6435c34baf300afa9f1b13418ebbe0d3a086c404.tar.gz
gcc-6435c34baf300afa9f1b13418ebbe0d3a086c404.tar.bz2
objc-act.c (objc_push_parm): Call c_type_promotes_to() via a lang-hook.
[gcc/objc/ChangeLog] 2005-01-16 Ziemowit Laski <zlaski@apple.com> * objc-act.c (objc_push_parm): Call c_type_promotes_to() via a lang-hook. From-SVN: r93722
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/ChangeLog5
-rw-r--r--gcc/objc/objc-act.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 77a62a1..42e91fa 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-16 Ziemowit Laski <zlaski@apple.com>
+
+ * objc-act.c (objc_push_parm): Call c_type_promotes_to()
+ via a lang-hook.
+
2005-01-15 Ziemowit Laski <zlaski@apple.com>
PR objc/19321
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index be21d08..65af654 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -7388,7 +7388,8 @@ objc_push_parm (tree parm)
TREE_TYPE (parm) = build_pointer_type (TREE_TYPE (parm));
DECL_ARG_TYPE_AS_WRITTEN (parm) = TREE_TYPE (parm);
- DECL_ARG_TYPE (parm) = c_type_promotes_to (TREE_TYPE (parm));
+ DECL_ARG_TYPE (parm)
+ = lang_hooks.types.type_promotes_to (TREE_TYPE (parm));
/* Record constancy and volatility. */
c_apply_type_quals_to_decl