www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10224] New: core.simd ICE cgcv.c line 2162 when compiling with -g

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

           Summary: core.simd ICE cgcv.c line 2162 when compiling with -g
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: code benjamin-thaut.de


--- Comment #0 from Benjamin Thaut <code benjamin-thaut.de> 2013-06-01 02:49:50
PDT ---
When compiling the attached repro case with 
dmd -m64 -g repro.d

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 01 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10224



--- Comment #1 from Benjamin Thaut <code benjamin-thaut.de> 2013-06-01 02:50:06
PDT ---
Created an attachment (id=1218)
repro case

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 01 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10224


Manu <turkeyman gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |turkeyman gmail.com


--- Comment #2 from Manu <turkeyman gmail.com> 2013-06-03 03:48:06 PDT ---
Yep, this is definitely annoying. I just hadn't pestered Walter about it yet.
Thx for the bug! :P

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 03 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10224


Benjamin Thaut <code benjamin-thaut.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs eml.cc


--- Comment #3 from Benjamin Thaut <code benjamin-thaut.de> 2013-06-27 09:25:51
PDT ---
*** Issue 10450 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 27 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10224



--- Comment #4 from bearophile_hugs eml.cc 2013-06-27 13:04:53 PDT ---
Also take a look at the test cases in Issue 10450 

Another test case:

import core.simd: double2;
struct Foo {
    double2 x;
    this(uint) {
        x = [0.0, 0.0];
    }
}
void main() {
    Foo y = Foo();
}



dmd gives the same error with -g:

Internal error: backend\cgcv.c 2162


ldmd2 gives even without -g:

fpext source and destination must both be a vector or neither
  %tmp1 = fpext double 0x7FFC000000000000 to <2 x double>
Broken module found, compilation aborted!

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 27 2013