Bug 27230 - many obj-c++.dg tests ICE in rs6000_output_function_epilogue
Summary: many obj-c++.dg tests ICE in rs6000_output_function_epilogue
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Alan Modra
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2006-04-20 21:46 UTC by Janis Johnson
Modified: 2006-04-21 01:53 UTC (History)
3 users (show)

See Also:
Host:
Target: powerpc64-unknown-linux-gnu
Build:
Known to work:
Known to fail:
Last reconfirmed: 2006-04-21 01:52:45


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Johnson 2006-04-20 21:46:19 UTC
On powerpc64-unknown-linux-gnu with -m64, 85 tests in obj-c++.dg fail with:

elm3b11% /opt/gcc-nightly/trunk-20060420/bin/g++ -c -m64 basic.mm
basic.mm: In function ‘void __objc_gnu_init()’:
basic.mm:21: internal compiler error: in rs6000_output_function_epilogue, at config/rs6000/rs6000.c:15346
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

This has apparently never worked on the FSF tree for this target.
Comment 1 Andrew Pinski 2006-04-20 21:48:45 UTC

*** This bug has been marked as a duplicate of 24955 ***
Comment 2 Andrew Pinski 2006-04-20 21:50:56 UTC
Let me reopen this for a second but really this is a dup of bug 24955 but maybe there is a language type defined for objc++ and it is not yet implemented in GCC.
Comment 3 Alan Modra 2006-04-21 01:52:19 UTC
Subject: Bug 27230

Author: amodra
Date: Fri Apr 21 01:52:13 2006
New Revision: 113130

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113130
Log:
	PR target/27230
	* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use
	C++ lang type in traceback table for Objective-C++.

	* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Update comment.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c

Comment 4 Alan Modra 2006-04-21 01:53:09 UTC
Fixed mainline.