public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/12721] New: ICE when building a cross compiler for avr-elf
@ 2003-10-22 12:16 berndtrog at yahoo dot com
2003-10-22 16:34 ` [Bug target/12721] " eric at ecentral dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: berndtrog at yahoo dot com @ 2003-10-22 12:16 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12721
Summary: ICE when building a cross compiler for avr-elf
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: berndtrog at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: avr-elf
Building a cross compiler for avr-elf failed with:
/src/gcc-20031021/configure -v --target=avr --prefix=/install/gcc-34-031021
--with-gnu-ld --with-gnu-as --disable-nls --enable-languages=c
[..]
/build/gcc/xgcc -B/build/gcc/ -B/install/gcc-34-031021/avr/bin/
-B/install/gcc-34-031021/avr/lib/ -isystem /install/gcc-34-031021/avr/include
-isystem /install/gcc-34-031021/avr/sys-include -O2 -DIN_GCC -DCROSS_COMPILE
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include -DDF=SF -Dinhibit_libc -mcall-prologues -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I -I/src/gcc-20031021/gcc
-I/src/gcc-20031021/gcc/ -I/src/gcc-20031021/gcc/../include -DL_lshrdi3 -c
/src/gcc-20031021/gcc/libgcc2.c -o libgcc/./_lshrdi3.o
/src/gcc-20031021/gcc/libgcc2.c: In function `__lshrdi3':
/src/gcc-20031021/gcc/libgcc2.c:387: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
>gcc -v
Reading specs from /usr/local/gcc34-031021/lib/gcc/i686-pc-linux-gnu/3.4/specs
Configured with: /src/gcc/configure --prefix=/usr/local/gcc34-031021
--enable-languages=c,c++,ada --disable-nls
Thread model: posix
gcc version 3.4 20031021 (experimental)
This is a regression from 3.3.1 to 3.4
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/12721] ICE when building a cross compiler for avr-elf
2003-10-22 12:16 [Bug target/12721] New: ICE when building a cross compiler for avr-elf berndtrog at yahoo dot com
@ 2003-10-22 16:34 ` eric at ecentral dot com
2003-10-22 20:58 ` [Bug optimization/12721] [3.4 Regression] " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: eric at ecentral dot com @ 2003-10-22 16:34 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12721
eric at ecentral dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |eric at ecentral dot com
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug optimization/12721] [3.4 Regression] ICE when building a cross compiler for avr-elf
2003-10-22 12:16 [Bug target/12721] New: ICE when building a cross compiler for avr-elf berndtrog at yahoo dot com
2003-10-22 16:34 ` [Bug target/12721] " eric at ecentral dot com
@ 2003-10-22 20:58 ` pinskia at gcc dot gnu dot org
2003-10-23 7:00 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-22 20:58 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12721
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|target |optimization
Keywords| |build, ice-on-valid-code
Summary|ICE when building a cross |[3.4 Regression] ICE when
|compiler for avr-elf |building a cross compiler
| |for avr-elf
Target Milestone|--- |3.4
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug optimization/12721] [3.4 Regression] ICE when building a cross compiler for avr-elf
2003-10-22 12:16 [Bug target/12721] New: ICE when building a cross compiler for avr-elf berndtrog at yahoo dot com
2003-10-22 16:34 ` [Bug target/12721] " eric at ecentral dot com
2003-10-22 20:58 ` [Bug optimization/12721] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2003-10-23 7:00 ` pinskia at gcc dot gnu dot org
2003-10-23 15:17 ` berndtrog at yahoo dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-23 7:00 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12721
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-23 06:51 -------
Could you attach the preprocessed source?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug optimization/12721] [3.4 Regression] ICE when building a cross compiler for avr-elf
2003-10-22 12:16 [Bug target/12721] New: ICE when building a cross compiler for avr-elf berndtrog at yahoo dot com
` (2 preceding siblings ...)
2003-10-23 7:00 ` pinskia at gcc dot gnu dot org
@ 2003-10-23 15:17 ` berndtrog at yahoo dot com
2003-12-19 9:44 ` [Bug target/12721] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: berndtrog at yahoo dot com @ 2003-10-23 15:17 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12721
berndtrog at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed| |1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/12721] [3.4 Regression] ICE when building a cross compiler for avr-elf
2003-10-22 12:16 [Bug target/12721] New: ICE when building a cross compiler for avr-elf berndtrog at yahoo dot com
` (3 preceding siblings ...)
2003-10-23 15:17 ` berndtrog at yahoo dot com
@ 2003-12-19 9:44 ` pinskia at gcc dot gnu dot org
2003-12-24 20:10 ` kazu at cs dot umass dot edu
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-19 9:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-19 09:41 -------
Totally a target issue: zero_reg_rtx is 0. The problem is that the allocation of zero_reg_rtx in
avr_init_once does not play nicely with GC.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|optimization |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12721
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/12721] [3.4 Regression] ICE when building a cross compiler for avr-elf
2003-10-22 12:16 [Bug target/12721] New: ICE when building a cross compiler for avr-elf berndtrog at yahoo dot com
` (4 preceding siblings ...)
2003-12-19 9:44 ` [Bug target/12721] " pinskia at gcc dot gnu dot org
@ 2003-12-24 20:10 ` kazu at cs dot umass dot edu
2003-12-24 20:48 ` kazu at cs dot umass dot edu
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: kazu at cs dot umass dot edu @ 2003-12-24 20:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kazu at cs dot umass dot edu 2003-12-24 19:31 -------
Reduced to:
void
foo (void)
{
struct s {
int a;
} w;
w.a = 0;
}
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |kazu at cs dot umass dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12721
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/12721] [3.4 Regression] ICE when building a cross compiler for avr-elf
2003-10-22 12:16 [Bug target/12721] New: ICE when building a cross compiler for avr-elf berndtrog at yahoo dot com
` (5 preceding siblings ...)
2003-12-24 20:10 ` kazu at cs dot umass dot edu
@ 2003-12-24 20:48 ` kazu at cs dot umass dot edu
2003-12-24 21:05 ` cvs-commit at gcc dot gnu dot org
2003-12-24 21:09 ` kazu at cs dot umass dot edu
8 siblings, 0 replies; 10+ messages in thread
From: kazu at cs dot umass dot edu @ 2003-12-24 20:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kazu at cs dot umass dot edu 2003-12-24 20:32 -------
Posted a patch.
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02055.html
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |kazu at cs dot umass dot edu
|dot org |
Status|NEW |ASSIGNED
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12721
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/12721] [3.4 Regression] ICE when building a cross compiler for avr-elf
2003-10-22 12:16 [Bug target/12721] New: ICE when building a cross compiler for avr-elf berndtrog at yahoo dot com
` (6 preceding siblings ...)
2003-12-24 20:48 ` kazu at cs dot umass dot edu
@ 2003-12-24 21:05 ` cvs-commit at gcc dot gnu dot org
2003-12-24 21:09 ` kazu at cs dot umass dot edu
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-24 21:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-12-24 20:39 -------
Subject: Bug 12721
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: kazu@gcc.gnu.org 2003-12-24 20:39:30
Modified files:
gcc : ChangeLog
gcc/config/avr : avr.c avr.h
Log message:
PR target/12721.
* config/avr/avr.c: Include ggc.h.
(tmp_reg_rtx): Declare with GTY.
(zero_reg_rtx): Likewise.
(ldi_reg_rtx): Remove.
(avr_override_options): Initialize zero_reg_rtx and
ldi_reg_rtx.
(avr_init): Remove.
Include gt-avr.h.
* config/avr/avr.h (LDI_REG_REGNO): Remove.
Remove externs for tmp_reg_rtx, zero_reg_rtx, and ldi_reg_rtx.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.2092&r2=2.2093
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/avr/avr.c.diff?cvsroot=gcc&r1=1.103&r2=1.104
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/avr/avr.h.diff?cvsroot=gcc&r1=1.92&r2=1.93
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12721
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/12721] [3.4 Regression] ICE when building a cross compiler for avr-elf
2003-10-22 12:16 [Bug target/12721] New: ICE when building a cross compiler for avr-elf berndtrog at yahoo dot com
` (7 preceding siblings ...)
2003-12-24 21:05 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-24 21:09 ` kazu at cs dot umass dot edu
8 siblings, 0 replies; 10+ messages in thread
From: kazu at cs dot umass dot edu @ 2003-12-24 21:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kazu at cs dot umass dot edu 2003-12-24 20:42 -------
Just committed a patch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12721
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-12-24 20:42 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-22 12:16 [Bug target/12721] New: ICE when building a cross compiler for avr-elf berndtrog at yahoo dot com
2003-10-22 16:34 ` [Bug target/12721] " eric at ecentral dot com
2003-10-22 20:58 ` [Bug optimization/12721] [3.4 Regression] " pinskia at gcc dot gnu dot org
2003-10-23 7:00 ` pinskia at gcc dot gnu dot org
2003-10-23 15:17 ` berndtrog at yahoo dot com
2003-12-19 9:44 ` [Bug target/12721] " pinskia at gcc dot gnu dot org
2003-12-24 20:10 ` kazu at cs dot umass dot edu
2003-12-24 20:48 ` kazu at cs dot umass dot edu
2003-12-24 21:05 ` cvs-commit at gcc dot gnu dot org
2003-12-24 21:09 ` kazu at cs dot umass dot edu
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).