Commit 7825d1cf by Richard Sandiford Committed by Richard Sandiford

extend.texi: Remove old claim that typedefs cannot have an alignment attribute.

	* doc/extend.texi: Remove old claim that typedefs cannot have
	an alignment attribute.

From-SVN: r52180
parent ab50d72b
2002-04-11 Richard Sandiford <rsand
* doc/extend.texi: Remove old claim that typedefs cannot have
an alignment attribute.
2002-04-11 Jakub Jelinek <jakub@redhat.com> 2002-04-11 Jakub Jelinek <jakub@redhat.com>
PR optimization/6177 PR optimization/6177
......
...@@ -2866,11 +2866,6 @@ struct foo @{ int x[2] __attribute__ ((aligned (8))); @}; ...@@ -2866,11 +2866,6 @@ struct foo @{ int x[2] __attribute__ ((aligned (8))); @};
This is an alternative to creating a union with a @code{double} member This is an alternative to creating a union with a @code{double} member
that forces the union to be double-word aligned. that forces the union to be double-word aligned.
It is not possible to specify the alignment of functions; the alignment
of functions is determined by the machine's requirements and cannot be
changed. You cannot specify alignment for a typedef name because such a
name is just an alias, not a distinct type.
As in the preceding examples, you can explicitly specify the alignment As in the preceding examples, you can explicitly specify the alignment
(in bytes) that you wish the compiler to use for a given variable or (in bytes) that you wish the compiler to use for a given variable or
structure field. Alternatively, you can leave out the alignment factor structure field. Alternatively, you can leave out the alignment factor
......
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