public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/49394] New: [4.7 Regression] libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc FAILs with -fipa-pta -fnon-call-exceptions
@ 2011-06-13 19:19 zsojka at seznam dot cz
  2011-06-14 12:45 ` [Bug middle-end/49394] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2011-06-13 19:19 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.7 Regression]
                    libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc
                    FAILs with -fipa-pta -fnon-call-exceptions
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: rguenth@gcc.gnu.org
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 24511
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24511
reduced testcase (from libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc)

Output:
$ g++ -O -fipa-pta -fnon-call-exceptions testcase.C
$ gdb ./a.out
(gdb) r
Starting program: /home/smatz/gcc-bug/951/a.out 
terminate called after throwing an instance of 'int'

Program received signal SIGABRT, Aborted.
0x00007ffff72e1a05 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff72e1a05 in raise () from /lib64/libc.so.6
#1  0x00007ffff72e308f in abort () from /lib64/libc.so.6
#2  0x00007ffff7b95fd5 in __gnu_cxx::__verbose_terminate_handler() () from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/libstdc++.so.6
#3  0x00007ffff7b94406 in ?? () from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/libstdc++.so.6
#4  0x00007ffff7b94433 in std::terminate() () from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/libstdc++.so.6
#5  0x00007ffff7b9451e in __cxa_throw () from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/libstdc++.so.6
#6  0x00000000004007bf in ~Mutex () at testcase.C:7
#7  main () at testcase.C:36

Tested revisions:
r174979 - fail
r173150 - OK
4.6.0 - OK


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

end of thread, other threads:[~2011-06-27 16:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-13 19:19 [Bug middle-end/49394] New: [4.7 Regression] libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc FAILs with -fipa-pta -fnon-call-exceptions zsojka at seznam dot cz
2011-06-14 12:45 ` [Bug middle-end/49394] " rguenth at gcc dot gnu.org
2011-06-27 16:48 ` rguenth at gcc dot gnu.org
2011-06-27 16:49 ` rguenth at gcc dot gnu.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).