Commit 90b2952f by Tristan Gingold Committed by Tristan Gingold

vms-c.c (vms_pragma_nomember_alignment): Handle 'byte' alignment.

2012-04-03  Tristan Gingold  <gingold@adacore.com>

	* config/vms/vms-c.c (vms_pragma_nomember_alignment): Handle
	'byte' alignment.
	(vms_c_common_override_options): Allow parameterless variadic
	functions.

From-SVN: r186102
parent 8a1da634
2012-04-03 Tristan Gingold <gingold@adacore.com>
* config/vms/vms-c.c (vms_pragma_nomember_alignment): Handle
'byte' alignment.
(vms_c_common_override_options): Allow parameterless variadic
functions.
2012-04-03 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/52835
......
......@@ -120,7 +120,9 @@ vms_pragma_nomember_alignment (cpp_reader *pfile ATTRIBUTE_UNUSED)
if (arg[0] == '_' && arg[1] == '_')
arg += 2;
if (strcmp (arg, "word") == 0)
if (strcmp (arg, "byte") == 0)
maximum_field_alignment = 1 * BITS_PER_UNIT;
else if (strcmp (arg, "word") == 0)
maximum_field_alignment = 2 * BITS_PER_UNIT;
else if (strcmp (arg, "longword") == 0)
maximum_field_alignment = 4 * BITS_PER_UNIT;
......@@ -453,6 +455,9 @@ vms_c_register_includes (const char *sysroot,
void
vms_c_common_override_options (void)
{
/* Allow variadic functions without parameters (as declared in starlet). */
flag_allow_parameterless_variadic_functions = TRUE;
/* Initialize c_default_pointer_mode. */
switch (flag_vms_pointer_size)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment