"aligned" attribute with too-large argument
Paul Koning
paulkoning@comcast.net
Mon Oct 29 13:45:00 GMT 2018
I noticed an inconsistency in the handling of the aligned attribute. When applied to variables, I get an error message if the alignment is too large for the platform. But when applied to functions, there is no error check. The same applies to label alignment (from the -falign-labels switch).
The result is an ICE in my target code because it is asked to output assembly language for an alignment not supported by the target.
Should these cases also produce error messages? Or should the back end ignore attempts to align too much?
paul
More information about the Gcc
mailing list