FS#35803 - [gcc] internal compiler error: in pop_binding

Attached to Project: Arch Linux
Opened by Grzegorz Antoniak (antekone) - Saturday, 15 June 2013, 14:04 GMT
Last edited by Allan McRae (Allan) - Saturday, 09 November 2013, 00:42 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Compile the source code from attachment with this commandline:

(2:531)$ g++ test.cpp -o test -std=c++11 -save-temps
test.cpp: In lambda function:
test.cpp:34:2: internal compiler error: in pop_binding, at cp/name-lookup.c:382
});
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.

Some info:
(2:532)$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/gcc/src/gcc-4.8.1/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-install-libiberty --disable-multilib --disable-libssp --disable-werror --enable-checking=release
Thread model: posix
gcc version 4.8.1 (GCC)

(2:533)$ uname -a
Linux hydra.ghnet.pl 3.9.5-1-ARCH #1 SMP PREEMPT Sat Jun 8 09:22:45 CEST 2013 x86_64 GNU/Linux

(2:536)$ pacman -Q gcc
gcc 4.8.1-1
   test.cpp (0.7 KiB)
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 09 November 2013, 00:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  gcc-4.8.2-4 in [testing]
Comment by Allan McRae (Allan) - Monday, 17 June 2013, 04:42 GMT
Seems fixed in gcc-4.9.0 20130602
Comment by Allan McRae (Allan) - Monday, 17 June 2013, 09:57 GMT
gcc-4.9-20130324 BAD
gcc-4.9-20130331 GOOD
Comment by Grzegorz Antoniak (antekone) - Monday, 17 June 2013, 10:03 GMT
Thanks for that info Allan!
Comment by Allan McRae (Allan) - Thursday, 07 November 2013, 05:55 GMT
http://gcc.gnu.org/bugzilla//show_bug.cgi?id=56710

commit 3d1f82792b7986832ad2b53c64e4196529491e55
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu Mar 28 18:20:45 2013 +0000

PR c++/56710
* semantics.c (finish_member_declaration): Don't push closure
members.


Building with that backported to ensure lack of regression and will upload new packages soon.

Loading...