]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR objc/30479 (Precompiled headers don't seem to work with GNU ObjC)
authorAndrew Pinski <pinskia@gmail.com>
Sun, 21 Jan 2007 06:51:07 +0000 (22:51 -0800)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sun, 21 Jan 2007 06:51:07 +0000 (22:51 -0800)
commitd2f9f9a62d25b0d4f358952430664c76a86967e9
tree082440aebef934d380dad11831fe7fc3c40506e4
parent78681dbdee7e724104d79eca9fc0e2eaeaf8eae2
re PR objc/30479 (Precompiled headers don't seem to work with GNU ObjC)

2007-01-20  Andrew Pinski  <pinskia@gmail.com>

        PR objc/30479
        * objc-act.c (hash_interface): Use IDENTIFIER_HASH_VALUE instead
        of htab_hash_pointer.
        (lookup_interface): Likewise.
        (add_class): Likewise.

2007-01-20  Andrew Pinski  <pinskia@gmail.com>

        PR objc/30479
        * objc.dg/pch: New directory.
        * objc.dg/pch/pch.exp: New file.
        * objc.dg/pch/interface-1.m: New test.
        * objc.dg/pch/interface-1.hs: New include file.
        * lib/objc.exp (objc_target_compile): Add
        "-x objective-c-header" in front of the sources if this is
        a precompiled header being compiled.

From-SVN: r121024
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/lib/objc.exp
gcc/testsuite/objc.dg/pch/interface-1.hs [new file with mode: 0644]
gcc/testsuite/objc.dg/pch/interface-1.m [new file with mode: 0644]
gcc/testsuite/objc.dg/pch/pch.exp [new file with mode: 0644]