www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13810] New: ICE in e2ir does not assert

https://issues.dlang.org/show_bug.cgi?id=13810

          Issue ID: 13810
           Summary: ICE in e2ir does not assert
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: schveiguy yahoo.com

As described in issue 7514 and issue 13775, there is a "minor ICE" whatever
that means in e2ir, which prints the message "e2ir" but does not actually abort
compilation via assert, which would print a proper message with internal line
number.

This is a separate issue from 7514 and 13775, because this is solely concerning
the issue of how the error is handled.

Note, this is an ICE according to
https://issues.dlang.org/show_bug.cgi?id=3537#c3

Not making it assert(0) just invites incorrect reports or incorrect tagging, as
both myself and Denis have done.

It's fine to print the error message of how it occurred, but the result should
still be an assert.

--
Dec 02 2014