public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/41915] New: FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test
@ 2009-11-02 19:50 danglin at gcc dot gnu dot org
2009-11-15 17:28 ` [Bug lto/41915] " danglin at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-11-02 19:50 UTC (permalink / raw)
To: gcc-bugs
Executing on host: /home/dave/gnu/gcc-4.5/objdir/gcc/xgcc
-B/home/dave/gnu/gcc-4
.5/objdir/gcc/
/home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.dg/torture/builtin-m
ath-7.c -O2 -flto -lm -o ./builtin-math-7.exe (timeout = 300)
PASS: gcc.dg/torture/builtin-math-7.c -O2 -flto (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/dave/gnu/gcc-4.5/objdir/gcc::/home/dave/gnu/gc
c-4.5/objdir/gcc:/home/dave/gnu/gcc-4.5/objdir/hppa-linux/libstdc++-v3/.libs:/ho
me/dave/gnu/gcc-4.5/objdir/hppa-linux/libmudflap/.libs:/home/dave/gnu/gcc-4.5/ob
jdir/hppa-linux/libssp/.libs:/home/dave/gnu/gcc-4.5/objdir/hppa-linux/libgomp/.l
ibs:/home/dave/gnu/gcc-4.5/objdir/./gcc:/home/dave/gnu/gcc-4.5/objdir/./prev-gcc
FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test
Executing on host: /home/dave/gnu/gcc-4.5/objdir/gcc/xgcc
-B/home/dave/gnu/gcc-4
.5/objdir/gcc/
/home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.dg/torture/builtin-m
ath-7.c -O2 -fwhopr -lm -o ./builtin-math-7.exe (timeout = 300)
PASS: gcc.dg/torture/builtin-math-7.c -O2 -fwhopr (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/dave/gnu/gcc-4.5/objdir/gcc::/home/dave/gnu/gc
c-4.5/objdir/gcc:/home/dave/gnu/gcc-4.5/objdir/hppa-linux/libstdc++-v3/.libs:/ho
me/dave/gnu/gcc-4.5/objdir/hppa-linux/libmudflap/.libs:/home/dave/gnu/gcc-4.5/ob
jdir/hppa-linux/libssp/.libs:/home/dave/gnu/gcc-4.5/objdir/hppa-linux/libgomp/.l
ibs:/home/dave/gnu/gcc-4.5/objdir/./gcc:/home/dave/gnu/gcc-4.5/objdir/./prev-gcc
FAIL: gcc.dg/torture/builtin-math-7.c -O2 -fwhopr execution test
dave@hiauly6:~/gnu/gcc/objdir/gcc$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa-linux
Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared
--prefix=/home/dave/opt/gnu/gcc/gcc-4.5.0
--with-local-prefix=/home/dave/opt/gnu --enable-threads=posix
--enable-__cxa_atexit --build=hppa-linux --enable-clocale=gnu
--enable-java-gc=boehm --enable-java-awt=xlib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--with-libelf=/home/dave/opt/gnu
Thread model: posix
gcc version 4.5.0 20091102 (experimental) [trunk revision 153799] (GCC)
--
Summary: FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto
execution test
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa-unknown-linu-gnu
GCC host triplet: hppa-unknown-linu-gnu
GCC target triplet: hppa-unknown-linu-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41915
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/41915] FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test
2009-11-02 19:50 [Bug lto/41915] New: FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test danglin at gcc dot gnu dot org
@ 2009-11-15 17:28 ` danglin at gcc dot gnu dot org
2009-12-11 11:49 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-11-15 17:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from danglin at gcc dot gnu dot org 2009-11-15 17:28 -------
also fails on hppa64-hp-hpux11.11.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41915
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/41915] FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test
2009-11-02 19:50 [Bug lto/41915] New: FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test danglin at gcc dot gnu dot org
2009-11-15 17:28 ` [Bug lto/41915] " danglin at gcc dot gnu dot org
@ 2009-12-11 11:49 ` rguenth at gcc dot gnu dot org
2009-12-11 14:49 ` rguenth at gcc dot gnu dot org
2009-12-11 14:50 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-11 11:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-12-11 11:49 -------
Confirmed. Fails everywhere.
The issue is that flag_complex_method is not the same in lto1 compared to cc1
so we lower the complex multiplication differently.
The specific issue is that we fold
D.2036_6 = __complex__ ( Inf, 0.0) * __complex__ (0.0, 1.0e+0);
D.2035_7 = D.2036_6 * D.2036_6;
to
D.2036_6 = COMPLEX_EXPR < Nan, Inf>;
D.2035_7 = COMPLEX_EXPR < Nan, Nan>;
with -fcx-fortran-rules (flag_complex_method == 1).
So the particular issue is a middle-end one while the general
flag_complex_method issue remains. In the end we need to move
flag_complex_method into the IL just like flag_wrapv.
I'm going to try fix the testcase at least.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-12-11 11:49:25
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41915
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/41915] FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test
2009-11-02 19:50 [Bug lto/41915] New: FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test danglin at gcc dot gnu dot org
2009-11-15 17:28 ` [Bug lto/41915] " danglin at gcc dot gnu dot org
2009-12-11 11:49 ` rguenth at gcc dot gnu dot org
@ 2009-12-11 14:49 ` rguenth at gcc dot gnu dot org
2009-12-11 14:50 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-11 14:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-12-11 14:49 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41915
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/41915] FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test
2009-11-02 19:50 [Bug lto/41915] New: FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-12-11 14:49 ` rguenth at gcc dot gnu dot org
@ 2009-12-11 14:50 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-11 14:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2009-12-11 14:49 -------
Subject: Bug 41915
Author: rguenth
Date: Fri Dec 11 14:49:35 2009
New Revision: 155164
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155164
Log:
2009-12-11 Richard Guenther <rguenther@suse.de>
PR lto/41915
* lto-lang.c (lto_init_options): Initialize flag_complex_method
to the C99 default. Do not set flag_unit_at_a_time.
Modified:
trunk/gcc/lto/ChangeLog
trunk/gcc/lto/lto-lang.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41915
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-12-11 14:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-02 19:50 [Bug lto/41915] New: FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test danglin at gcc dot gnu dot org
2009-11-15 17:28 ` [Bug lto/41915] " danglin at gcc dot gnu dot org
2009-12-11 11:49 ` rguenth at gcc dot gnu dot org
2009-12-11 14:49 ` rguenth at gcc dot gnu dot org
2009-12-11 14:50 ` rguenth 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).