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++/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_index_type,
outer_shared_ref_type>{outer_idx, outer_shared_ref};
                                                                               
                                               ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> 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"

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