Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
	Aditya Kamath1 <Aditya.Kamath1@ibm.com>
Cc: Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
Subject: Re: [PATCH]-Change gdb.base/examine-backwards.exp testcase for AIX
Date: Mon, 6 Nov 2023 13:07:10 +0000	[thread overview]
Message-ID: <28c3816a52c7a9a591c9c657c0d18237bfbe16ab.camel@de.ibm.com> (raw)
In-Reply-To: <CH2PR15MB3544C728EF8A2C9DB67F49EFD6AAA@CH2PR15MB3544.namprd15.prod.outlook.com>

Aditya Kamath1 <Aditya.Kamath1@ibm.com> wrote:
>> I assume the existing dummy assignment
>>   int dummy = Barrier[0] + TestStrings[0] + TestStringsH[0] + TestStringsW[0];
>> is optimized out on AIX for some reason?
>>
>> Does it work if you move "dummy" to be global variable,
>> and/or make the Barrier and TestStrings* variable non-const?
> 
>Yes Ulrich. It works if we make variables non-const. Kindly see the output below.

OK, good.

>So shall we remove this const and create the git patch?

Yes, I think this would be the better solution.

Bye,
Ulrich


  reply	other threads:[~2023-11-06 13:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-06 11:02 Aditya Kamath1
2023-11-06 11:56 ` Ulrich Weigand
2023-11-06 12:08   ` Aditya Kamath1
2023-11-06 13:07     ` Ulrich Weigand [this message]
2023-11-06 13:28       ` Aditya Kamath1
2023-11-06 14:03         ` Ulrich Weigand
2023-11-06 14:18           ` Aditya Kamath1

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=28c3816a52c7a9a591c9c657c0d18237bfbe16ab.camel@de.ibm.com \
    --to=ulrich.weigand@de.ibm.com \
    --cc=Aditya.Kamath1@ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=sangamesh.swamy@in.ibm.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