[Bug c++/53122] New: internal compiler error: in unify, at cp/pt.c:15750
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53122 Bug #: 53122 Summary: internal compiler error: in unify, at cp/pt.c:15750 Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: jaredhober...@gmail.com Created attachment 27243 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27243 Zip file containing reproducer code and preprocessed soruce. The following code: template void foo(Args&&... args) { } template void bar(Args&&...) { auto fn = foo; } int main() { return 0; } produces the following output when compiled with g++ 4.6.1: $ g++ -std=c++0x repro.cpp repro.cpp: In function ‘void bar(Args&& ...)’: repro.cpp:9:13: internal compiler error: in unify, at cp/pt.c:15750 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Preprocessed source stored into /tmp/cclt2kKy.out file, please attach this to your bugreport. Compiler & system details: $ g++ --version ; uname -a g++-4.6.real (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Linux jhoberock-dt 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux Example code and preprocessed source attached.
[Bug c++/63584] New: ICE in strip_typedefs, at cp/tree.c:1326
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63584 Bug ID: 63584 Summary: ICE in strip_typedefs, at cp/tree.c:1326 Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jaredhoberock at gmail dot com The attached preprocessed source produces the following compiler error message: $ g++ -std=c++11 -pthread preprocessed_repro.cpp ‘ In file included from test_nested_executor.cpp:3:0: in strip_typedefs, at cp/tree.c:1326 auto inner_lambda = inner_lambda_gcc49_workaround{outer_idx, outer_shared_ref}; ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Preprocessed source stored into /tmp/ccSYvoB9.out file, please attach this to your bugreport. I believe this is a regression because g++4.8.2-19ubuntu1 compiles the same code which executes as expected. System details: $ g++ --version ; echo ; uname -a ; echo ; cat /etc/lsb-release g++ (Ubuntu 4.9.1-3ubuntu2~14.04.1) 4.9.1 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Linux jhoberock-dt-fixme 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
[Bug c++/63584] ICE in strip_typedefs, at cp/tree.c:1326
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63584 --- Comment #1 from jaredhoberock at gmail dot com --- Created attachment 33753 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33753&action=edit preprocessed output of ICE reproducer