Article View: gnu.gdb.bug
Article #36Re: gdb-4.7 on DECstation
From: gnu
Date: Mon, 02 Nov 1992 13:09
Date: Mon, 02 Nov 1992 13:09
17 lines
1163 bytes
1163 bytes
> It seems that the Ultrix C compiler does not cast > `char' to 'int' before doing a shift operation. > So it probably generates incorrect code. No, the DECstation compiler is just stupid, not dead. It generates correct code, but complains about perfectly reasonable C source. My guess is that they tried to add a warning for >> operations but botched it and complained about << operations too. I don't plan to "fix" GDB to avoid these bogus warnings. They should fix their compiler instead. I recommend filing a bug with your DEC support organization (if you have DEC software support) that complains about these error messages when compiling code that shifts char values left (<<). John Gilmore
Technical Details
Message-ID:
<9211030509.AA08159@cygnus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!gnuReferences:
<9211021600.AA00270@joe.>Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!gnu From: gnu@cygnus.com Subject: Re: gdb-4.7 on DECstation Message-ID: <9211030509.AA08159@cygnus.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet References: <9211021600.AA00270@joe.> Distribution: gnu Date: Mon, 2 Nov 1992 13:09:43 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 18