public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rakdver at atrey dot karlin dot mff dot cuni dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/17428] [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880
Date: Thu, 28 Oct 2004 13:19:00 -0000	[thread overview]
Message-ID: <20041028131904.23661.qmail@sourceware.org> (raw)
In-Reply-To: <20040912034129.17428.opticcow@linux-militia.net>


------- Additional Comments From rakdver at atrey dot karlin dot mff dot cuni dot cz  2004-10-28 13:18 -------
Subject: Re:  [4.0 Regression] internal compiler error: in spill_failure, at reload1.c:1880

Hello,

> Because of the patch http://gcc.gnu.org/ml/gcc-cvs/2004-10/msg01513.html
> that adds "-funroll-loops" to "-fprofile-generate" the testcase from
> comment #4 has to be compiled with
> "-msse -O2 -fspeculative-prefetching -fprofile-generate -fno-unroll-loops"
> to still trigger the bug. Alternatively one can increase the number of
> iterations of the loop from 2 to 20.
> 
> The bug finally disappeared with Zdenek's patch
> http://gcc.gnu.org/ml/gcc-cvs/2004-10/msg01561.html
> which seems to address Andrew's suggestion from comment #5.
> 
> Zdenek, is this a real fix or is this just papering over the problem?

no, that patch cannot fix the problem; so it is just masked, and ...

> I.e. is your patch from comment #9 still needed or not?

... this patch is still needed.

Zdenek

> 
> Alas, the original testcase still segfaults with mainline. Here's a testcase:
> 
> ==============================================================
> int foo(int, int) __attribute__((pure));
> 
> void bar()
> {
>     int i;
> 
>     if (foo(0,0))
>         for (i = 0; i < 2; i++)
>             ;
> }
> ==============================================================
> 
> Compile with "-O -march=pentium4 -fprofile-generate -fspeculative-prefetching
> -funroll-loops"
> to trigger the bug.
> 
> Phils's regression tester about this bug:
> : Search converges between 2004-10-01-014001-trunk (#570) and
> 2004-10-01-161002-trunk (#571).
> 
> 
> -- 
> 
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17428
> 
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.


-- 


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


  parent reply	other threads:[~2004-10-28 13:19 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-12  3:41 [Bug c/17428] New: " opticcow at linux-militia dot net
2004-09-12  3:45 ` [Bug c/17428] " opticcow at linux-militia dot net
2004-09-12  3:54 ` pinskia at gcc dot gnu dot org
2004-09-12  3:54 ` pinskia at gcc dot gnu dot org
2004-09-12  3:56 ` [Bug rtl-optimization/17428] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-09-14  2:13 ` [Bug target/17428] " reichelt at gcc dot gnu dot org
2004-09-14  2:32 ` pinskia at gcc dot gnu dot org
2004-09-14 21:09 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2004-09-21 11:49 ` rakdver at gcc dot gnu dot org
2004-09-21 12:59 ` [Bug rtl-optimization/17428] " pinskia at gcc dot gnu dot org
2004-09-21 20:38 ` rakdver at gcc dot gnu dot org
2004-09-25 23:32 ` opticcow at linux-militia dot net
2004-10-16 13:29 ` reichelt at gcc dot gnu dot org
2004-10-28  9:28 ` reichelt at gcc dot gnu dot org
2004-10-28 11:42 ` reichelt at gcc dot gnu dot org
2004-10-28 13:19 ` rakdver at atrey dot karlin dot mff dot cuni dot cz [this message]
2004-11-04  7:06 ` rakdver at gcc dot gnu dot org
2004-11-27  0:25 ` [Bug rtl-optimization/17428] internal compiler error: in spill_failure, at reload1.c:1880 (-fspeculative-prefetching) pinskia at gcc dot gnu dot org
2005-02-14 16:03 ` cvs-commit at gcc dot gnu dot org
2005-02-15 20:53 ` reichelt at gcc dot gnu dot org
2005-04-11  9:47 ` reichelt at gcc dot gnu dot org
2005-04-11 10:33 ` reichelt at gcc dot gnu dot org
2005-04-11 10:41 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2005-06-02 16:08 ` reichelt at gcc dot gnu dot org
2005-07-29  9:41 ` reichelt at gcc dot gnu dot 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=20041028131904.23661.qmail@sourceware.org \
    --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).