public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/19231] New: Execute failure in gcc.c-torture/execute/builtins/strlen-3.c on i686-pc-linux-gnu with -fpic/-fPIC
@ 2005-01-02 18:18 ghazi at gcc dot gnu dot org
2005-01-03 15:24 ` [Bug other/19231] Execute failure in gcc.c-torture/execute/builtins/strlen-3.c " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2005-01-02 18:18 UTC (permalink / raw)
To: gcc-bugs
When running the testsuite on mainline with -fpic or -fPIC I get these
additional execute failures:
FAIL: gcc.c-torture/execute/builtins/strlen-3.c execution, -O2
FAIL: gcc.c-torture/execute/builtins/strlen-3.c execution, -O3 -fomit-frame-
pointer
FAIL: gcc.c-torture/execute/builtins/strlen-3.c execution, -O3 -fomit-frame-
pointer -funroll-loops
FAIL: gcc.c-torture/execute/builtins/strlen-3.c execution, -O3 -fomit-frame-
pointer -funroll-all-loops -finline-functions
FAIL: gcc.c-torture/execute/builtins/strlen-3.c execution, -O3 -g
Looking at the -save-temps .s file, gcc is failing to optimize away any of the
strlen calls, thus causing it to call abort in lib/strlen.c.
--
Summary: Execute failure in gcc.c-
torture/execute/builtins/strlen-3.c on i686-pc-linux-gnu
with -fpic/-fPIC
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ghazi 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: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19231
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug other/19231] Execute failure in gcc.c-torture/execute/builtins/strlen-3.c with -fpic/-fPIC
2005-01-02 18:18 [Bug target/19231] New: Execute failure in gcc.c-torture/execute/builtins/strlen-3.c on i686-pc-linux-gnu with -fpic/-fPIC ghazi at gcc dot gnu dot org
@ 2005-01-03 15:24 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-03 15:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-03 15:24 -------
Because bar is not static to the TU, we can override it in a different one which causes use not to
optimizate it out, try adding static infront of bar, baz, and larger.
So this is a testcase problem.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|target |other
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-01-03 15:24:21
date| |
Summary|Execute failure in gcc.c- |Execute failure in gcc.c-
|torture/execute/builtins/str|torture/execute/builtins/str
|len-3.c on i686-pc-linux-gnu|len-3.c with -fpic/-fPIC
|with -fpic/-fPIC |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19231
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-03 15:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-02 18:18 [Bug target/19231] New: Execute failure in gcc.c-torture/execute/builtins/strlen-3.c on i686-pc-linux-gnu with -fpic/-fPIC ghazi at gcc dot gnu dot org
2005-01-03 15:24 ` [Bug other/19231] Execute failure in gcc.c-torture/execute/builtins/strlen-3.c " 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).