public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Andreas Jaeger <aj@suse.de>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: target/7559: kdelibs miscompilation
Date: Sun, 11 Aug 2002 09:46:00 -0000	[thread overview]
Message-ID: <20020811134602.10696.qmail@sources.redhat.com> (raw)

The following reply was made to PR target/7559; it has been noted by GNATS.

From: Andreas Jaeger <aj@suse.de>
To: Jan Hubicka <jh@suse.cz>
Cc: Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>,
	gcc-gnats@gcc.gnu.org, david@mandrakesoft.com, nobody@gcc.gnu.org,
	gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org
Subject: Re: target/7559: kdelibs miscompilation
Date: Sun, 11 Aug 2002 15:22:33 +0200

 Honza,
 
 since you fixed this bug: Can you add the testcase to the testsuite,
 please?  Please also remember to close the PR.
 
 Thanks a lot for the quick patch,
 Andreas
 
 Jan Hubicka <jh@suse.cz> writes:
 
 >> 3) The last testcase is ultra-reduced to a two eightbytes object, with 
 >> only one member in each one. That one do fails.
 >> 
 >> extern void abort();
 >> 
 >> struct A {
 >>   long x;
 >> };
 >> 
 >> struct R {
 >>   struct A a, b;
 >> };
 >> 
 >> struct R R = {
 >>   100, 200
 >> };
 >> 
 >> void f(struct R r) {
 >>   if (r.a.x != R.a.x || r.b.x != R.b.x)
 >>     abort();
 >> }
 >> 
 >> int main() {
 >>   f(R);
 >>   return 0;
 >> }
 >
 > This looks like a bug in code computing offests of nested aggregates.  I
 > am just checking it.
 > Thanks a lot for reducing the testcase! This is really usefull one :)
 >
 > Honza
 >> 
 >> 4) The <struct.c> testcase won't fail if we add some garbage in struct R, 
 >> because the size of the object will be > 16 bytes, thus having MEMORY 
 >> class.
 >> 
 >> HTH,
 >> Gwenole.
 >
 -- 
  Andreas Jaeger
   SuSE Labs aj@suse.de
    private aj@arthur.inka.de
     http://www.suse.de/~aj


             reply	other threads:[~2002-08-11 13:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-11  9:46 Andreas Jaeger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-06  9:55 aj
2002-08-10  6:46 Jan Hubicka
2002-08-10  6:16 Gwenole Beauchesne
2002-08-09 11:06 Gwenole Beauchesne
2002-08-09 10:16 Gwenole Beauchesne
2002-08-09  9:56 gbeauchesne

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=20020811134602.10696.qmail@sources.redhat.com \
    --to=aj@suse.de \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@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).