This is the mail archive of the gcc-prs@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]

bootstrap/3231: gcc 2.95.3 build fail on hppa1.1-hp-hpux10.20 with vendor cc



>Number:         3231
>Category:       bootstrap
>Synopsis:       gcc 2.95.3 build fail on hppa1.1-hp-hpux10.20 with vendor cc
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 18 10:16:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Chastain
>Release:        2.95.3
>Organization:
>Environment:
native hppa1.1-hp-hpux10.20
/opt/ansic/bin/cc version "HP92453-01 A.10.32.03"
>Description:
File gcc/function.c, line 6930, contains an "#endif" directive which does not start in column 1.
This fails when bootstrapping with /opt/ansic/bin/cc.

After fixing the source line and building, gcc -v says:

[chastain@rhino chastain] gcc -v
Reading specs from /horton/chastain/localdisk/rhino/baseline/gcc-2.95.3/native/install/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/specs
gcc version 2.95.3 20010315 (release)
>How-To-Repeat:
Build native gcc on an hpux 10.20 machine using /opt/ansic/bin/cc as the compiler.
Look for a syntax error when the build reaches gcc/function.c.
>Fix:
diff -u -r -N ORIG-gcc-2.95.3/gcc/function.c gcc-2.95.3/function.c
--- ORIG-gcc-2.95.3/gcc/function.c      Thu Jan 25 06:03:15 2001
+++ gcc-2.95.3/gcc/function.c   Sun Jun 17 18:54:53 2001
@@ -6927,7 +6927,7 @@
            }
        }
       }
-  #endif
+#endif
 }

 /* Reposition the prologue-end and epilogue-begin notes after instruction
>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]