www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 1031] New: regression: SIGSEGV at expr.c:6498

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1031

           Summary: regression: SIGSEGV at expr.c:6498
           Product: DGCC aka GDC
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: glue layer
        AssignedTo: dvdfrdmn users.sf.net
        ReportedBy: thomas-dloop kuehne.cn


















Starting program: 
/opt/gdc/gdc-0.23/libexec/gcc/x86_64-unknown-linux-gnu/4.1.1/cc1d -m32 
run/l/length_10_A.d
 intRes main
Program received signal SIGSEGV, Segmentation fault.
0x00000000005fd3c5 in expand_expr_real (exp=0x0, target=0x0, tmode=VOIDmode, 
modifier=EXPAND_WRITE, alt_rtl=0x0)
    at ../../gcc-4.1.1/gcc/expr.c:6498
6498      if (TREE_CODE (exp) == ERROR_MARK
(gdb) bt

tmode=VOIDmode, modifier=EXPAND_WRITE, alt_rtl=0x0)
    at ../../gcc-4.1.1/gcc/expr.c:6498

modifier=EXPAND_WRITE)
    at ../../gcc-4.1.1/gcc/expr.h:493

tmode=VOIDmode, modifier=EXPAND_WRITE, 
    alt_rtl=0x0) at ../../gcc-4.1.1/gcc/expr.c:6799

tmode=VOIDmode, modifier=EXPAND_WRITE, 
    alt_rtl=0x0) at ../../gcc-4.1.1/gcc/expr.c:6536

mode=VOIDmode, modifier=EXPAND_WRITE)
    at ../../gcc-4.1.1/gcc/expr.h:493

from=0x2b09b704c690) at ../../gcc-4.1.1/gcc/expr.c:4075

tmode=VOIDmode, modifier=EXPAND_NORMAL, 
    alt_rtl=0x0) at ../../gcc-4.1.1/gcc/expr.c:8411

target=0x2b09b6faa400, tmode=VOIDmode, 
    modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../gcc-4.1.1/gcc/expr.c:6530

target=0x2b09b6faa400, mode=VOIDmode, modifier=EXPAND_NORMAL)
    at ../../gcc-4.1.1/gcc/expr.h:493

../../gcc-4.1.1/gcc/stmt.c:1357

dump_file=0x0) at ../../gcc-4.1.1/gcc/cfgexpand.c:1365

../../gcc-4.1.1/gcc/cfgexpand.c:1624

../../gcc-4.1.1/gcc/passes.c:827

../../gcc-4.1.1/gcc/passes.c:859

../../gcc-4.1.1/gcc/tree-optimize.c:419

../../gcc-4.1.1/gcc/d/d-lang.cc:1744

../../gcc-4.1.1/gcc/cgraphunit.c:1055

../../gcc-4.1.1/gcc/cgraphunit.c:352

nested=0 '\0')
    at ../../gcc-4.1.1/gcc/cgraphunit.c:455

../../gcc-4.1.1/gcc/d/d-objfile.cc:393

../../gcc-4.1.1/gcc/d/d-glue.cc:2533

../../gcc-4.1.1/gcc/d/d-glue.cc:2566

../../gcc-4.1.1/gcc/d/d-lang.cc:1088



../../gcc-4.1.1/gcc/toplev.c:1981

../../gcc-4.1.1/gcc/main.c:35

test cases:
http://dstress.kuehne.cn/run/l/length_10_A.d
http://dstress.kuehne.cn/run/l/length_10_B.d
http://dstress.kuehne.cn/run/l/length_10_C.d


-- 
Mar 07 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1031


braddr puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |regression




-- 
Apr 13 2007
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1031


dvdfrdmn users.sf.net changed:

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





Fixed in release svn r126 / release 0.24


-- 
Jul 14 2007