public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: mikpos@shaw.ca To: gcc-gnats@gcc.gnu.org Subject: objc/6430: Obj-C dwarf2out crash with -ggdb3 and protocols Date: Tue, 23 Apr 2002 09:26:00 -0000 [thread overview] Message-ID: <E17032g-0005Na-00@mikpos.dyndns.org> (raw) >Number: 6430 >Category: objc >Synopsis: Obj-C dwarf2out crash with -ggdb3 and protocols >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Tue Apr 23 09:26:07 PDT 2002 >Closed-Date: >Last-Modified: >Originator: mike burrell >Release: 3.0.4 >Organization: >Environment: System: Linux pillo 2.4.17 #23 Thu Jan 17 17:41:02 MST 2002 i586 unknown Architecture: i586 host: i586-pc-linux-gnu build: i586-pc-linux-gnu target: i586-pc-linux-gnu configured with: ../gcc-3.0.4/configure --prefix=/usr --enable-shared --with-gnu-as --with-gnu-ld >Description: Attached sidebar.m, when compiled with 'gcc sidebar.m -c -ggdb3', gives the following error: sidebar.m:74: Internal compiler error in dwarf2out_finish, at dwarf2out.c:11277 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. >How-To-Repeat: sidebar.mi follows (as created by gcc -v -save-temps): ------------------------------------------------------- # 1 "sidebar.m" typedef struct objc_class *MetaClass; typedef struct objc_class *Class; struct objc_class { MetaClass class_pointer; struct objc_class* super_class; const char* name; long version; unsigned long info; long instance_size; struct objc_ivar_list* ivars; struct objc_method_list* methods; struct sarray * dtable; struct objc_class* subclass_list; struct objc_class* sibling_class; struct objc_protocol_list *protocols; void* gc_object_type; }; @class NSInvocation; @interface NSObject @end @interface NSView @end @interface Token : NSObject @end @protocol DocumentDelegate - (void)molestedDocumentWithMessage: (NSInvocation *)msg; - (void)molestedGrammarWithMessage: (NSInvocation *)msg; - (void)destroyedDocument; - (void)destroyedGrammar; - (void)highlightedToken: (Token *)t; - (void)highlightedGrammar: (Class)c; @end @interface Sidebar : NSView <DocumentDelegate> @end @implementation Sidebar - (void)molestedDocumentWithMessage: (NSInvocation *)m { } - (void)molestedGrammarWithMessage: (NSInvocation *)m { } - (void)destroyedDocument { } - (void)destroyedGrammar { } - (void)highlightedToken: (Token *)t { } - (void)highlightedGrammar: (Class)c { } @end output of gcc -v -save-temps: ------------------------------ Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.0.4/specs Configured with: ../gcc-3.0.4/configure --prefix=/usr --enable-shared --with-gnu-as --with-gnu-ld Thread model: single gcc version 3.0.4 /usr/lib/gcc-lib/i586-pc-linux-gnu/3.0.4/cpp0 -lang-objc -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=4 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i586__ -D__tune_pentium__ sidebar.m sidebar.mi GNU CPP version 3.0.4 (cpplib) (i386 Linux/ELF) ignoring duplicate directory "/home/mikpos/include" #include "..." search starts here: #include <...> search starts here: /home/mikpos/include /usr/lib/gcc-lib/i586-pc-linux-gnu/3.0.4/include/objc /usr/local/include /usr/lib/gcc-lib/i586-pc-linux-gnu/3.0.4/include /usr/i586-pc-linux-gnu/include /usr/include End of search list. /usr/lib/gcc-lib/i586-pc-linux-gnu/3.0.4/cc1obj -fpreprocessed sidebar.mi -quiet -dumpbase sidebar.m -ggdb3 -version -o sidebar.s GNU CPP version 3.0.4 (cpplib) (i386 Linux/ELF) GNU Objective-C version 3.0.4 (i586-pc-linux-gnu) compiled by GNU C version 3.0.4. sidebar.m:74: Internal compiler error in dwarf2out_finish, at dwarf2out.c:11277 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. >Fix: Either compile without -ggdb (-ggdb1, -ggdb2 and -ggdb3 all give ICE, but -g works), or else remove the protocol DocumentDelegate from the code and remove the <DocumentDelegate> from the declaration of NSView. >Release-Note: >Audit-Trail: >Unformatted:
reply other threads:[~2002-04-23 16:26 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=E17032g-0005Na-00@mikpos.dyndns.org \ --to=mikpos@shaw.ca \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).