http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58549
--- Comment #5 from Volker Reichelt reichelt at gcc dot gnu.org ---
It's a GNU extension, see comment #2 in PR58536.
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following code snippet (compiled with -std=c++0x) triggers an ICE since
GCC 4.7.0:
typedef auto T;
void foo() { T(); }
bug.cc:1:14: error
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 -g) triggers an
ICE since GCC 4.8.0:
=
auto foo();
namespace N
{
using ::foo
++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following code snippet (compiled with -std=c++0x) triggers an ICE since
GCC 4.4.0:
==
templateint void foo()
{
enum E {};
E().E::~T
++
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 when
compiled with -std=c++0x:
===
void foo()
{
int i = ({ L: ; });
}
===
bug.cc
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following invalid code snippet (compiled with -std=c++0x) triggers an ICE
since GCC 4.8.0:
=
struct A
{
int foo()
{
[this]{ return foo
: 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
since GCC 4.8.0
: 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++0x) triggers an ICE
since GCC 4.8.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58500
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following code snippet triggers an ICE on trunk (4.9.0 20130926) when
compiled with -std=gnu++1y:
===
void foo(auto)
{
struct A { int i
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=gnu++1y) triggers an ICE
on trunk (4.9.0 20130926):
===
void foo(auto)
{
void bar
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following (probably invalid) code snippet triggers an ICE on trunk (4.9.0
20130926) when compiled with std=c++0x -flto:
auto foo
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58549
--- Comment #2 from Volker Reichelt reichelt at gcc dot gnu.org ---
To me they look like a (syntactically simpler) alternative to template
parameters. They were introduced here:
2013-09-16 Adam Butcher a...@jessamine.co.uk
* cp-tree.h
++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following invalid code snippet (compiled with -std=gnu++1y) triggers an
ICE on trunk (4.9.0 20130922):
=
void foo()
{
void (*fp)(auto);
}
=
bug.cc
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following (valid, I think) code snippet (compiled with -std=c++1y)
triggers an ICE on trunk (4.9.0 20130922
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.8.0:
==
struct A
{
templateint virtual void foo
++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following (valid, I think) code snippet (compiled with -std=gnu++1y)
triggers an ICE on trunk (4.9.0 20130922):
struct A
{
A(auto);
};
A::A(auto) {}
bug.cc:6:10
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++0x) triggers an ICE
on trunk:
void foo()
{
union
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++0x) triggers an ICE
since GCC 4.8.0 (when inheriting constructors were introduced
++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following code snippet (compiled with -std=c++0x -fgnu-tm) triggers an
ICE since GCC 4.7.0 (when transactional memory was introduced):
=
void foo
: 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.8.0:
templatetypename T struct A
{
templateT, T struct B {};
templateT t struct Bt, t
++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following (valid) testcase crashes when compiled with -std=gnu++1y:
=
struct A {};
void foo(auto (A::*)());
=
bug.cc:3:22: internal compiler
Severity: 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=gnu++0x) triggers an ICE
since GCC 4.7.0:
struct
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58501
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Known to work|4.6.4
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.8.0 when compiled
with g++ -flto
int foo();
int foo() __attribute__((target(default
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58502
--- Comment #1 from Volker Reichelt reichelt at gcc dot gnu.org ---
Well, the above code snippet only fails on trunk (GCC 4.9.0), but the testcase
below fails since GCC 4.8.0:
int foo();
int
++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following invalid code snippet (compiled with -std=c++0x) triggers an ICE
since GCC 4.7.0:
===
templateint void foo()
{
for (auto i : 0
: 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.6.0:
=
templatebool = __has_nothrow_assign(void) struct
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51219
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Summary|ICE with designated |[4.6/4.7/4.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50490
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51786
Bug #: 51786
Summary: [c++0x] Invalid declaration with decltype accepted
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21120
--- Comment #5 from Volker Reichelt reichelt at gcc dot gnu.org 2012-01-07
16:21:08 UTC ---
Well, decltype has the same problems, so I opened a new bug report, see
PR51786.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51633
Bug #: 51633
Summary: [c++0x] [4.6/4.7 Regression] ICE with invalid
constexpr constructor
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51633
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||ice
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33475
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24058
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
CC||yuri
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51611
Bug #: 51611
Summary: [c++0x] ICE with non-static data member initializer
and virtual base class
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51612
Bug #: 51612
Summary: [c++0x] [4.7 Regression] ICE with constexpr
constructor and virtual base class
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51612
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||ice-on-valid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51614
Bug #: 51614
Summary: [4.6/4.7 Regression] ICE with ambiguous base class
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51614
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||diagnostic
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51619
Bug #: 51619
Summary: [c++0x] [4.6/4.7 Regression] ICE with array class
member
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51619
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||ice-on-valid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51620
Bug #: 51620
Summary: [c++0x] [4.6/4.7 Regression] ICE with private
destructor
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51620
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||diagnostic
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51621
Bug #: 51621
Summary: [c++0x] [4.6/4.7 Regression] ICE with invalid
constexpr and array class member
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51621
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51585
Bug #: 51585
Summary: [4.7 Regression] verify_flow_info failed ICE with
virtual inheritance
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51585
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||ice-on-valid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51586
Bug #: 51586
Summary: [4.7 Regression] ICE with invalid union
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51586
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51587
Bug #: 51587
Summary: [4.7 Regression] ICE with struct vs. enum clash
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51587
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||ice-checking
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51588
Bug #: 51588
Summary: [4.4/4.5/4.6/4.7 Regression] ICE
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51461
Bug #: 51461
Summary: [c++0x] [4.7 Regression] ICE with invalid
initialization of static data member
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51461
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||ice
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51462
Bug #: 51462
Summary: [c++0x] ICE in cx_check_missing_mem_inits
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51463
Bug #: 51463
Summary: [c++0x] [4.7 Regression] ICE declaring a member
function virtual and static
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51463
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51464
Bug #: 51464
Summary: [c++0x] ICE with invalid use of []
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51473
Bug #: 51473
Summary: [c++0x] ICE with auto and friend
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51474
Bug #: 51474
Summary: [c++0x] ICE with pure virtual function in
initialization of non-static data member
Classification: Unclassified
Product: gcc
Version: 4.7.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51475
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||ice-on-valid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51475
Bug #: 51475
Summary: [c++0x] [4.7 Regression] ICE with invalid
initializer_list
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51476
Bug #: 51476
Summary: [c++0x] [4.7 Regression] ICE with invalid
pointer-to-member template parameter
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51476
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||ice
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51477
Bug #: 51477
Summary: [c++0x] ICE with initialization of invalid non-static
data member
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51215
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51262
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51431
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Summary|[4.4/4.5/4.6 Regression]|[4.7
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51429
Bug #: 51429
Summary: [4.7 Regression] ICE with invalid use of overloaded
member function
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51429
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||ice
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51430
Bug #: 51430
Summary: [4.7 Regression] ICE with array as static const member
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51430
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51431
Bug #: 51431
Summary: [4.5/4.6/4.7 Regression] ICE with invalid use of
abstract class
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51431
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51412
Bug #: 51412
Summary: [c++0x] Broken diagnostic with invalid lambda
expressions
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51413
Bug #: 51413
Summary: Broken diagnostic with __builtin_offsetof
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51414
Bug #: 51414
Summary: Broken diagnostic with invalid use of
__underlying_type
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51415
Bug #: 51415
Summary: Broken diagnostic: 'vec_init_expr' not supported by
dump_expr
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51225
--- Comment #2 from Volker Reichelt reichelt at gcc dot gnu.org 2011-12-04
22:46:24 UTC ---
Here's another code snippet that triggers a similar ICE:
struct A {};
templatetypename struct B
{
static
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51416
Bug #: 51416
Summary: [c++0x] [4.6/4.7 Regression] ICE with invalid use of
auto
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51416
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||ice
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51420
Bug #: 51420
Summary: [c++0x] ICE with invalid user-defined literals
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51421
Bug #: 51421
Summary: [c++0x] ICE with invalid use of auto
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51422
Bug #: 51422
Summary: [c++0x] ICE with invalid lambda expression
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51398
Bug #: 51398
Summary: [4.7 Regression] ICE with invalid template parameter
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51398
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51399
Bug #: 51399
Summary: [4.7 Regression] ICE with invalid initializer list
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51399
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51400
Bug #: 51400
Summary: [c++0x] ICE with constexpr and attribute noreturn
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51401
Bug #: 51401
Summary: [c++0x] [4.7 Regression] ICE with invalid use of auto
in template
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51401
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||ice-checking
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51402
Bug #: 51402
Summary: [4.6/4.7 Regression] ICE with invalid template
parameter
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51402
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51403
Bug #: 51403
Summary: [4.7 Regression] ICE with invalid template parameter
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51403
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51404
Bug #: 51404
Summary: [c++0x] [4.7 Regression] ICE with invalid use of auto
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51404
Volker Reichelt reichelt at gcc dot gnu.org changed:
What|Removed |Added
Keywords||error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51367
Bug #: 51367
Summary: [4.7 Regression] Broken diagnostic: 'pointer_type' not
supported by dump_expr
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status:
601 - 700 of 762 matches
Mail list logo