Path: utzoo!telly!ddsw1!mcdchg!rutgers!TUT.CIS.OHIO-STATE.EDU!manson From: manson@TUT.CIS.OHIO-STATE.EDU (Bob Manson) Newsgroups: gnu.gcc.bug Subject: GCC 1.28 and HP-UX 6.2 Message-ID: <8809202135.AA03388@tut.cis.ohio-state.edu> Date: 20 Sep 88 21:35:20 GMT Sender: manson@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 25 I'm having trouble getting GCC 1.28 to compile under HP-UX 6.2 (running on an HP 9000/330). I can make the first stage OK, but when I try to compile gcc again using the stage1 gcc, it hangs in an infinite loop trying to compile c-parse.tab.c. I can't include any other useful info because gcc doesn't generate debug info that our debugger likes....by the way, GCC 1.27 compiled without a hitch. By the way, for 6.2 you need to add a -Wc,-Np300 to the CFLAGS in the Makefile. Also, there is a cast that needs to be done in expr.c, line 1610: return store_field (to_rtx, bitsize, bitpos, mode1, from, want_value ? (enum machine_mode)TYPE_MODE (TREE_TYPE (to)) : VOIDmode, unsignedp); The (enum machine_mode) before TYPE_MODE.... needs to be added. The HP C compiler seems to have troubles with enumerated data types in various situations but I've never bothered to isolate the cause (lots of warnings about the gcc code). In this case, the "differing types" occured across the : operator, so it was a fatal error. Wish I could be more helpful about the hanging problem.... Thanks, Bob manson@tut.cis.ohio-state.edu