Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Kip Macy <kmacy@eventdriven.org>
To: Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
Cc: gdb@sources.redhat.com
Subject: Re: bug disappears if compiled with -O0
Date: Mon, 26 Jul 2004 21:19:00 -0000	[thread overview]
Message-ID: <20040726141134.A53701@demos.bsdclusters.com> (raw)
In-Reply-To: <20040726211129.GC2028@ata.cs.hun.edu.tr>


>
> > If the bug truly is a code generation bug, then you will need to read
> > assembly language to isolate the bug.
>
> I will as soon as I'm able to locate it. Could it be anything other than
> an optimization bug? The problem is reported also for gcc 2.95.4 on
> stable.
>
Recently I hit a bug caused by a doubleword unaligned store. It only
showed up with -O2 because the compiler would otherwise generate
single-word stores. You can try different compilers, but I would take a
close look at the generated code.


					-Kip


  reply	other threads:[~2004-07-26 21:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-26  3:10 Baurjan Ismagulov
2004-07-26  3:55 ` Michael Chastain
2004-07-26 21:13   ` Baurjan Ismagulov
2004-07-26 21:19     ` Kip Macy [this message]
2004-07-27  0:52     ` Michael Chastain
2004-07-26  5:47 ` Eli Zaretskii

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=20040726141134.A53701@demos.bsdclusters.com \
    --to=kmacy@eventdriven.org \
    --cc=gdb@sources.redhat.com \
    --cc=ibr@ata.cs.hun.edu.tr \
    /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