public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "H. J. Lu" <hjl@lucon.org>
To: gcc-patches@gcc.gnu.org
Subject: Re: PATCH: PR bootstrap/30510: Gcc failed to bootstrap
Date: Tue, 23 Jan 2007 14:02:00 -0000	[thread overview]
Message-ID: <20070123140153.GA32177@lucon.org> (raw)
In-Reply-To: <20070120023310.GB5307@lucon.org>

On Fri, Jan 19, 2007 at 06:33:10PM -0800, H. J. Lu wrote:
> This patch initializes 2 variables before using them. Works on
> Linux/x86-64.
> 

This is the updated patch.

H.J.
----
cp/

2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/30510
	* parser.c (cp_parser_class_specifier): Initialize bases.

fortran/

2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/30510
	* resolve.c (resolve_function): Initialize name.

--- gcc/cp/parser.c.uninit	2007-01-11 07:48:10.000000000 -0800
+++ gcc/cp/parser.c	2007-01-22 07:54:29.000000000 -0800
@@ -13203,7 +13203,7 @@ cp_parser_class_specifier (cp_parser* pa
   bool saved_in_function_body;
   tree old_scope = NULL_TREE;
   tree scope = NULL_TREE;
-  tree bases;
+  tree bases = NULL_TREE;
 
   push_deferring_access_checks (dk_no_deferred);
 
--- gcc/fortran/resolve.c.uninit	2007-01-22 07:51:32.000000000 -0800
+++ gcc/fortran/resolve.c	2007-01-22 07:55:39.000000000 -0800
@@ -1524,7 +1524,7 @@ resolve_function (gfc_expr *expr)
 {
   gfc_actual_arglist *arg;
   gfc_symbol *sym;
-  const char *name;
+  const char *name = NULL;
   try t;
   int temp;
   procedure_type p = PROC_INTRINSIC;

  reply	other threads:[~2007-01-23 14:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-20  2:33 H. J. Lu
2007-01-23 14:02 ` H. J. Lu [this message]
2007-02-05 16:47   ` Meissner, Michael

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=20070123140153.GA32177@lucon.org \
    --to=hjl@lucon.org \
    --cc=gcc-patches@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).