public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/64035] New: [C++11] ICE in reshape_init_r when using initializer list aggregate initialization for default function parameters
@ 2014-11-23 21:31 mail at jonasplatte dot de
  2014-12-03  9:55 ` [Bug c++/64035] [4.8/4.9/5 Regression] " mpolacek at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mail at jonasplatte dot de @ 2014-11-23 21:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64035

            Bug ID: 64035
           Summary: [C++11] ICE in reshape_init_r when using initializer
                    list aggregate initialization for default function
                    parameters
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mail at jonasplatte dot de

Created attachment 34081
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34081&action=edit
Test case (not using preprocessor directives, so not precompiled)

gcc -v:

    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/gcc/src/gcc-4.9.2/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
--disable-libssp --enable-gnu-unique-object --enable-linker-build-id
--enable-cloog-backend=isl --disable-isl-version-check
--disable-cloog-version-check --enable-lto --enable-plugin
--enable-install-libiberty --with-linker-hash-style=gnu --disable-multilib
--disable-werror --enable-checking=release
    Thread model: posix
    gcc version 4.9.2 (GCC) 

My system is a x86_64 arch linux, with linux 3.17.3-1-ARCH.

Compiler invocation for the test case:

    g++ -std=c++11 test2.cpp -Wall -Wextra

The exact error message I get (also added it to the test case as comment):

    test1.cpp:21:7: internal compiler error: in reshape_init_r, at
cp/decl.c:5481

I tried changing -std to c++14 and adding -pedantic to see if they make a
difference, which both don't.


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

end of thread, other threads:[~2015-08-05 15:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-23 21:31 [Bug c++/64035] New: [C++11] ICE in reshape_init_r when using initializer list aggregate initialization for default function parameters mail at jonasplatte dot de
2014-12-03  9:55 ` [Bug c++/64035] [4.8/4.9/5 Regression] " mpolacek at gcc dot gnu.org
2014-12-10 13:19 ` [Bug c++/64035] " rguenth at gcc dot gnu.org
2014-12-10 16:58 ` mail at jonasplatte dot de
2014-12-10 17:03 ` mail at jonasplatte dot de
2015-08-05  0:38 ` mail at jonasplatte dot de
2015-08-05 15:39 ` miyuki 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).