[Bug c/52862] ICE convert_to_pointer, at convert.c:50

2012-04-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52862 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-checking

[Bug c/52862] ICE convert_to_pointer, at convert.c:50

2012-04-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52862 --- Comment #2 from Richard Guenther rguenth at gcc dot gnu.org 2012-04-04 11:56:31 UTC --- Reduced testcase, fails with -O: typedef struct _AVLPVNodeCore { void * Key; } AVLPVNODECORE; void ASMAtomicWritePtrVoid(void * volatile *ppv, const

[Bug c/52862] ICE convert_to_pointer, at convert.c:50

2012-04-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52862 --- Comment #3 from Richard Guenther rguenth at gcc dot gnu.org 2012-04-04 11:58:44 UTC --- More reduced: void ASMAtomicWritePtrVoid(const void *pv); void rtThreadDestroy(void) { void * const pvTypeChecked = ((void *)0);