This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51347] New: [trans-mem] Segfault on templates with -O1 -fgnu-tm


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

             Bug #: 51347
           Summary: [trans-mem] Segfault on templates with -O1 -fgnu-tm
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: roman@tsisyk.com
             Build: trunk Revision 181801


Created attachment 25946
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25946
Testcase

I am doing some experiments with the transaction memory feature, which has
recently been merged to the main trunk. Currently, one of my tests causes g++
segfault. 
---
main.cpp: In member function 'void BugContainer<ValueType>::bug() [with
ValueType = Info]':
main.cpp:35:1: internal compiler error: Segmentation fault
---

It is always reproducible and tested on various configurations. 
I simplified code and made reduced testcase.

gcc from the trunk rev 181801 date 20111129. 
Debian gcc-snapshot 20111114 has some problems.

--
Configured with: ../configure --prefix=/usr/lib/gcc-snapshot
--disable-bootstrap --enable-languages=c,c++ --enable-shared
--enable-linker-build-id --with-system-zlib --disable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin
--with-arch-directory=amd64 --with-arch-32=i586 --with-tune=generic
--disable-werror --enable-checking=yes --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.0 20111129 (experimental) (GCC) 
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]