public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "iains at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/58269] [4.9 Regression] ICE when building libobjc on x86_64-apple-darwin*  after revision 201915
Date: Fri, 06 Sep 2013 12:38:00 -0000	[thread overview]
Message-ID: <bug-58269-4-5jZqPIvPkg@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-58269-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #14 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #13)
> > Yes, confirmed that on x86_64-linux r202286 is the culprit.
> 
> See pr58139 comments #6 to #11.

> @@ -34466,7 +34467,7 @@ ix86_hard_regno_mode_ok (int regno, enum
>  
>        /* OImode move is available only when AVX is enabled.  */
>        return ((TARGET_AVX && mode == OImode)
> -	      || VALID_AVX256_REG_MODE (mode)
> +	      || (TARGET_AVX && VALID_AVX256_REG_MODE (mode))
>  	      || VALID_SSE_REG_MODE (mode)
>  	      || VALID_SSE2_REG_MODE (mode)
>  	      || VALID_MMX_REG_MODE (mode)
> 

assuming that the patch above is applied to deal with pr58139,

Are you saying that:
-  if (TARGET_MACHO)
-    {
-      if (SSE_REGNO_P (regno) && TARGET_SSE)
-        return true;
-    }
-  else
-    {
-      if (TARGET_SSE && SSE_REGNO_P (regno)
-          && (regno < FIRST_SSE_REG + SSE_REGPARM_MAX))
-        return true;
-    }
+  if (TARGET_SSE && SSE_REGNO_P (regno)
+      && (regno < FIRST_SSE_REG + SSE_REGPARM_MAX))
+    return true;

gives a compare fail for you?
>From gcc-bugs-return-429132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Sep 06 13:02:22 2013
Return-Path: <gcc-bugs-return-429132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7381 invoked by alias); 6 Sep 2013 13:02:22 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 7327 invoked by uid 48); 6 Sep 2013 13:02:18 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/58269] [4.9 Regression] ICE when building libobjc on x86_64-apple-darwin*  after revision 201915
Date: Fri, 06 Sep 2013 13:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-58269-4-qixsrFxwNG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58269-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58269-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-09/txt/msg00372.txt.bz2
Content-length: 1203

http://gcc.gnu.org/bugzilla/show_bug.cgi?idX269

--- Comment #15 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
(In reply to Iain Sandoe from comment #14)
> assuming that the patch above is applied to deal with pr58139,

Indeed!

> Are you saying that:
> -  if (TARGET_MACHO)
> -    {
> -      if (SSE_REGNO_P (regno) && TARGET_SSE)
> -        return true;
> -    }
> -  else
> -    {
> -      if (TARGET_SSE && SSE_REGNO_P (regno)
> -          && (regno < FIRST_SSE_REG + SSE_REGPARM_MAX))
> -        return true;
> -    }
> +  if (TARGET_SSE && SSE_REGNO_P (regno)
> +      && (regno < FIRST_SSE_REG + SSE_REGPARM_MAX))
> +    return true;
> gives a compare fail for you?

No: I did not test it although the initial fix worked for me). The comparison
failures occur with r202318 and the patch for pr58139 only. These failures are
fixed by the patch

--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -5708,7 +5708,8 @@ ix86_function_arg_regno_p (int regno)

   if (TARGET_MACHO)
     {
-      if (SSE_REGNO_P (regno) && TARGET_SSE)
+      if (SSE_REGNO_P (regno) && TARGET_SSE
+         && ! EXT_REX_SSE_REGNO_P (regno))
         return true;
     }
   else

from comment #6.


  parent reply	other threads:[~2013-09-06 12:38 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-29  8:37 [Bug c/58269] New: [4.9 Regression] ICE when building libobjc on x86_64-apple-darwin10 " dominiq at lps dot ens.fr
2013-08-29 11:18 ` [Bug c/58269] [4.9 Regression] ICE when building libobjc on x86_64-apple-darwin* " iains at gcc dot gnu.org
2013-08-31 19:03 ` [Bug target/58269] " iains at gcc dot gnu.org
2013-08-31 19:36 ` iains at gcc dot gnu.org
2013-09-01  9:06 ` iains at gcc dot gnu.org
2013-09-01 16:13 ` dominiq at lps dot ens.fr
2013-09-05 15:14 ` tocarip.intel at gmail dot com
2013-09-05 15:29 ` iains at gcc dot gnu.org
2013-09-06 10:36 ` kyukhin at gcc dot gnu.org
2013-09-06 10:47 ` iains at gcc dot gnu.org
2013-09-06 11:18 ` paolo.carlini at oracle dot com
2013-09-06 11:22 ` iains at gcc dot gnu.org
2013-09-06 11:26 ` rguenth at gcc dot gnu.org
2013-09-06 11:34 ` paolo.carlini at oracle dot com
2013-09-06 12:03 ` dominiq at lps dot ens.fr
2013-09-06 12:38 ` iains at gcc dot gnu.org [this message]
2013-09-06 15:43 ` howarth at nitro dot med.uc.edu
2013-09-06 15:52 ` iains at gcc dot gnu.org
2013-09-06 18:35 ` mikestump at comcast dot net
2013-09-06 18:52 ` iains at gcc dot gnu.org
2013-09-06 19:04 ` howarth at nitro dot med.uc.edu
2013-09-06 19:25 ` mikestump at comcast dot net
2013-09-14 11:10 ` iains at gcc dot gnu.org
2013-09-15 18:23 ` mrs at gcc dot gnu.org
2013-09-15 18:24 ` mrs at gcc dot gnu.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=bug-58269-4-5jZqPIvPkg@http.gcc.gnu.org/bugzilla/ \
    --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).