[Issue 30] New: Finalization failure in complex case

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Fri Dec 28 01:19:53 PST 2012


http://gdcproject.org/bugzilla/show_bug.cgi?id=30

             Bug #: 30
           Summary: Finalization failure in complex case
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw at gdcproject.org
        ReportedBy: dlang at davidb.org


Created attachment 19
  --> http://gdcproject.org/bugzilla/attachment.cgi?id=19
Minimal failure example code.

The attached file 'failure.d' when compiled with

  gdc -O3 -o failure failure.d

causes a failure on the finalization of the scope class.  The failure only
happens with -O3, and I am unable to remove any other parts of the test case
and still see the failure.

If I change the main block to a 'unittest { ... }' block, add a dummy main, and
add -funittest to the compilation, I also get a failure with different output.

The exception output contains binary data, some of which appears to be my
environment variables.  I will attempt to attache the output after creating the
bug, since it is binary.

I'm using gdc built by the Arch 'gdc-git' AUR, which has build
commit f07f442764d26104b4ab047858982a13903ef7a4
Merge: 102ab27 cd3e24b
Author: Iain Buclaw <ibuclaw at ubuntu.com>
Date:   Fri Dec 7 12:56:01 2012 -0800

    Merge pull request #40 from lomereiter/new_gcc_vec_api

on top of gcc-4.8-20121118, with the only modification being to edit the
dynamic linker name per Arch conventions.  The architecture is Amd64.

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.


More information about the D.gnu mailing list