public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/21203] New: Segfault while compiling libgfortran/intrinsics/selected_int_kind.f90
@ 2005-04-25  8:21 corsepiu at gcc dot gnu dot org
  2005-04-25 13:33 ` [Bug fortran/21203] " pinskia at gcc dot gnu dot org
                   ` (27 more replies)
  0 siblings, 28 replies; 33+ messages in thread
From: corsepiu at gcc dot gnu dot org @ 2005-04-25  8:21 UTC (permalink / raw)
  To: gcc-bugs

During bootstrapping gcc-4.0.0 (release) with f95 enabled, this segfault occurs:

#/users/rtems/src/rpms/BUILD/rtems-4.7-h8300-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/build/gcc/gfortran
-B/users/rtems/src/rpms/BUILD/rtems-4.7-h8300-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/build/gcc/
-nostdinc
-B/users/rtems/src/rpms/BUILD/rtems-4.7-h8300-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/build/h8300-rtems4.7/newlib/
-isystem
/users/rtems/src/rpms/BUILD/rtems-4.7-h8300-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/build/h8300-rtems4.7/newlib/targ-include
-isystem
/users/rtems/src/rpms/BUILD/rtems-4.7-h8300-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/gcc-4.0.0/newlib/libc/include
-B/opt/rtems-4.7/h8300-rtems4.7/bin/ -B/opt/rtems-4.7/h8300-rtems4.7/lib/
-isystem /opt/rtems-4.7/h8300-rtems4.7/include -isystem
/opt/rtems-4.7/h8300-rtems4.7/sys-include -Wall -fno-repack-arrays
-fno-underscoring -c
../../../gcc-4.0.0/libgfortran/intrinsics/selected_int_kind.f90 -o
selected_int_kind.o
<built-in>:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [selected_int_kind.lo] Error 1


gdb reveils this to be cause:

Program received signal SIGSEGV, Segmentation fault.
show_locus (offset=0, loc=0x833a17c) at ../../gcc-4.0.0/gcc/fortran/error.c:136

 135   lb = loc->lb;
 136   f = lb->file;

With
(gdb) print *loc
$10 = {nextc = 0x0, lb = 0x0}

I.e. a NULL pointer dereference in error.c:136

-- 
           Summary: Segfault while compiling
                    libgfortran/intrinsics/selected_int_kind.f90
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: corsepiu at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: h8300-rtems4.7


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


^ permalink raw reply	[flat|nested] 33+ messages in thread
[parent not found: <bug-21203-9565@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-09-25  9:19 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-25  8:21 [Bug fortran/21203] New: Segfault while compiling libgfortran/intrinsics/selected_int_kind.f90 corsepiu at gcc dot gnu dot org
2005-04-25 13:33 ` [Bug fortran/21203] " pinskia at gcc dot gnu dot org
2005-04-25 14:34 ` corsepiu at gcc dot gnu dot org
2005-04-25 16:38 ` kargl at gcc dot gnu dot org
2005-04-25 17:15 ` corsepiu at gcc dot gnu dot org
2005-05-01 14:44 ` ert at roe dot ac dot uk
2005-05-05 17:25 ` ericw at evcohs dot com
2005-05-11 23:12 ` tobi at gcc dot gnu dot org
2005-05-13  7:56 ` corsepiu at gcc dot gnu dot org
2005-05-13  7:59 ` corsepiu at gcc dot gnu dot org
2005-05-13 18:48 ` kargl at gcc dot gnu dot org
2005-05-13 19:25 ` tobi at gcc dot gnu dot org
2005-05-13 20:34 ` pinskia at gcc dot gnu dot org
2005-05-13 21:30 ` kargl at gcc dot gnu dot org
2005-05-14  6:30 ` corsepiu at gcc dot gnu dot org
2005-05-14  7:00 ` corsepiu at gcc dot gnu dot org
2005-05-14  7:04   ` Andrew Pinski
2005-05-14  7:08   ` Andrew Pinski
2005-05-14  7:04 ` pinskia at physics dot uc dot edu
2005-05-14  7:08 ` pinskia at physics dot uc dot edu
2005-05-14  8:14 ` corsepiu at gcc dot gnu dot org
2005-05-14  8:34 ` corsepiu at gcc dot gnu dot org
2005-05-14 15:25 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
2005-05-14 15:58 ` sgk at troutmask dot apl dot washington dot edu
2005-05-14 16:06 ` sgk at troutmask dot apl dot washington dot edu
2005-05-15  3:55 ` corsepiu at gcc dot gnu dot org
     [not found] ` <12687093.1116061034131.JavaMail.root@dtm1eusosrv72.dtm.ops.eu.uu.net>
2005-05-15 18:49   ` Toon Moene
2005-05-15 18:49 ` toon at moene dot indiv dot nluug dot nl
2005-05-16 14:01 ` joel at oarcorp dot com
2005-05-16 14:05 ` corsepiu at gcc dot gnu dot org
2005-05-18 11:24 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
     [not found] <bug-21203-9565@http.gcc.gnu.org/bugzilla/>
2006-02-12 18:47 ` tobi at gcc dot gnu dot org
2006-09-25  9:19 ` fxcoudert at gcc dot gnu dot org

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