: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
Target Milestone: ---
DIAGNOSTIC:
g++ prog.cpp -c -Wall -O3
In constructor ‘S::S(int)’,
inlined from ‘(static
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54927
Bug #: 54927
Summary: internal compiler error: in tsubst_copy, at
cp/pt.c:12349
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54928
Bug #: 54928
Summary: Infinite output with after ICE with macro
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priorit
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54929
Bug #: 54929
Summary: internal compiler error: in tsubst_copy, at
cp/pt.c:12349
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
== Compiling this code: ==
static __typeof(pthread_once) __gthrw_pthread_once __attribute__
((__weakref__("pthread_once")));
== like this: ==
g+
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
when compiling this program:
enum ENUM2 { ENUM2_a = (enum ENUM2) 4, ENUM2_b = 0x9FFF, ENUM2_c =
0x1 };
like this: g++ prog.cpp
I get this
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
Program:
templateclass initializer_list {};
template struct D {D(std::initializer_list
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
With this input:
struct Base { };
struct Derived : Base
{
struct Derived2 : Base
{
struct ConvertibleToBothDerivedRef
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57947
--- Comment #2 from Craig Schroeder ---
Unfortunately that is because I tried cleaning up the test case some more after
reducing it down. How about this:
namespace std
{
template class initializer_list {};
template struct D {D(std::initializer
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50848
Bug #: 50848
Summary: ICE in derived template class missing using for member
of template base class
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: U
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50851
Bug #: 50851
Summary: ICE: verify_ssa failed, definition in block x does not
dominate use in block y with -O2
Classification: Unclassified
Product: gcc
Version: 4.7.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50852
Bug #: 50852
Summary: ICE: internal compiler error: in tsubst, at
cp/pt.c:11030
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50861
Bug #: 50861
Summary: ICE: internal compiler error: tree check: expected
tree that contains ‘decl minimal’ structure, have
‘error_mark’ in tsubst_copy_and_build, at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50872
Bug #: 50872
Summary: internal compiler error: in inline_small_functions, at
ipa-inline.c:1413
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONF
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52290
Bug #: 52290
Summary: internal compiler error: tree check: expected
function_decl, have var_decl in start_function, at
c-decl.c:7712
Classification: Unclassified
Product
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
Created attachment 30898
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30898&action=edit
Program that triggers ICE
When compiling the attached progr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51152
Bug #: 51152
Summary: error: X has no member named Y on code that seems
valid
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51152
--- Comment #1 from Craig Schroeder 2011-11-16
06:14:29 UTC ---
Created attachment 25832
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25832
File that fails to compile cleanly.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51154
Bug #: 51154
Summary: internal compiler error: gimplification failed
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Pri
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51154
--- Comment #1 from Craig Schroeder 2011-11-16
07:28:29 UTC ---
Created attachment 25834
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25834
Variation on same source causing failure with different message.
This variant on the source file I
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51154
--- Comment #2 from Craig Schroeder 2011-11-16
07:30:12 UTC ---
Created attachment 25835
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25835
Another file variant causing a third diagnostic on ICE.
This variant on the file produces the foll
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51488
Bug #: 51488
Summary: ICE on infinite template recursion
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51660
Bug #: 51660
Summary: ICE on function missing argument list
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51661
Bug #: 51661
Summary: ICE when template class list repeated
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Version: 8.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
Target Milestone: ---
WHAT HAPPENS:
The compiler eliminates a=0; and b=0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84604
--- Comment #2 from Craig Schroeder ---
I was under the impression I was allowed to call the destructor just like any
other function. On further investigation, this is undefined behavior, so this
bug report is invalid.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55405
Bug #: 55405
Summary: ICE with optimization
Classification: Unclassified
Product: gcc
Version: 4.6.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compo
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
Target Milestone: ---
PROGRAM:
namespace std {class type_info { };}
[[noreturn]] void f1(const std::type_info& type);
struct S1{~S1();};
struct S2
{
virtua
ty: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
Target Milestone: ---
THIS PROGRAM:
int x[3];
int n=2;
void foo()
{
for(int i=0;i
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
Target Milestone: ---
THIS PROGRAM:
void foo(int n)
{
int * p = 0;
if(n>0)
{
if(4*n/3+2)
p = new int[n];
}
for(int i=0; i
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
THIS PROGRAM:
template struct A { };
template struct B
{
A ddx;
template decltype(f(A(),ddx)) operator-(B) const;
};
B f(A,A);
B x,y=x-x
: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
Created attachment 32927
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32927&action=edit
Output of the
The following f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61481
--- Comment #1 from Craig Schroeder ---
The compiler used in the above compilation was:
Using built-in specs.
COLLECT_GCC=/home/craig/new-gcc/i-trunk/bin/g++
COLLECT_LTO_WRAPPER=/home/craig/new-gcc/i-trunk/libexec/gcc/x86_64-unknown-linux-gnu/4.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61481
--- Comment #3 from Craig Schroeder ---
Created attachment 32930
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32930&action=edit
More practical (but more complex) example
I am trying to optimize an auto-differentiation utility. The examp
++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
Target Milestone: ---
When compiled with:
g++ -c prog.cpp -Q
The compiler output contains "B::x>" but the input contains "B::x>".
The compiler has replaced the template argument R
: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
The demangler crashes when given this symbol
: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
When trying to compile this:
class A {virtual void f();};
class B : public A {template
++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
Target Milestone: ---
PROBLEM:
When compiling the (invalid) code below, two diagnostics are issued. The first
is valid (constructor is private). The second diagnostic is perplexing.
Fixing the
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cas43 at cs dot stanford.edu
Target Milestone: ---
When compiling the following code (g++ -std=c++20 file.cpp):
static const int y=0;
void f() {if constexpr(y<0){static_assert(
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116646
--- Comment #4 from Craig Schroeder ---
Thank you for taking the time to explain this. I understand why the code
snippet does not work now.
40 matches
Mail list logo