public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bonzini at gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/40952] version 150336 broke bootstrap on ia64-hp-hpux11.23
Date: Mon, 10 Aug 2009 20:10:00 -0000	[thread overview]
Message-ID: <20090810200955.6060.qmail@sourceware.org> (raw)
In-Reply-To: <bug-40952-3107@http.gcc.gnu.org/bugzilla/>



------- Comment #20 from bonzini at gnu dot org  2009-08-10 20:09 -------
Created an attachment (id=18337)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18337&action=view)
patch fixing hpux differences

This patch squashes in the following too.  It is a stupid used-uninitialized
bug that was not signaled because unsignedp is passed by reference to
promote_function_mode.

Index: gcc/stmt.c
===================================================================
--- gcc/stmt.c  (branch promote-function-mode2)
+++ gcc/stmt.c  (working copy)
@@ -1517,8 +1517,8 @@ expand_value_return (rtx val)
   rtx return_reg = DECL_RTL (decl);
   if (return_reg != val)
     {
-      int unsignedp;
       tree funtype = TREE_TYPE (current_function_decl);
       tree type = TREE_TYPE (decl);
+      int unsignedp = TYPE_UNSIGNED (type);
       enum machine_mode old_mode = DECL_MODE (decl);
       enum machine_mode mode = promote_function_mode (type, old_mode,

I'll also bootstrap the patch overnight on x86_64-pc-linux-gnu, and plan to
rename the last argument of the hook now.


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #18309|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40952


  parent reply	other threads:[~2009-08-10 20:10 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-03 19:46 [Bug middle-end/40952] New: " sje at cup dot hp dot com
2009-08-03 20:54 ` [Bug middle-end/40952] " bonzini at gnu dot org
2009-08-04  6:37 ` bonzini at gnu dot org
2009-08-04 15:00 ` sje at cup dot hp dot com
2009-08-04 17:09 ` sje at cup dot hp dot com
2009-08-04 17:47 ` sje at cup dot hp dot com
2009-08-04 21:04 ` sje at cup dot hp dot com
2009-08-04 21:23 ` sje at cup dot hp dot com
2009-08-04 22:31 ` bonzini at gnu dot org
2009-08-04 23:48 ` sje at cup dot hp dot com
2009-08-05  6:10 ` bonzini at gnu dot org
2009-08-05 21:36 ` sje at cup dot hp dot com
2009-08-05 23:10 ` bonzini at gnu dot org
2009-08-06 16:57 ` sje at cup dot hp dot com
2009-08-06 17:45 ` sje at cup dot hp dot com
2009-08-07  7:24 ` bonzini at gnu dot org
2009-08-08  7:57 ` bonzini at gnu dot org
2009-08-08  8:18 ` bonzini at gnu dot org
2009-08-10 15:33 ` sje at cup dot hp dot com
2009-08-10 19:33 ` sje at cup dot hp dot com
2009-08-10 20:10 ` bonzini at gnu dot org [this message]
2009-08-10 20:18 ` sje at cup dot hp dot com
2009-08-10 21:30 ` sje at cup dot hp dot com
2009-08-11 17:18 ` sje at cup dot hp dot com
2009-08-12 16:30 ` bonzini at gnu dot org

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=20090810200955.6060.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).