[Bug c++/58606] New: [4.8/4.9 Regression] [c++11] ICE with specialization in variadic template

2013-10-03 Thread reichelt at gcc dot gnu.org
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet (compiled with -std=c++11) triggers an ICE since GCC 4.8.0: templateint

[Bug c++/58607] New: [4.9 Regression] ICE with undeclared variable in constexpr

2013-10-03 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE on trunk (GCC 4.9.0 20130920): = struct A { constexpr A() { i

[Bug c++/58609] New: [4.9 Regression] [c++11] ICE with uninitialized variable in constexpr

2013-10-03 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE on trunk (since at least GCC 4.9.0 20130920

[Bug c++/58610] New: [4.7/4.8/4.9 Regression] [c++11] ICE with constexpr of class with template constructor

2013-10-03 Thread reichelt at gcc dot gnu.org
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE since GCC 4.7.0: = struct

[Bug c++/58611] New: [4.7/4.8/4.9 Regression] [c++11] ICE with invalid constexpr constructor used in array initialization

2013-10-03 Thread reichelt at gcc dot gnu.org
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE since GCC 4.7.3

[Bug c++/58612] New: [4.8/4.9 Regression] [c++11] ICE calling non-constexpr from constexpr in template class

2013-10-03 Thread reichelt at gcc dot gnu.org
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE on the 4.8 branch (since at least 4.8.2 20130920) and trunk

[Bug c++/58613] New: [4.9 Regression] [c++1y] ICE with invalid lambda capture

2013-10-03 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++1y) triggers an ICE on trunk (since at least 4.9.0 20130920): === void foo(int i) { [i

[Bug c++/58614] New: [c++11] ICE with undeclared variable in initializer list

2013-10-03 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11 or -std=c++0x for older versions) triggers an ICE since GCC 4.4.0 (when initializer lists were introduced

[Bug c++/58632] New: [4.8/4.9 Regression] ICE reusing template parameter name as class name

2013-10-05 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid line of code triggers an ICE since GCC 4.8.0: = templatetemplateint class A class

[Bug c++/58633] New: [4.7/4.8/4.9 Regression] ICE with decltype of destructor call

2013-10-05 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet (compiled with -std=c++0x) triggers an ICE since GCC 4.7.0: void foo(int i) { typedef int I

[Bug c++/58634] New: [c++11] ICE initializing static class member via an anonymous class

2013-10-05 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet (compiled with -std=c++0x) triggers an ICE on trunk (since at least 4.9.0 20130920

[Bug c++/58635] New: [c++11] ICE with __transaction_atomic and noexcept(false)

2013-10-05 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following three code snippets (compiled with -std=c++0x -fgnu-tm) trigger slightly different ICEs in build_transaction_expr since GCC 4.7.0. The first two snippets

[Bug c++/57945] [4.9 Regression] ICE: in varpool_get_node, at cgraph.h:840

2013-10-05 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57945 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid

[Bug c++/58636] New: [4.7/4.8/4.9 Regression] ICE with initializer_list and rvalue references

2013-10-05 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following similar invalid code snippets (compiled with -std=c++11) trigger ICEs in different parts of the compiler

[Bug c++/58466] [4.8/4.9 Regression] ICE in cxx_eval_constant_expression

2013-10-05 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58466 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added CC||reichelt

[Bug c++/58466] [4.8/4.9 Regression] ICE in cxx_eval_constant_expression

2013-10-05 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58466 --- Comment #2 from Volker Reichelt reichelt at gcc dot gnu.org --- Crash stack trace: PR58466.cc:7:11: internal compiler error: unexpected expression 'C' of kind template_parm_index BA'X' b; ^ 0x6c40ce cxx_eval_constant_expression

[Bug c++/58637] New: [c++1y] ICE with wrong usage of template in front of function containing auto parameter

2013-10-05 Thread reichelt at gcc dot gnu.org
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid line of code (compiled with -std=c++1y) triggers an ICE on trunk (since at least 4.9.0-20130920

[Bug c++/58646] New: ICEs initializing VLAs

2013-10-06 Thread reichelt at gcc dot gnu.org
: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following related 4 code snippets trigger ICEs on trunk in different parts of the compiler: The first one crashes without any compiler options: = void foo(int n) { int a[2][n

[Bug c++/58646] ICEs initializing VLAs

2013-10-06 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58646 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid

[Bug c++/58647] New: [4.7/4.8/4.9 Regression] ICE with function pointer

2013-10-06 Thread reichelt at gcc dot gnu.org
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet triggers an ICE since GCC 4.7.0 only if compiled with -std=c++11. Without this option the code compiles fine. == struct

[Bug c++/58648] New: [c++11] ICE with variadic template

2013-10-06 Thread reichelt at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet (compiled with -std=c++11) triggers an ICE since GCC 4.4.0: templateint, typename...T, T... int foo(); int i = foo0

[Bug c++/58649] New: [4.7/4.8/4.9 Regression] ICE with use of enum before declaration

2013-10-06 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet triggers an ICE since GCC 4.2.0: templatetypename void foo() { E(); enum E

[Bug c++/58650] New: [c++11] ICE with invalid friend declaration

2013-10-06 Thread reichelt at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE since GCC 4.7.0 (when non-static data member initializers were introduced): === struct A { friend int

[Bug c++/58651] New: [4.7/4.8/4.9 Regression] ICE with invalid initializer list

2013-10-06 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=11) triggers an ICE since GCC 4.4.1: == struct A { int i; A(int j) : i{{j

[Bug c++/58664] New: [c++11] ICE initializing array of incomplete type within union

2013-10-08 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE since GCC 4.7.0 (when non-static data member initializers were introduced

[Bug c++/58664] [c++11] ICE initializing array of incomplete type within union

2013-10-08 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58664 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||ice

[Bug c++/58665] New: [4.9 Regression] ICE with using incomplete struct

2013-10-08 Thread reichelt at gcc dot gnu.org
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet triggers an ICE on trunk: struct A; templateint struct B { static void foo(A) {} }; void bar() { B0::foo

[Bug c++/58207] [4.7/4.8/4.9 Regression] ICE in sort_constexpr_mem_initializers due to out of bounds vector access

2013-10-09 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58207 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||ice

[Bug c++/58671] New: ICE with thread_local and self-referential variable initialization

2013-10-09 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code line(compiled with -std=c++11) triggers an ICE since GCC 4.8.0 (when thread_local was introduced

[Bug c++/58672] New: ICE with thread_local and variable of broken class

2013-10-09 Thread reichelt at gcc dot gnu.org
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE since GCC 4.8.0 (when thread_local was introduced): == struct A { A(int); i

[Bug c++/58674] New: [4.8/4.9 Regression] [c++11] ICE with template using declaration

2013-10-09 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE since GCC 4.8.0: templateint struct

[Bug c++/58700] New: [4.8/4.9 Regression] ICE declaring static bit-field

2013-10-12 Thread reichelt at gcc dot gnu.org
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet triggers an ICE since GCC 4.8.0: = struct A { static int : 4; }; = bug.cc:3:16: internal compiler error

[Bug c++/58700] [4.8/4.9 Regression] ICE declaring static bit-field

2013-10-12 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58700 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||ice

[Bug c++/58701] New: [4.9 Regression] [c++11] ICE initializing member of static union

2013-10-12 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet (compiled with -std=c++11) triggers an ICE on trunk (since at least 4.9.0 20130920): === static union { union

[Bug c++/58701] [4.9 Regression] [c++11] ICE initializing member of static union

2013-10-12 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58701 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Known to work||4.7.0, 4.8.0

[Bug c++/58702] New: [4.9 Regression] ICE with undeclared variable in OpenMP reduction clause

2013-10-12 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -fopenmp) triggers an ICE on trunk: = void foo() { x

[Bug c++/58702] [4.9 Regression] ICE with undeclared variable in OpenMP reduction clause

2013-10-12 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58702 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||error

[Bug c++/58703] New: [4.9 Regression] ICE with invalid types in OpenMP declare reduction clause

2013-10-12 Thread reichelt at gcc dot gnu.org
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -fopenmp) triggers an ICE on trunk

[Bug c++/58703] [4.9 Regression] ICE with invalid types in OpenMP declare reduction clause

2013-10-12 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58703 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||error

[Bug c++/58704] New: [c++11] ICE initializing array member of template class

2013-10-12 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet (compiled with -std=c++11) triggers an ICE since GCC 4.7.0 (when non-static data member initializers were introduced

[Bug c++/58705] [4.7/4.8/4.9 Regression] [c++11] ICE with invalid initializer for _Complex variable

2013-10-12 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58705 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||ice

[Bug c++/58705] New: [4.7/4.8/4.9 Regression] [c++11] ICE with invalid initializer for _Complex variable

2013-10-12 Thread reichelt at gcc dot gnu.org
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE since GCC 4.7.0: === _Complex float

[Bug c++/58706] New: ICE with lambda in OpenMP for-loop

2013-10-12 Thread reichelt at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet (compiled with -std=c++11 -fopenmp) triggers an ICE since GCC 4.5.0 (when lambdas were introduced): === templatetypename T void

[Bug c++/58814] New: [4.7/4.8/4.9 Regression] ICE with volatile and attribute vector_size

2013-10-20 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet triggers an ICE since GCC 4.7.0: volatile int i __attribute__

[Bug c++/58814] [4.7/4.8/4.9 Regression] ICE with volatile and attribute vector_size

2013-10-20 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58814 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid

[Bug c++/58834] New: [4.9 Regression] ICE on __builtin_shuffle within template function

2013-10-21 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet triggers an ICE on trunk (since at least GCC 4.9.0 20130920): = templatetypename

[Bug c++/58834] [4.9 Regression] ICE on __builtin_shuffle within template function

2013-10-21 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58834 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid

[Bug c++/58835] New: [4.7/4.8/4.9 Regression] ICE with __PRETTY_FUNCTION__ in broken function

2013-10-21 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet triggers an ICE since GCC 4.1.0: = struct A { int i

[Bug c++/58836] New: ICE with wrong usage of initializer list in non-type template argument

2013-10-21 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11 or -std=c++0x for older compilers) triggers an ICE since GCC 4.4.0 (when initializer lists

[Bug c++/58837] New: [4.7/4.8/4.9 Regression] [c++11] ICE using invalid condition in static_assert

2013-10-21 Thread reichelt at gcc dot gnu.org
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11 or -std=c++0x for older compilers) triggers an ICE sine GCC 4.6.0

[Bug c++/58843] New: [4.7/4.8/4.9 Regression] ICE with broken destructor call

2013-10-22 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet triggers an ICE since GCC 4.5.0: struct A {}; templatetypename T void foo(T t) { t.T::~X

[Bug preprocessor/58844] New: [4.8/4.9 Regression] ICE with invalid use of ##

2013-10-22 Thread reichelt at gcc dot gnu.org
: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet triggers an ICE since GCC 4.8.0: == #define X A##A X == bug.c:2:1: internal compiler error: Segmentation

[Bug preprocessor/58844] [4.8/4.9 Regression] ICE with invalid use of ##

2013-10-22 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58844 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||ice

[Bug c++/58845] New: Operator || and broken for vectors

2013-10-22 Thread reichelt at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following (IMHO valid) code snippet triggers an ICE since GCC 4.8.0 when compiled with -O: == void foo() { int v __attribute__((vector_size(8))); v = v || v

[Bug c++/58845] [4.8/4.9 Regression] Operator || and broken for vectors

2013-10-22 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58845 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||ice

[Bug c++/58846] New: [4.7/4.8/4.9 Regression] ICE redeclaring __dso_handle

2013-10-22 Thread reichelt at gcc dot gnu.org
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet triggers an ICE since GCC 4.7.0: extern C { char* __dso_handle; } struct

[Bug c++/58871] New: [4.7/4.8/4.9 Regression] [c++11] ICE with defaulted copy constructor in broken template class hierarchy

2013-10-25 Thread reichelt at gcc dot gnu.org
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11 or -std=c++0x for older compilers) triggers an ICE since GCC

[Bug c++/58873] New: [c++11] ICE with __underlying_type for broken enum

2013-10-25 Thread reichelt at gcc dot gnu.org
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE since GCC 4.7.0 (when __underlying_type was introduced): === enum A : enum

[Bug c++/58874] New: [4.9 Regression] [c++11] ICE with OpenMP reduction declaration and -std=c++11

2013-10-25 Thread reichelt at gcc dot gnu.org
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet triggers an ICE on trunk if compiled with -fopenmp -std=c++11

[Bug c++/58874] [4.9 Regression] [c++11] ICE with OpenMP reduction declaration and -std=c++11

2013-10-25 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58874 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid

[Bug c++/58882] New: ICE with invalid C99 style designated initializers

2013-10-25 Thread reichelt at gcc dot gnu.org
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet triggers an ICE since GCC 4.7.0 (when C99 style designated initializers were introduced in the C++ front-end): = int a[] = { [0

[Bug c++/58845] [4.8/4.9 Regression] Operator || and broken for vectors

2013-11-01 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58845 --- Comment #4 from Volker Reichelt reichelt at gcc dot gnu.org --- Btw, clang 3.2 accepts the first code snippet and rejects the second one. I.e. it accepts and || for vectors and returns a vector of the same size. IMHO GCC should also go

[Bug c++/58965] New: [4.8/4.9 Regression] [c++11] ICE with member initializer in static union

2013-11-01 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet (compiled with -std=c++11) triggers an ICE since GCC 4.8.0: = void foo() { static union

[Bug c++/58965] [4.8/4.9 Regression] [c++11] ICE with member initializer in static union

2013-11-01 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58965 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid

[Bug c++/58966] New: [4.9 Regression] [c++11] ICE with wrong usage of constexpr

2013-11-01 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE on trunk: === struct A { constexpr int i; }; constexpr

[Bug c++/58979] New: [4.8/4.9 Regression] ICE with invalid use of pointer-to-member

2013-11-03 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid line of code triggers an ICE since GCC 4.8.0: int i = 0-*0; bug.cc:1:13: internal

[Bug c++/58980] New: [4.7/4.8/4.9 Regression] ICE with invalid enum declaration

2013-11-03 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet triggers an ICE since GCC 4.6.0: == templatetypename struct A { enum A::B::C

[Bug c++/58987] New: [c++11] ICE with template alias

2013-11-04 Thread reichelt at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet (compiled with -std=c++11) triggers an ICE since GCC 4.7.3: = templatetypename T using A = T*; templatetypename T, int = AT::X

[Bug middle-end/58809] [4.7/4.8/4.9 Regression] ICE with complex variable in OpenMP reduction clause

2013-11-05 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58809 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Known to work|4.9.0

[Bug c++/58966] [4.9 Regression] [c++11] ICE with wrong usage of constexpr

2013-11-05 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58966 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/58868] [4.9 Regression] ICE: in count_type_elements, at expr.c:5495 with -std=gnu++0x

2013-11-05 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58868 --- Comment #11 from Volker Reichelt reichelt at gcc dot gnu.org --- *** Bug 58966 has been marked as a duplicate of this bug. ***

[Bug c/59010] ICE in make_Decl_

2013-11-05 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59010 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug sanitizer/59029] New: ICE with builtin function and -fsanitize=address

2013-11-06 Thread reichelt at gcc dot gnu.org
: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org The following code snippet compiled

[Bug sanitizer/59029] ICE with builtin function and -fsanitize=address

2013-11-06 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59029 --- Comment #1 from Volker Reichelt reichelt at gcc dot gnu.org --- The broken caret diagnostic seems to be a general problem of today's build. I'll open a separate bug report for this.

[Bug c++/59030] New: [4.9 Regression] Caret diagnostic always points to the first line

2013-11-06 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org With today's trunk (4.9.0 20131106) the caret diagnostic always points to the first line, although the line number is correct. == // First

[Bug c++/59030] [4.9 Regression] Caret diagnostic always points to the first line

2013-11-06 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59030 --- Comment #1 from Volker Reichelt reichelt at gcc dot gnu.org --- With yesterday's build I got a correct diagnostic: bug.cc:5:9: error: expected primary-expression before

[Bug c++/59032] New: [4.8/4.9 Regression] ICE incrementing vector type

2013-11-06 Thread reichelt at gcc dot gnu.org
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet triggers an ICE since GCC 4.8.0: void foo() { float v __attribute__((vector_size(8))); ++v

[Bug c++/59032] [4.8/4.9 Regression] ICE incrementing vector type

2013-11-06 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59032 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic

[Bug c++/59030] [4.9 Regression] Caret diagnostic always points to the first line

2013-11-07 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59030 --- Comment #5 from Volker Reichelt reichelt at gcc dot gnu.org --- The offending patch got reverted: http://gcc.gnu.org/ml/gcc-cvs/2013-11/msg00212.html

[Bug lto/58723] [4.9 Regression] ICE in lto_output_edge, at lto-cgraph.c:300 for OpenMP's simd reduction

2013-11-09 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58723 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c/59073] New: [4.9 Regression] ICE with missing increment in OpenMP for-loop

2013-11-10 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -fopenmp) triggers an ICE on trunk: == void foo() { int i; #pragma omp

[Bug c/59073] [4.9 Regression] ICE with missing increment in OpenMP for-loop

2013-11-10 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59073 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||error

[Bug c++/59080] New: [4.9 Regression] [c++11] ICE with array of auto

2013-11-11 Thread reichelt at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE on trunk: == #include initializer_list auto foo

[Bug c++/59082] New: [4.7/4.8/4.9 Regression] ICE with duplicate (virtual) base

2013-11-11 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet triggers an ICE since GCC 4.2.0: struct A {}; struct B : virtual A, A {}; A foo(const B b

[Bug c++/59096] New: [4.9 Regression] [c++11] ICE with template attribute

2013-11-12 Thread reichelt at gcc dot gnu.org
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following valid code snippet (compiled with -std=c++11) triggers an ICE on trunk: templatetypename T struct A { typedef T B [[mode]]; }; Aint::B b

[Bug c++/59097] New: [4.7/4.8/4.9 Regression] ICE with invalid statement expression as array size

2013-11-12 Thread reichelt at gcc dot gnu.org
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet triggers an ICE since GCC 4.6.0: void foo() { int x[({ return

[Bug c++/58534] [c++1y] ICE with auto in template function parameters

2013-11-12 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58534 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/58536] [c++1y] ICE with auto in constructor

2013-11-12 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58536 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/58637] [c++1y] ICE with wrong usage of template in front of function containing auto parameter

2013-11-12 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58637 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/58548] [4.9 Regression] [c++1y] ICE with local struct in function with auto parameter

2013-11-12 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58548 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/58549] [4.9 Regression] [c++1y] ICE with local function in function with auto parameter

2013-11-12 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58549 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/58533] [c++1y] ICE with auto in function pointer

2013-11-12 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58533 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords|error-recovery, |ice-on-valid

[Bug c++/59110] New: [4.9 Regression] [c++1y] ICE using auto in cast

2013-11-13 Thread reichelt at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++1y) triggers an ICE on trunk: = int i = *(auto*)0; = bug.cc:1:17: internal compiler error: tree

[Bug c++/59110] [4.9 Regression] [c++1y] ICE using auto in cast

2013-11-13 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59110 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords||ice

[Bug c++/59111] New: [4.9 Regression] [c++11] ICE on invalid usage of auto in return type

2013-11-13 Thread reichelt at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++11) triggers an ICE on trunk: = auto foo(); int i = foo

[Bug c++/59112] New: [c++1y] ICE using auto as parameter in local class

2013-11-13 Thread reichelt at gcc dot gnu.org
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following (invalid ?) code snippet (compiled with -std=c++1y) triggers an ICE on trunk: void foo() { struct A { A(auto) {} }; } bug.cc

[Bug c++/59113] New: [c++1y] ICE using auto as parameter in local function

2013-11-13 Thread reichelt at gcc dot gnu.org
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++1y) triggers an ICE on trunk: === void foo() { void bar(auto) {} } auto i = 0; === bug.cc

[Bug c++/59114] New: [c++1y] ICE using auto in conversion operator

2013-11-13 Thread reichelt at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++1y) triggers an ICE since GCC 4.8.0: === templateint struct A { templatetypename T operator T

[Bug c++/59115] New: [c++1y] ICE with auto as template parameter

2013-11-13 Thread reichelt at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org The following invalid code snippet (compiled with -std=c++1y) triggers an ICE on trunk: === templatetypename T, auto, int = 0 void foo(T

[Bug c++/58533] [c++1y] ICE with auto in function pointer

2013-11-13 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58533 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords|ice-on-valid-code |error

  1   2   3   4   5   6   7   8   >