public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: Qing Zhao <qing.zhao@oracle.com>
Cc: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>,
	gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH][Middle-end]patch for fixing PR 86519
Date: Fri, 24 Aug 2018 02:55:00 -0000	[thread overview]
Message-ID: <908c7b48-b940-b2e2-71d3-66d874b4586e@redhat.com> (raw)
In-Reply-To: <FA0FD827-C9FD-40FE-AF5F-D786EE255567@oracle.com>

On 08/23/2018 10:13 AM, Qing Zhao wrote:
> 
>> On Aug 22, 2018, at 5:01 PM, Jeff Law <law@redhat.com> wrote:
>>
>> On 08/22/2018 11:05 AM, Qing Zhao wrote:
>>>
>>>> On Aug 22, 2018, at 10:50 AM, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> wrote:
>>>>
>>>> Hi Qing,
>>>>
>>>>> From the comments you put into PR86519, for SPARC, looks like that only
>>>>> 32-bit sparc has the problem.
>>>>> sparcv9 does NOT have the same issue.
>>>>>
>>>>> I was trying to find the string to represent 32-bit sparc target, but
>>>>> haven’t found it.
>>>>>
>>>>> my guess is:   sparc32*-*-*,  is this correct?
>>>>
>>>> no, certainly not.  You need to use something like sparc*-*-* && ilp32
>>>> to catch the 32-bit multilib in both sparc-*-* and sparcv9-*-*
>>>> configurations.  This is similar to { i?86-*-* x86_64-*-* } && ilp32 on x86.
>>>
>>> thanks for the info.
>>>
>>>>
>>>> I'm still doubtful that enumerating target after target which all fail
>>>> the original test for unrelated reasons is the way to go, especially
>>>> given that there are others affected besides mips and sparc.
>>>
>>> I am not sure, either.
>>>
>>> however, given the available directives provided in testing suite, what’s the better solution
>>> to this problem?
>> We could move the test into the i386 target specific test directory.
>> It'll still get good coverage that way and it'll be naturally restricted
>> to a target where we don't have to worry about the function name we're
>> scanning for showing up in undesirable contexts.
> 
> I will do this.  is it better to add it to both i386 and aarch64 target?
If we've got verification that it's working on aarch64, then adding it
to both is fine.

jeff
> 

  reply	other threads:[~2018-08-24  2:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-14 14:57 Qing Zhao
2018-08-15  4:25 ` Jeff Law
2018-08-15 16:36   ` Qing Zhao
2018-08-18  3:43     ` Paul Hua
2018-08-18  3:50       ` Jeff Law
2018-08-20  8:57         ` Rainer Orth
2018-08-20 18:13           ` Qing Zhao
2018-08-22 15:10           ` Qing Zhao
2018-08-22 15:50             ` Rainer Orth
2018-08-22 17:05               ` Qing Zhao
2018-08-22 22:01                 ` Jeff Law
2018-08-23 16:13                   ` Qing Zhao
2018-08-24  2:55                     ` Jeff Law [this message]
2018-08-20 23:02       ` Qing Zhao
2018-08-21 13:07         ` Paul Hua
     [not found]           ` <2AC2B18F-9442-4C4A-A473-FA1759941220@oracle.com>
2018-08-22  0:25             ` Paul Hua
2018-08-22 14:04               ` Qing Zhao

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=908c7b48-b940-b2e2-71d3-66d874b4586e@redhat.com \
    --to=law@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=qing.zhao@oracle.com \
    --cc=ro@CeBiTec.Uni-Bielefeld.DE \
    /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).