This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/41006] [4.5 Regression] verify_stmts failed: error: non-trivial conversion at assignment
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Aug 2009 10:55:38 -0000
- Subject: [Bug middle-end/41006] [4.5 Regression] verify_stmts failed: error: non-trivial conversion at assignment
- References: <bug-41006-3760@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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