public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/50752] New: [4.7 Regression] ICE in match_kind_param
@ 2011-10-17  6:50 Joost.VandeVondele at pci dot uzh.ch
  2011-10-17  8:09 ` [Bug fortran/50752] " janus at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Joost.VandeVondele at pci dot uzh.ch @ 2011-10-17  6:50 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50752
           Summary: [4.7 Regression] ICE in match_kind_param
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Joost.VandeVondele@pci.uzh.ch


This one-liner leads to a segfault in 4.7:

vondele@pcihopt3:/data03/vondele/bugs/ice> cat bug.f90
    rPos=0.0_dp
vondele@pcihopt3:/data03/vondele/bugs/ice> gfortran bug.f90
f951: internal compiler error: Segmentation fault

60        *is_iso_c = sym->attr.is_iso_c;
(gdb) bt
#0  0x000000000056db6f in match_kind_param (is_iso_c=0x7fffffffd51c) at
../../gcc/gcc/fortran/primary.c:60
#1  get_kind (is_iso_c=0x7fffffffd51c) at ../../gcc/gcc/fortran/primary.c:103
#2  0x000000000056de7b in match_real_constant (result=0x7fffffffd660,
signflag=Unhandled dwarf expression opcode 0xf3
) at ../../gcc/gcc/fortran/primary.c:625
#3  0x000000000056ed6c in gfc_match_literal_constant (result=0x7fffffffd660,
signflag=0) at ../../gcc/gcc/fortran/primary.c:1367
#4  0x000000000055994e in match_primary (result=0x7fffffffd6c0) at
../../gcc/gcc/fortran/matchexp.c:149
#5  match_level_1 (result=0x7fffffffd6c0) at
../../gcc/gcc/fortran/matchexp.c:210
#6  match_mult_operand (result=0x7fffffffd6c0) at
../../gcc/gcc/fortran/matchexp.c:264
#7  0x0000000000559c3d in match_add_operand (result=0x7fffffffd718) at
../../gcc/gcc/fortran/matchexp.c:353
#8  0x0000000000559f65 in match_level_2 (result=0x7fffffffd760) at
../../gcc/gcc/fortran/matchexp.c:477
#9  0x000000000055a005 in match_level_3 (result=0x7fffffffd7c0) at
../../gcc/gcc/fortran/matchexp.c:548
#10 0x000000000055a13a in match_level_4 (result=0x7fffffffd810) at
../../gcc/gcc/fortran/matchexp.c:596


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

end of thread, other threads:[~2011-10-17 10:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-17  6:50 [Bug fortran/50752] New: [4.7 Regression] ICE in match_kind_param Joost.VandeVondele at pci dot uzh.ch
2011-10-17  8:09 ` [Bug fortran/50752] " janus at gcc dot gnu.org
2011-10-17  9:37 ` burnus at gcc dot gnu.org
2011-10-17  9:47 ` janus at gcc dot gnu.org
2011-10-17 10:54 ` janus at gcc dot gnu.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).