c/6801: void * dereference warning given when no evaluation occurs

jsm28@gcc.gnu.org jsm28@gcc.gnu.org
Fri Aug 23 13:16:00 GMT 2002


Synopsis: void * dereference warning given when no evaluation occurs

State-Changed-From-To: open->closed
State-Changed-By: jsm28
State-Changed-When: Fri Aug 23 13:16:11 2002
State-Changed-Why:
    Fixed on mainline, probably by:
    
    2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
    
            * c-tree.h (skip_evaluation): Move declaration...
            * c-common.h: ... here.
            * c-typeck.c (build_external_ref): Don't assemble_external nor
            mark a tree as used if skip_evaluation is set.
            * c-parse.in (typeof): New non-terminal to set skip_evaluation
            around TYPEOF.
            (typespec_nonreserved_nonattr): Use it.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6801



More information about the Gcc-bugs mailing list