public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/20528] New: ICE on compiling vfprintf.c
@ 2005-03-18 5:15 namsh at kldp dot org
2005-03-18 5:16 ` [Bug target/20528] " namsh at kldp dot org
` (5 more replies)
0 siblings, 6 replies; 8+ messages in thread
From: namsh at kldp dot org @ 2005-03-18 5:15 UTC (permalink / raw)
To: gcc-bugs
I tried to build the gcc/binutils using the current CVS.
(gcc = 4.0 branch, binutils = trunk).
m6811-elf-gcc generates ICE when it compiles newlib/libc/stdio/vfprintf.c
$ /home2/namsh/c/gnu/build/dist/gcc/xgcc -B/home2/namsh/c/gnu/build/dist/gcc/
-nostdinc -B/home2/namsh/c/gnu/build/dist/m6811-elf/mshort/newlib/ -isystem
/home2/namsh/c/gnu/build/dist/m6811-elf/mshort/newlib/targ-include -isystem
/home2/namsh/c/gnu/build/newlib/libc/include -B/usr/GNUHCS/m6811-elf/bin/
-B/usr/GNUHCS/m6811-elf/lib/ -isystem /usr/GNUHCS/m6811-elf/include -isystem
/usr/GNUHCS/m6811-elf/sys-include -L/home2/namsh/c/gnu/build/dist/ld -mshort
-DPACKAGE=\"newlib\" -DVERSION=\"1.13.0\" -I.
-I../../../../../../newlib/libc/stdio -DPREFER_SIZE_OVER_SPEED -Os -mrelax
-DNO_EXEC -DABORT_PROVIDED -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES -fno-builtin
-O2 -O2 -static -mshort -fshort-enums -c
../../../../../../newlib/libc/stdio/vfprintf.c -save-temps
../../../../../../newlib/libc/stdio/vfprintf.c: In function '_vfprintf_r':
../../../../../../newlib/libc/stdio/vfprintf.c:1221: error: insn does not
satisfy its constraints:
(insn 4304 229 4302 14 (parallel [
(set (reg:DF 14 *_.d1)
(mem/s/u:DF (symbol_ref:HI ("C.1.2997") <var_decl 0xb7ffd144
C.1>) [74 C.1+0 S8 A8]))
(clobber (scratch:HI))
]) 18 {movdf_internal} (nil)
(nil))
../../../../../../newlib/libc/stdio/vfprintf.c:1221: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:391
--
Summary: ICE on compiling vfprintf.c
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: namsh at kldp 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: m6811-unknown-none
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20528
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/20528] ICE on compiling vfprintf.c
2005-03-18 5:15 [Bug target/20528] New: ICE on compiling vfprintf.c namsh at kldp dot org
@ 2005-03-18 5:16 ` namsh at kldp dot org
2005-03-20 10:37 ` [Bug target/20528] [4.0/4.1 regression] ICE in reload_cse_simplify_operands, at postreload.c:391 belyshev at depni dot sinp dot msu dot ru
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: namsh at kldp dot org @ 2005-03-18 5:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From namsh at kldp dot org 2005-03-18 05:16 -------
Created an attachment (id=8415)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8415&action=view)
vfprintf.i
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20528
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/20528] [4.0/4.1 regression] ICE in reload_cse_simplify_operands, at postreload.c:391
2005-03-18 5:15 [Bug target/20528] New: ICE on compiling vfprintf.c namsh at kldp dot org
2005-03-18 5:16 ` [Bug target/20528] " namsh at kldp dot org
@ 2005-03-20 10:37 ` belyshev at depni dot sinp dot msu dot ru
2005-08-26 11:56 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-03-20 10:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-03-20 10:37 -------
Confirmed, reduced testcase (compile with -O2):
------------------------------------------------------------------------------
struct s
{
int a, b;
};
static int foo (struct s *u)
{
if (u->b == 0)
return 0;
foo1 (u);
u->b = 0;
return 0;
}
int bar (int j, char *fmt, struct s u)
{
int ch;
union
{
double d;
} d = { 0.0 };
if (j)
foo2 (j);
for (;;)
{
while (*fmt)
fmt += 1;
if (fmt)
if (++u.a)
if (foo (&u));
if (ch)
if (d.d)
if (++u.a);
}
return 0;
}
------------------------------------------------------------------------------
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
Keywords| |ice-on-valid-code
Known to fail| |4.0.0 4.1.0
Known to work| |3.4.4
Last reconfirmed|0000-00-00 00:00:00 |2005-03-20 10:37:23
date| |
Summary|ICE on compiling vfprintf.c |[4.0/4.1 regression] ICE in
| |reload_cse_simplify_operands
| |, at postreload.c:391
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20528
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/20528] [4.0/4.1 regression] ICE in reload_cse_simplify_operands, at postreload.c:391
2005-03-18 5:15 [Bug target/20528] New: ICE on compiling vfprintf.c namsh at kldp dot org
2005-03-18 5:16 ` [Bug target/20528] " namsh at kldp dot org
2005-03-20 10:37 ` [Bug target/20528] [4.0/4.1 regression] ICE in reload_cse_simplify_operands, at postreload.c:391 belyshev at depni dot sinp dot msu dot ru
@ 2005-08-26 11:56 ` pinskia at gcc dot gnu dot org
2005-08-26 12:08 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-26 11:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 11:54 -------
*** Bug 23574 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |lts-rudolph at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20528
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/20528] [4.0/4.1 regression] ICE in reload_cse_simplify_operands, at postreload.c:391
2005-03-18 5:15 [Bug target/20528] New: ICE on compiling vfprintf.c namsh at kldp dot org
` (2 preceding siblings ...)
2005-08-26 11:56 ` pinskia at gcc dot gnu dot org
@ 2005-08-26 12:08 ` pinskia at gcc dot gnu dot org
2005-09-09 1:06 ` pinskia at gcc dot gnu dot org
2005-09-09 1:06 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-26 12:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-26 11:54 -------
*** Bug 21201 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |green at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20528
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/20528] [4.0/4.1 regression] ICE in reload_cse_simplify_operands, at postreload.c:391
2005-03-18 5:15 [Bug target/20528] New: ICE on compiling vfprintf.c namsh at kldp dot org
` (3 preceding siblings ...)
2005-08-26 12:08 ` pinskia at gcc dot gnu dot org
@ 2005-09-09 1:06 ` pinskia at gcc dot gnu dot org
2005-09-09 1:06 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-09 1:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-09 01:05 -------
*** Bug 23787 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rosbacke at nada dot kth dot
| |se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20528
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/20528] [4.0/4.1 regression] ICE in reload_cse_simplify_operands, at postreload.c:391
2005-03-18 5:15 [Bug target/20528] New: ICE on compiling vfprintf.c namsh at kldp dot org
` (4 preceding siblings ...)
2005-09-09 1:06 ` pinskia at gcc dot gnu dot org
@ 2005-09-09 1:06 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-09 1:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-09 01:06 -------
Moving target milestone as m68c11 is not a primary/secondary target.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.0 |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20528
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <bug-20528-4514@http.gcc.gnu.org/bugzilla/>]
end of thread, other threads:[~2005-10-30 23:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-18 5:15 [Bug target/20528] New: ICE on compiling vfprintf.c namsh at kldp dot org
2005-03-18 5:16 ` [Bug target/20528] " namsh at kldp dot org
2005-03-20 10:37 ` [Bug target/20528] [4.0/4.1 regression] ICE in reload_cse_simplify_operands, at postreload.c:391 belyshev at depni dot sinp dot msu dot ru
2005-08-26 11:56 ` pinskia at gcc dot gnu dot org
2005-08-26 12:08 ` pinskia at gcc dot gnu dot org
2005-09-09 1:06 ` pinskia at gcc dot gnu dot org
2005-09-09 1:06 ` pinskia at gcc dot gnu dot org
[not found] <bug-20528-4514@http.gcc.gnu.org/bugzilla/>
2005-10-30 23:32 ` 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).