public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi
@ 2005-01-11 16:35 joel at gcc dot gnu dot org
  2005-01-11 17:16 ` [Bug middle-end/19378] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: joel at gcc dot gnu dot org @ 2005-01-11 16:35 UTC (permalink / raw)
  To: gcc-bugs

gcc-4.0 20050109 
binutils 2.15
newlib 1.13.0

[NOTE: I included avr-elf since this failure should be early enough in the build
process to duplicate with that.]

avr-rtems4.7 fails to bootstrap.  Fails with this:

./gcc-4.0.20050109/gcc/../newlib/libc/sys/rtems/include -DIN_GCC -DCROSS_COMPILE
  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc
-mcall-prologues -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_libc -I. -I -I../../gcc-4.0.20050109/gcc -I../../gcc-4.0.20050109/gcc/
-I../../gcc-4.0.20050109/gcc/../include
-I../../gcc-4.0.20050109/gcc/../libcpp/include  -DL_fixdfdi -c
../../gcc-4.0.20050109/gcc/libgcc2.c -o libgcc/./_fixdfdi.o
../../gcc-4.0.20050109/gcc/libgcc2.c: In function '__fixdfdi':
../../gcc-4.0.20050109/gcc/libgcc2.c:1267: internal compiler error: in
find_valid_class, at reload.c:719
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: ICE during bootstrap compiling __fixdfdi
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: joel at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: avr-unknown-rtems4.7 avr-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
@ 2005-01-11 17:16 ` pinskia at gcc dot gnu dot org
  2005-01-11 17:19 ` pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-11 17:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-11 17:15 -------
Note there was another bug opened which will also fix the avr bootstrap failure but does not fix the ICE, 
only works around the problem (PR 18887).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |18887
             Status|UNCONFIRMED                 |NEW
          Component|bootstrap                   |middle-end
     Ever Confirmed|                            |1
 GCC target triplet|avr-unknown-rtems4.7 avr-elf|avr
           Keywords|                            |build, ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-11 17:15:44
               date|                            |
            Summary|ICE during bootstrap        |[4.0 Regression] ICE during
                   |compiling __fixdfdi         |bootstrap compiling
                   |                            |__fixdfdi
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
  2005-01-11 17:16 ` [Bug middle-end/19378] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2005-01-11 17:19 ` pinskia at gcc dot gnu dot org
  2005-01-14 18:38 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-11 17:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-11 17:17 -------
As mentioned in PR 18887 in comment #9, the ICE was caused by:
+2004-12-06  DJ Delorie  <dj@redhat.com>
+
+       * reload.c (find_valid_class): Fix logic to test inner mode as well.
+       (push_reload): Pass inner mode.


The problem is not *in* this patch, but while waiting for
a proper fix, I could get GCC to build again for AVR by
reversing it locally.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dj at redhat dot com
           Priority|P2                          |P3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
  2005-01-11 17:16 ` [Bug middle-end/19378] [4.0 Regression] " pinskia at gcc dot gnu dot org
  2005-01-11 17:19 ` pinskia at gcc dot gnu dot org
@ 2005-01-14 18:38 ` pinskia at gcc dot gnu dot org
  2005-01-14 21:44 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-14 18:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-14 18:37 -------
*** Bug 19446 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dgay at intel-research dot
                   |                            |net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug middle-end/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-01-14 18:38 ` pinskia at gcc dot gnu dot org
@ 2005-01-14 21:44 ` pinskia at gcc dot gnu dot org
  2005-01-18  3:02 ` [Bug target/19378] " corsepiu at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-14 21:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-14 21:44 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00834.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-01-14 21:44 ` pinskia at gcc dot gnu dot org
@ 2005-01-18  3:02 ` corsepiu at gcc dot gnu dot org
  2005-01-21 17:33 ` mmitchel at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: corsepiu at gcc dot gnu dot org @ 2005-01-18  3:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From corsepiu at gcc dot gnu dot org  2005-01-18 03:02 -------
(In reply to comment #4)
> Patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00834.html>.
This patch lets building succeed for avr-rtems*.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-01-18  3:02 ` [Bug target/19378] " corsepiu at gcc dot gnu dot org
@ 2005-01-21 17:33 ` mmitchel at gcc dot gnu dot org
  2005-01-22 13:02 ` joel at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-01-21 17:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-01-21 17:32 -------
AVR is not a primary or secondary platform; removing target milestone.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.0                       |---


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-01-21 17:33 ` mmitchel at gcc dot gnu dot org
@ 2005-01-22 13:02 ` joel at gcc dot gnu dot org
  2005-01-22 19:44 ` mark at codesourcery dot com
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: joel at gcc dot gnu dot org @ 2005-01-22 13:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From joel at gcc dot gnu dot org  2005-01-22 13:02 -------
(In reply to comment #6)
> AVR is not a primary or secondary platform; removing target milestone.

Understood but there is a patch from Rager Sayle and all it needs is to be
reviewed and approved.  He posted tests rules and an explanation here:

http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00834.html

He reports on avr-elf and I can confirm that this lets avr-rtems build.

Please approve this patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmitchel at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-01-22 13:02 ` joel at gcc dot gnu dot org
@ 2005-01-22 19:44 ` mark at codesourcery dot com
  2005-01-22 21:27 ` joel at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: mark at codesourcery dot com @ 2005-01-22 19:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mark at codesourcery dot com  2005-01-22 19:44 -------
Subject: Re:  [4.0 Regression] ICE during bootstrap compiling
 __fixdfdi

joel at gcc dot gnu dot org wrote:
> ------- Additional Comments From joel at gcc dot gnu dot org  2005-01-22 13:02 -------
> (In reply to comment #6)
> 
>>AVR is not a primary or secondary platform; removing target milestone.
> 
> 
> Understood but there is a patch from Rager Sayle and all it needs is to be
> reviewed and approved.  He posted tests rules and an explanation here:
> 
> http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00834.html
> 
> He reports on avr-elf and I can confirm that this lets avr-rtems build.
> 
> Please approve this patch.

The AVR maintainer should review that patch; it's certainly fine to 
commit if approved by the AVR maintainer.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-01-22 19:44 ` mark at codesourcery dot com
@ 2005-01-22 21:27 ` joel at gcc dot gnu dot org
  2005-01-22 21:28 ` joel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: joel at gcc dot gnu dot org @ 2005-01-22 21:27 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |denisc at overta dot ru
         AssignedTo|unassigned at gcc dot gnu   |denisc at overta dot ru
                   |dot org                     |
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2005-01-22 21:27 ` joel at gcc dot gnu dot org
@ 2005-01-22 21:28 ` joel at gcc dot gnu dot org
  2005-01-23  0:15 ` marekm at amelek dot gda dot pl
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: joel at gcc dot gnu dot org @ 2005-01-22 21:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From joel at gcc dot gnu dot org  2005-01-22 21:28 -------
I just assigned it to one AVR maintainer and cc'ed the other.  Could one of
you review this patch and commit it per Mark's request.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marekm at amelek dot gda dot
                   |                            |pl


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2005-01-22 21:28 ` joel at gcc dot gnu dot org
@ 2005-01-23  0:15 ` marekm at amelek dot gda dot pl
  2005-01-23  0:26 ` schlie at comcast dot net
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: marekm at amelek dot gda dot pl @ 2005-01-23  0:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From marekm at amelek dot gda dot pl  2005-01-23 00:14 -------
I think the proposed avr_hard_regno_mode_ok patch may need a small fix for 
QImode in r29 - possible problem with frame pointer (see removed comment): 
 
-  if (regno <= REG_Y && (regno + GET_MODE_SIZE (mode)) >= (REG_Y + 1)) 
+  if (regno <= (REG_Y + 1) && regno + GET_MODE_SIZE (mode) > REG_Y) 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2005-01-23  0:15 ` marekm at amelek dot gda dot pl
@ 2005-01-23  0:26 ` schlie at comcast dot net
  2005-01-23  4:52 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: schlie at comcast dot net @ 2005-01-23  0:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schlie at comcast dot net  2005-01-23 00:25 -------
(In reply to comment #10)

have you had a chance to look at Roger's more recient patch:

 http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01181.html



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2005-01-23  0:26 ` schlie at comcast dot net
@ 2005-01-23  4:52 ` cvs-commit at gcc dot gnu dot org
  2005-01-23  5:29 ` pinskia at gcc dot gnu dot org
  2005-03-13 15:04 ` giovannibajo at libero dot it
  14 siblings, 0 replies; 16+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-23  4:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-23 04:51 -------
Subject: Bug 19378

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	sayle@gcc.gnu.org	2005-01-23 04:51:29

Modified files:
	gcc            : ChangeLog 
	gcc/config/avr : avr.c 

Log message:
	PR middle-end/19378
	* config/avr/avr.c (avr_hard_regno_mode_ok): Rewrite.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7239&r2=2.7240
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/avr/avr.c.diff?cvsroot=gcc&r1=1.125&r2=1.126



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2005-01-23  4:52 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-23  5:29 ` pinskia at gcc dot gnu dot org
  2005-03-13 15:04 ` giovannibajo at libero dot it
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-23  5:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-23 05:29 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/19378] [4.0 Regression] ICE during bootstrap compiling __fixdfdi
  2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2005-01-23  5:29 ` pinskia at gcc dot gnu dot org
@ 2005-03-13 15:04 ` giovannibajo at libero dot it
  14 siblings, 0 replies; 16+ messages in thread
From: giovannibajo at libero dot it @ 2005-03-13 15:04 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 19378 depends on bug 18887, which changed state.

Bug 18887 Summary: [4.0/4.1 Regression] libgcc2.h Improperly determines required built-in function size requirements.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18887

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19378


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-03-13 15:04 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-11 16:35 [Bug bootstrap/19378] New: ICE during bootstrap compiling __fixdfdi joel at gcc dot gnu dot org
2005-01-11 17:16 ` [Bug middle-end/19378] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-01-11 17:19 ` pinskia at gcc dot gnu dot org
2005-01-14 18:38 ` pinskia at gcc dot gnu dot org
2005-01-14 21:44 ` pinskia at gcc dot gnu dot org
2005-01-18  3:02 ` [Bug target/19378] " corsepiu at gcc dot gnu dot org
2005-01-21 17:33 ` mmitchel at gcc dot gnu dot org
2005-01-22 13:02 ` joel at gcc dot gnu dot org
2005-01-22 19:44 ` mark at codesourcery dot com
2005-01-22 21:27 ` joel at gcc dot gnu dot org
2005-01-22 21:28 ` joel at gcc dot gnu dot org
2005-01-23  0:15 ` marekm at amelek dot gda dot pl
2005-01-23  0:26 ` schlie at comcast dot net
2005-01-23  4:52 ` cvs-commit at gcc dot gnu dot org
2005-01-23  5:29 ` pinskia at gcc dot gnu dot org
2005-03-13 15:04 ` giovannibajo at libero dot it

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).