]> gcc.gnu.org Git - gcc.git/commit - gcc/testsuite/ChangeLog
objc-act.c (objc_add_static_instance): Set DECL_INITIAL and DECL_DEFER_OUTPUT on...
authorZack Weinberg <zack@gcc.gnu.org>
Tue, 6 Mar 2001 10:04:54 +0000 (10:04 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Tue, 6 Mar 2001 10:04:54 +0000 (10:04 +0000)
commit69f8cbfaa92e236bf8b7841403d23e07fb113494
treec7b3a28a926f9e64d20cdaac03ad76793baa4910
parent1f50aafb85ecf587bc0e03864e9c4f67e762b279
objc-act.c (objc_add_static_instance): Set DECL_INITIAL and DECL_DEFER_OUTPUT on the decl we create...

* objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL
and DECL_DEFER_OUTPUT on the decl we create, before calling
rest_of_decl_compilation.
testsuite:
        * objc/execute/string1.m, objc/execute/string2.m: Compare the
        result of -cString against what we expect it to be; don't just
        print it out for no one to read.

* objc/execute/string3.m, objc/execute/string4.m: New tests.
Based on testcases provided by Nicola Pero.

From-SVN: r40261
gcc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/objc/execute/string1.m
gcc/testsuite/objc/execute/string2.m
gcc/testsuite/objc/execute/string3.m [new file with mode: 0644]
gcc/testsuite/objc/execute/string4.m [new file with mode: 0644]
This page took 0.053325 seconds and 5 git commands to generate.