public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Guenther <rguenther@suse.de>
To: Jakub Jelinek <jakub@redhat.com>
Cc: "H.J. Lu" <hjl.tools@gmail.com>, gcc-patches@gcc.gnu.org
Subject: Re: [testcase] Fix up maybe_cleanup_end_of_block (PR middle-end/46629)
Date: Wed, 24 Nov 2010 11:30:00 -0000	[thread overview]
Message-ID: <alpine.LNX.2.00.1011241108130.23074@zhemvz.fhfr.qr> (raw)
In-Reply-To: <20101124100402.GC29412@tyan-ft48-01.lab.bos.redhat.com>

On Wed, 24 Nov 2010, Jakub Jelinek wrote:

> On Wed, Nov 24, 2010 at 09:59:34AM +0100, Jakub Jelinek wrote:
> > On Tue, Nov 23, 2010 at 04:51:35PM -0800, H.J. Lu wrote:
> > Committed as obvious, will deal with the testcase later.
> 
> And here is a testcase for that, not 100% sure if I got the dg-lto* stuff
> right, but it works (and fails with unfixed gcc).  Ok for trunk?

dg-lto-do assemble will only produce lto bytecode but not do the
link step, if the ICE happened from f951 and not lto1 then this
is ok.

Richard.

> 2010-11-24  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR middle-end/46629
> 	* gfortran.dg/lto/pr46629_0.f90: New test.
> 
> --- gcc/testsuite/gfortran.dg/lto/pr46629_0.f90.jj	2010-11-24 10:42:09.285372916 +0100
> +++ gcc/testsuite/gfortran.dg/lto/pr46629_0.f90	2010-11-24 10:57:53.225261153 +0100
> @@ -0,0 +1,15 @@
> +! PR middle-end/64429
> +! { dg-lto-do assemble }
> +! { dg-lto-options {{ -O2 -flto -ftree-vectorize }} }
> +! { dg-lto-options {{ -O2 -flto -ftree-vectorize -march=x86-64 }} { target i?86-*-* x86_64-*-* } }
> +
> +subroutine foo
> +  character(len=6), save :: c
> +  real, save :: d(0:100)
> +  integer, save :: x, n, i
> +  n = x
> +  print *, c
> +  do i = 2, n
> +    d(i) = -d(i-1)
> +  end do
> +end
> 
> 
> 	Jakub
> 
> 

-- 
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex

  reply	other threads:[~2010-11-24 10:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 23:18 [PATCH] Fix up maybe_cleanup_end_of_block (PR middle-end/46499) Jakub Jelinek
2010-11-23 13:27 ` Richard Guenther
2010-11-23 22:51 ` H.J. Lu
2010-11-23 22:54   ` H.J. Lu
2010-11-23 22:55     ` Andrew Pinski
2010-11-24  1:51 ` H.J. Lu
2010-11-24  2:37   ` Jakub Jelinek
2010-11-24  2:44     ` H.J. Lu
2010-11-24 10:04   ` [PATCH] Fix up maybe_cleanup_end_of_block (PR middle-end/46629) Jakub Jelinek
2010-11-24 11:13     ` [testcase] " Jakub Jelinek
2010-11-24 11:30       ` Richard Guenther [this message]
2010-11-24 11:48         ` Jakub Jelinek

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=alpine.LNX.2.00.1011241108130.23074@zhemvz.fhfr.qr \
    --to=rguenther@suse.de \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hjl.tools@gmail.com \
    --cc=jakub@redhat.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).