From owner-freebsd-bugs Fri Jul 16 8:30:49 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 507B215123 for ; Fri, 16 Jul 1999 08:30:43 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA56397; Fri, 16 Jul 1999 08:30:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 16 Jul 1999 08:30:06 -0700 (PDT) Message-Id: <199907161530.IAA56397@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Nate Williams Subject: Re: kern/12663: Ambiguous if statement. Reply-To: Nate Williams Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/12663; it has been noted by GNATS. From: Nate Williams To: adamw@holonet.net Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/12663: Ambiguous if statement. Date: Fri, 16 Jul 1999 09:22:19 -0600 Adam Wight writes: > > >Number: 12663 > >Category: kern > >Synopsis: Ambiguous if statement > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Fri Jul 16 02:40:01 PDT 1999 > >Closed-Date: > >Last-Modified: > >Originator: Adam Wight > >Release: FreeBSD 4.0-CURRENT i386 > >Organization: > >Environment: > all > > >Description: > The file sys/i386/apm/apm.c contains an ambiguous if...else statement > that appears to be parsed correctly by the compiler, but could break > silently depending on the compiler release. No, they could not break silently, as the syntax is guaranteed to be correct by the ANSI-C standard. If it broke, the compiler would be broke and a number of other such code in many systems would also break. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message