public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Marek Polacek <polacek@redhat.com>
To: David Edelsohn <dje.gcc@gmail.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [C/C++ PATCH] Implement -Wshift-overflow (PR c++/55095) (take 3)
Date: Wed, 22 Jul 2015 12:51:00 -0000	[thread overview]
Message-ID: <20150722123913.GC3335@redhat.com> (raw)
In-Reply-To: <CAGWvnynW+O89NaZdsYM3vKB5dncxE4fztvMQH6N7GLjLDGEX-g@mail.gmail.com>

On Wed, Jul 22, 2015 at 08:35:12AM -0400, David Edelsohn wrote:
> On Tue, Jul 21, 2015 at 5:59 AM, Marek Polacek <polacek@redhat.com> wrote:
> > On Mon, Jul 20, 2015 at 04:23:08PM -0400, David Edelsohn wrote:
> >> This seems to have caused a number of new failures in the PPC
> >> testsuite for vmx/unpack.
> >
> > Sorry about that.  Should be fixed with this patch I'm about to commit.
> >
> > 2015-07-21  Marek Polacek  <polacek@redhat.com>
> >
> >         * gcc.dg/vmx/unpack-be-order.c: Use -Wno-shift-overflow.
> >         * gcc.dg/vmx/unpack.c: Likewise.
> 
> This doesn't fully fix the failures.
 
Ouch.  What other failures do you see?  I've tried the patch on ppc64-linux
and didn't see any others.

It'd be very weird to see -Wshift-overflow warnings when -Wno-shift-overflow
is in effect.

> > --- gcc/testsuite/gcc.dg/vmx/unpack.c
> > +++ gcc/testsuite/gcc.dg/vmx/unpack.c
> > @@ -1,3 +1,5 @@
> > +/* { dg-options "-Wno-shift-overflow" } */
> > +
> 
> Should this be dg-additional-options ?

I did what was in gcc.dg/vmx/unpack-be-order.c, i.e. dg-options.  Or does
using dg-additional-options help?

	Marek

  reply	other threads:[~2015-07-22 12:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-20 20:40 David Edelsohn
2015-07-21 10:11 ` Marek Polacek
2015-07-22 12:48   ` David Edelsohn
2015-07-22 12:51     ` Marek Polacek [this message]
2015-07-22 12:52       ` Segher Boessenkool
2015-07-22 17:01         ` Marek Polacek
  -- strict thread matches above, loose matches on Subject: below --
2015-05-25 20:12 [C/C++ PATCH] Implement -Wshift-overflow (PR c++/55095) Marek Polacek
2015-05-29 21:25 ` Joseph Myers
2015-06-02 19:26   ` [C/C++ PATCH] Implement -Wshift-overflow (PR c++/55095) (take 2) Marek Polacek
2015-06-03 13:07     ` [C/C++ PATCH] Implement -Wshift-overflow (PR c++/55095) (take 3) Marek Polacek
2015-06-04 21:05       ` Joseph Myers
2015-06-05  9:42         ` Marek Polacek
2015-06-12  9:08           ` Marek Polacek
2015-06-19 10:51             ` Marek Polacek
2015-06-26  8:36               ` Marek Polacek
2015-07-03  7:42                 ` Marek Polacek
2015-07-10 13:23                   ` Marek Polacek
2015-07-17  8:32                     ` Marek Polacek
2015-07-17 23:01                       ` Jeff Law
2015-07-20 14:19                         ` Marek Polacek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150722123913.GC3335@redhat.com \
    --to=polacek@redhat.com \
    --cc=dje.gcc@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).