* c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
correctly.
From-SVN: r27432
+Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
+
+ * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
+ correctly.
+
Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
* configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
case ps_left:
if (token == NULL_TREE)
- state = (strcmp (string, ")") ? ps_bad : ps_right);
-
+ {
+ /* #pragma pack () resets packing rules to their
+ defaults. */
+ if (strcmp (string, ")") == 0)
+ {
+ align = 0;
+ state = ps_right;
+ }
+ else
+ state = ps_bad;
+ }
else if (TREE_CODE (token) == INTEGER_CST)
goto handle_align;