Bug 40674 - [LTO] 27_io/basic_filebuf/imbue/char/13171-2.cc hangs
Summary: [LTO] 27_io/basic_filebuf/imbue/char/13171-2.cc hangs
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: lto (show other bugs)
Version: lto
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-07 17:29 UTC by H.J. Lu
Modified: 2009-09-30 19:13 UTC (History)
1 user (show)

See Also:
Host:
Target: ia64-*-linux-gnu
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2009-07-07 17:29:51 UTC
On LTO branh, as of revision 149328

27_io/basic_filebuf/imbue/char/13171-2.cc

hangs on Linux/ia64.
Comment 1 H.J. Lu 2009-07-07 17:31:00 UTC
27_io/basic_filebuf/imbue/wchar_t/14975-2.cc also hangs.
Comment 2 Ben Elliston 2009-07-08 05:22:39 UTC
Works on x86-64 in r149354.  Can you still reproduce on ia64, HJ?
Comment 3 H.J. Lu 2009-07-10 03:58:32 UTC
I still see them with revision 149365 on Linux/ia64.
Comment 4 H.J. Lu 2009-07-10 04:04:35 UTC
Revision 147761 is bad:

FAIL: 27_io/basic_filebuf/imbue/char/13171-2.cc execution test

Revision 147732 is OK. On Linux/ia64, revision 147761 has extra
1180 failures vs. revision 147732.

Comment 5 H.J. Lu 2009-07-10 04:06:44 UTC
The only change between revision 147732 and revision 147761 is

r147738 | dnovillo | 2009-05-20 06:36:30 -0700 (Wed, 20 May 2009) | 5 lines


        * testsuite/lib/libstdc++.exp: Perform -flto test after
        support libraries are built.
Comment 6 H.J. Lu 2009-07-10 04:09:15 UTC
I got

12309 ?        S      0:00 ./13171-2.exe
18148 ?        S      0:00 ./14975-2.exe
[hjl@gnu-11 src-lto]$ strace -p 12309
Process 12309 attached - interrupt to quit
open("tmp_fifo_13171-2", O_WRONLY|O_CREAT|O_TRUNC, 0666 <unfinished ...>
Process 12309 detached
[hjl@gnu-11 src-lto]$ strace -p 18148
Process 18148 attached - interrupt to quit
open("tmp_14975-2", O_RDONLY <unfinished ...
Comment 7 Richard Biener 2009-09-30 15:24:15 UTC
Needs re-confirming.
Comment 8 H.J. Lu 2009-09-30 19:13:24 UTC
It no longer hangs as of revision 152331:

http://gcc.gnu.org/ml/gcc-testresults/2009-09/msg02788.html