Re: "aligned" attribute with too-large argument

2018-10-29 Thread Paul Koning
> On Oct 29, 2018, at 4:08 PM, Martin Sebor wrote: > > On 10/29/2018 09:19 AM, Paul Koning wrote: >> >> >>> On Oct 29, 2018, at 10:54 AM, Martin Sebor wrote: >>> >>> On 10/29/2018 07:45 AM, Paul Koning wrote: I noticed an inconsistency in the handling of the aligned attribute. When

Re: "aligned" attribute with too-large argument

2018-10-29 Thread Martin Sebor
On 10/29/2018 09:19 AM, Paul Koning wrote: On Oct 29, 2018, at 10:54 AM, Martin Sebor wrote: On 10/29/2018 07:45 AM, Paul Koning wrote: 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

Re: "aligned" attribute with too-large argument

2018-10-29 Thread Paul Koning
> On Oct 29, 2018, at 11:18 AM, Paul Koning wrote: > > ... > >> That said, attribute problems aren't handled perfectly consistently >> in GCC. Some result in errors, others in warnings, and some are >> silently ignored. I've been tracking the problems I notice in >> Bugzilla (those with "al

Re: "aligned" attribute with too-large argument

2018-10-29 Thread Paul Koning
> On Oct 29, 2018, at 10:54 AM, Martin Sebor wrote: > > On 10/29/2018 07:45 AM, Paul Koning wrote: >> 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

Re: "aligned" attribute with too-large argument

2018-10-29 Thread Paul Koning
> On Oct 29, 2018, at 10:54 AM, Martin Sebor wrote: > > On 10/29/2018 07:45 AM, Paul Koning wrote: >> 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 applie

Re: "aligned" attribute with too-large argument

2018-10-29 Thread Martin Sebor
On 10/29/2018 07:45 AM, Paul Koning wrote: 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