public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14307] New: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
@ 2004-02-26 15:37 ehrhardt at mathematik dot uni-ulm dot de
2004-02-26 15:50 ` [Bug c++/14307] " dnovillo at redhat dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: ehrhardt at mathematik dot uni-ulm dot de @ 2004-02-26 15:37 UTC (permalink / raw)
To: gcc-bugs
With Andrew's patch for 14272 I now get cc1plus ICEs in 64-Bit mode.
A reduced testcase is this, compile with -m64 -O0:
struct locale
{
int i;
~locale();
};
struct basic_ios
{
locale getloc () const { }
};
void copyfmt(const basic_ios& __rhs)
{
__rhs.getloc();
}
The error message is:
cc1plus -O0 -m64 -quiet io.cc
io.cc: In function `void copyfmt(const basic_ios&)':
io.cc:12: internal compiler error: in copy_to_mode_reg, at explow.c:675
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
regards Christian
--
Summary: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ehrhardt at mathematik dot uni-ulm dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: sparc-sun-solaris2.9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14307
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/14307] [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
2004-02-26 15:37 [Bug c++/14307] New: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675) ehrhardt at mathematik dot uni-ulm dot de
@ 2004-02-26 15:50 ` dnovillo at redhat dot com
2004-02-26 16:42 ` [Bug middle-end/14307] " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dnovillo at redhat dot com @ 2004-02-26 15:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dnovillo at redhat dot com 2004-02-26 15:50 -------
Subject: Re: New: [tree-ssa] ICE in copy_to_mode_reg
(explow.c:675)
On Thu, 2004-02-26 at 10:37, ehrhardt at mathematik dot uni-ulm dot de
wrote:
> With Andrew's patch for 14272 I now get cc1plus ICEs in 64-Bit mode.
> A reduced testcase is this, compile with -m64 -O0:
>
-O0? Interesting. Does this happen with a bootstrapped cc1plus? We
don't run any of the tree-ssa passes at O0 yet.
Do you still get the error if you build cc1plus with the system
compiler?
Thanks. Diego.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14307
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/14307] [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
2004-02-26 15:37 [Bug c++/14307] New: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675) ehrhardt at mathematik dot uni-ulm dot de
2004-02-26 15:50 ` [Bug c++/14307] " dnovillo at redhat dot com
@ 2004-02-26 16:42 ` pinskia at gcc dot gnu dot org
2004-02-26 16:46 ` ehrhardt at mathematik dot uni-ulm dot de
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-26 16:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-26 16:42 -------
Does this code work on the mainline also?
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |middle-end
Keywords| |ice-on-valid-code, RTL
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14307
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/14307] [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
2004-02-26 15:37 [Bug c++/14307] New: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675) ehrhardt at mathematik dot uni-ulm dot de
2004-02-26 15:50 ` [Bug c++/14307] " dnovillo at redhat dot com
2004-02-26 16:42 ` [Bug middle-end/14307] " pinskia at gcc dot gnu dot org
@ 2004-02-26 16:46 ` ehrhardt at mathematik dot uni-ulm dot de
2004-02-26 16:48 ` dnovillo at redhat dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ehrhardt at mathematik dot uni-ulm dot de @ 2004-02-26 16:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ehrhardt at mathematik dot uni-ulm dot de 2004-02-26 16:46 -------
Subject: Re: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
On Thu, Feb 26, 2004 at 03:50:12PM -0000, dnovillo at redhat dot com wrote:
> Do you still get the error if you build cc1plus with the system
> compiler?
If I compile a fresh non bootstrapped cc1plus with the host compiler
(gcc-3.2) it ICEs with and without Andrew's patch, i.e. these failures
are not related to Andrew's patch (as I already suggested in PR 14272).
regards Christian
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14307
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/14307] [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
2004-02-26 15:37 [Bug c++/14307] New: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675) ehrhardt at mathematik dot uni-ulm dot de
` (2 preceding siblings ...)
2004-02-26 16:46 ` ehrhardt at mathematik dot uni-ulm dot de
@ 2004-02-26 16:48 ` dnovillo at redhat dot com
2004-02-26 17:29 ` ehrhardt at mathematik dot uni-ulm dot de
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dnovillo at redhat dot com @ 2004-02-26 16:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dnovillo at redhat dot com 2004-02-26 16:48 -------
Subject: Re: [tree-ssa] ICE in copy_to_mode_reg
(explow.c:675)
On Thu, 2004-02-26 at 11:46, ehrhardt at mathematik dot uni-ulm dot de
wrote:
> ------- Additional Comments From ehrhardt at mathematik dot uni-ulm dot de 2004-02-26 16:46 -------
> Subject: Re: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
>
> On Thu, Feb 26, 2004 at 03:50:12PM -0000, dnovillo at redhat dot com wrote:
> > Do you still get the error if you build cc1plus with the system
> > compiler?
>
> If I compile a fresh non bootstrapped cc1plus with the host compiler
> (gcc-3.2) it ICEs with and without Andrew's patch, i.e. these failures
> are not related to Andrew's patch (as I already suggested in PR 14272).
>
Then this may be a problem we inherited from mainline at the last
merge. I'm working on another mainline merge. I'll see if this makes
it go away.
If it doesn't, we may be having a gimplification problem. At -O0, just
about the only thing we do is gimplify and expand into RTL.
Diego.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14307
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/14307] [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
2004-02-26 15:37 [Bug c++/14307] New: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675) ehrhardt at mathematik dot uni-ulm dot de
` (3 preceding siblings ...)
2004-02-26 16:48 ` dnovillo at redhat dot com
@ 2004-02-26 17:29 ` ehrhardt at mathematik dot uni-ulm dot de
2004-02-27 12:23 ` [Bug middle-end/14307] [tree-ssa][merge] " rth at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ehrhardt at mathematik dot uni-ulm dot de @ 2004-02-26 17:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ehrhardt at mathematik dot uni-ulm dot de 2004-02-26 17:29 -------
Subject: Re: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675)
On Thu, Feb 26, 2004 at 04:48:36PM -0000, dnovillo at redhat dot com wrote:
> Then this may be a problem we inherited from mainline at the last
> merge. I'm working on another mainline merge. I'll see if this makes
> it go away.
The following hunk introduced into mainline by Mark is probably going to
fix this bug. Will bootstrap now. It fixes the bug for the non-bootstrapped
compiler.
===================================================================
RCS file: /cvs/gcc/gcc/gcc/calls.c,v
retrieving revision 1.319
retrieving revision 1.320
diff -u -r1.319 -r1.320
--- gcc/gcc/calls.c 2004/02/06 06:18:11 1.319
+++ gcc/gcc/calls.c 2004/02/17 18:32:32 1.320
@@ -2385,7 +2388,8 @@
|| (ACCUMULATE_OUTGOING_ARGS
&& stack_arg_under_construction
&& structure_value_addr == virtual_outgoing_args_rtx)
- ? copy_addr_to_reg (structure_value_addr)
+ ? copy_addr_to_reg (convert_memory_address
+ (Pmode, structure_value_addr))
: structure_value_addr);
actparms
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14307
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/14307] [tree-ssa][merge] ICE in copy_to_mode_reg (explow.c:675)
2004-02-26 15:37 [Bug c++/14307] New: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675) ehrhardt at mathematik dot uni-ulm dot de
` (4 preceding siblings ...)
2004-02-26 17:29 ` ehrhardt at mathematik dot uni-ulm dot de
@ 2004-02-27 12:23 ` rth at gcc dot gnu dot org
2004-02-27 15:32 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-02-27 12:23 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[tree-ssa] ICE in |[tree-ssa][merge] ICE in
|copy_to_mode_reg |copy_to_mode_reg
|(explow.c:675) |(explow.c:675)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14307
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/14307] [tree-ssa][merge] ICE in copy_to_mode_reg (explow.c:675)
2004-02-26 15:37 [Bug c++/14307] New: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675) ehrhardt at mathematik dot uni-ulm dot de
` (5 preceding siblings ...)
2004-02-27 12:23 ` [Bug middle-end/14307] [tree-ssa][merge] " rth at gcc dot gnu dot org
@ 2004-02-27 15:32 ` pinskia at gcc dot gnu dot org
2004-02-29 13:24 ` steven at gcc dot gnu dot org
2004-03-03 6:45 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-27 15:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-27 15:32 -------
Confirmed, waiting for a merge.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-02-27 15:32:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14307
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/14307] [tree-ssa][merge] ICE in copy_to_mode_reg (explow.c:675)
2004-02-26 15:37 [Bug c++/14307] New: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675) ehrhardt at mathematik dot uni-ulm dot de
` (6 preceding siblings ...)
2004-02-27 15:32 ` pinskia at gcc dot gnu dot org
@ 2004-02-29 13:24 ` steven at gcc dot gnu dot org
2004-03-03 6:45 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-02-29 13:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-02-29 13:24 -------
Can we not just commit this tiny hunk now instead of waiting for a merge?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dnovillo at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14307
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/14307] [tree-ssa][merge] ICE in copy_to_mode_reg (explow.c:675)
2004-02-26 15:37 [Bug c++/14307] New: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675) ehrhardt at mathematik dot uni-ulm dot de
` (7 preceding siblings ...)
2004-02-29 13:24 ` steven at gcc dot gnu dot org
@ 2004-03-03 6:45 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-03 6:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-03 06:45 -------
This should be fixed now by the merge which RTH did.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14307
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-03-03 6:45 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-26 15:37 [Bug c++/14307] New: [tree-ssa] ICE in copy_to_mode_reg (explow.c:675) ehrhardt at mathematik dot uni-ulm dot de
2004-02-26 15:50 ` [Bug c++/14307] " dnovillo at redhat dot com
2004-02-26 16:42 ` [Bug middle-end/14307] " pinskia at gcc dot gnu dot org
2004-02-26 16:46 ` ehrhardt at mathematik dot uni-ulm dot de
2004-02-26 16:48 ` dnovillo at redhat dot com
2004-02-26 17:29 ` ehrhardt at mathematik dot uni-ulm dot de
2004-02-27 12:23 ` [Bug middle-end/14307] [tree-ssa][merge] " rth at gcc dot gnu dot org
2004-02-27 15:32 ` pinskia at gcc dot gnu dot org
2004-02-29 13:24 ` steven at gcc dot gnu dot org
2004-03-03 6:45 ` 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).