public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/60759] -Wlogical-op should perhaps warn about two-way implicit conversions
Date: Fri, 04 Apr 2014 14:59:00 -0000	[thread overview]
Message-ID: <bug-60759-4-KQKWJDhLva@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-60759-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60759

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #1)
> We could perhaps implement clang's -Wconstant-logical-operand, but I must
> say I don't like it very much.

So work on something that you like, there so much to do in GCC, that you can be
choosy ;-) In particular, Wlogical-op is not enabled by Wextra because of some
known bugs. If those were fixed it would be extremely more useful than adding
more stuff to it.

What does Wconstant-logical-operand do?
>From gcc-bugs-return-448298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 04 15:03:20 2014
Return-Path: <gcc-bugs-return-448298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29127 invoked by alias); 4 Apr 2014 15:03:20 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 28512 invoked by uid 55); 4 Apr 2014 15:03:11 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/60203] Support long double/_Decimal128 direct move on power8
Date: Fri, 04 Apr 2014 15:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: meissner at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-60203-4-S9Fn38wlNE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60203-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60203-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-04/txt/msg00318.txt.bz2
Content-length: 2359

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`203

--- Comment #8 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Author: wschmidt
Date: Fri Apr  4 15:02:38 2014
New Revision: 209111

URL: http://gcc.gnu.org/viewcvs?rev 9111&root=gcc&view=rev
Log:
[gcc]

2014-04-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

    Backport from mainline r207699.
    2014-02-11  Michael Meissner  <meissner@linux.vnet.ibm.com>

    PR target/60137
    * config/rs6000/rs6000.md (128-bit GPR splitter): Add a splitter
    for VSX/Altivec vectors that land in GPR registers.

    Backport from mainline r207808.
    2014-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>

    PR target/60203
    * config/rs6000/rs6000.md (rreg): Add TFmode, TDmode constraints.
    (mov<mode>_internal, TFmode/TDmode): Split TFmode/TDmode moves
    into 64-bit and 32-bit moves.  On 64-bit moves, add support for
    using direct move instructions on ISA 2.07.  Also adjust
    instruction length for 64-bit.
    (mov<mode>_64bit, TFmode/TDmode): Likewise.
    (mov<mode>_32bit, TFmode/TDmode): Likewise.

    Backport from mainline r207868.
    2014-02-18  Michael Meissner  <meissner@linux.vnet.ibm.com>

    PR target/60203
    * config/rs6000/rs6000.md (mov<mode>_64bit, TF/TDmode moves):
    Split 64-bit moves into 2 patterns.  Do not allow the use of
    direct move for TDmode in little endian, since the decimal value
    has little endian bytes within a word, but the 64-bit pieces are
    ordered in a big endian fashion, and normal subreg's of TDmode are
    not allowed.
    (mov<mode>_64bit_dm): Likewise.
    (movtd_64bit_nodm): Likewise.

[gcc/testsuite]

2014-04-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

    Backport from mainline r207699.
    2014-02-11  Michael Meissner  <meissner@linux.vnet.ibm.com>

    PR target/60137
    * gcc.target/powerpc/pr60137.c: New file.

    Backport from mainline r207808.
    2014-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>

    PR target/60203
    * gcc.target/powerpc/pr60203.c: New testsuite.


Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/powerpc/pr60137.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/powerpc/pr60203.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/config/rs6000/rs6000.md
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2014-04-04 14:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-04 14:30 [Bug c/60759] New: " giuliano.procida at googlemail dot com
2014-04-04 14:49 ` [Bug c/60759] " mpolacek at gcc dot gnu.org
2014-04-04 14:59 ` manu at gcc dot gnu.org [this message]
2014-04-07 13:46 ` giuliano.procida at googlemail dot com
2021-02-04 18:28 ` [Bug c/60759] improve -Wlogical-op vincent-gcc at vinc17 dot net
2021-02-05  8:57 ` lopezibanez at gmail dot com
2021-02-05  9:32 ` vincent-gcc at vinc17 dot net

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=bug-60759-4-KQKWJDhLva@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).