public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: Jan Hubicka <hubicka@ucw.cz>
To: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
Cc: gcc-bugs@gcc.gnu.org
Subject: Re: [Bug lto/47222] [4.6 Regression] Revision 168593 failed many tests
Date: Sun, 09 Jan 2011 18:11:00 -0000 [thread overview]
Message-ID: <20110109180635.GD18136@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <bug-47222-4-PgQMj1Glzw@http.gcc.gnu.org/bugzilla/>
>
> Run-time abort. Please check 32bit.
OK, these reproduce to me. Adding "staitic" into the testcase as follows:
/* PR middle-end/12210 */
/* Origin: Ossadchy Yury A. <waspcoder@mail.ru> */
/* This used to fail on i686 because the argument was not copied
to the right location by __builtin_apply after the direct call. */
/* { dg-do run } */
#define INTEGER_ARG 5
extern void abort(void);
static void foo(int arg)
{
if (arg != INTEGER_ARG)
abort();
}
static void bar(int arg)
{
foo(arg);
__builtin_apply(foo, __builtin_apply_args(), 16);
}
int main(void)
{
bar(INTEGER_ARG);
return 0;
}
make it fail too, so it is pre-existing wrong code. I am looking into what gets wrong.
Honza
next prev parent reply other threads:[~2011-01-09 18:06 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-08 5:24 [Bug lto/47222] New: " hjl.tools at gmail dot com
2011-01-08 7:16 ` [Bug lto/47222] " hjl.tools at gmail dot com
2011-01-08 14:01 ` [Bug lto/47222] New: " Jan Hubicka
2011-01-08 14:38 ` [Bug lto/47222] " hubicka at ucw dot cz
2011-01-08 18:22 ` hjl.tools at gmail dot com
2011-01-08 18:54 ` hjl.tools at gmail dot com
2011-01-08 18:58 ` Jan Hubicka
2011-01-08 18:58 ` hubicka at ucw dot cz
2011-01-09 17:10 ` hjl.tools at gmail dot com
2011-01-09 17:19 ` Jan Hubicka
2011-01-09 17:20 ` hubicka at ucw dot cz
2011-01-09 18:06 ` hjl.tools at gmail dot com
2011-01-09 18:11 ` Jan Hubicka [this message]
2011-01-09 18:12 ` hubicka at ucw dot cz
2011-01-09 18:38 ` hubicka at gcc dot gnu.org
2011-01-10 12:53 ` rguenth at gcc dot gnu.org
2011-01-10 13:24 ` hubicka at ucw dot cz
2011-01-10 20:22 ` hjl at gcc dot gnu.org
2011-01-11 13:12 ` rguenth at gcc dot gnu.org
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=20110109180635.GD18136@atrey.karlin.mff.cuni.cz \
--to=hubicka@ucw.cz \
--cc=gcc-bugs@gcc.gnu.org \
--cc=gcc-bugzilla@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).