www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 1607] New: Segmentation fault on x86_64

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

           Summary: Segmentation fault on x86_64
           Product: DGCC aka GDC
           Version: 0.24
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn users.sf.net
        ReportedBy: pop.atry gmail.com


the error is:

/home/yangbo/trunk/tango/tango/text/convert/Format.d: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.

This bug will appear anywhere I write Layout!(char).


-- 
Oct 22 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1607





------- Comment #1 from pop.atry gmail.com  2007-10-23 01:59 -------
module test;

void foo(int n, ...) {

  TypeInfo[] arguments = _arguments;

  void* args = _argptr;  // this line causes crash.

}

void main() {
  foo(1,4,5);
}


-- 
Oct 22 2007
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1607


pop.atry gmail.com changed:

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




------- Comment #2 from pop.atry gmail.com  2007-10-23 02:05 -------


*** This bug has been marked as a duplicate of 1507 ***


-- 
Oct 23 2007