Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Manish Goregaokar <manish@mozilla.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] Initialize strtok_r's saveptr to NULL
Date: Wed, 29 Jun 2016 15:55:00 -0000	[thread overview]
Message-ID: <1e5e845a-9e46-59a8-bd7f-38cdff165b29@redhat.com> (raw)
In-Reply-To: <faa72bac-65a0-ad08-b00c-ae95c2ec44f6@redhat.com>

On 06/29/2016 03:25 PM, Pedro Alves wrote:
> gcc 7 shows a bit more detail, though it's still not very clear:
> 
> /home/pedro/gdb/mygit/src/gdb/rust-lang.c: In function ‘rust_get_disr_info.isra.5’:
> /home/pedro/gdb/mygit/src/gdb/rust-lang.c:173:15: error: ‘__s’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
>     ret.name = concat (TYPE_NAME (type), "::", token, (char *) NULL);
>                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> 
> 
> The mention of "__s" is a hint.

Filed this one as:

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

Thanks,
Pedro Alves


      parent reply	other threads:[~2016-06-29 15:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29 12:45 Manish Goregaokar
2016-06-29 14:25 ` Pedro Alves
2016-06-29 14:42   ` Manish Goregaokar
2016-06-29 15:12     ` Pedro Alves
2016-06-29 15:30       ` Manish Goregaokar
2016-06-29 15:55   ` Pedro Alves [this message]

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=1e5e845a-9e46-59a8-bd7f-38cdff165b29@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=manish@mozilla.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