public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/50761] g++ internal compiler error using std::initializer_list
  2011-10-17 17:17 [Bug c++/50761] New: g++ internal compiler error using std::initializer_list stephane at magnenat dot net
@ 2011-10-17 17:17 ` stephane at magnenat dot net
  2011-10-17 17:21 ` redi at gcc dot gnu.org
  2011-10-17 17:29 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: stephane at magnenat dot net @ 2011-10-17 17:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Stéphane Magnenat <stephane at magnenat dot net> 2011-10-17 17:16:56 UTC ---
Created attachment 25525
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25525
correct code


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

* [Bug c++/50761] New: g++ internal compiler error using std::initializer_list
@ 2011-10-17 17:17 stephane at magnenat dot net
  2011-10-17 17:17 ` [Bug c++/50761] " stephane at magnenat dot net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: stephane at magnenat dot net @ 2011-10-17 17:17 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50761
           Summary: g++ internal compiler error using
                    std::initializer_list
    Classification: Unclassified
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: stephane@magnenat.net


Created attachment 25524
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25524
broken code

The C++11 code in attachment generates an internal compiler error in g++:

test.cpp: In function ‘int main()’:
test.cpp:19:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.5 --enable-shared --enable-multiarch
--with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/x86_64-linux-gnu
--enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default
--with-plugin-ld=ld.gold --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.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)


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

* [Bug c++/50761] g++ internal compiler error using std::initializer_list
  2011-10-17 17:17 [Bug c++/50761] New: g++ internal compiler error using std::initializer_list stephane at magnenat dot net
  2011-10-17 17:17 ` [Bug c++/50761] " stephane at magnenat dot net
@ 2011-10-17 17:21 ` redi at gcc dot gnu.org
  2011-10-17 17:29 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2011-10-17 17:21 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-17 17:21:22 UTC ---
already fixed in 4.6 and 4.7

when testing the experimental C++0x mode, please use the latest releases -
there are hundreds of fixes since the 4.5 release series was branched


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

* [Bug c++/50761] g++ internal compiler error using std::initializer_list
  2011-10-17 17:17 [Bug c++/50761] New: g++ internal compiler error using std::initializer_list stephane at magnenat dot net
  2011-10-17 17:17 ` [Bug c++/50761] " stephane at magnenat dot net
  2011-10-17 17:21 ` redi at gcc dot gnu.org
@ 2011-10-17 17:29 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2011-10-17 17:29 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
   Target Milestone|---                         |4.6.0

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-17 17:28:57 UTC ---
.


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

end of thread, other threads:[~2011-10-17 17:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-17 17:17 [Bug c++/50761] New: g++ internal compiler error using std::initializer_list stephane at magnenat dot net
2011-10-17 17:17 ` [Bug c++/50761] " stephane at magnenat dot net
2011-10-17 17:21 ` redi at gcc dot gnu.org
2011-10-17 17:29 ` redi 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).