public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc++/42156] New: Hundreds of objc++ testsuite regressions
@ 2009-11-23 18:14 ghazi at gcc dot gnu dot org
2009-11-23 18:15 ` [Bug objc++/42156] " ghazi at gcc dot gnu dot org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2009-11-23 18:14 UTC (permalink / raw)
To: gcc-bugs
Sometime between mainline revision 154353:
http://gcc.gnu.org/ml/gcc-testresults/2009-11/msg01929.html
and 154391:
http://gcc.gnu.org/ml/gcc-testresults/2009-11/msg01929.html
I'm getting massive numbers of objc++ testsuite regressions.
--
Summary: Hundreds of objc++ testsuite regressions
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: objc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ghazi at gcc dot gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug objc++/42156] Hundreds of objc++ testsuite regressions
2009-11-23 18:14 [Bug objc++/42156] New: Hundreds of objc++ testsuite regressions ghazi at gcc dot gnu dot org
@ 2009-11-23 18:15 ` ghazi at gcc dot gnu dot org
2009-11-24 1:49 ` howarth at nitro dot med dot uc dot edu
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2009-11-23 18:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ghazi at gcc dot gnu dot org 2009-11-23 18:15 -------
Sorry the second results for 154391 link is:
http://gcc.gnu.org/ml/gcc-testresults/2009-11/msg02040.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug objc++/42156] Hundreds of objc++ testsuite regressions
2009-11-23 18:14 [Bug objc++/42156] New: Hundreds of objc++ testsuite regressions ghazi at gcc dot gnu dot org
2009-11-23 18:15 ` [Bug objc++/42156] " ghazi at gcc dot gnu dot org
@ 2009-11-24 1:49 ` howarth at nitro dot med dot uc dot edu
2009-11-24 10:49 ` [Bug objc++/42156] [4.5 Regression] " rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-24 1:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from howarth at nitro dot med dot uc dot edu 2009-11-24 01:49 -------
On x86_64-apple-darwin10, these show up as failures like...
/sw/src/fink.build/gcc45-4.4.999-20091123/darwin_objdir/gcc/testsuite/obj-c++/../../g++
-B/sw/src/fink.build/gcc45-4.4.999-20091123/darwin_objdir/gcc/testsuite/obj-c++/../../
/sw/src/fink.build/gcc45-4.4.999-20091123/gcc-4.5-20091123/gcc/testsuite/obj-c++.dg/bad-receiver-type.mm
-nostdinc++
-I/sw/src/fink.build/gcc45-4.4.999-20091123/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include/x86_64-apple-darwin10.2.0
-I/sw/src/fink.build/gcc45-4.4.999-20091123/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/include
-I/sw/src/fink.build/gcc45-4.4.999-20091123/gcc-4.5-20091123/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc45-4.4.999-20091123/gcc-4.5-20091123/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc45-4.4.999-20091123/gcc-4.5-20091123/libstdc++-v3/testsuite/util
-fmessage-length=0 -S -o bad-receiver-type.s
/sw/src/fink.build/gcc45-4.4.999-20091123/gcc-4.5-20091123/gcc/testsuite/obj-c++.dg/bad-receiver-type.mm:4:12:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
which backtraces in gdb as...
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
build_private_template (klass=0x142872630) at
../../gcc-4.5-20091123/gcc/objc/objc-act.c:889
889 TYPE_OBJC_INTERFACE (t) = klass;
(gdb) bt
#0 build_private_template (klass=0x142872630) at
../../gcc-4.5-20091123/gcc/objc/objc-act.c:889
#1 0x00000001000113c4 in continue_class (klass=0x142872630) at
../../gcc-4.5-20091123/gcc/objc/objc-act.c:7772
#2 0x0000000100011650 in objc_continue_interface () at
../../gcc-4.5-20091123/gcc/objc/objc-act.c:679
#3 0x0000000100113c03 in cp_parser_declaration (parser=0x14287f000) at
../../gcc-4.5-20091123/gcc/cp/parser.c:20983
#4 0x0000000100113ca2 in cp_parser_declaration_seq_opt (parser=0x14287f000) at
../../gcc-4.5-20091123/gcc/cp/parser.c:8614
#5 0x00000001001148dd in c_parse_file () at
../../gcc-4.5-20091123/gcc/cp/parser.c:3085
#6 0x00000001001f1435 in c_common_parse_file (set_yydebug=<value temporarily
unavailable, due to optimizations>) at ../../gcc-4.5-20091123/gcc/c-opts.c:1279
#7 0x00000001007bfbc4 in toplev_main (argc=29, argv=0x7fff5fbfd1e0) at
../../gcc-4.5-20091123/gcc/toplev.c:1049
#8 0x0000000100001914 in start ()
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug objc++/42156] [4.5 Regression] Hundreds of objc++ testsuite regressions
2009-11-23 18:14 [Bug objc++/42156] New: Hundreds of objc++ testsuite regressions ghazi at gcc dot gnu dot org
2009-11-23 18:15 ` [Bug objc++/42156] " ghazi at gcc dot gnu dot org
2009-11-24 1:49 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-24 10:49 ` rguenth at gcc dot gnu dot org
2009-11-26 9:31 ` jakub at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-24 10:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-11-24 10:49 -------
Confirmed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-11-24 10:49:09
date| |
Summary|Hundreds of objc++ testsuite|[4.5 Regression] Hundreds of
|regressions |objc++ testsuite regressions
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug objc++/42156] [4.5 Regression] Hundreds of objc++ testsuite regressions
2009-11-23 18:14 [Bug objc++/42156] New: Hundreds of objc++ testsuite regressions ghazi at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-11-24 10:49 ` [Bug objc++/42156] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2009-11-26 9:31 ` jakub at gcc dot gnu dot org
2009-11-26 9:42 ` jakub at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-11-26 9:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2009-11-26 09:31 -------
Caused by http://gcc.gnu.org/ml/gcc-patches/2009-11/msg01059.html aka r154354.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug objc++/42156] [4.5 Regression] Hundreds of objc++ testsuite regressions
2009-11-23 18:14 [Bug objc++/42156] New: Hundreds of objc++ testsuite regressions ghazi at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-11-26 9:31 ` jakub at gcc dot gnu dot org
@ 2009-11-26 9:42 ` jakub at gcc dot gnu dot org
2009-11-26 9:47 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-11-26 9:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2009-11-26 09:42 -------
The problem seems to be the new set_underlying_type call called from
build_self_reference. Apparently the objc-act.c expects that type variants at
that point are only created for some other purpose (don't know objc, so have no
idea for what), and that they have TYPE_OBJC_INFO allocated, which is not the
case for these self reference variants.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug objc++/42156] [4.5 Regression] Hundreds of objc++ testsuite regressions
2009-11-23 18:14 [Bug objc++/42156] New: Hundreds of objc++ testsuite regressions ghazi at gcc dot gnu dot org
` (4 preceding siblings ...)
2009-11-26 9:42 ` jakub at gcc dot gnu dot org
@ 2009-11-26 9:47 ` jakub at gcc dot gnu dot org
2009-11-26 19:30 ` howarth at nitro dot med dot uc dot edu
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-11-26 9:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jakub at gcc dot gnu dot org 2009-11-26 09:47 -------
Created an attachment (id=19152)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19152&action=view)
gcc45-pr42156.patch
Untested patch. I'm not familiary with ObjC/ObjC++, so have no idea whether it
is the right fix or not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug objc++/42156] [4.5 Regression] Hundreds of objc++ testsuite regressions
2009-11-23 18:14 [Bug objc++/42156] New: Hundreds of objc++ testsuite regressions ghazi at gcc dot gnu dot org
` (5 preceding siblings ...)
2009-11-26 9:47 ` jakub at gcc dot gnu dot org
@ 2009-11-26 19:30 ` howarth at nitro dot med dot uc dot edu
2009-11-27 11:25 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-26 19:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from howarth at nitro dot med dot uc dot edu 2009-11-26 19:29 -------
This patch on x86_64-apple-darwin10 returns the obj-c++ testsuite results back
to their previous results of...
=== obj-c++ Summary ===
# of expected passes 398
# of unexpected failures 52
# of unexpected successes 3
# of expected failures 15
# of unresolved testcases 1
# of unsupported tests 1
so it seems to be working fine.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug objc++/42156] [4.5 Regression] Hundreds of objc++ testsuite regressions
2009-11-23 18:14 [Bug objc++/42156] New: Hundreds of objc++ testsuite regressions ghazi at gcc dot gnu dot org
` (6 preceding siblings ...)
2009-11-26 19:30 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-27 11:25 ` rguenth at gcc dot gnu dot org
2009-11-28 12:13 ` jakub at gcc dot gnu dot org
2009-11-28 16:27 ` jakub at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-27 11:25 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug objc++/42156] [4.5 Regression] Hundreds of objc++ testsuite regressions
2009-11-23 18:14 [Bug objc++/42156] New: Hundreds of objc++ testsuite regressions ghazi at gcc dot gnu dot org
` (7 preceding siblings ...)
2009-11-27 11:25 ` rguenth at gcc dot gnu dot org
@ 2009-11-28 12:13 ` jakub at gcc dot gnu dot org
2009-11-28 16:27 ` jakub at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-11-28 12:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jakub at gcc dot gnu dot org 2009-11-28 12:12 -------
Subject: Bug 42156
Author: jakub
Date: Sat Nov 28 12:12:32 2009
New Revision: 154721
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154721
Log:
PR obj-c++/42156
* objc-act.c (objc_build_struct): INIT_TYPE_OBJC_INFO for
type variants that don't have it initialized yet.
Modified:
trunk/gcc/objc/ChangeLog
trunk/gcc/objc/objc-act.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug objc++/42156] [4.5 Regression] Hundreds of objc++ testsuite regressions
2009-11-23 18:14 [Bug objc++/42156] New: Hundreds of objc++ testsuite regressions ghazi at gcc dot gnu dot org
` (8 preceding siblings ...)
2009-11-28 12:13 ` jakub at gcc dot gnu dot org
@ 2009-11-28 16:27 ` jakub at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-11-28 16:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from jakub at gcc dot gnu dot org 2009-11-28 16:27 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42156
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2009-11-28 16:27 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-23 18:14 [Bug objc++/42156] New: Hundreds of objc++ testsuite regressions ghazi at gcc dot gnu dot org
2009-11-23 18:15 ` [Bug objc++/42156] " ghazi at gcc dot gnu dot org
2009-11-24 1:49 ` howarth at nitro dot med dot uc dot edu
2009-11-24 10:49 ` [Bug objc++/42156] [4.5 Regression] " rguenth at gcc dot gnu dot org
2009-11-26 9:31 ` jakub at gcc dot gnu dot org
2009-11-26 9:42 ` jakub at gcc dot gnu dot org
2009-11-26 9:47 ` jakub at gcc dot gnu dot org
2009-11-26 19:30 ` howarth at nitro dot med dot uc dot edu
2009-11-27 11:25 ` rguenth at gcc dot gnu dot org
2009-11-28 12:13 ` jakub at gcc dot gnu dot org
2009-11-28 16:27 ` jakub 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).