This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

[tuples] libgfortran building is broken


I noticed on the wiki, that it says "Another way of getting a clean
build in the meantime is to only enable C and Fortran. "  But this is
not true, building libgfortran is broken.  It causes an ICE while
building f2c_specifics.F90 on i686-linux-gnu.

[pinskia@celery libgfortran]$
/home/pinskia/src/gcc/tuples/gcc/objdir/./gcc/gfortran
-B/home/pinskia/src/gcc/tuples/gcc/objdir/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/
-B/usr/local/i686-pc-linux-gnu/lib/ -isystem
/usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../libgfortran -I. -iquote../../../libgfortran/io
-I../../../libgfortran/../gcc -I../../../libgfortran/../gcc/config
-I../.././gcc -D_GNU_SOURCE -I . -Wall -fno-repack-arrays
-fno-underscoring -fallow-leading-underscore -g -O2 -c
../../../libgfortran/intrinsics/f2c_specifics.F90 -fPIC -o
.libs/f2c_specifics.o
../../../libgfortran/intrinsics/f2c_specifics.F90: In function
'_gfortran_f2c_specific__exp_c4':
../../../libgfortran/intrinsics/f2c_specifics.F90:97: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Here is some more info from gdb:
Program received signal SIGSEGV, Segmentation fault.
0x0827b1d9 in gimplify_body (body_p=0xb7d12ad8, fndecl=0xb7d12a80,
    do_parms=1 '\001') at ../../gcc/gimplify.c:6777
6777      if (TREE_CODE (*body_p) == BIND_EXPR)

At this point *body_p is NULL.

This condtion was added via:
r133319 | olegr | 2008-03-18 12:20:40 -0700 (Tue, 18 Mar 2008) | 15 lines

2008-03-18  Diego Novillo  <dnovillo@google.com>
            Oleg Ryjkov  <olegr@google.com>

        * gimplify.c (gimplify_body): Copy the block information from
        the tree function body to gimple function body.



Also is there any way to print out a gimple_seq_d * in some nice
formated way like you can do with the old tree based gimple?

Thanks,
Andrew Pinski


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