c/794: gcc 2.95.2 reorders subexpressions of boolean operators
felix@anu.ie
felix@anu.ie
Mon Nov 13 17:26:00 GMT 2000
>Number: 794
>Category: c
>Synopsis: gcc 2.95.2 reorders subexpressions of boolean operators
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Mon Nov 13 17:26:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Felix Winkelmann
>Release: gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
Windows98, Cygwin B20, Pentium II/350
>Description:
GCC reorders subforms in complex '||' and '&&'
expression (a pointer is dereferenced before the
actual test wether the argument is in fact a pointer).
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list