[Issue 8627] ICE(cgcs.c): indexing a returned value of type float[1]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 13 07:13:56 PDT 2012


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |clugdbug at yahoo.com.au
            Summary|Internal error:             |ICE(cgcs.c): indexing a
                   |../ztc/cgcs.c 343           |returned value of type
                   |                            |float[1]
           Severity|blocker                     |normal


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2012-09-13 07:14:11 PDT ---
When you see an internal error, you're NEVER doing something wrong.

Reduced test case:
-------------------
float[1] bug8627()
{
    float[1] tmp;
    return tmp;
}

void test8627()
{
   float f = bug8627()[0];
}

Internal error: ../ztc/cgcs.c 343

Dropping importance to normal, because the importance is already covered by the
ICE keyword.

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