Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Mark Costlow
Sat, 09 Dec 1989 17:34
g++ -g causes gas to barf on 68k
Author: Mark Costlow
Date: Sat, 09 Dec 1989 17:34
Date: Sat, 09 Dec 1989 17:34
65 lines
3426 bytes
3426 bytes
This bug report pertains to g++ 1.36.2- built with both hp9k320g and sun3.
The included file, test.c, is an excerpt from terminal.c from the InterViews
2.5 source. If I compile it with -g, the cc1plus pass seems to generate some
symbols which gas chokes on. If I don't use -g, the file compiles fine.
Script started on Sat Dec 9 10:26:56 1989
<argon> [21] ->g++ -c -g -v test.c
g++ version 1.36.2- (based on GCC 1.36)
/usr/local/lib/gcc-cpp -+ -v -undef -D__GNUC__ -D__GNUG__ -D__cplusplus -Dhp9000s200 -Dhp9000s300 -DPWB -Dhpux -Dunix -D__hp9000s200__ -D__hp9000s300__ -D__PWB__ -D__hpux__ -D__unix__ -D__HAVE_68881__ -Dmc68020 test.c /usr/tmp/cca24935.cpp
GNU CPP version 1.36
/usr/local/lib/gcc-cc1plus /usr/tmp/cca24935.cpp -quiet -dumpbase test.c -g -version -o /usr/tmp/cca24935.s
GNU C++ version 1.36.2- (based on GCC 1.36) (68k, MIT syntax) compiled by GNU C version 1.36.
default target switches: -m68020 -mc68020 -m68881 -mbitfield
/usr/local/lib/gcc-as -mc68020 -o test.o /usr/tmp/cca24935.s
/usr/tmp/cca24935.s:22:I need a comma after symbol's name
/usr/tmp/cca24935.s:22:Rest of line ignored. 1st junk character valued 58.
/usr/tmp/cca24935.s:22:Junk character 47.
/usr/tmp/cca24935.s:22:Rest of line ignored. 1st junk character valued 50.
/usr/tmp/cca24935.s:22:Junk character 126.
/usr/tmp/cca24935.s:22:Junk character 34.
/usr/tmp/cca24935.s:22:Rest of line ignored. 1st junk character valued 44.
/usr/tmp/cca24935.s:23:I need a comma after symbol's name
/usr/tmp/cca24935.s:23:Rest of line ignored. 1st junk character valued 58.
/usr/tmp/cca24935.s:24:I need a comma after symbol's name
/usr/tmp/cca24935.s:24:Rest of line ignored. 1st junk character valued -84.
/usr/tmp/cca24935.s:24:FATAL:Symbol col already defined.
<argon> [22] ->g++ -c -v test.c
g++ version 1.36.2- (based on GCC 1.36)
/usr/local/lib/gcc-cpp -+ -v -undef -D__GNUC__ -D__GNUG__ -D__cplusplus -Dhp9000s200 -Dhp9000s300 -DPWB -Dhpux -Dunix -D__hp9000s200__ -D__hp9000s300__ -D__PWB__ -D__hpux__ -D__unix__ -D__HAVE_68881__ -Dmc68020 test.c /usr/tmp/cca24939.cpp
GNU CPP version 1.36
/usr/local/lib/gcc-cc1plus /usr/tmp/cca24939.cpp -quiet -dumpbase test.c -version -o /usr/tmp/cca24939.s
GNU C++ version 1.36.2- (based on GCC 1.36) (68k, MIT syntax) compiled by GNU C version 1.36.
default target switches: -m68020 -mc68020 -m68881 -mbitfield
/usr/local/lib/gcc-as -mc68020 -o test.o /usr/tmp/cca24939.s
<argon> [23] ->
script done on Sat Dec 9 10:27:26 1989
Mark Costlow
cheeks@edsr.eds.com or ...!uunet!edsr!cheeks
--------CUT HERE FOR test.c-------------------------
enum boolean { false, true };
enum TerminalEvent {
TLEFTMOUSE, TMIDDLEMOUSE, TRIGHTMOUSE, TMOTION, TCHAR
};
struct TerminalInput {
TerminalEvent eventType;
union {
struct {
short row;
short col;
boolean down;
} mouse;
struct {
short row;
short col;
} motion;
char tchar;
};
};
--------CUT HERE FOR test.c-------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads