public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pault at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/43841] Missing temporary for ELEMENTAL function call
Date: Thu, 22 Apr 2010 20:01:00 -0000	[thread overview]
Message-ID: <20100422200117.14562.qmail@sourceware.org> (raw)
In-Reply-To: <bug-43841-6318@http.gcc.gnu.org/bugzilla/>



------- Comment #6 from pault at gcc dot gnu dot org  2010-04-22 20:01 -------
(In reply to comment #5)

>     struct polar_t * D.1551;
>     D.1551 = &b[0];
> 
>       S.5 = 1;
>       while (1)
>         {
>           if (S.5 > 3) goto L.3;
>           b[S.5 + -1] = div_pp (&b[S.5 + -1], D.1551);
>           S.5 = S.5 + 1;
>         }
>       L.3:;
> 

The temporary is being generated but it needs dereferencing !!! ie. It would be
nice if:
>     struct polar_t  D.1551;
>     D.1551 = b[0];
> 
>       S.5 = 1;
>       while (1)
>         {
>           if (S.5 > 3) goto L.3;
>           b[S.5 + -1] = div_pp (&b[S.5 + -1], &D.1551);
>           S.5 = S.5 + 1;
>         }
>       L.3:;
> 

were happening.

Paul

I'm looking at it.

Paul


-- 


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


  parent reply	other threads:[~2010-04-22 20:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-21 19:54 [Bug fortran/43841] New: " anlauf at gmx dot de
2010-04-21 20:49 ` [Bug fortran/43841] " dominiq at lps dot ens dot fr
2010-04-21 21:52 ` dominiq at lps dot ens dot fr
2010-04-22  7:28 ` anlauf at gmx dot de
2010-04-22  8:25 ` dfranke at gcc dot gnu dot org
2010-04-22  8:28 ` burnus at gcc dot gnu dot org
2010-04-22 20:01 ` pault at gcc dot gnu dot org [this message]
2010-04-23  8:13 ` pault at gcc dot gnu dot org
2010-04-24  7:44 ` pault at gcc dot gnu dot org
2010-04-24  9:29 ` pault at gcc dot gnu dot org
2010-05-25 21:02 ` mikael at gcc dot gnu dot org
2010-06-24 15:44 ` pault at gcc dot gnu dot org
2010-06-27 16:15 ` pault at gcc dot gnu dot org
2010-06-27 16:22 ` pault at gcc dot gnu dot org
2010-06-27 16:24 ` pault 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=20100422200117.14562.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).