Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: "gdb-patches@sourceware.org ml" <gdb-patches@sourceware.org>
Subject: Re: Testsuite regression gdb.cp/converts.exp  [Re: [RFA] gdb/13483]
Date: Wed, 12 Sep 2012 19:38:00 -0000	[thread overview]
Message-ID: <5050E4A4.2080600@redhat.com> (raw)
In-Reply-To: <20120911054549.GA25093@host2.jankratochvil.net>

On 09/10/2012 10:45 PM, Jan Kratochvil wrote:
> on CentOS-5:
>
>   Running gdb/testsuite/gdb.cp/converts.exp ...
> -PASS: gdb.cp/converts.exp: continue to breakpoint: end of main
> [...]
> -PASS: gdb.cp/converts.exp: p foo3_2 (1,1)
> +gdb compile failed, gdb/testsuite/gdb.cp/converts.cc: In function 'int main()':
> +gdb/testsuite/gdb.cp/converts.cc:81: warning: the address of 'int foo1_7(bool)', will always evaluate as 'true'
> +UNTESTED: gdb.cp/converts.exp: converts.exp

My guess is an older compiler. Since none of these function calls is 
really necessary (well, one probably is necessary to make sure foo1_7 
isn't optimized away), I propose just deleting the offending line.

What do you think?
Keith


  parent reply	other threads:[~2012-09-12 19:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-31 21:06 [RFA] gdb/13483 Keith Seitz
2012-09-10 15:31 ` Tom Tromey
2012-09-10 17:33   ` Keith Seitz
     [not found]     ` <20120911054549.GA25093@host2.jankratochvil.net>
2012-09-12 19:38       ` Keith Seitz [this message]
2012-09-12 19:59         ` Testsuite regression gdb.cp/converts.exp [Re: [RFA] gdb/13483] Jan Kratochvil
2012-09-12 23:29           ` Keith Seitz
2012-09-16 17:32             ` [commit] gdb.cp/converts.exp FAIL on gcc-4.1 [Re: Testsuite regression gdb.cp/converts.exp [Re: [RFA] gdb/13483]] Jan Kratochvil

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=5050E4A4.2080600@redhat.com \
    --to=keiths@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    /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