re PR target/33963 (Dllimport attribute wrongly accepted on typedefs)
authorJoseph Myers <joseph@codesourcery.com>
Thu, 28 Feb 2008 12:34:51 +0000 (12:34 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 28 Feb 2008 12:34:51 +0000 (12:34 +0000)
commitdde75838e94cc9b22bc6210802b1849b2ae3f3cf
tree345264f0e404c67990b05d749225e247268f4cb1
parent3b3024215fae5daf1db2634fe070061837947458
re PR target/33963 (Dllimport attribute wrongly accepted on typedefs)

PR target/33963
* tree.c (handle_dll_attribute): Disallow TYPE_DECLs for types
other than structures and unions.

From-SVN: r132744
gcc/ChangeLog
gcc/tree.c