This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/3] improve detection of attribute conflicts (PR 81544)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Cc: Martin Sebor <msebor at gmail dot com>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 5 Apr 2018 09:42:13 +0200
- Subject: Re: [PATCH 1/3] improve detection of attribute conflicts (PR 81544)
- References: <c6c50436-d6f8-69ee-3550-432cd3e32bc7@gmail.com> <alpine.DEB.2.20.1709062317320.29155@digraph.polyomino.org.uk> <cb5c4c9f-a4ee-6488-4a15-8bbd2be46da6@gmail.com> <alpine.DEB.2.20.1709192056310.21037@digraph.polyomino.org.uk> <b2c7fd33-7f73-9df3-6d0e-dad8650ae99c@gmail.com> <c7c9a5f9-14cd-ed75-b670-d60677afc7ed@redhat.com> <afda0db6-2c48-c208-851e-29b283ee6744@linux.vnet.ibm.com> <ac650d03-ca6a-d124-2f8e-869aada4faa5@linux.vnet.ibm.com> <20180404173459.GQ8577@tucnak> <f8a6fae9-2be5-f287-85bb-60061c9e8e8a@linux.vnet.ibm.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Apr 05, 2018 at 09:01:02AM +0200, Andreas Krebbel wrote:
> > Wouldn't it be better to just use aligned (8) and aligned (16) instead of
> > aligned (4) and aligned (8)?
>
> aligned (8) does not trigger the warning anymore. Neither on s390 nor on x86. I don't think there
> is a way to ever see this warning on s390. Values >= 8 would be ok (no warning, no error) and
> values < 8 would trigger the error but not the warning.
Your patch is ok then.
Jakub