public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/44590]  New: [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests
@ 2010-06-19 10:57 dominiq at lps dot ens dot fr
  2010-06-21  8:35 ` [Bug c++/44590] " jamborm at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-06-19 10:57 UTC (permalink / raw)
  To: gcc-bugs

Revision 159362 caused the following failures of the libstdc++-v3 
testsuite on powerpc-apple-darwin9 and x86_64-apple-darwin10:

FAIL: 27_io/basic_stringbuf/in_avail/char/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/in_avail/wchar_t/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/sbumpc/char/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/sbumpc/wchar_t/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/sgetc/char/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/sgetc/wchar_t/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/sgetn/char/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/sgetn/wchar_t/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/snextc/char/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/snextc/wchar_t/1.cc (test for excess errors)

and on x86_64-apple-darwin10 only:

FAIL: ext/stdio_sync_filebuf/char/1.cc (test for excess errors)
FAIL: ext/stdio_sync_filebuf/char/12048-3.cc (test for excess errors)
FAIL: ext/stdio_sync_filebuf/char/12048-4.cc (test for excess errors)
FAIL: ext/stdio_sync_filebuf/wchar_t/1.cc (test for excess errors)
FAIL: ext/stdio_sync_filebuf/wchar_t/12948-3.cc (test for excess errors)
FAIL: ext/stdio_sync_filebuf/wchar_t/12948-4.cc (test for excess errors)

see http://gcc.gnu.org/ml/gcc-testresults/2010-05/msg01227.html
and http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg00587.html
(Note that the failures on powerpc-apple-darwin9 for
FAIL: ext/mt_allocator/deallocate_global_thread-1.cc execution test
FAIL: ext/mt_allocator/deallocate_global_thread-3.cc execution test
are unrelated and much older).

The reason of the failures can be found at

http://gcc.gnu.org/regtest/HEAD/native-logsum/powerpc-apple-darwin9.8.0/libstdc++-v3/testsuite/libstdc++.log.gzip

Executing on host: /Users/regress/tbox/native/build/./gcc/g++ -shared-libgcc
-B/Users/regress/tbox/native/build/./gcc -nostdinc++
-L/Users/regress/tbox/native/build/powerpc-apple-darwin9.8.0/libstdc++-v3/src
-L/Users/regress/tbox/native/build/powerpc-apple-darwin9.8.0/libstdc++-v3/src/.libs
-B/Users/regress/tbox/objs/powerpc-apple-darwin9.8.0/bin/
-B/Users/regress/tbox/objs/powerpc-apple-darwin9.8.0/lib/ -isystem
/Users/regress/tbox/objs/powerpc-apple-darwin9.8.0/include -isystem
/Users/regress/tbox/objs/powerpc-apple-darwin9.8.0/sys-include
-B/Users/regress/tbox/native/build/powerpc-apple-darwin9.8.0/./libstdc++-v3/src/.libs
-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections
-g -O2 -g -O2 -DLOCALEDIR="." -nostdinc++
-I/Users/regress/tbox/native/build/powerpc-apple-darwin9.8.0/libstdc++-v3/include/powerpc-apple-darwin9.8.0
-I/Users/regress/tbox/native/build/powerpc-apple-darwin9.8.0/libstdc++-v3/include
-I/Users/regress/tbox/svn-gcc/libstdc++-v3/libsupc++
-I/Users/regress/tbox/svn-gcc/libstdc++-v3/include/backward
-I/Users/regress/tbox/svn-gcc/libstdc++-v3/testsuite/util
/Users/regress/tbox/svn-gcc/libstdc++-v3/testsuite/27_io/basic_stringbuf/in_avail/char/1.cc
   -multiply_defined suppress -include bits/stdc++.h ./libtestc++.a -liconv 
-lm   -o ./1.exe    (timeout = 600)
/Users/regress/tbox/svn-gcc/libstdc++-v3/testsuite/27_io/basic_stringbuf/in_avail/char/1.cc:53:1:
error: Inline clone with address taken
std::basic_string<_CharT, _Traits, _Alloc>::~basic_string() [with _CharT =
char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]/813(-1)
@0x1b590d8 (asm: _ZNSsD1Ev) (inline copy in virtual
std::basic_stringbuf<char>::~basic_stringbuf()/838) availability:local analyzed
14 time, 12 benefit (6 after inlining) 5 size, 3 benefit (14 after inlining) 1
bytes stack usage address_taken body local finalized inlinable
  called by: virtual std::basic_stringbuf<char>::~basic_stringbuf()/838 (1.00
per call) (inlined) 
  calls: void std::basic_string<_CharT, _Traits,
_Alloc>::_Rep::_M_dispose(const _Alloc&) [with _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]/782 (inlined) (1.00 per
call) 
  References: 
  Refering this function:  fn:void
_Z41__static_initialization_and_destruction_0ii.constprop.0()/850 (addr)
fn:void _Z41__static_initialization_and_destruction_0ii.constprop.0()/850
(addr) fn:void
_Z41__static_initialization_and_destruction_0ii.constprop.0()/850 (addr)
/Users/regress/tbox/svn-gcc/libstdc++-v3/testsuite/27_io/basic_stringbuf/in_avail/char/1.cc:53:1:
internal compiler error: verify_cgraph_node failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1


-- 
           Summary: [4.6 Regression] Revision 159362 caused multiple
                    failures on the libstdc++-v3 tests
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: *--apple-darwin*
  GCC host triplet: *-apple-darwin*
GCC target triplet: *-apple-darwin*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44590


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/44590] [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests
  2010-06-19 10:57 [Bug c++/44590] New: [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests dominiq at lps dot ens dot fr
@ 2010-06-21  8:35 ` jamborm at gcc dot gnu dot org
  2010-06-21  8:44 ` hubicka at ucw dot cz
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-06-21  8:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jamborm at gcc dot gnu dot org  2010-06-21 08:35 -------
Honza, does this look familiar to you?


-- 

jamborm at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at ucw dot cz


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44590


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/44590] [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests
  2010-06-19 10:57 [Bug c++/44590] New: [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests dominiq at lps dot ens dot fr
  2010-06-21  8:35 ` [Bug c++/44590] " jamborm at gcc dot gnu dot org
@ 2010-06-21  8:44 ` hubicka at ucw dot cz
  2010-06-24 21:35 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hubicka at ucw dot cz @ 2010-06-21  8:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hubicka at ucw dot cz  2010-06-21 08:44 -------
Subject: Re:  [4.6 Regression] Revision 159362 caused
        multiple failures on the libstdc++-v3 tests

I was fixing bug like this, where function was extern inline and had address
taken in the unit.
Inliner removed offline copy of the function but we need to keep it around so
ipa-ref can point
to it.

I guess this is your problem too.  ipa-inline should understand that even if
offline copy goes away, the cgraph node needs to be preserved when there are
some references of it.  cgraph_can_remove_if_no_direct_calls_p already tests
for address_taken, so why the offline copy disappears?

Honza


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44590


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/44590] [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests
  2010-06-19 10:57 [Bug c++/44590] New: [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests dominiq at lps dot ens dot fr
  2010-06-21  8:35 ` [Bug c++/44590] " jamborm at gcc dot gnu dot org
  2010-06-21  8:44 ` hubicka at ucw dot cz
@ 2010-06-24 21:35 ` rguenth at gcc dot gnu dot org
  2010-07-04 19:13 ` danglin at gcc dot gnu dot org
  2010-07-11  4:58 ` dominiq at lps dot ens dot fr
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-24 21:35 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44590


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/44590] [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests
  2010-06-19 10:57 [Bug c++/44590] New: [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests dominiq at lps dot ens dot fr
                   ` (2 preceding siblings ...)
  2010-06-24 21:35 ` rguenth at gcc dot gnu dot org
@ 2010-07-04 19:13 ` danglin at gcc dot gnu dot org
  2010-07-11  4:58 ` dominiq at lps dot ens dot fr
  4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu dot org @ 2010-07-04 19:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from danglin at gcc dot gnu dot org  2010-07-04 19:12 -------
I see the following similar fails on hppa64-hp-hpux11.11:

FAIL: 27_io/basic_stringbuf/sputbackc/char/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/sputbackc/wchar_t/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/sungetc/char/1.cc (test for excess errors)
FAIL: 27_io/basic_stringbuf/sungetc/wchar_t/1.cc (test for excess errors)

/test/gnu/gcc/gcc/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/char/1.
cc:111:1: error: caller edge frequency 0 does not match BB freqency 1000
std::basic_stringbuf<_CharT, _Traits, _Alloc>::int_type
std::basic_stringbuf<_Ch
arT, _Traits, _Alloc>::underflow() [with _CharT = char, _Traits =
std::char_trai
ts<char>, _Alloc = std::allocator<char>, std::basic_stringbuf<_CharT, _Traits,
_
Alloc>::int_type = int]/722(-1) @800003fffde41ac0 (asm:
_ZNSt15basic_stringbufIc
St11char_traitsIcESaIcEE9underflowEv) availability:not_available
  called by: std::basic_streambuf<_CharT, _Traits>::int_type
std::basic_streambu
f<_CharT, _Traits>::sgetc() [with _CharT = char, _Traits =
std::char_traits<char
>, std::basic_streambuf<_CharT, _Traits>::int_type = int]/78 (can throw external
) 
  calls: 
  References: 
  Refering this function: 
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/char/1.
cc:111:1: internal compiler error: verify_cgraph_node failed


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-04 19:12:55
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44590


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/44590] [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests
  2010-06-19 10:57 [Bug c++/44590] New: [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests dominiq at lps dot ens dot fr
                   ` (3 preceding siblings ...)
  2010-07-04 19:13 ` danglin at gcc dot gnu dot org
@ 2010-07-11  4:58 ` dominiq at lps dot ens dot fr
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-07-11  4:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dominiq at lps dot ens dot fr  2010-07-11 04:58 -------


*** This bug has been marked as a duplicate of 44121 ***


-- 

dominiq at lps dot ens dot fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44590


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-11  4:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-19 10:57 [Bug c++/44590] New: [4.6 Regression] Revision 159362 caused multiple failures on the libstdc++-v3 tests dominiq at lps dot ens dot fr
2010-06-21  8:35 ` [Bug c++/44590] " jamborm at gcc dot gnu dot org
2010-06-21  8:44 ` hubicka at ucw dot cz
2010-06-24 21:35 ` rguenth at gcc dot gnu dot org
2010-07-04 19:13 ` danglin at gcc dot gnu dot org
2010-07-11  4:58 ` dominiq at lps dot ens dot fr

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).