Bug 25846

Summary: Typo on line 2327 in fold-const.c
Product: Base System Reporter: patrik.forsberg <patrik.forsberg>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description patrik.forsberg 2001-03-16 08:50:01 UTC
There is a typo in the code for fold-const.c on line 2327 that makes buildworld crash.
Directory: <src>/contrib/gcc
Its missing a " ( ".

Fix: 

> diff fold-const.c fold-const.c-old
2357c2357
<       else if (operand_equal_p (*cval1, TREE_OPERAND (arg, 0), 0))
---
>       else if  operand_equal_p (*cval1, TREE_OPERAND (arg, 0), 0))
How-To-Repeat: make buildworld
Comment 1 patrik.forsberg 2001-03-16 11:27:56 UTC
This seems to be a problem with the 4.3-BETA release.

More typos exist:

<SRC>/sbin/routed/parms.c

' " ' should be ' * ' on line 915.

diff parms.c parms.c-old
915c915
<        naddr *netp,                   /* network in host byte order */
---
>        naddr "netp,                   /* network in host byte order */


This, ofcorse, makes the buildworld fail.

Regards,
Patrik
Comment 2 Alex Kapranoff 2001-03-16 13:23:03 UTC
>  This seems to be a problem with the 4.3-BETA release.
>  
>  More typos exist:
>  
>  <SRC>/sbin/routed/parms.c
>  
>  ' " ' should be ' * ' on line 915.
>  
>  diff parms.c parms.c-old
>  915c915
>  <        naddr *netp,                   /* network in host byte order */
>  ---
>  >        naddr "netp,                   /* network in host byte order */

  Try to recvsup. This is way too weird to be a typo. You seem to have a
noise somewhere in your hardware.
Comment 3 Peter Pentchev freebsd_committer freebsd_triage 2001-03-16 19:53:26 UTC
State Changed
From-To: open->closed

Originator agrees that this is most probably not a FreeBSD problem, 
but a client-side hardware malfunctioning.