[Issue 7479] New: Regression(2.046) ICE(glue.c) with invalid template parameter during gagging

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 10 02:36:38 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7479

           Summary: Regression(2.046) ICE(glue.c) with invalid template
                    parameter during gagging
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: clugdbug at yahoo.com.au


--- Comment #0 from Don <clugdbug at yahoo.com.au> 2012-02-10 02:36:35 PST ---
This is a test case from bug 4269, which was not fixed by the recent commit to
mitigate 4269. Note also that 4269 was a regression in 2.031, this one is far
more recent.

==============================
static if(is(typeof(X3.init))) {}
void X3(T3) { }
==============================
ICE(glue.c) for 2.047 on. It generated an error on 2.045 and earlier. (On 2.046
it silently generated bad code).



==========================================
Comment from yebblies:

The crash is due to an error in a parameter type not resulting in
TypeFunction::semantic returning terror.  (Or at least, that and the fact it
reaches code generation due to this bug.)  I swear I fixed this in
a pull request last year, but it must've been part of something that never got
accepted.

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


More information about the Digitalmars-d-bugs mailing list