public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/25392] New: ICEs with -ff2c Date: Tue, 13 Dec 2005 14:06:00 -0000 [thread overview] Message-ID: <bug-25392-87@http.gcc.gnu.org/bugzilla/> (raw) real function foo (x, y) real x, y foo = y - x do while (foo .gt. 180.) foo = foo - 360. enddo do while (foo .le. -180.) foo = foo + 360. enddo end ICEs in various places depending on the exact -O level and target. The problem is that __result_foo variable is given type not corresponding to its kind which leads e.g. on i?86 -m32 to emit_move_insn ICE (trying to copy a SFmode constant to DFmode var). I'd say __result_foo should still use SFmode type, only return type of the function should be DFmode and in the RETURN_EXPR widen it. -- Summary: ICEs with -ff2c Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25392
next reply other threads:[~2005-12-13 14:06 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-12-13 14:06 jakub at gcc dot gnu dot org [this message] 2005-12-30 6:48 ` [Bug fortran/25392] " pinskia at gcc dot gnu dot org 2006-01-02 3:42 ` pinskia at gcc dot gnu dot org 2006-02-24 17:42 ` pinskia at gcc dot gnu dot org 2006-05-11 11:37 ` fxcoudert at gcc dot gnu dot org 2006-06-30 10:08 ` fxcoudert at gcc dot gnu dot org 2006-07-04 12:18 ` rguenth at gcc dot gnu dot org 2006-11-23 20:52 ` tobi at gcc dot gnu dot org 2006-12-14 1:19 ` tobi at gcc dot gnu dot org 2006-12-21 3:05 ` tobi at gcc dot gnu dot org 2006-12-21 3:17 ` tobi at gcc dot gnu dot org 2006-12-29 18:55 ` tobi at gcc dot gnu dot org 2006-12-29 18:56 ` tobi at gcc dot gnu dot org 2007-02-27 15:28 ` pinskia at gcc dot gnu dot org 2007-02-27 16:11 ` tobi at gcc dot gnu dot org 2007-02-27 16:22 ` jakub at gcc dot gnu dot org 2007-02-27 19:20 ` tobi at gcc dot gnu dot org 2007-02-27 19:21 ` tobi 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=bug-25392-87@http.gcc.gnu.org/bugzilla/ \ --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).