public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37223]  New: [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563
@ 2008-08-24 18:04 jv244 at cam dot ac dot uk
  2008-08-24 18:07 ` [Bug middle-end/37223] " jv244 at cam dot ac dot uk
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jv244 at cam dot ac dot uk @ 2008-08-24 18:04 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3051 bytes --]

This nights trunk fails (gcc of Aug 19th was still fine) with:

gfortran -c -O3 -ffast-math -funroll-loops -ftree-vectorize -march=native
-ffree-form -D__GFORTRAN -D__FFTSG -g -v pw_spline_utils.F
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: /data/vondele/gcc_bench/gcc_trunk/gcc/configure
--prefix=/data/vondele/gcc_bench/gcc_trunk/build --enable-languages=c,fortran
Thread model: posix
gcc version 4.4.0 20080823 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-c' '-O3' '-ffast-math' '-funroll-loops'
'-ftree-vectorize'  '-ffree-form' '-D__GFORTRAN' '-D__FFTSG' '-g' '-v'

/data/vondele/gcc_bench/gcc_trunk/build/libexec/gcc/x86_64-unknown-linux-gnu/4.4.0/f951
pw_spline_utils.F -cpp /tmp/ccfcaaIN.f90 -quiet -v -D__GFORTRAN -D__FFTSG
pw_spline_utils.F -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param
l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -ffast-math
-funroll-loops -ftree-vectorize -ffree-form -g -fworking-directory -O3
-march=core2 -mcx16 -msahf --param l1-cache-size=32 --param
l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -quiet -dumpbase
pw_spline_utils.F -auxbase pw_spline_utils -g -O3 -version -ffast-math
-funroll-loops -ftree-vectorize -ffree-form -fintrinsic-modules-path
/data/vondele/gcc_bench/gcc_trunk/build/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/finclude
-o /tmp/cc2IAzfr.s
ignoring nonexistent directory
"/data/vondele/gcc_bench/gcc_trunk/build/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:

/data/vondele/gcc_bench/gcc_trunk/build/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/finclude
 .
#include <...> search starts here:
 /usr/local/include
 /data/vondele/gcc_bench/gcc_trunk/build/include

/data/vondele/gcc_bench/gcc_trunk/build/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/include

/data/vondele/gcc_bench/gcc_trunk/build/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/include-fixed
 /usr/include
End of search list.
GNU Fortran (GCC) version 4.4.0 20080823 (experimental)
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.4.0 20080823 (experimental), GMP version
4.2.2, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
pw_spline_utils.F: In function ‘T.974’:
pw_spline_utils.F:1482: internal compiler error: in referenced_var_lookup, at
tree-dfa.c:563
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

testcase to be attached


-- 
           Summary: [4.4 regression] internal compiler error: in
                    referenced_var_lookup, at tree-dfa.c:563
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk
OtherBugsDependingO 29975
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37223


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/37223] [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563
  2008-08-24 18:04 [Bug middle-end/37223] New: [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563 jv244 at cam dot ac dot uk
@ 2008-08-24 18:07 ` jv244 at cam dot ac dot uk
  2008-08-24 18:43 ` tkoenig at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jv244 at cam dot ac dot uk @ 2008-08-24 18:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jv244 at cam dot ac dot uk  2008-08-24 18:05 -------
Created an attachment (id=16137)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16137&action=view)
testcase

untar and compile with 

gfortran -c -O3 -ffast-math -funroll-loops -ftree-vectorize -march=native 
-ffree-form -D__GFORTRAN -D__FFTSG -g -v pw_spline_utils.F


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37223


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/37223] [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563
  2008-08-24 18:04 [Bug middle-end/37223] New: [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563 jv244 at cam dot ac dot uk
  2008-08-24 18:07 ` [Bug middle-end/37223] " jv244 at cam dot ac dot uk
@ 2008-08-24 18:43 ` tkoenig at gcc dot gnu dot org
  2008-08-24 19:15 ` jv244 at cam dot ac dot uk
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2008-08-24 18:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tkoenig at gcc dot gnu dot org  2008-08-24 18:42 -------
(In reply to comment #1)
> Created an attachment (id=16137)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16137&action=view) [edit]
> testcase
> 
> untar and compile with 
> 
> gfortran -c -O3 -ffast-math -funroll-loops -ftree-vectorize -march=native 
> -ffree-form -D__GFORTRAN -D__FFTSG -g -v pw_spline_utils

I can't reproduce this.

What I get if I compile this using your command line is

NU Fortran (GCC) version 4.4.0 20080823 (experimental)
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.4.0 20080823 (experimental), GMP version
4.2.1, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Fatal Error: Reading module cell_types at line 35 column 30: Expected integer


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37223


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/37223] [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563
  2008-08-24 18:04 [Bug middle-end/37223] New: [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563 jv244 at cam dot ac dot uk
  2008-08-24 18:07 ` [Bug middle-end/37223] " jv244 at cam dot ac dot uk
  2008-08-24 18:43 ` tkoenig at gcc dot gnu dot org
@ 2008-08-24 19:15 ` jv244 at cam dot ac dot uk
  2008-08-24 20:01 ` jv244 at cam dot ac dot uk
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jv244 at cam dot ac dot uk @ 2008-08-24 19:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jv244 at cam dot ac dot uk  2008-08-24 19:13 -------
(In reply to comment #2)
> (In reply to comment #1)
> > Created an attachment (id=16137)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16137&action=view) [edit]
> > testcase
> > 
> > untar and compile with 
> > 
> > gfortran -c -O3 -ffast-math -funroll-loops -ftree-vectorize -march=native 
> > -ffree-form -D__GFORTRAN -D__FFTSG -g -v pw_spline_utils
> 

strange, I downloaded the tarbal, and it reproduced 'just fine'. Why would
module files be non-compatible between different installation of gcc?

The full CP2K sources are the ones used for the CP2K gfortran benchmark:
ftp://ftp.berlios.de/pub/cp2k/gfortran/gcc_bench.tgz


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37223


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/37223] [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563
  2008-08-24 18:04 [Bug middle-end/37223] New: [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563 jv244 at cam dot ac dot uk
                   ` (2 preceding siblings ...)
  2008-08-24 19:15 ` jv244 at cam dot ac dot uk
@ 2008-08-24 20:01 ` jv244 at cam dot ac dot uk
  2008-08-24 20:35 ` pinskia at gcc dot gnu dot org
  2008-08-25  6:12 ` jv244 at cam dot ac dot uk
  5 siblings, 0 replies; 7+ messages in thread
From: jv244 at cam dot ac dot uk @ 2008-08-24 20:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jv244 at cam dot ac dot uk  2008-08-24 20:00 -------
Created an attachment (id=16138)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16138&action=view)
Fortran only testcase

compile as:

gfortran -c -O3 -ffast-math -funroll-loops -ftree-vectorize -march=native
-ffree-line-length-none PR37223.f90


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37223


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/37223] [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563
  2008-08-24 18:04 [Bug middle-end/37223] New: [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563 jv244 at cam dot ac dot uk
                   ` (3 preceding siblings ...)
  2008-08-24 20:01 ` jv244 at cam dot ac dot uk
@ 2008-08-24 20:35 ` pinskia at gcc dot gnu dot org
  2008-08-25  6:12 ` jv244 at cam dot ac dot uk
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-24 20:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2008-08-24 20:34 -------
I think this was fixed by reverting the patch which turned on IPA-CP by
default.  Also I think this was really fixed by
http://gcc.gnu.org/ml/gcc-cvs/2008-08/msg01104.html.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37223


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug middle-end/37223] [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563
  2008-08-24 18:04 [Bug middle-end/37223] New: [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563 jv244 at cam dot ac dot uk
                   ` (4 preceding siblings ...)
  2008-08-24 20:35 ` pinskia at gcc dot gnu dot org
@ 2008-08-25  6:12 ` jv244 at cam dot ac dot uk
  5 siblings, 0 replies; 7+ messages in thread
From: jv244 at cam dot ac dot uk @ 2008-08-25  6:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jv244 at cam dot ac dot uk  2008-08-25 06:10 -------
today's trunk gets this right.


-- 

jv244 at cam dot ac dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37223


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-08-25  6:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-24 18:04 [Bug middle-end/37223] New: [4.4 regression] internal compiler error: in referenced_var_lookup, at tree-dfa.c:563 jv244 at cam dot ac dot uk
2008-08-24 18:07 ` [Bug middle-end/37223] " jv244 at cam dot ac dot uk
2008-08-24 18:43 ` tkoenig at gcc dot gnu dot org
2008-08-24 19:15 ` jv244 at cam dot ac dot uk
2008-08-24 20:01 ` jv244 at cam dot ac dot uk
2008-08-24 20:35 ` pinskia at gcc dot gnu dot org
2008-08-25  6:12 ` jv244 at cam dot ac dot uk

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).