public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
@ 2015-07-27 15:58 ktkachov at gcc dot gnu.org
  2015-07-27 16:05 ` [Bug bootstrap/67030] " mpolacek at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-07-27 15:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67030
           Summary: [6 Regression] ARM bootstrap failure due to
                    [-Werror=tautological-compare]
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ktkachov at gcc dot gnu.org
                CC: mpolacek at gcc dot gnu.org
  Target Milestone: ---
            Target: arm

I'm getting a bootstrap failure in stage 2 on arm-none-linux-gnueabihf due to
the new warning:
$SRC/gcc/cfgexpand.c: In function 'long long int expand_one_var(tree, bool,
bool)':
$SRC/gcc/defaults.h:1156:55: error: self-comparison always evaluates to false
[-Werror=tautological-compare]
 #define SUPPORTS_STACK_ALIGNMENT (MAX_STACK_ALIGNMENT > STACK_BOUNDARY)

Seems we need to be a bit smarter when it comes to macro expansions?


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
@ 2015-07-27 16:05 ` mpolacek at gcc dot gnu.org
  2015-07-27 16:08 ` ktkachov at gcc dot gnu.org
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-27 16:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Could you please try whether this patch helps?

diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c
index 6a79b95..9fe9c5e 100644
--- a/gcc/c-family/c-common.c
+++ b/gcc/c-family/c-common.c
@@ -1890,6 +1890,10 @@ warn_tautological_cmp (location_t loc, enum tree_code
code, tree lhs, tree rhs)
   if (TREE_CODE_CLASS (code) != tcc_comparison)
     return;

+  if (from_macro_expansion_at (EXPR_LOCATION (lhs))
+      || from_macro_expansion_at (EXPR_LOCATION (rhs)))
+    return;
+
   /* We do not warn for constants because they are typical of macro
      expansions that test for features, sizeof, and similar.  */
   if (CONSTANT_CLASS_P (lhs) || CONSTANT_CLASS_P (rhs))


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
  2015-07-27 16:05 ` [Bug bootstrap/67030] " mpolacek at gcc dot gnu.org
@ 2015-07-27 16:08 ` ktkachov at gcc dot gnu.org
  2015-07-27 16:43 ` ktkachov at gcc dot gnu.org
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-07-27 16:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from ktkachov at gcc dot gnu.org ---
(In reply to Marek Polacek from comment #1)
> Could you please try whether this patch helps?
> 

Trying it out now...


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
  2015-07-27 16:05 ` [Bug bootstrap/67030] " mpolacek at gcc dot gnu.org
  2015-07-27 16:08 ` ktkachov at gcc dot gnu.org
@ 2015-07-27 16:43 ` ktkachov at gcc dot gnu.org
  2015-07-27 16:51 ` mpolacek at gcc dot gnu.org
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-07-27 16:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from ktkachov at gcc dot gnu.org ---
(In reply to ktkachov from comment #2)
> (In reply to Marek Polacek from comment #1)
> > Could you please try whether this patch helps?
> > 
> 
> Trying it out now...

Unfortunately still getting the error.
One thing I missed out from the original error message is this note:

error: self-comparison always evaluates to false [-Werror=tautological-compare]
 #define SUPPORTS_STACK_ALIGNMENT (MAX_STACK_ALIGNMENT > STACK_BOUNDARY)

$SRC/gcc/cfgexpand.c:1268:7: note: in expansion of macro
'SUPPORTS_STACK_ALIGNMENT'
   if (SUPPORTS_STACK_ALIGNMENT
       ^

Don't know if that helps.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-07-27 16:51 ` mpolacek at gcc dot gnu.org
@ 2015-07-27 16:51 ` mpolacek at gcc dot gnu.org
  2015-07-27 17:01 ` ktkachov at gcc dot gnu.org
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-27 16:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Testcase:

#define A a
#define B A
#define FOO (A > B)
int
main ()
{
  int a = 4;
  if (FOO)
    return 5;
}


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-07-27 16:43 ` ktkachov at gcc dot gnu.org
@ 2015-07-27 16:51 ` mpolacek at gcc dot gnu.org
  2015-07-27 16:51 ` mpolacek at gcc dot gnu.org
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-27 16:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to ktkachov from comment #3)
> Unfortunately still getting the error.

Sorry about that.

> One thing I missed out from the original error message is this note:
> 
> error: self-comparison always evaluates to false
> [-Werror=tautological-compare]
>  #define SUPPORTS_STACK_ALIGNMENT (MAX_STACK_ALIGNMENT > STACK_BOUNDARY)
> 
> $SRC/gcc/cfgexpand.c:1268:7: note: in expansion of macro
> 'SUPPORTS_STACK_ALIGNMENT'
>    if (SUPPORTS_STACK_ALIGNMENT
>        ^
> 
> Don't know if that helps.

Actually, that helps.  I bet the following works.  Mind giving this one a spin?

--- a/gcc/c-family/c-common.c
+++ b/gcc/c-family/c-common.c
@@ -1890,6 +1890,11 @@ warn_tautological_cmp (location_t loc, enum tree_code
code, tree lhs, tree rhs)
   if (TREE_CODE_CLASS (code) != tcc_comparison)
     return;

+  if (from_macro_expansion_at (loc)
+      || from_macro_expansion_at (EXPR_LOCATION (lhs))
+      || from_macro_expansion_at (EXPR_LOCATION (rhs)))
+    return;
+
   /* We do not warn for constants because they are typical of macro
      expansions that test for features, sizeof, and similar.  */
   if (CONSTANT_CLASS_P (lhs) || CONSTANT_CLASS_P (rhs))


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-07-27 16:51 ` mpolacek at gcc dot gnu.org
@ 2015-07-27 17:01 ` ktkachov at gcc dot gnu.org
  2015-07-27 17:09 ` mpolacek at gcc dot gnu.org
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-07-27 17:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from ktkachov at gcc dot gnu.org ---
(In reply to Marek Polacek from comment #4)
> (In reply to ktkachov from comment #3)

> 
> Actually, that helps.  I bet the following works.  Mind giving this one a
> spin?

Yes, that seems to work. Bootstrap proceeds from that point i.e. cfgexpand.c
compiles.

I have to go offline for the day, so I'll have the full bootstrap result
tomorrow but from what I can see this is an obvious fix (to my limited C
frontend experience) and it would be nice to have it in ASAP to fix arm
bootstrap.

Thanks for the quick response.

> 
> --- a/gcc/c-family/c-common.c
> +++ b/gcc/c-family/c-common.c
> @@ -1890,6 +1890,11 @@ warn_tautological_cmp (location_t loc, enum tree_code
> code, tree lhs, tree rhs)
>    if (TREE_CODE_CLASS (code) != tcc_comparison)
>      return;
>  
> +  if (from_macro_expansion_at (loc)
> +      || from_macro_expansion_at (EXPR_LOCATION (lhs))
> +      || from_macro_expansion_at (EXPR_LOCATION (rhs)))
> +    return;
> +
>    /* We do not warn for constants because they are typical of macro
>       expansions that test for features, sizeof, and similar.  */
>    if (CONSTANT_CLASS_P (lhs) || CONSTANT_CLASS_P (rhs))


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2015-07-27 17:01 ` ktkachov at gcc dot gnu.org
@ 2015-07-27 17:09 ` mpolacek at gcc dot gnu.org
  2015-07-27 17:31 ` vries at gcc dot gnu.org
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-27 17:09 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-07-27
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |6.0
     Ever confirmed|0                           |1

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to ktkachov from comment #6)
> Yes, that seems to work. Bootstrap proceeds from that point i.e. cfgexpand.c
> compiles.
> 
> I have to go offline for the day, so I'll have the full bootstrap result
> tomorrow but from what I can see this is an obvious fix (to my limited C
> frontend experience) and it would be nice to have it in ASAP to fix arm
> bootstrap.

Thanks, glad to hear that.  I'll commit the patch after doing some testing on
x86_64 (give me ~2 hours).


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2015-07-27 17:09 ` mpolacek at gcc dot gnu.org
@ 2015-07-27 17:31 ` vries at gcc dot gnu.org
  2015-07-27 19:10 ` mpolacek at gcc dot gnu.org
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: vries at gcc dot gnu.org @ 2015-07-27 17:31 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 5445 bytes --]

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

vries at gcc dot gnu.org changed:

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

--- Comment #8 from vries at gcc dot gnu.org ---
FYI, I'm running into this bootstrap failure on x86_64 (r226251):
...
src/gcc/ipa-devirt.c: In function ‘bool types_same_for_odr(const_tree,
const_tree, bool)’:
src/gcc/ipa-devirt.c:553:8: error: self-comparison always evaluates to false
[-Werror=tautological-compare]
        != (TYPE_BINFO (type1) == NULL_TREE))
...
>From gcc-bugs-return-493479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 27 18:20:18 2015
Return-Path: <gcc-bugs-return-493479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57913 invoked by alias); 27 Jul 2015 18:20:18 -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 56733 invoked by uid 48); 27 Jul 2015 18:20:13 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
Date: Mon, 27 Jul 2015 18:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-67030-4-gyWWp0gPG5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67030-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67030-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-07/txt/msg02369.txt.bz2
Content-length: 859

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

--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to vries from comment #8)
> FYI, I'm running into this bootstrap failure on x86_64 (r226251):

Weird I don't see this myself.

> ...
> src/gcc/ipa-devirt.c: In function ‘bool types_same_for_odr(const_tree,
> const_tree, bool)’:
> src/gcc/ipa-devirt.c:553:8: error: self-comparison always evaluates to false
> [-Werror=tautological-compare]
>         != (TYPE_BINFO (type1) == NULL_TREE))
> ...

 551       if (TREE_CODE (type1) == RECORD_TYPE
 552           && (TYPE_BINFO (type1) == NULL_TREE)
 553               != (TYPE_BINFO (type1) == NULL_TREE))

Ok, that's a clear typo; something that this warning is designed to detect. 
I'm fixing this separately.  Thanks for reporting.
>From gcc-bugs-return-493480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 27 18:43:52 2015
Return-Path: <gcc-bugs-return-493480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97308 invoked by alias); 27 Jul 2015 18:43:52 -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 97271 invoked by uid 48); 27 Jul 2015 18:43:48 -0000
From: "ziebell_marco at posteo dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/67029] gcc-5.2.0 unable to find a register to spill with O3 fsched-pressure fschedule-insns
Date: Mon, 27 Jul 2015 18:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 5.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ziebell_marco at posteo dot de
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-67029-4-cAwieG7ifV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67029-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67029-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: 2015-07/txt/msg02370.txt.bz2
Content-length: 241

https://gcc.gnu.org/bugzilla/show_bug.cgi?idg029

--- Comment #4 from ziebell_marco at posteo dot de ---
Created attachment 36070
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id6070&actioníit
preprocessed version of addressmap.c


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2015-07-27 17:31 ` vries at gcc dot gnu.org
@ 2015-07-27 19:10 ` mpolacek at gcc dot gnu.org
  2015-07-27 19:15 ` mpolacek at gcc dot gnu.org
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-27 19:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon Jul 27 19:09:27 2015
New Revision: 226264

URL: https://gcc.gnu.org/viewcvs?rev=226264&root=gcc&view=rev
Log:
        PR bootstrap/67030
        * c-common.c (warn_tautological_cmp): Don't warn for macro expansion.

        * c-c++-common/Wtautological-compare-2.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/Wtautological-compare-2.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2015-07-27 19:10 ` mpolacek at gcc dot gnu.org
@ 2015-07-27 19:15 ` mpolacek at gcc dot gnu.org
  2015-07-27 19:22 ` christian.joensson at gmail dot com
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-27 19:15 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed (fingers crossed).


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2015-07-27 19:15 ` mpolacek at gcc dot gnu.org
@ 2015-07-27 19:22 ` christian.joensson at gmail dot com
  2015-07-27 19:37 ` mpolacek at gcc dot gnu.org
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: christian.joensson at gmail dot com @ 2015-07-27 19:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Christian Joensson <christian.joensson at gmail dot com> ---
Still...
../../gcc/ipa-devirt.c: In function ‘bool types_same_for_odr(const_tree,
const_tree, bool ’:
../../gcc/ipa-devirt.c:553:8: error: self-comparison always evaluates to false
[-Werror=tautological-compare]
        != (TYPE_BINFO (type1) == NULL_TREE))
        ^
>From gcc-bugs-return-493487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jul 27 19:26:46 2015
Return-Path: <gcc-bugs-return-493487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85619 invoked by alias); 27 Jul 2015 19:26:45 -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 85567 invoked by uid 48); 27 Jul 2015 19:26:42 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/67028] combine bug. Different assumptions about subreg in different places.
Date: Mon, 27 Jul 2015 19:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-67028-4-hY4QzEnhAi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67028-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67028-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: 2015-07/txt/msg02377.txt.bz2
Content-length: 475

https://gcc.gnu.org/bugzilla/show_bug.cgi?idg028

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|renlin at gcc dot gnu.org          |segher at gcc dot gnu.org

--- Comment #4 from Segher Boessenkool <segher at gcc dot gnu.org> ---
I'm testing a patch.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2015-07-27 19:22 ` christian.joensson at gmail dot com
@ 2015-07-27 19:37 ` mpolacek at gcc dot gnu.org
  2015-07-27 19:42 ` christian.joensson at gmail dot com
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-27 19:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
That is fixed as well now.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
                   ` (11 preceding siblings ...)
  2015-07-27 19:37 ` mpolacek at gcc dot gnu.org
@ 2015-07-27 19:42 ` christian.joensson at gmail dot com
  2015-07-28  8:14 ` ktkachov at gcc dot gnu.org
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: christian.joensson at gmail dot com @ 2015-07-27 19:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 from Christian Joensson <christian.joensson at gmail dot com> ---
(In reply to Marek Polacek from comment #13)
> That is fixed as well now.

Yep. Thanks.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
                   ` (12 preceding siblings ...)
  2015-07-27 19:42 ` christian.joensson at gmail dot com
@ 2015-07-28  8:14 ` ktkachov at gcc dot gnu.org
  2015-07-28  8:24 ` mpolacek at gcc dot gnu.org
  2015-07-28 16:57 ` ktkachov at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-07-28  8:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from ktkachov at gcc dot gnu.org ---
Yeah, that problem is fixed.
Now bootstrap fails due to:
gcc/vec.h:307:3: error: attempt to free a non-heap object 'intersecting'
[-Werror=free-nonheap-object]
   ::free (v);
   ^


But that must be a different problem.
Will analyze and file a separate PR...


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
                   ` (13 preceding siblings ...)
  2015-07-28  8:14 ` ktkachov at gcc dot gnu.org
@ 2015-07-28  8:24 ` mpolacek at gcc dot gnu.org
  2015-07-28 16:57 ` ktkachov at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-28  8:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #16 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Yeah, that doesn't look related to this warning at all.  Thanks for checking.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
  2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
                   ` (14 preceding siblings ...)
  2015-07-28  8:24 ` mpolacek at gcc dot gnu.org
@ 2015-07-28 16:57 ` ktkachov at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2015-07-28 16:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #17 from ktkachov at gcc dot gnu.org ---
(In reply to Marek Polacek from comment #16)
> Yeah, that doesn't look related to this warning at all.  Thanks for checking.

Yeah, turns out that was due to a private patch of mine.
Clean trunk bootstraps ok.
Sorry for the noise.


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-07-28 16:57 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-27 15:58 [Bug bootstrap/67030] New: [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare] ktkachov at gcc dot gnu.org
2015-07-27 16:05 ` [Bug bootstrap/67030] " mpolacek at gcc dot gnu.org
2015-07-27 16:08 ` ktkachov at gcc dot gnu.org
2015-07-27 16:43 ` ktkachov at gcc dot gnu.org
2015-07-27 16:51 ` mpolacek at gcc dot gnu.org
2015-07-27 16:51 ` mpolacek at gcc dot gnu.org
2015-07-27 17:01 ` ktkachov at gcc dot gnu.org
2015-07-27 17:09 ` mpolacek at gcc dot gnu.org
2015-07-27 17:31 ` vries at gcc dot gnu.org
2015-07-27 19:10 ` mpolacek at gcc dot gnu.org
2015-07-27 19:15 ` mpolacek at gcc dot gnu.org
2015-07-27 19:22 ` christian.joensson at gmail dot com
2015-07-27 19:37 ` mpolacek at gcc dot gnu.org
2015-07-27 19:42 ` christian.joensson at gmail dot com
2015-07-28  8:14 ` ktkachov at gcc dot gnu.org
2015-07-28  8:24 ` mpolacek at gcc dot gnu.org
2015-07-28 16:57 ` ktkachov at gcc dot gnu.org

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).