public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mlosch@uni-bremen.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/47574] New: internal compiler error: in build2_stat, at tree.c:3795 Date: Tue, 01 Feb 2011 16:17:00 -0000 [thread overview] Message-ID: <bug-47574-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47574 Summary: internal compiler error: in build2_stat, at tree.c:3795 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: mlosch@uni-bremen.de Created attachment 23200 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23200 example fortran code to reproduce bug This appears to be a problem with optimization: with -O2 routine compiles without errors. Small changes to the code also seems to fix the problem: e.g. changing exchWidthX to OLx in line 947 The code is part of a ocean model used in oceanography (http://mitgcm.org) and usually compiles on unix-like platforms with a f77 compiler without problems. command-line and output follows, fortran code is attached: gfortran -v -save-temps -Wunused -Wuninitialized -fsecond-underscore -fconvert=big-endian -ffixed-line-length-132 -O3 -funroll-loops -c exch2_uv_agrid_3d_rl.f Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin10.4.0/4.6.0/lto-wrapper Target: x86_64-apple-darwin10.4.0 Configured with: ../gcc-4.6-20101106/configure --enable-languages=c++,fortran Thread model: posix gcc version 4.6.0 20101106 (experimental) (GCC) COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.6.6' '-v' '-save-temps' '-Wunused' '-Wuninitialized' '-fsecond-underscore' '-fconvert=big-endian' '-ffixed-line-length-132' '-O3' '-funroll-loops' '-c' '-mtune=generic' /usr/local/libexec/gcc/x86_64-apple-darwin10.4.0/4.6.0/f951 exch2_uv_agrid_3d_rl.f -ffixed-form -fPIC -quiet -dumpbase exch2_uv_agrid_3d_rl.f -mmacosx-version-min=10.6.6 -mtune=generic -auxbase exch2_uv_agrid_3d_rl -O3 -Wunused -Wuninitialized -version -fsecond-underscore -fconvert=big-endian -ffixed-line-length-132 -funroll-loops -fintrinsic-modules-path /usr/local/lib/gcc/x86_64-apple-darwin10.4.0/4.6.0/finclude -o exch2_uv_agrid_3d_rl.s GNU Fortran (GCC) version 4.6.0 20101106 (experimental) (x86_64-apple-darwin10.4.0) compiled by GNU C version 4.6.0 20101106 (experimental), GMP version 4.3.1, MPFR version 2.4.1, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU Fortran (GCC) version 4.6.0 20101106 (experimental) (x86_64-apple-darwin10.4.0) compiled by GNU C version 4.6.0 20101106 (experimental), GMP version 4.3.1, MPFR version 2.4.1, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 exch2_uv_agrid_3d_rl.f: In function ‘exch2_uv_agrid_3d_rl’: exch2_uv_agrid_3d_rl.f:293:0: internal compiler error: in build2_stat, at tree.c:3795 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
next reply other threads:[~2011-02-01 16:17 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-02-01 16:17 mlosch@uni-bremen.de [this message] 2011-02-01 16:20 ` [Bug fortran/47574] " mlosch@uni-bremen.de 2011-02-01 16:54 ` burnus at gcc dot gnu.org 2011-02-01 18:06 ` mlosch@uni-bremen.de 2011-02-01 20:03 ` dominiq at lps dot ens.fr 2011-02-01 20:41 ` dominiq at lps dot ens.fr 2011-02-02 9:00 ` mlosch@uni-bremen.de 2011-02-02 9:09 ` mlosch@uni-bremen.de 2011-02-02 9:35 ` dominiq at lps dot ens.fr 2011-02-02 10:08 ` mlosch@uni-bremen.de 2011-02-02 10:28 ` mlosch@uni-bremen.de 2011-02-02 11:22 ` dominiq at lps dot ens.fr 2011-02-02 16:26 ` dominiq at lps dot ens.fr 2011-02-03 20:16 ` dominiq at lps dot ens.fr 2011-02-05 10:35 ` tkoenig at gcc dot gnu.org 2011-02-05 10:39 ` tkoenig at gcc dot gnu.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-47574-4@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).