public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: middle-end/6600: i960 toolchain hits abort in c_readstr
@ 2002-05-23 21:27 sayle
0 siblings, 0 replies; 3+ messages in thread
From: sayle @ 2002-05-23 21:27 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, sayle, wilson
Synopsis: i960 toolchain hits abort in c_readstr
State-Changed-From-To: analyzed->closed
State-Changed-By: sayle
State-Changed-When: Thu May 23 21:27:16 2002
State-Changed-Why:
This PR has recently been fixed by the following patch:
http://gcc.gnu.org/ml/gcc-patches/2002-05/msg01463.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6600
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: middle-end/6600: i960 toolchain hits abort in c_readstr
@ 2002-05-16 12:31 sayle
0 siblings, 0 replies; 3+ messages in thread
From: sayle @ 2002-05-16 12:31 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, sayle, wilson
Synopsis: i960 toolchain hits abort in c_readstr
Responsible-Changed-From-To: unassigned->sayle
Responsible-Changed-By: sayle
Responsible-Changed-When: Thu May 16 12:31:16 2002
Responsible-Changed-Why:
A patch to this problem has been proposed to gcc-patches
http://gcc.gnu.org/ml/gcc-patches/2002-05/msg01238.html
http://gcc.gnu.org/ml/gcc-patches/2002-05/msg01246.html
State-Changed-From-To: open->analyzed
State-Changed-By: sayle
State-Changed-When: Thu May 16 12:31:16 2002
State-Changed-Why:
A patch to this problem has been proposed to gcc-patches
http://gcc.gnu.org/ml/gcc-patches/2002-05/msg01238.html
http://gcc.gnu.org/ml/gcc-patches/2002-05/msg01246.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6600
^ permalink raw reply [flat|nested] 3+ messages in thread
* middle-end/6600: i960 toolchain hits abort in c_readstr
@ 2002-05-07 14:36 Jim Wilson
0 siblings, 0 replies; 3+ messages in thread
From: Jim Wilson @ 2002-05-07 14:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 6600
>Category: middle-end
>Synopsis: i960 toolchain hits abort in c_readstr
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Tue May 07 14:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 3.2 20020426 (experimental)
>Organization:
Red Hat
>Environment:
System: Linux tonopah.toronto.redhat.com 2.4.9-31smp #1 SMP Tue Feb 26 06:55:00 EST 2002 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i960-unknown-coff
configured with: ../src/configure --target=i960-coff
>Description:
If you have a program that calls strcpy/memcpy with a constant string
of 16 bytes or more, and you compile with optimization, then gcc aborts
in c_readstr in builtins.c.
The i960 toolchain has instructions to move 16 bytes (4 registers) at
a time. Constant strings get 16 byte alignment so that we can use
these instructions. strcpy/memcpy are trying to optimize calls with
a constant string as a parameter. Unfortunately, you can only put 8
bytes at a time in a CONST_DOUBLE, so c_readstr aborts when asked to
convert 16 bytes of string into a single RTL constant.
>How-To-Repeat:
Compile gcc.c-torture/execute/20000703-1.c with -O for an i960-coff
target.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-05-24 4:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-23 21:27 middle-end/6600: i960 toolchain hits abort in c_readstr sayle
-- strict thread matches above, loose matches on Subject: below --
2002-05-16 12:31 sayle
2002-05-07 14:36 Jim Wilson
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).