This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: internal compiler error with gfortran 4.4-20081107


>
> You could try running f951 in a debugger to see where it dies.
>

Here is the backtrace from gdb 6.8.0.20090120


> gfortran -v
Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with:
/home/kkusuman/software/unZipped/gcc-4.4-20090109/configure
--enable-languages=c,c++,fortran
--prefix=/home/kkusuman/software/myroot/gcc-4.4-20090109 --with-gnu-as
--with-as=/home/kkusuman/software/myroot/bin/as --with-gnu-ld
--with-ld=/home/kkusuman/software/myroot/bin/ld
Thread model: posix
gcc version 4.4.0 20090109 (experimental) (GCC)


> gdb /home/kkusuman/software/myroot/gcc-4.4-20090109/libexec/gcc/sparc-sun-solaris2.8/4.4.0/f951
GNU gdb 6.8.0.20090120
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
(gdb) run heapsort.f90
Starting program:
/home/kkusuman/software/myroot/gcc-4.4-20090109/libexec/gcc/sparc-sun-solaris2.8/4.4.0/f951
heapsort.f90
 heapsort
Analyzing compilation unit
Performing interprocedural optimizations
 <visibility> <early_local_cleanups> <summary generate>
<inline>Assembling functions:
 heapsort
Program received signal SIGSEGV, Segmentation fault.
0x0043bd14 in compare_pairs (p1=0x8ab86c, p2=0x8ab874) at
/home/kkusuman/software/unZipped/gcc-4.4-20090109/gcc/tree-ssa-coalesce.c:318
318       result = (* pp2)->cost - (* pp1)->cost;
(gdb) bt
#0  0x0043bd14 in compare_pairs (p1=0x8ab86c, p2=0x8ab874) at
/home/kkusuman/software/unZipped/gcc-4.4-20090109/gcc/tree-ssa-coalesce.c:318
#1  0xff1cb8d0 in qsort () from /usr/lib/libc.so.1
#2  0x0043f744 in coalesce_ssa_name () at
/home/kkusuman/software/unZipped/gcc-4.4-20090109/gcc/tree-ssa-coalesce.c:434
#3  0x003f6394 in rewrite_out_of_ssa () at
/home/kkusuman/software/unZipped/gcc-4.4-20090109/gcc/tree-outof-ssa.c:1353
#4  0x002d9834 in execute_one_pass (pass=0x7e0704) at
/home/kkusuman/software/unZipped/gcc-4.4-20090109/gcc/passes.c:1279
#5  0x002d9ac4 in execute_pass_list (pass=0x7e0704) at
/home/kkusuman/software/unZipped/gcc-4.4-20090109/gcc/passes.c:1328
#6  0x003f1b74 in tree_rest_of_compilation (fndecl=0xfef64400) at
/home/kkusuman/software/unZipped/gcc-4.4-20090109/gcc/tree-optimize.c:419
#7  0x0056a1e8 in cgraph_expand_function (node=0xfef0ea00) at
/home/kkusuman/software/unZipped/gcc-4.4-20090109/gcc/cgraphunit.c:1047
#8  0x0056a490 in cgraph_output_in_order () at
/home/kkusuman/software/unZipped/gcc-4.4-20090109/gcc/cgraphunit.c:1195
#9  0x0056c5d4 in cgraph_optimize () at
/home/kkusuman/software/unZipped/gcc-4.4-20090109/gcc/cgraphunit.c:1306
#10 0x0009d380 in gfc_be_parse_file (set_yydebug=<value optimized
out>) at /home/kkusuman/software/unZipped/gcc-4.4-20090109/gcc/fortran/f95-lang.c:240
#11 0x0039a4e8 in toplev_main (argc=<value optimized out>, argv=<value
optimized out>) at
/home/kkusuman/software/unZipped/gcc-4.4-20090109/gcc/toplev.c:970
#12 0x0001362c in _start () at
/home/kkusuman/software/unZipped/gcc-4.4-20090109/gcc/config/sparc/sol2-c1.asm:106


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]