public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/51522] ICE in gfortran 4.6.2, x86_64 Date: Mon, 09 Jan 2012 13:30:00 -0000 [thread overview] Message-ID: <bug-51522-4-ArsnkAzIBs@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-51522-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51522 Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-09 13:28:47 UTC --- With the patch for PR 51578 (for GCC 4.7), the ICE is fixed. For the lines integer(c_int) function vect_Utils_vuTriIneqHolds_c(u, v, tol, exception) & use, intrinsic :: iso_c_binding real(c_double) function vect_Utils_vuNorm_c(u, tol, badLevel, exception) bind(c) end function vect_Utils_vuNorm_c one get the errors integer(c_int) function vect_Utils_vuTriIneqHolds_c(u, v, tol, exception)& 1 Error: Parameter 'c_int' at (1) has not been declared or is a variable, which does not reduce to a constant expression real(c_double) function vect_Utils_vuNorm_c(u, tol, badLevel, exception) bind 1 Error: Parameter 'c_double' at (1) has not been declared or is a variable, which does not reduce to a constant expression I think the second one is perfect - there is no "USE ISO_C_Binding" statement in "function vect_Utils_vuNorm_c". The first error is not that good as the problem is the "&" in function foo() & use m A better error message would be a syntax error, pointing at the "&" - but I think it is not really needed and also not easy to give a helpful message. Hence, I close this PR as FIXED. If you think something else should be improved, feel free to reopen this bug. Thanks Adrian for reporting the internal compiler error.
next prev parent reply other threads:[~2012-01-09 13:30 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-12-12 23:09 [Bug fortran/51522] New: " adrian at llnl dot gov 2011-12-12 23:25 ` [Bug fortran/51522] " dominiq at lps dot ens.fr 2012-01-09 13:30 ` burnus at gcc dot gnu.org [this message] 2012-01-09 13:40 ` dominiq at lps dot ens.fr 2012-01-31 16:11 ` dominiq at lps dot ens.fr 2012-02-02 19:08 ` jb at gcc dot gnu.org 2012-02-03 10:50 ` burnus at gcc dot gnu.org 2012-02-03 22:36 ` jb at gcc dot gnu.org 2012-02-04 0:20 ` dominiq at lps dot ens.fr 2012-02-05 21:04 ` jb at gcc dot gnu.org 2015-10-10 12:57 ` dominiq at lps dot ens.fr
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-51522-4-ArsnkAzIBs@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).