public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/19242] [4.0 only] internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1106 Date: Sun, 18 Sep 2005 20:10:00 -0000 [thread overview] Message-ID: <20050918201048.15314.qmail@sourceware.org> (raw) In-Reply-To: <20050103182528.19242.zeekec@mad.scientist.com> ------- Additional Comments From tkoenig at gcc dot gnu dot org 2005-09-18 20:10 ------- Not yet fixed in 4.0: $ cat gfortran.f95 # 1 "gfortran.F95" # 1 "<built-in>" # 1 "<command line>" # 1 "gfortran.F95" module gfortrantest contains function int2str(i) result(str) integer, intent(in) :: i character(len=(int(log10(real(max(abs(i),1))))+2)) :: str character(len=20) :: frmt write(frmt, "(A,I10,A)") "(I",(int(log10(real(max(abs(i),1))))+2),")" write(str, frmt) i end function function sgl2str3(x,frmt,n) result(str) real, intent(in) :: x(:) integer, intent(in) :: n character(len=*), intent(in) :: frmt character(len=n*size(x)) :: str write(str,"(" // int2str(size(x)) // "(" // frmt // "))") x end function end module $ gfortran gfortran.f95 gfortran.F95: In function 'sgl2str3': gfortran.F95:5: internal compiler error: in gfc_conv_function_call, at fortran/trans-expr.c:1108 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. $ gfortran -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.0/configure --prefix=/home/ig25 --enable-languages=c,fortran Thread model: posix gcc version 4.0.2 20050917 (prerelease) -- What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Known to fail| |4.0.2 Known to work| |4.1.0 Resolution|FIXED | Summary|internal compiler error: in |[4.0 only] internal compiler |gfc_conv_function_call, at |error: in |fortran/trans-expr.c:1106 |gfc_conv_function_call, at | |fortran/trans-expr.c:1106 Target Milestone|--- |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19242
next prev parent reply other threads:[~2005-09-18 20:10 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-01-03 18:26 [Bug fortran/19242] New: " zeekec at mad dot scientist dot com 2005-01-03 18:27 ` [Bug fortran/19242] " zeekec at mad dot scientist dot com 2005-01-03 19:07 ` pinskia at gcc dot gnu dot org 2005-09-02 11:32 ` tobi at gcc dot gnu dot org 2005-09-08 18:51 ` rsandifo at gcc dot gnu dot org 2005-09-09 15:21 ` zeekec at mad dot scientist dot com 2005-09-18 19:53 ` tkoenig at gcc dot gnu dot org 2005-09-18 20:10 ` tkoenig at gcc dot gnu dot org [this message] 2005-09-18 20:27 ` [Bug fortran/19242] [4.0 only] " pinskia 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=20050918201048.15314.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).