public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: Thomas Schwinge <thomas@codesourcery.com>,
	       Maxim Ostapenko <m.ostapenko@partner.samsung.com>,
	       "Joseph S. Myers" <joseph@codesourcery.com>
Cc: Jakub Jelinek <jakub@redhat.com>,
	GCC Patches <gcc-patches@gcc.gnu.org>,
	       Yury Gribov <y.gribov@samsung.com>,
	       Slava Garbuzov <v.garbuzov@samsung.com>,
	       Maxim Ostapenko <chefmax7@gmail.com>,
	ian@airs.com, dj@redhat.com,
	       Yuri Gribov <tetra2005@gmail.com>
Subject: Re: [PATCH 2/2] Add patch for debugging compiler ICEs.
Date: Fri, 26 Sep 2014 16:18:00 -0000	[thread overview]
Message-ID: <542591D8.9070103@redhat.com> (raw)
In-Reply-To: <87fvfefrbw.fsf@kepler.schwinge.homeip.net>

On 09/26/14 07:23, Thomas Schwinge wrote:
> Hi!
>
> On Fri, 26 Sep 2014 12:04:45 +0400, Maxim Ostapenko <m.ostapenko@partner.samsung.com> wrote:
>> Thank you all for your help!
>>
>> Done in r215633.
>>
>> -Maxim
>> On 09/25/2014 11:05 PM, Jeff Law wrote:
>>> On 09/23/14 01:14, Maxim Ostapenko wrote:
>>>>
>>>>
>>>> 2014-09-04  Jakub Jelinek<jakub@redhat.com>
>>>>          Max Ostapenko<m.ostapenko@partner.samsung.com>
>>>>
>>>>      * common.opt: New option.
>>>>      * doc/invoke.texi: Describe new option.
>>>>      * gcc.c (execute): Don't free first string early, but at the end
>>>>      of the function.  Call retry_ice if compiler exited with
>>>>      ICE_EXIT_CODE.
>>>>      (main): Factor out common code.
>>>>      (print_configuration): New function.
>>>>      (files_equal_p): Likewise.
>>>>      (check_repro): Likewise.
>>>>      (run_attempt): Likewise.
>>>>      (do_report_bug): Likewise.
>>>>      (append_text): Likewise.
>>>>      (try_generate_repro): Likewise
>>> Approved.  Please install.
>>>
>>> Thanks for your patience,
>>> Jeff
>
> This is causing compiler warnings, respectively bootstrap errors:
>
>      [...]
>      ../../master/gcc/gcc.c: In function 'attempt_status run_attempt(const char**, const char*, const char*, int, int)':
>      ../../master/gcc/gcc.c:6319:15: error: variable 'errmsg' set but not used [-Werror=unused-but-set-variable]
>         const char *errmsg;
>                     ^
>      ../../master/gcc/gcc.c: At global scope:
>      ../../master/gcc/gcc.c:6412:33: error: unused parameter 'prog' [-Werror=unused-parameter]
>       try_generate_repro (const char *prog, const char **argv)
>                                       ^
>      cc1plus: all warnings being treated as errors
>      Makefile:1040: recipe for target 'gcc.o' failed
>      make[3]: *** [gcc.o] Error 1
>      make[3]: Leaving directory '/media/erich/home/thomas/tmp/gcc/hurd/master.build/gcc'
>      Makefile:4285: recipe for target 'all-stage2-gcc' failed
>      make[2]: *** [all-stage2-gcc] Error 2
>      make[2]: Leaving directory '/media/erich/home/thomas/tmp/gcc/hurd/master.build'
>      Makefile:21561: recipe for target 'stage2-bubble' failed
>      make[1]: *** [stage2-bubble] Error 2
>      make[1]: Leaving directory '/media/erich/home/thomas/tmp/gcc/hurd/master.build'
>      Makefile:892: recipe for target 'all' failed
>      make: *** [all] Error 2
>
> OK to fix as follows?  Only compile-tested, did not test the new
> -freport-bug functionality.
[ ... ]
Please construct a ChangeLog and commit.  Thanks.

jeff

  parent reply	other threads:[~2014-09-26 16:18 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-04 17:03 [PATCH] " Maxim Ostapenko
2014-08-12 16:14 ` [PING][PATCH] " Maxim Ostapenko
2014-08-19 13:58 ` Fwd: [PATCH] " Maxim Ostapenko
2014-08-28  7:31   ` [Ping v2][PATCH] " Maxim Ostapenko
2014-09-05 14:16     ` [Ping v3][PATCH] " Maxim Ostapenko
2014-09-09 22:51     ` [Ping v2][PATCH] " Joseph S. Myers
2014-09-10  4:57       ` Jakub Jelinek
2014-09-10 16:37         ` Joseph S. Myers
2014-09-11 16:18           ` [PATCH 1/2] Extend libiberty to allow append stdout and stderr to existing files Maxim Ostapenko
2014-09-11 16:33             ` Ian Lance Taylor
2014-09-11 16:20           ` [PATCH 2/2] Add patch for debugging compiler ICEs Maxim Ostapenko
2014-09-18 15:37             ` [PING] " Maxim Ostapenko
2014-09-18 22:17             ` Joseph S. Myers
2014-09-19  3:33               ` Yury Gribov
2014-09-23  7:15               ` Maxim Ostapenko
2014-09-25 19:05                 ` Jeff Law
2014-09-26  8:04                   ` Maxim Ostapenko
2014-09-26 13:11                     ` Rainer Orth
2014-09-26 13:24                     ` Thomas Schwinge
2014-09-26 13:32                       ` Maxim Ostapenko
2014-09-26 16:18                       ` Jeff Law [this message]
2014-09-26 16:31                         ` Thomas Schwinge
2014-09-26 16:32                           ` Jeff Law
2015-01-23  1:42                     ` H.J. Lu

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=542591D8.9070103@redhat.com \
    --to=law@redhat.com \
    --cc=chefmax7@gmail.com \
    --cc=dj@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=ian@airs.com \
    --cc=jakub@redhat.com \
    --cc=joseph@codesourcery.com \
    --cc=m.ostapenko@partner.samsung.com \
    --cc=tetra2005@gmail.com \
    --cc=thomas@codesourcery.com \
    --cc=v.garbuzov@samsung.com \
    --cc=y.gribov@samsung.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).