-invalid, ice-on-invalid-code
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60215
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
: 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
{
void foo();
int i : foo;
};
==
bug.cc:4
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 on trunk:
=
void foo()
{}
int i;
#pragma GCC ivdep
for (i = 0; i < 2;
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58170
--- Comment #2 from Volker Reichelt ---
Stack trace on trunk:
bug.cc: In substitution of 'template using B = A<
, >::B [with T = T; U =
char; V = bool]':
bug.cc:10:18: required from here
bug.cc:6:70: internal compiler error: tree check: expect
||4.7.0, 4.7.1, 4.7.2
Keywords||ice-on-invalid-code
Last reconfirmed||2014-02-15
CC||reichelt at gcc dot gnu.org
Ever confirmed|0 |1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59877
Volker Reichelt changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
||reichelt at gcc dot gnu.org
Known to work||4.6.0, 4.7.0, 4.7.1, 4.7.2,
||4.8.0, 4.9.0
Target Milestone|--- |4.7.4
Summary|Internal compiler error
||4.4.0, 4.5.0, 4.6.0
Keywords||ice-on-valid-code
Last reconfirmed||2014-02-14
CC||reichelt at gcc dot gnu.org
Ever confirmed|0 |1
|UNCONFIRMED |NEW
Last reconfirmed||2014-02-14
CC||reichelt at gcc dot gnu.org
Summary|C++11, 'using' instead of |[C++11] 'using' instead of
||4.5.0, 4.6.0, 4.7.0, 4.9.0
Keywords||ice-on-valid-code
Last reconfirmed||2014-02-14
CC||reichelt at gcc dot gnu.org
Ever confirmed|0 |1
||2014-02-14
CC||reichelt at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #5 from Volker Reichelt ---
Confirmed.
The non-template version ICEs since GCC 4.6.0 and loops forever with GCC 4.0.0
- 4.5.3.
The
|UNCONFIRMED |NEW
Last reconfirmed||2014-02-14
CC||reichelt at gcc dot gnu.org
Summary|ICE befriending an |[C++11] ICE befriending an
|inheriting constructor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60146
Volker Reichelt changed:
What|Removed |Added
Target Milestone|--- |4.8.4
||4.7.0
Keywords||ice-on-valid-code
Last reconfirmed||2014-02-14
CC||reichelt at gcc dot gnu.org
Ever confirmed|0 |1
Summary
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59347
--- Comment #2 from Volker Reichelt ---
Output for the testcase from comment#1:
bug.cc:3:17: error: typedef name may not be a nested-name-specifier
typedef int ::X;
^
bug.cc: In instantiation of 'struct A<0>':
bug.cc:6:6: re
||4.7.0, 4.8.0
Keywords||error-recovery,
||ice-on-invalid-code
Last reconfirmed||2014-02-14
CC||reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60200
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
++
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:
===
template struct A
{
typedef auto
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60198
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-valid-code
CC|
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 "-fcilkplus") triggers
an ICE on trunk:
===
template int foo()
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60197
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-valid-code
CC|
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following valid(?) code snippet (compiled with "-fcilkplus") triggers
an ICE on trunk:
===
int foo()
{
return (_Cilk_spawn
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:
==
auto f = [
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60189
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-invalid-code
CC|
++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following invalid code snippet (compiled with "-fcilkplus")
triggers an ICE on trunk:
===
void foo()
{
_Cilk_sync return;
}
===
bug.cc: In function
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.3.0:
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60186
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-invalid-code
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++11")
triggers an ICE on trunk:
=
tem
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60185
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-invalid-code
Known to work|
Component: 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:
template struct A
{
int i;
A() { void foo(int=i); }
};
A<0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59632
Volker Reichelt changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following line of code (compiled with "-std=c++1y") triggers an ICE on
trunk:
template void foo(auto... x);
b
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++1y") triggers an ICE
on trunk:
===
struct A
{
friend voi
++
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:
==
template T foo(T);
void bar()
{
fo
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++1y") triggers an
ICE on trunk:
===
struct A
{
voi
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following valid code snippet (compiled with "-std=c++1y") triggers an
ICE on trunk:
==
struct A
{
void foo(auto);
};
void A::foo(auto) {}
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60051
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-invalid-code
Known to work|
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:
==
#include
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58651
--- Comment #4 from Volker Reichelt ---
Just for the records:
The bug was fixed by Jason's patch for PR58812 which also contains the above
testcase.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59029
Volker Reichelt changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58525
Volker Reichelt changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59631
Volker Reichelt changed:
What|Removed |Added
Keywords|ice-on-valid-code |ice-on-invalid-code
Status|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59638
Volker Reichelt changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59636
Volker Reichelt changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59635
Volker Reichelt changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59629
Volker Reichelt changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
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.7.0:
===
#include
struct A {};
std
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.6.0:
===
struct A { virtual ~A(); };
struct
,
||reichelt at gcc dot gnu.org
--- Comment #5 from Volker Reichelt ---
Alexander, Jason, can this bug be closed as fixed?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58583
--- Comment #2 from Volker Reichelt ---
The second testcase is now also wrongly accepted, due to the fix for PR57887.
However, the following testcase still crashes with almost the same stacktrace:
===
template struct A
{
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367
Bug 54367 depends on bug 58613, which changed state.
Bug 58613 Summary: [4.9 Regression] [c++1y] ICE with invalid lambda capture
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58613
What|Removed |Added
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58613
Volker Reichelt changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59349
Volker Reichelt changed:
What|Removed |Added
CC||reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59633
--- Comment #2 from Volker Reichelt ---
> What makes you think the code is valid? From the doc, I think this should be
> rejected (with a proper error message).
Well, because the C-frontend compiles it, the C++-frontend used to compile it
and eve
: 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:
==
typedef int T __attribute__((vec
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59631
--- Comment #2 from Volker Reichelt ---
The patch in comment #1 was meant for PR 59613.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59638
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
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:
===
typedef void
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:
===
template voi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59636
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-invalid-code
CC|
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following invalid code line (compiled with "-std=c++1y") triggers an
ICE on trunk:
===
auto i = [](
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59635
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-valid-code
CC|
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following valid code line (compiled with "-std=c++1y") triggers an
ICE on trunk:
===
auto i = [] (auto,...)
: 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 since GCC 4.4.0:
==
typedef enum { e } T
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 on trunk:
==
void foo()
{
#pragma GCC ivdep
while(foo
++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following valid code snippet (compiled *without* "-fcilkplus")
triggers an ICE on trunk:
==
void foo()
{
_Cilk
: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following valid code snippet (compiled with "-std=c99 -O")
triggers an ICE since
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following invalid code line (compiled with "-std=c++11")
triggers an IC
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 since 2013-10-11:
==
struct
mponent: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following valid code snippet (compiled with "-fopenmp -flto")
triggers an ICE on trunk since 2013-10-11:
==
struct
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16564
--- Comment #18 from Volker Reichelt ---
The reduced testcases from comment #3 and #4 compile within split-seconds since
GCC 4 5.0. This is partially due to Manuel's fix for PR 23510.
However, the original testcase still takes a very long tim
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58518
Volker Reichelt changed:
What|Removed |Added
Status|NEW |RESOLVED
Known to work|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59044
Volker Reichelt changed:
What|Removed |Added
CC||reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59032
Volker Reichelt changed:
What|Removed |Added
Keywords|ice-on-invalid-code |ice-on-valid-code
Summary|[4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59112
Volker Reichelt changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59113
Volker Reichelt changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59226
Volker Reichelt changed:
What|Removed |Added
CC||marxin.liska at gmail dot com
--- Comme
||reichelt at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #1 from Volker Reichelt ---
Looks like a duplicate of PR59226.
*** This bug has been marked as a duplicate of bug 59226 ***
|UNCONFIRMED |NEW
Last reconfirmed||2013-11-24
CC||reichelt at gcc dot gnu.org
Known to work||4.8.0, 4.8.2
Ever confirmed|0 |1
Known to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59115
Volker Reichelt changed:
What|Removed |Added
Known to work||4.6.0
Summary|[c++1y] ICE wi
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
{
struct B b;
};
declt
++
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:
===
union U
{
int& i = 0;
};
void foo()
{
U();
}
===
bug.
: 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" or "-std=c++0x"
for older compilers) triggers an
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58599
Volker Reichelt changed:
What|Removed |Added
CC||paolo.carlini at oracle dot com
--- Com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59120
Volker Reichelt changed:
What|Removed |Added
Keywords||error-recovery,
|
++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following invalid line of code (compiled with "-std=c++11") triggers an ICE
since GCC 4.7.0 (when template alias was introduced):
=
template using
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58533
Volker Reichelt changed:
What|Removed |Added
Keywords|ice-on-valid-code |error-recovery,
|
++
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:
===
template void foo(T, auto) {}
++
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:
===
template struct A
{
template operator T();
};
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) {}
}
: 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) {}
};
}
==
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()
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59110
Volker Reichelt changed:
What|Removed |Added
Keywords||ice-on-invalid-code
Known to work|
++
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 e
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58533
Volker Reichelt changed:
What|Removed |Added
Keywords|error-recovery, |ice-on-valid-code
|ic
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58549
Volker Reichelt changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58548
Volker Reichelt changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58637
Volker Reichelt changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
401 - 500 of 763 matches
Mail list logo