This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-971031, sparc-sun-solaris2.5 new bootstrap failure
New code by Jim in invariant_p (file loop.c):
> We don't know the loop bounds here though, so
> just fail for all labels. */
> ! /* ??? This is also necessary if
> flag_rerun_loop_opt is true, because in
> ! this
> case we may be doing loop unrolling the second time we
> run loop,
> ! and hence the first loop run also
> needs this check. There is no way
> ! to check here
> whether the second run will actually do loop unrolling
> ! though, as that info is in a local var in
> rest_of_compilation. */
> ! if (flag_unroll_loops || flag_rerun_loop_opt)
> return 0;
> else
> return 1;
and I babbled:
> Fascinating - this error must have been in g77 too
> (between 0.5.18, April '96 and 0.5.20, March '97). We
> never found a problem with it though.
Well, I got this backwards, so please ignore :-(
Toon.
BTW, I can neither build dejangnu-971028:
make[1]: Entering directory
`/Users/toon/Unix/compilers/dejagnu-971028/tcl'
make[2]: Entering directory
`/Users/toon/Unix/compilers/dejagnu-971028/tcl/unix'
gcc -c -g -O2 -I./../generic -I. -DUSEGETWD=1 -DHAVE_OPENDIR=1
-DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DNO_UNAME=1
-DNO_DIRENT_H=1 -DNO_VALUES_H=1 -DNO_DLFCN_H=1 -DHAVE_UNISTD_H=1
-DUSE_SGTTY=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1
-DSTDC_HEADERS=1 -Dmode_t=int -Dpid_t=int -DHAVE_ST_BLKSIZE=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1
-DTCL_SHLIB_EXT=\".so\" ./tclUnixFCmd.c
./tclUnixFCmd.c: In function `TclpCreateDirectory':
./tclUnixFCmd.c:475: `S_IRUSR' undeclared (first use this function)
./tclUnixFCmd.c:475: (Each undeclared identifier is reported only once
./tclUnixFCmd.c:475: for each function it appears in.)
./tclUnixFCmd.c:475: `S_IWUSR' undeclared (first use this function)
./tclUnixFCmd.c:475: `S_IXUSR' undeclared (first use this function)
./tclUnixFCmd.c: In function `CopyFileAtts':
./tclUnixFCmd.c:877: storage size of `tval' isn't known
./tclUnixFCmd.c:881: `S_IRWXU' undeclared (first use this function)
./tclUnixFCmd.c:881: `S_IRWXG' undeclared (first use this function)
./tclUnixFCmd.c:881: `S_IRWXO' undeclared (first use this function)
make[2]: *** [tclUnixFCmd.o] Error 1
nor the C++ compiler (of egcs-971105) (Sorry, threw away the error
message). One of the first problems to be solved on
m68k-next-nextstep3 is to have fixincludes repair
/NextDeveloper/Headers as that directory is searched before all
others (with the exception of /usr/local/include and the
gcc-repaired directories.
To fill my copious spare time, I got egcs-core-971105 +
egcs-g77-971105. That combination built just fine and correctly
compiled my 1300 routine Fortran application.