[Issue 7570] Missing error in ctfe for dereferencing a pointer passed as a parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 24 05:43:50 PST 2012


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |CTFE, rejects-valid
                 CC|                            |yebblies at gmail.com
           Platform|x86                         |All
            Version|D2                          |D1 & D2
         AssignedTo|nobody at puremagic.com        |clugdbug at yahoo.com.au
            Summary|No true error message in    |Missing error in ctfe for
                   |one CTFE                    |dereferencing a pointer
                   |                            |passed as a parameter
         OS/Version|Windows                     |All


--- Comment #1 from yebblies <yebblies at gmail.com> 2012-02-25 00:43:47 EST ---
The interpreter can't seem to handle '!*(t + nt)', as constfold.c's Ptr only
handles TOKaddress + TOKint64, and it resolves to TOKvar + TOKint64, and
PtrExp::interpret doesn't handle the case where Ptr fails.

-- 
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