re PR objc/17923 (const-str-[34].m fails on the mainline (next runtime))
authorAndrew Pinski <pinskia@physics.uc.edu>
Thu, 21 Oct 2004 16:29:58 +0000 (16:29 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Thu, 21 Oct 2004 16:29:58 +0000 (09:29 -0700)
commit943db34743ced34d1e17686611bc6156a9087b7b
tree9a1e960bf3fcbb05dde5a7d547ebaebe89e75e97
parent5bee567d896ebb2d4ed1e636855b7e2f71832d54
re PR objc/17923 (const-str-[34].m fails on the mainline (next runtime))

2004-10-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/17923
        * tree.c (staticp): A CONST_DECL has static storage if either
        TREE_STATIC or DECL_EXTERNAL is set.
        * c-decl.c (pushdecl_top_level): Accept CONST_DECLs which can
        have null names.

2004-10-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/17923
        * objc-act.c (objc_build_string_object): Create a CONST_DECL
        for the NeXT runtime case.

2004-10-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/17923
        * objc.dg/const-str-7.m: New test.

From-SVN: r89384
gcc/ChangeLog
gcc/c-decl.c
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/objc.dg/const-str-7.m [new file with mode: 0644]
gcc/tree.c