------- Comment #18 from belyshev at depni dot sinp dot msu dot ru 2007-10-11
19:52 -------
Subject: Re: libgfortran bootstrap failure: selected_int_kind.f90:22:
Segmentation fault, wrong code with -fomit-frame-pointer
Kenneth Zadeck <[EMAIL PROTECTED]> writes:
> 2007-10-11 Kenneth Zadeck <[EMAIL PROTECTED]>
>
> PR middle-end/33676
> * global.c (build_insn_chain): Include insn that occur between
> basic blocks.
>
> 2007-10-11 Kenneth Zadeck <[EMAIL PROTECTED]>
>
> PR middle-end/33676
> * gcc.c-torture/gcc.dg/torture/pr33676.c: New.
^^ typo, should be:
* gcc.dg/torture/pr33676.c: New.
> Kenny
> Index: testsuite/gcc.dg/torture/pr33676.c
> ===================================================================
> --- testsuite/gcc.dg/torture/pr33676.c (revision 0)
> +++ testsuite/gcc.dg/torture/pr33676.c (revision 0)
> @@ -0,0 +1,53 @@
> +/* { dg-do run } */
> +/* { dg-options "-march=i586 -fomit-frame-pointer" { target { { i?86-*-*
> x86_64-*-* } && ilp32 } } } */
^ better use -march=i386 so testcase wont fail
with SIGILL on i486 machines in case (if ever)
anyone will try to test gcc there.
> +// Small testcase, compile with "-march=i586 -O0 -fomit-frame-pointer":
omit this comment to keep it cleaner and smaller. :)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33676