public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <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:40:00 -0000 [thread overview] Message-ID: <bug-51522-4-taTuKhgqeF@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 --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-01-09 13:38:38 UTC --- With the following change --- pr51522.f90 2011-12-13 00:17:20.000000000 +0100 +++ pr51522_db.f90 2012-01-09 12:15:44.000000000 +0100 @@ -265,9 +266,11 @@ interface integer(c_int) function vect_Utils_vuIsUnit_c(u, tol, exception) bind(c) use, intrinsic :: iso_c_binding end function vect_Utils_vuIsUnit_c - integer(c_int) function vect_Utils_vuTriIneqHolds_c(u, v, tol, exception) & + integer(c_int) function vect_Utils_vuTriIneqHolds_c(u, v, tol, exception) use, intrinsic :: iso_c_binding + end function vect_Utils_vuTriIneqHolds_c real(c_double) function vect_Utils_vuNorm_c(u, tol, badLevel, exception) bind(c) + use, intrinsic :: iso_c_binding end function vect_Utils_vuNorm_c end interface end module vect_Utils_F03 the code compiles (with a lot of warnings), but complains at link time: Undefined symbols: "_main", referenced from: start in crt1.10.6.o "_vect_Utils_getEPV", referenced from: ___vect_utils_type_f03_MOD_cache_epv_s in ccxe8Zdc.o ld: symbol(s) not found collect2: error: ld returned 1 exit status
next prev parent reply other threads:[~2012-01-09 13:40 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 2012-01-09 13:40 ` dominiq at lps dot ens.fr [this message] 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-taTuKhgqeF@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).