public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/54646] New: gcc-4.7 crashes during compilation
@ 2012-09-20 22:13 srdjan.stipic at gmail dot com
  2012-09-21  8:56 ` [Bug c/54646] " rguenth at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: srdjan.stipic at gmail dot com @ 2012-09-20 22:13 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54646
           Summary: gcc-4.7 crashes during compilation
    Classification: Unclassified
           Product: gcc
           Version: trans-mem
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: srdjan.stipic@gmail.com


Created attachment 28239
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28239
compiler generated file (copy of the input program)

gcc-4.7 crashes during compilation of the following program:

int a;

int main() {
  int i;
  for (i = 0; i < 1; ++i) {
    __transaction_atomic {
      ++a;
    }
  }
  return 0;
}

Machine:

uname -a
Linux srdjan-Latitude-E6410 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48
UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Program is compiled with:

gcc-4.7 -save-temps -v -O3 -fgnu-tm gccbug.c
Using built-in specs.
COLLECT_GCC=gcc-4.7
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.7.0-7ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7
--libdir=/usr/lib --enable-nls --disable-bootstrap --with-sysroot=/
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror
--with-arch-32=i686 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.0 (Ubuntu/Linaro 4.7.0-7ubuntu3) 
COLLECT_GCC_OPTIONS='-save-temps' '-v' '-O3' '-fgnu-tm' '-mtune=generic'
'-march=x86-64' '-pthread'
 /usr/lib/gcc/x86_64-linux-gnu/4.7/cc1 -E -quiet -v -imultiarch
x86_64-linux-gnu -D_REENTRANT gccbug.c -mtune=generic -march=x86-64 -fgnu-tm
-O3 -fpch-preprocess -fstack-protector -o gccbug.i
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/x86_64-linux-gnu/4.7/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-save-temps' '-v' '-O3' '-fgnu-tm' '-mtune=generic'
'-march=x86-64' '-pthread'
 /usr/lib/gcc/x86_64-linux-gnu/4.7/cc1 -fpreprocessed gccbug.i -quiet -dumpbase
gccbug.c -mtune=generic -march=x86-64 -auxbase gccbug -O3 -version -fgnu-tm
-fstack-protector -o gccbug.s
GNU C (Ubuntu/Linaro 4.7.0-7ubuntu3) version 4.7.0 (x86_64-linux-gnu)
    compiled by GNU C version 4.6.3, GMP version 5.0.2, MPFR version 3.1.0-p3,
MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C (Ubuntu/Linaro 4.7.0-7ubuntu3) version 4.7.0 (x86_64-linux-gnu)
    compiled by GNU C version 4.6.3, GMP version 5.0.2, MPFR version 3.1.0-p3,
MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 354a288ebaaed8d49a2cf74c30c06d62
gccbug.c: In function ‘main’:
gccbug.c:3:5: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
Preprocessed source stored into /tmp/cczqotdH.out file, please attach this to
your bugreport.


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

* [Bug c/54646] gcc-4.7 crashes during compilation
  2012-09-20 22:13 [Bug c/54646] New: gcc-4.7 crashes during compilation srdjan.stipic at gmail dot com
@ 2012-09-21  8:56 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-21  8:56 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

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

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-21 08:55:25 UTC ---
This is a dup of PR52173.

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


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

end of thread, other threads:[~2012-09-21  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-20 22:13 [Bug c/54646] New: gcc-4.7 crashes during compilation srdjan.stipic at gmail dot com
2012-09-21  8:56 ` [Bug c/54646] " 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).