Re: [PATCH] diagnose bogus assume_aligned attributes (PR 87533)

2018-10-10 Thread Jeff Law
On 10/5/18 4:56 PM, Martin Sebor wrote: > While working on tests for an enhancement in the area of > attributes I noticed that the handler for attribute assume_aligned > (among others) does only a superficial job of detecting meaningless > specifications such as using the attribute on a function 

[PATCH] diagnose bogus assume_aligned attributes (PR 87533)

2018-10-05 Thread Martin Sebor
While working on tests for an enhancement in the area of attributes I noticed that the handler for attribute assume_aligned (among others) does only a superficial job of detecting meaningless specifications such as using the attribute on a function returning void or alignments that aren't powers