This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/41006] [4.5 Regression] verify_stmts failed: error: non-trivial conversion at assignment



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-08-08 10:55 -------
Investigating.

Related testcase, same bug:

typedef int *FARPROC;
static int * __restrict__ acceptex_fn;

int xWSAIoctl(void*);
static void get_fn(FARPROC* fn)
{
    FARPROC func;
    if (!xWSAIoctl( &func))
        *fn = func;
}

void get_fn_pointers()
{
    get_fn((FARPROC*)&acceptex_fn);
}


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
          Component|c                           |middle-end
     Ever Confirmed|0                           |1
           Keywords|                            |ice-checking, ice-on-valid-
                   |                            |code
   Last reconfirmed|0000-00-00 00:00:00         |2009-08-08 10:55:37
               date|                            |
            Summary|verify_stmts failed: error: |[4.5 Regression]
                   |non-trivial conversion at   |verify_stmts failed: error:
                   |assignment                  |non-trivial conversion at
                   |                            |assignment
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41006


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]