https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41992
Yury Gribov changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41992
Yuri Gribov changed:
What|Removed |Added
CC||tetra2005 at gmail dot com
--- Comment #4
--- Comment #3 from mikulas at artax dot karlin dot mff dot cuni dot cz
2009-11-11 21:06 ---
You can dereference void * in asm arguments --- i.e.
void *p; ... asm volatile ("prefetch %0"::"m"(*p));
gcc warns in this case about the dereference and maybe it shouldn't (but it's
trivial to
--- Comment #2 from joseph at codesourcery dot com 2009-11-09 13:16 ---
Subject: Re: ICE on invalid dereferencing of void *
On Mon, 9 Nov 2009, rguenth at gcc dot gnu dot org wrote:
> the C standard doesn't claim dereferencing a void pointer is invalid, so
> the gimplifier should deal
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-11-09 10:16 ---
Which is because the gimplifier thinks this is an error for the frontend to
pass through:
Breakpoint 1, fancy_abort (
file=0x10b1ab8 "/space/rguenther/src/svn/trunk/gcc/gimplify.c", line=7173,
function=0x10