public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/53083] gcc bug in moving from the SSE registers back onto the heap.
Date: Wed, 16 May 2012 06:34:00 -0000	[thread overview]
Message-ID: <bug-53083-4-EVJos03QXW@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-53083-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53083

--- Comment #8 from Uros Bizjak <ubizjak at gmail dot com> 2012-05-16 06:30:58 UTC ---
(In reply to comment #6)

> I've tried to take the source-file in question (miarc.c) and make something
> self-contained, but I was unable to make it work due to this being an internal
> xorg-file, apparently using and depending on internal headers. If you have any
> pointers on how to tackle such a situation to convert it to something
> selfcontained I'd be happy to try it out.

First, prepare some test input and call failing function.  Compare its result
with some reference result and abort () if the result is not expected. The
preprocessed file is self-contained, so you could just compile it and link into
executable.

Starting from here, you remove portions of the function that are not needed
(i.e. unreachable if branches, switch cases, etc...) for test input.

Maybe you could ask Gentoo compiler maintainer for help...


  parent reply	other threads:[~2012-05-16  6:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-23  7:47 [Bug c/53083] New: " da_fox at mad dot scientist.com
2012-04-23  7:56 ` [Bug c/53083] " ubizjak at gmail dot com
2012-04-23 10:25 ` rguenth at gcc dot gnu.org
2012-04-23 12:27 ` da_fox at mad dot scientist.com
2012-04-23 12:29 ` da_fox at mad dot scientist.com
2012-04-23 14:51 ` ubizjak at gmail dot com
2012-04-23 15:29 ` ubizjak at gmail dot com
2012-04-25  7:30 ` da_fox at mad dot scientist.com
2012-05-01  7:55 ` da_fox at mad dot scientist.com
2012-05-16  6:34 ` ubizjak at gmail dot com [this message]
2012-05-16  6:36 ` ubizjak at gmail dot com
2012-05-16  7:11 ` ubizjak at gmail dot com
2013-07-02 13:38 ` ossman at cendio dot se
2013-07-02 13:38 ` ossman at cendio dot se
2013-07-02 13:55 ` ossman at cendio dot se

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=bug-53083-4-EVJos03QXW@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).