public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/22384] New: compiling cp-mangle.c causes an ICE
@ 2005-07-09 16:52 kazu at gcc dot gnu dot org
2005-07-09 17:08 ` [Bug rtl-optimization/22384] " dave at hiauly1 dot hia dot nrc dot ca
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: kazu at gcc dot gnu dot org @ 2005-07-09 16:52 UTC (permalink / raw)
To: gcc-bugs
Consider:
struct d_print_mod
{
int type;
int dummy0;
int dummy1;
};
struct d_print_info
{
struct d_print_mod *modifiers;
}
d_print_comp (struct d_print_info *dpi, struct d_print_mod *pdpm, int a)
{
struct d_print_mod adpm[4];
unsigned int i = 0;
dpi->modifiers = &adpm[0];
while (pdpm->type)
{
if (a)
{
adpm[i] = *pdpm;
++i;
}
}
}
Compiling this with arm-none-eabi-gcc causes an ICE like so:
min.c: In function 'd_print_comp':
min.c:24: internal compiler error: in loop_givs_rescan, at loop.c:5517
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Reverting
http://gcc.gnu.org/ml/gcc-cvs/2005-07/msg00296.html
cures the problem.
Because of this problem, arm-none-eabi does not build currently.
--
Summary: compiling cp-mangle.c causes an ICE
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kazu at gcc dot gnu dot org
CC: danglin at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
dot org
GCC target triplet: arm-none-eabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22384
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug rtl-optimization/22384] compiling cp-mangle.c causes an ICE
2005-07-09 16:52 [Bug rtl-optimization/22384] New: compiling cp-mangle.c causes an ICE kazu at gcc dot gnu dot org
@ 2005-07-09 17:08 ` dave at hiauly1 dot hia dot nrc dot ca
2005-07-09 17:15 ` kazu at codesourcery dot com
2005-07-09 23:21 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-07-09 17:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2005-07-09 17:02 -------
Subject: Re: New: compiling cp-mangle.c causes an ICE
> Reverting
>
> http://gcc.gnu.org/ml/gcc-cvs/2005-07/msg00296.html
>
> cures the problem.
But that breaks bootstrap on the PA. Reverting
2005-04-16 Alexandre Oliva <aoliva@redhat.com>
PR target/20126
* loop.c (loop_givs_rescan): Handle non-replaceable (plus (reg)
(const)).
would probably fix the PA bootstrap. But then PR 20126 would need to
be reopened. This is a never ending serious of bugs for which we need
a proper fix.
I've posted a possible fix to gcc-patches:
<http://gcc.gnu.org/ml/gcc-patches/2005-07/msg00649.html>. Does that
work for you?
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22384
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug rtl-optimization/22384] compiling cp-mangle.c causes an ICE
2005-07-09 16:52 [Bug rtl-optimization/22384] New: compiling cp-mangle.c causes an ICE kazu at gcc dot gnu dot org
2005-07-09 17:08 ` [Bug rtl-optimization/22384] " dave at hiauly1 dot hia dot nrc dot ca
@ 2005-07-09 17:15 ` kazu at codesourcery dot com
2005-07-09 23:21 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: kazu at codesourcery dot com @ 2005-07-09 17:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kazu at codesourcery dot com 2005-07-09 17:13 -------
Subject: Re: compiling cp-mangle.c causes an
ICE
Hi Dave,
> I've posted a possible fix to gcc-patches:
> <http://gcc.gnu.org/ml/gcc-patches/2005-07/msg00649.html>. Does that
> work for you?
Thank you for a quick reply. Yes, your new patch fixes the ICE
associated with the testcase.
Kazu Hirata
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22384
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug rtl-optimization/22384] compiling cp-mangle.c causes an ICE
2005-07-09 16:52 [Bug rtl-optimization/22384] New: compiling cp-mangle.c causes an ICE kazu at gcc dot gnu dot org
2005-07-09 17:08 ` [Bug rtl-optimization/22384] " dave at hiauly1 dot hia dot nrc dot ca
2005-07-09 17:15 ` kazu at codesourcery dot com
@ 2005-07-09 23:21 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-09 23:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-09 23:21 -------
*** This bug has been marked as a duplicate of 22239 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |build
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22384
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-07-09 23:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-09 16:52 [Bug rtl-optimization/22384] New: compiling cp-mangle.c causes an ICE kazu at gcc dot gnu dot org
2005-07-09 17:08 ` [Bug rtl-optimization/22384] " dave at hiauly1 dot hia dot nrc dot ca
2005-07-09 17:15 ` kazu at codesourcery dot com
2005-07-09 23:21 ` 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).