public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "burnus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/38822] Compile-time simplification of x**(real) / ICE in in gfc_target_encode_expr Date: Tue, 13 Jan 2009 16:33:00 -0000 [thread overview] Message-ID: <20090113163343.3101.qmail@sourceware.org> (raw) In-Reply-To: <bug-38822-13404@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from burnus at gcc dot gnu dot org 2009-01-13 16:33 ------- The problem is the following in arith.c: if (op == INTRINSIC_POWER && op2->ts.type != BT_INTEGER) goto runtime; Thus it is only run-time evaluated. gfc_arith_power deals so far only with (numeric_type)**(integer). We need to handle (complex)**(complex) and (real)**(real). I think Fortran 2003 allows ** in initialization expressions (at least I could not find anything else) and thus one needs this. See also PR 38823. -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE in in |Compile-time simplification |gfc_target_encode_expr |of x**(real) / ICE in in | |gfc_target_encode_expr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38822
next prev parent reply other threads:[~2009-01-13 16:33 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-01-13 10:53 [Bug fortran/38822] New: " burnus at gcc dot gnu dot org 2009-01-13 16:33 ` burnus at gcc dot gnu dot org [this message] 2009-01-14 15:30 ` [Bug fortran/38822] Compile-time simplification of x**(real) / " burnus at gcc dot gnu dot org 2009-01-16 0:55 ` kargl at gcc dot gnu dot org 2009-01-16 2:47 ` kargl at gcc dot gnu dot org 2009-01-16 2:58 ` jvdelisle at gcc dot gnu dot org 2009-01-16 5:26 ` kargl at gcc dot gnu dot org 2009-01-20 19:22 ` kargl at gcc dot gnu dot org 2009-01-20 19:41 ` kargl at gcc dot gnu dot org 2009-03-29 20:41 ` kargl at gcc dot gnu dot org 2009-03-30 0:54 ` [Bug fortran/38822] Compile-time simplification of x**(real) kargl at gcc dot gnu dot org 2009-04-04 9:41 ` dominiq at lps dot ens dot fr 2009-04-04 15:10 ` kargl at gcc dot gnu dot org 2009-04-04 20:44 ` dominiq at lps dot ens dot fr 2009-04-04 21:42 ` sgk at troutmask dot apl dot washington dot edu 2009-04-05 19:43 ` dominiq at lps dot ens dot fr 2010-01-15 18:31 ` kargl at gcc dot gnu dot org 2010-05-19 14:44 ` dfranke 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=20090113163343.3101.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: linkBe 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).