optimization/8537: Optimizer Removes Code Necessary for Security
fw@gcc.gnu.org
fw@gcc.gnu.org
Fri Nov 22 11:26:00 GMT 2002
Synopsis: Optimizer Removes Code Necessary for Security
State-Changed-From-To: open->closed
State-Changed-By: fw
State-Changed-When: Sun Nov 17 06:28:05 2002
State-Changed-Why:
This is not a bug in GCC. The call to memset() clear hasn't any externally visible effect according to the C language specification, so it can be removed by the optimizer.
See the discussion around http://gcc.gnu.org/ml/gcc/2002-01/msg00518.html for additional information on a very similar topic.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8537
More information about the Gcc-prs
mailing list