http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58548
--- Comment #3 from Volker Reichelt ---
It's a GNU extension, see comment #2 in PR58536.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58536
--- Comment #2 from Volker Reichelt ---
It's a GNU extension as mentioned in the ChangeLog:
2013-09-16 Adam Butcher
* cp-tree.h (type_uses_auto_or_concept): Declare.
(is_auto_or_concept): Declare.
* decl.c (grokdeclarator): Allow
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58500
Volker Reichelt changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Known to work|
: 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
: 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
: 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]{
++
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: ; });
}
===
++
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:
==
template void foo()
{
enum E {};
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
: 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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58549
--- Comment #2 from Volker Reichelt ---
To me they look like a (syntactically simpler) alternative to template
parameters. They were introduced here:
> 2013-09-16 Adam Butcher
>
> * cp-tree.h (type_uses_auto_or_concept): Declare.
>
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":
===
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
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
++
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) {}
b
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
{
template virtual void foo
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):
=
++
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);
}
===
: 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:
template struct A
{
template struct B {};
template struct B {};
};
A::B<0, 0
++
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):
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
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()
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51219
Volker Reichelt changed:
What|Removed |Added
Summary|ICE with designated |[4.6/4.7/4.8/4.9
|ini
: 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:
=
template struct A {};
A<
++
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:
===
template void foo()
{
for (
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58502
--- Comment #1 from Volker Reichelt ---
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 foo() __attribute__((target("d
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__((targe
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58501
Volker Reichelt changed:
What|Removed |Added
Known to work|4.6.4 |
--- Comment #1 from Volker Reichelt -
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:
===
++
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: interna
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21120
--- Comment #5 from Volker Reichelt 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=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=50490
Volker Reichelt changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51633
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-invalid-code
Target Milestone|
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: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51621
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
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=51620
Volker Reichelt changed:
What|Removed |Added
Keywords||diagnostic, error-recovery,
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=51619
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-valid-code
Target Milestone|--
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=51614
Volker Reichelt changed:
What|Removed |Added
Keywords||diagnostic,
|
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=51612
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-valid-code
Target Milestone|--
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=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: UNCO
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24058
Volker Reichelt changed:
What|Removed |Added
CC||yuri at tsoft dot com
--- Comment #2 fr
||reichelt at gcc dot gnu.org
Resolution||DUPLICATE
--- Comment #8 from Volker Reichelt 2011-12-18
20:45:42 UTC ---
Duplicate of PR 24058.
*** This bug has been marked as a duplicate of bug 24058 ***
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=51587
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-checking,
|
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
Pr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51586
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
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=51585
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-valid-code
Target Milestone|--
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: UNCONFIRM
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=51476
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-invalid-code
Target Milestone|
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=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=51475
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-valid-code
Target Milestone|--
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
Stat
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=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=51463
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
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: UNC
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
Priority
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51461
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-invalid-code
Target Milestone|
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=51215
Volker Reichelt changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51431
Volker Reichelt changed:
What|Removed |Added
Summary|[4.4/4.5/4.6 Regression]|[4.7 Regression] ICE with
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51262
Volker Reichelt changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51431
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
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=51430
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
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=51429
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-invalid-code
Target Milestone|
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: UNCONFIRMED
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
Priorit
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=51420
Bug #: 51420
Summary: [c++0x] ICE with invalid user-defined literals
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Pri
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51416
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-invalid-code
Target Milestone|
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=51225
--- Comment #2 from Volker Reichelt 2011-12-04
22:46:24 UTC ---
Here's another code snippet that triggers a similar ICE:
struct A {};
template struct B
{
static constexpr A a = A(x);
};
===
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=51414
Bug #: 51414
Summary: Broken diagnostic with invalid use of
__underlying_type
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
S
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
Priority
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=51404
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
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=51403
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
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=51402
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
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=51401
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-checking,
|
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=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=51399
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
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=51398
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
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
601 - 700 of 763 matches
Mail list logo