i386.c (ix86_attribute_table): Correct min_len, max_len fields for dllimport, dllexpo...
authorDanny Smith <danny_r_smith_2001@yahoo.co.nz>
Wed, 10 Oct 2001 00:20:11 +0000 (00:20 +0000)
committerDJ Delorie <dj@gcc.gnu.org>
Wed, 10 Oct 2001 00:20:11 +0000 (20:20 -0400)
* config/i386/i386.c (ix86_attribute_table): Correct
min_len, max_len fields for dllimport, dllexport and shared.

From-SVN: r46137

gcc/ChangeLog
gcc/config/i386/i386.c

index 2c7593df3a28ca26ff94b1526c958a94e9f3b4ac..4606ba77038e7d415bd5b069979e2f5fdf0dcb32 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-09  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
+
+       * config/i386/i386.c (ix86_attribute_table): Correct 
+       min_len, max_len fields for dllimport, dllexport and shared.
+
 2001-10-10  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
index 933459a2c8f6697004786f389d00c91ccb098909..f5110d5e037d6e8da0830ca57802512261195f29 100644 (file)
@@ -1061,9 +1061,9 @@ const struct attribute_spec ix86_attribute_table[] =
      passed in registers.  */
   { "regparm",   1, 1, false, true,  true,  ix86_handle_regparm_attribute },
 #ifdef TARGET_DLLIMPORT_DECL_ATTRIBUTES
-  { "dllimport", 1, 1, false, false, false, ix86_handle_dll_attribute },
-  { "dllexport", 1, 1, false, false, false, ix86_handle_dll_attribute },
-  { "shared",    1, 1, true,  false, false, ix86_handle_shared_attribute },
+  { "dllimport", 0, 0, false, false, false, ix86_handle_dll_attribute },
+  { "dllexport", 0, 0, false, false, false, ix86_handle_dll_attribute },
+  { "shared",    0, 0, true,  false, false, ix86_handle_shared_attribute },
 #endif
   { NULL,        0, 0, false, false, false, NULL }
 };