View mode: basic / threaded / horizontal-split · Log in · Help
February 09, 2012
[Issue 7474] New: ICE cgcs.c 354 on instanciating a struct with field and destructor as tuple
http://d.puremagic.com/issues/show_bug.cgi?id=7474

          Summary: ICE cgcs.c 354 on instanciating a struct with field
                   and destructor as tuple
          Product: D
          Version: D2
         Platform: All
       OS/Version: All
           Status: NEW
         Keywords: ice, ice-on-valid-code
         Severity: major
         Priority: P2
        Component: DMD
       AssignedTo: nobody@puremagic.com
       ReportedBy: sludwig@outerproduct.org


--- Comment #0 from Sönke Ludwig <sludwig@outerproduct.org> 2012-02-09 11:18:59 PST ---
The following code produces "Internal error: ..\ztc\cgcs.c 354".

---
struct S {
 float x;
 ~this() {}
}

void fun(T...)() { T x; }
void gun() { fun!S(); }
---

Changing float to byte, short, int, long or the unsigned variants of these
makes the code compile. All other primitive types seem to fail.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 03, 2013
[Issue 7474] ICE(cgcs.c) on instantiating a struct with field and destructor as tuple
http://d.puremagic.com/issues/show_bug.cgi?id=7474


yebblies <yebblies@gmail.com> changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
                CC|                            |fawzi@gmx.ch


--- Comment #1 from yebblies <yebblies@gmail.com> 2013-01-03 15:42:52 EST ---
*** Issue 8761 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: -------
October 02
[Issue 7474] ICE(cgcs.c) on instantiating a struct with field and destructor as tuple
http://d.puremagic.com/issues/show_bug.cgi?id=7474


Walter Bright <bugzilla@digitalmars.com> changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
                CC|                            |bugzilla@digitalmars.com


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2013-10-02 15:55:59 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2619

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 03
[Issue 7474] ICE(cgcs.c) on instantiating a struct with field and destructor as tuple
http://d.puremagic.com/issues/show_bug.cgi?id=7474



--- Comment #3 from github-bugzilla@puremagic.com 2013-10-03 01:07:48 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/4df9995e5a6bf4295663459574e8d17506a97585
fix
Issue 7474 - ICE(cgcs.c) on instantiating a struct with field and destructor as
tuple

https://github.com/D-Programming-Language/dmd/commit/5ba579fb49605eeebbe21ef4476a6c7974206c01
Merge pull request #2619 from WalterBright/fix7474

fix Issue 7474 - ICE(cgcs.c) on instantiating a struct with field and
destructor as tuple

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 04
[Issue 7474] ICE(cgcs.c) on instantiating a struct with field and destructor as tuple
http://d.puremagic.com/issues/show_bug.cgi?id=7474



--- Comment #4 from github-bugzilla@puremagic.com 2013-10-04 12:08:55 PDT ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f71253a4f39e8f0273087e9e060f31bbcba75f4a
Merge pull request #2619 from WalterBright/fix7474

fix Issue 7474 - ICE(cgcs.c) on instantiating a struct with field and
destructor as tuple

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 07
[Issue 7474] ICE(cgcs.c) on instantiating a struct with field and destructor as tuple
http://d.puremagic.com/issues/show_bug.cgi?id=7474


Walter Bright <bugzilla@digitalmars.com> changed:

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


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Top | Discussion index | About this forum | D home