Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Arthur David Olson
Sat, 26 Dec 1992 17:42
Gnu GCC 2.3.2 dumps core on some invalid "asm" directives.
Author: Arthur David Olson
Date: Sat, 26 Dec 1992 17:42
Date: Sat, 26 Dec 1992 17:42
43 lines
2131 bytes
2131 bytes
(We're running SunOS 4.1.1 on a Sun 4/75 and a Sun 3/280.)
Description:
Gnu GCC 2.3.2 dumps core on some invalid "asm" directives.
Repeat-By:
The core dump occurs for the "fails.c" file on both Sun3's and Sun4's;
here are details for the Sun4:
Script started on Sat Dec 26 12:40:08 1992
bossie$ cat fails.c
f() { asm("oops %0" : "=o" (0)); }
bossie$ dbx cc1
Reading symbolic information...
Read 81441 symbols
(dbx) stop in abort
(2) stop in abort
(dbx) run -version fails.c -o fails.o
Running: cc1 -version fails.c -o fails.o
GNU C version 2.3.2 (sparc) compiled by CC.
enabled: -fdefer-pop -fpeephole -ffunction-cse -fcommon -mfpu -mepilogue
fstopped in abort at 0xf7774310
abort: save %sp, -96, %sp
Current function is push_reload
694 abort ();
(dbx) where
abort() at 0xf7774310
push_reload(in = (nil), out = 0x1afdf8, inloc = (nil), outloc = 0x1b2aec, class = NO_REGS, inmode = VOIDmode, outmode = VOIDmode, strict_low = 0, optional = 0, needed_for = (nil)), line 694 in "reload.c"
find_reloads(insn = 0x1b2af8, replace = 0, ind_levels = 0, live_known = 0, reload_reg_p = 0x1aaf84), line 2997 in "reload.c"
reload(first = 0x1b2818, global = 0, dumpfile = (nil)), line 1024 in "reload1.c"
rest_of_compilation(decl = 0x1bf298), line 2543 in "toplev.c"
finish_function(nested = 0), line 6092 in "c-decl.c"
yyparse(), line 289 in "c-parse.y"
compile_file(name = 0xf7ffff81 "fails.c"), line 1809 in "toplev.c"
main(argc = 5, argv = 0xf7ffff3c, envp = 0xf7ffff54), line 3291 in "toplev.c"
(dbx) quit
bossie$ exit
script done on Sat Dec 26 12:40:54 1992
--
Arthur David Olson ado@elsie.nci.nih.gov
ADO and Elsie are Ampex and Borden trademarks
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