This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bootstrap/7990: tradcif.y fails on AIX 4.3.3 build using native compiler


>Number:         7990
>Category:       bootstrap
>Synopsis:       tradcif.y fails on AIX 4.3.3 build using native compiler
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 20 12:06:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     herbie@uic.edu
>Release:        gcc-3.2
>Organization:
>Environment:
AIX 4.3
AIX tigger 3 4 0002155F4C00
>Description:
make bootstrap fails with the following

"tradcif.y", line 438.1: 1506-343 (S) Redeclaration of parse_escape differs from previous declaration on line 35 of "tradcif.y".

bison version is 1.35 
make version is 3.79.1
>How-To-Repeat:
env CC=cc ./configure
make bootstrap
>Fix:
diff -rc2p gcc-3.2.patched/gcc/tradcif.y gcc-3.2/gcc/tradcif.y
*** gcc-3.2.patched/gcc/tradcif.y       Fri Sep 20 13:37:14 2002
--- gcc-3.2/gcc/tradcif.y       Sat Feb  2 12:56:35 2002
*************** yylex ()
*** 435,439 ****
     after the zeros.  A value of 0 does not mean end of string.  */
  
! static int parse_escape (string_ptr)
       const char **string_ptr;
  {
--- 435,440 ----
     after the zeros.  A value of 0 does not mean end of string.  */
  
! static int
! parse_escape (string_ptr)
       const char **string_ptr;
  {


Basically join lines 437 and 438 in tradcif.y
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]