> On Oct 29, 2018, at 11:18 AM, Paul Koning <paulkon...@comcast.net> 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 "aligned" in their title are: 87524, 84185,
>> 82914, 81566, 69502, 65055, 61939).  In my view, silently ignoring
>> problems without as much as a warning is a bug.  But whether they
>> should result in warnings or errors can be debated on a case by
>> case basis.  For instance, it might be appropriate to give
>> an error when a negative alignment is specified but just a warning
>> when the specified alignment is less than the minimum for the symbol
>> for the target.  For the case you mention I think an argument could
>> be for either, but given the check_user_alignment handling I'd say
>> an error would seem to be in line with the current practice.
>> 
>> Martin
> 
> Ok, I'll enter a PR. 

Done.  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87795

        paul


Reply via email to