public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc/18862] New: ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m
@ 2004-12-07 2:02 lars dot sonchocky-helldorf at hamburg dot de
2004-12-07 2:03 ` [Bug objc/18862] " lars dot sonchocky-helldorf at hamburg dot de
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: lars dot sonchocky-helldorf at hamburg dot de @ 2004-12-07 2:02 UTC (permalink / raw)
To: gcc-bugs
Found during examination of objc.log of http://gcc.gnu.org/ml/gcc-testresults/2004-12/
msg00277.html
the exact version of GCC;
gcc version 4.0.0 20041205 (experimental)
the system type;
localhost:~ lars$ uname -a
Darwin localhost 7.2.1 Darwin Kernel Version 7.2.1: Wed Jul 14 03:00:02 PDT 2004; root:tmp/xnu-
7.2.1-1-root.obj/RELEASE_I386 x86 i386
the options given when GCC was configured/built;
localhost:~ lars$ /tmp/gcc/bin/gcc -v
Reading specs from /private/tmp/gcc/bin/../lib/gcc/i686-apple-darwin7.2.1/4.0.0/specs
Configured with: ../gcc-4.0-20041205/configure --prefix=/tmp/gcc
Thread model: posix
gcc version 4.0.0 20041205 (experimental)
the complete command line that triggers the bug;
/Volumes/Data/Users/lars/GCC/FSF/gcc-build/gcc/
xgcc -B/Volumes/Data/Users/lars/GCC/FSF/gcc-build/gcc/ /Users/lars/GCC/FSF/gcc-4.0-20041205/
gcc/testsuite/objc.dg/selector-1.m -Wselector -fnext-runtime -I/Users/lars/GCC/FSF/gcc-4.0-
20041205/gcc/testsuite/../../libobjc -L/Volumes/Data/Users/lars/GCC/FSF/gcc-build/i686-apple-
darwin7.2.1/./libobjc/.libs -S -fgnu-runtime -o selector-1.s
the -fnext-runtime can be omitted (causing no change)
resulted in:
/Users/lars/GCC/FSF/gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m: In function '-[Foo foo]':
/Users/lars/GCC/FSF/gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m:22: warning: assignment
discards qualifiers from pointer target type
/Users/lars/GCC/FSF/gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m:23: warning: assignment
discards qualifiers from pointer target type
/Users/lars/GCC/FSF/gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m: At top level:
/Users/lars/GCC/FSF/gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m:25: internal compiler
error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
the preprocessed file (*.i*) that triggers the bug, generated by adding -save-temps to the complete
compilation command
see attachement
--
Summary: ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-
1.m
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: objc
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lars dot sonchocky-helldorf at hamburg dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-apple-darwin7.2.1
GCC host triplet: i686-apple-darwin7.2.1
GCC target triplet: i686-apple-darwin7.2.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18862
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug objc/18862] ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m
2004-12-07 2:02 [Bug objc/18862] New: ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m lars dot sonchocky-helldorf at hamburg dot de
@ 2004-12-07 2:03 ` lars dot sonchocky-helldorf at hamburg dot de
2004-12-07 2:28 ` [Bug objc/18862] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: lars dot sonchocky-helldorf at hamburg dot de @ 2004-12-07 2:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lars dot sonchocky-helldorf at hamburg dot de 2004-12-07 02:03 -------
Created an attachment (id=7694)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7694&action=view)
preprocessed ObjC source
if you need more information (the original source or the assembler file) drop
me a line.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18862
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug objc/18862] [4.0 Regression] ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m
2004-12-07 2:02 [Bug objc/18862] New: ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m lars dot sonchocky-helldorf at hamburg dot de
2004-12-07 2:03 ` [Bug objc/18862] " lars dot sonchocky-helldorf at hamburg dot de
@ 2004-12-07 2:28 ` pinskia at gcc dot gnu dot org
2004-12-07 2:58 ` bangerth at dealii dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-07 2:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-07 02:28 -------
This is at least a 4.0 Regression, it worked with 3.3.2.
-Wselector -fgnu-runtime is enough to reproduce this bug and it is a bug and it happens on more than
i686-darwin.
typedef struct objc_selector *SEL;
@implementation Foo
- (void) foo
{
SEL a,b,c;
a = @selector(b1ar);
}
@end
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|i686-apple-darwin7.2.1 |
GCC host triplet|i686-apple-darwin7.2.1 |
GCC target triplet|i686-apple-darwin7.2.1 |
Keywords| |ice-on-valid-code
Known to fail| |4.0.0
Known to work| |3.3.2
Last reconfirmed|0000-00-00 00:00:00 |2004-12-07 02:28:03
date| |
Summary|ICE on gcc-4.0- |[4.0 Regression] ICE on gcc-
|20041205/gcc/testsuite/objc.|4.0-
|dg/selector-1.m |20041205/gcc/testsuite/objc.
| |dg/selector-1.m
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18862
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug objc/18862] [4.0 Regression] ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m
2004-12-07 2:02 [Bug objc/18862] New: ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m lars dot sonchocky-helldorf at hamburg dot de
2004-12-07 2:03 ` [Bug objc/18862] " lars dot sonchocky-helldorf at hamburg dot de
2004-12-07 2:28 ` [Bug objc/18862] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-12-07 2:58 ` bangerth at dealii dot org
2005-01-19 22:46 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bangerth at dealii dot org @ 2004-12-07 2:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-12-07 02:58 -------
It is in fact a 4.0 regression only. It compiles with gcc 3.4 as of
2004/10/15, but it fails with mainline from the same date.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18862
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug objc/18862] [4.0 Regression] ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m
2004-12-07 2:02 [Bug objc/18862] New: ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m lars dot sonchocky-helldorf at hamburg dot de
` (2 preceding siblings ...)
2004-12-07 2:58 ` bangerth at dealii dot org
@ 2005-01-19 22:46 ` mmitchel at gcc dot gnu dot org
2005-01-26 15:28 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-01-19 22:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-01-19 22:46 -------
Objective-C is not part of the release criteria; removing target milestone.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18862
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug objc/18862] [4.0 Regression] ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m
2004-12-07 2:02 [Bug objc/18862] New: ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m lars dot sonchocky-helldorf at hamburg dot de
` (3 preceding siblings ...)
2005-01-19 22:46 ` mmitchel at gcc dot gnu dot org
@ 2005-01-26 15:28 ` pinskia at gcc dot gnu dot org
2005-01-26 21:02 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-26 15:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-26 15:28 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01887.html> and it looks correct too.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18862
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug objc/18862] [4.0 Regression] ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m
2004-12-07 2:02 [Bug objc/18862] New: ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m lars dot sonchocky-helldorf at hamburg dot de
` (4 preceding siblings ...)
2005-01-26 15:28 ` pinskia at gcc dot gnu dot org
@ 2005-01-26 21:02 ` cvs-commit at gcc dot gnu dot org
2005-01-26 21:03 ` cvs-commit at gcc dot gnu dot org
2005-01-26 21:04 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-26 21:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-26 21:02 -------
Subject: Bug 18862
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2005-01-26 21:01:59
Modified files:
gcc/objc : ChangeLog objc-act.c
Log message:
2005-01-26 Alexander Malmberg <alexander@malmberg.org>
PR objc/18862
* objc-act.c (build_selector_translation_table): Use
input_location in the diagnostic for the GNU runtime or if
TREE_PURPOSE (chain) is NULL.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/ChangeLog.diff?cvsroot=gcc&r1=1.26&r2=1.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/objc-act.c.diff?cvsroot=gcc&r1=1.263&r2=1.264
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18862
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug objc/18862] [4.0 Regression] ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m
2004-12-07 2:02 [Bug objc/18862] New: ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m lars dot sonchocky-helldorf at hamburg dot de
` (5 preceding siblings ...)
2005-01-26 21:02 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-26 21:03 ` cvs-commit at gcc dot gnu dot org
2005-01-26 21:04 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-26 21:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-26 21:03 -------
Subject: Bug 18862
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2005-01-26 21:03:31
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/objc.dg: selector-2.m
Log message:
2005-01-26 Alexander Malmberg <alexander@malmberg.org>
PR objc/18862
* objc.dg/selector-2.m: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4938&r2=1.4939
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/selector-2.m.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18862
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug objc/18862] [4.0 Regression] ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m
2004-12-07 2:02 [Bug objc/18862] New: ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m lars dot sonchocky-helldorf at hamburg dot de
` (6 preceding siblings ...)
2005-01-26 21:03 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-26 21:04 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-26 21:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-26 21:04 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18862
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-01-26 21:04 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-07 2:02 [Bug objc/18862] New: ICE on gcc-4.0-20041205/gcc/testsuite/objc.dg/selector-1.m lars dot sonchocky-helldorf at hamburg dot de
2004-12-07 2:03 ` [Bug objc/18862] " lars dot sonchocky-helldorf at hamburg dot de
2004-12-07 2:28 ` [Bug objc/18862] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-12-07 2:58 ` bangerth at dealii dot org
2005-01-19 22:46 ` mmitchel at gcc dot gnu dot org
2005-01-26 15:28 ` pinskia at gcc dot gnu dot org
2005-01-26 21:02 ` cvs-commit at gcc dot gnu dot org
2005-01-26 21:03 ` cvs-commit at gcc dot gnu dot org
2005-01-26 21:04 ` pinskia at gcc dot gnu dot org
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).