public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Doug Kwan (關振德)" <dougkwan@google.com>
To: "Andreas Schwab" <schwab@suse.de>
Cc: gcc-patches@gcc.gnu.org, "Diego Novillo" <dnovillo@google.com>,
	        "Kenneth Zadeck" <zadeck@naturalbridge.com>
Subject: Re: [LTO][PATCH] Fix long double precision problem
Date: Thu, 13 Dec 2007 19:13:00 -0000	[thread overview]
Message-ID: <498552560712131109r5b19f9ecif00891a4076d80ec@mail.gmail.com> (raw)
In-Reply-To: <jeve73lz0o.fsf@sykes.suse.de>

At I have mentioned earlier. That may not be a correct thing to do. On
the x86, the 80-bit extended floating point formating is stored using
one instruction and there is no internal padding.  However, there is
internal padding in complex long double.  Any thing expecting a
contiguous chunk of bits may be surprised.

I have done some simple testing with gdb by compiling test and
stepping them under gdb.  The long double case worked but complex long
double caused gdb to crash.  That was more likely that it was a bug in
gdb as gdb crashed with debug info generated from stock gcc also.

In the long term, we need an appropriate dwarf extension.

-Doug

2007/12/13, Andreas Schwab <schwab@suse.de>:

> What if the padding is internal?
>
> Andreas.

  reply	other threads:[~2007-12-13 19:10 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-05  7:05 Doug Kwan (關振德)
2007-12-05 10:52 ` Andrew Pinski
2007-12-05 12:55   ` Kenneth Zadeck
2007-12-05 14:56     ` Diego Novillo
2007-12-05 16:28       ` Doug Kwan (關振德)
2007-12-05 19:02         ` Andrew Pinski
2007-12-05 16:34     ` Mark Mitchell
2007-12-05 18:42       ` Doug Kwan (關振德)
2007-12-05 19:01       ` Doug Kwan (關振德)
2007-12-05 23:52         ` Mark Mitchell
2007-12-11 23:15           ` Doug Kwan (關振德)
2007-12-12  9:22             ` Mark Mitchell
2007-12-12 20:23               ` Doug Kwan (關振德)
2007-12-12 20:45                 ` Mark Mitchell
2007-12-13  2:27                   ` Doug Kwan (關振德)
2007-12-13 11:02                     ` Andreas Schwab
2007-12-13 19:13                       ` Doug Kwan (關振德) [this message]
2007-12-14  9:50                         ` Andreas Schwab
2007-12-14 22:18                           ` Doug Kwan (關振德)
2007-12-13 20:11                   ` Jim Blandy
2007-12-13 20:40                     ` Doug Kwan (關振德)
2007-12-13 22:43                       ` Jim Blandy
     [not found]                         ` <4765FBC0.8020400@codesourcery.com>
2007-12-17 21:53                           ` Doug Kwan (關振德)
2007-12-18  4:29                             ` Mark Mitchell

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=498552560712131109r5b19f9ecif00891a4076d80ec@mail.gmail.com \
    --to=dougkwan@google.com \
    --cc=dnovillo@google.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=schwab@suse.de \
    --cc=zadeck@naturalbridge.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).