[Bug c++/59378] New: Internal compiler error when using __builtin_shuffle in a template function

bcmpinc at hotmail dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 3 21:34:00 GMT 2013


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

            Bug ID: 59378
           Summary: Internal compiler error when using __builtin_shuffle
                    in a template function
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bcmpinc at hotmail dot com

The g++ compiler crashes on an internal error when instantiating a template
function or class that uses the gcc vector extensions and __builtin_shuffle().
See attachment.

The error message when instantiating a template function:
test.cpp:4:23: internal compiler error: in make_decl_rtl, at varasm.c:1140

The error message when instantiating a template class:
test2.cpp:5:17: internal compiler error: in gimple_expand_cfg, at
cfgexpand.c:4575



More information about the Gcc-bugs mailing list