[Issue 39] New: gdmd segfault during compilation of simple matrix multiplication routine
gdc-bugzilla at gdcproject.org
gdc-bugzilla at gdcproject.org
Tue Mar 5 22:28:34 PST 2013
http://gdcproject.org/bugzilla/show_bug.cgi?id=39
Bug #: 39
Summary: gdmd segfault during compilation of simple matrix
multiplication routine
Classification: Unclassified
Product: GDC
Version: 4.7.x
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: critical
Priority: Normal
Component: gdc
AssignedTo: ibuclaw at gdcproject.org
ReportedBy: j.e.aten at gmail.com
Created attachment 33
--> http://gdcproject.org/bugzilla/attachment.cgi?id=33
source code that induces gdmd to segfault
See the attached source file for a simple matrix multiplication test. When
attempting to compile on linux with gdmd, the compiler segfaults. The gdc
compiler should complain if it doesn't like the code, but it should never
itself segfault.
On OS: Ubuntu 10.04
$ uname -a
Linux hotbox 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010
x86_64 GNU/Linux
On GDC: built atop gcc 4.7.2.
$ gdmd -v
gdc (GCC) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Specific source version of GDC as pulled from git: (on branch 4.7.2)
~/pkg/gdc/GDC$ git log|head
commit b8f5c22b0e7afa7e68a287ed788597e783540063
Merge: d4936c9 84d02ef
Author: Iain Buclaw <ibuclaw at ubuntu.com>
Date: Sun Feb 24 06:46:00 2013 -0800
Merge pull request #51 from jpf91/gdc-4.7
Update gdc-4.7 branch
commit 84d02efb3f0d608935dc98114a2c3cec6433c94a
~/pkg/gdc/GDC$ git branch -v
* gdc-4.7 b8f5c22 Merge pull request #51 from jpf91/gdc-4.7
master 465c7cc Handle use cases of @attribute foo, and @attribute(null) foo.
~/pkg/gdc/GDC$
result of running attached source:
$ gdmd gdmd_segfault.d
gdmd_segfault.d: In function ‘scid_matrix_test.mmult’:
gdmd_segfault.d:76: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
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