diff options
author | Ziemowit Laski <zlaski@apple.com> | 2005-07-07 06:25:49 +0000 |
---|---|---|
committer | Ziemowit Laski <zlaski@gcc.gnu.org> | 2005-07-07 06:25:49 +0000 |
commit | f5d21c4ca15a9423443ce33efb3c9b8ebcde051e (patch) | |
tree | 93c09ea889a25a12734d437c45ac4d1457f89401 /gcc/objc | |
parent | 1a5577239fdf250e3fde521810339981d90c11c8 (diff) | |
download | gcc-f5d21c4ca15a9423443ce33efb3c9b8ebcde051e.zip gcc-f5d21c4ca15a9423443ce33efb3c9b8ebcde051e.tar.gz gcc-f5d21c4ca15a9423443ce33efb3c9b8ebcde051e.tar.bz2 |
re PR objc/22274 (string[1-4].m, const-str-5.m fails with the gnu runtime)
/objc/ChangeLog]
2005-07-07 Ziemowit Laski <zlaski@apple.com>
PR objc/22274
* objc-act.c (objc_build_string_object): For GNU-style constants,
use the @interface type rather than the built-in type.
[gcc/testsuite/ChangeLog]
2005-07-07 Ziemowit Laski <zlaski@apple.com>
PR objc/22274
* obj-c++.dg/gnu-runtime-[1-2].mm: New.
* objc.dg/gnu-runtime-2.m: New.
From-SVN: r101686
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index c9edce2..6d7b9a4 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,9 @@ +2005-07-07 Ziemowit Laski <zlaski@apple.com> + + PR objc/22274 + * objc-act.c (objc_build_string_object): For GNU-style constants, + use the @interface type rather than the built-in type. + 2005-07-03 Kazu Hirata <kazu@codesourcery.com> * Make-lang.in (cc1plus-checksum.c): Use diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index a3d32d8..48cf707 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -1915,7 +1915,7 @@ objc_build_string_object (tree string) if (!flag_next_runtime) constructor - = objc_add_static_instance (constructor, internal_const_str_type); + = objc_add_static_instance (constructor, constant_string_type); else { var = build_decl (CONST_DECL, NULL, TREE_TYPE (constructor)); |