rmal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris dot fairles at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.o
--- Comment #1 from chris dot fairles at gmail dot com 2007-08-16 15:57
---
Created an attachment (id=14065)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14065&action=view)
source file that produces ICE
attached source file that causes ICE
--
http://gcc.gnu.org/b
--- Comment #2 from chris dot fairles at gmail dot com 2007-08-16 15:58
---
Created an attachment (id=14066)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14066&action=view)
-save-temps compiler output
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33091
--- Comment #3 from chris dot fairles at gmail dot com 2007-08-16 15:59
---
Created an attachment (id=14067)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14067&action=view)
-save-temps compiler output
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33091
--- Comment #4 from chris dot fairles at gmail dot com 2007-08-16 16:16
---
Adding:
template
tuple(const tuple<_UElements...>& __in, typename std::enable_if<
std::is_same<
std::integral_constant,
std::integral_constant>::value>::type* =
0)
: _Inherit
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris dot fairles at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33098
--- Comment #1 from chris dot fairles at gmail dot com 2007-08-17 15:48
---
Created an attachment (id=14070)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14070&action=view)
patch to fix compile error when using pointers with is_convertible
--
http://gcc.gnu.org/b
--- Comment #2 from chris dot fairles at gmail dot com 2007-08-17 15:48
---
Created an attachment (id=14071)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14071&action=view)
test case that gives compile error
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33098
--- Comment #5 from chris dot fairles at gmail dot com 2007-08-28 12:32
---
The following code snippet also causes an ICE (g++43 (GCC) 4.3.0 20070828
(experimental) with -Wall, -g and -std=c++0x)
test4.cpp: In instantiation of A:
test4.cpp:11: instantiated from here
test4.cpp:7
--- Comment #1 from chris dot fairles at gmail dot com 2007-08-29 22:04
---
Not sure if this is same bug:
template
struct B;
template
struct B {};
template
struct B : public B {
H h;
};
template
class D : B<0,T...> {};
template
struct E;
template
struct E> {
ONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris dot fairles at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37089
--- Comment #2 from chris dot fairles at gmail dot com 2008-08-13 11:34
---
You still have to define the static constant.
template
const int value::is;
HTH,
Chris
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37111
--- Comment #1 from chris dot fairles at gmail dot com 2008-08-13 15:32
---
You're simply trying to access a protected member variable which is not
allowed. It doesn't matter if you try to access it from a member function of a
sub-object of A; if you have an object of type
--- Comment #3 from chris dot fairles at gmail dot com 2008-08-17 15:06
---
Mainline also fails on target x86_64-unknown-linux-gnu:
gcc version 4.4.0 20080814 (experimental) (GCC)
internal compiler error: in dependent_type_p, at cp/pt.c:15888
--
http://gcc.gnu.org/bugzilla
c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris dot fairles at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37177
gnu dot org
ReportedBy: chris dot fairles at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37288
--- Comment #1 from chris dot fairles at gmail dot com 2008-08-30 13:14
---
Also, I believe these cases are ice-on-invalid. Jason?
--
chris dot fairles at gmail dot com changed:
What|Removed |Added
--- Comment #3 from chris dot fairles at gmail dot com 2008-09-03 20:39
---
Reduced testcase w/o the need for headers:
template
void f(T&& a, bool);
template void f(T&& a)
{
f(static_cast(a), true);
}
int main()
{
int a;
f(a);
}
undefined referenc
--- Comment #1 from chris dot fairles at gmail dot com 2008-09-04 17:33
---
mainline compiles first snippet fine. second gives:
error: 'void N2::f(int)' should have been declared inside 'N2'
For what its worth msvc 9 and Comeau C/C++ 4.3.10.1 compile bot
tus: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris dot fairles at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC tar
ersion: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris dot fairles at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host tripl
++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris dot fairles at gmail dot com
GCC build triplet: x86_64-redhat-linux
GCC host triplet: x86_64-redhat-linux
GCC target triplet: x86_64-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37547
--- Comment #5 from chris dot fairles at gmail dot com 2008-06-16 19:34
---
I think this is related:
template struct A{};
template class B> struct C{};
int main() { C a; }
gives ICE @ pt.c:15861 (rev 136843).
The line in question is:
gcc_assert (TREE_CODE (t
unassigned at gcc dot gnu dot org
ReportedBy: chris dot fairles at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36633
--- Comment #1 from chris dot fairles at gmail dot com 2008-06-25 20:53
---
Created an attachment (id=15814)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15814&action=view)
Test case that issues warning with compiling with -O2,-Wall
--
http://gcc.gnu.org/b
--- Comment #2 from chris dot fairles at gmail dot com 2008-06-25 20:54
---
Created an attachment (id=15815)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15815&action=view)
File from tree dump before subscript operator appears.
--
http://gcc.gnu.org/bugzilla/show_bug
--- Comment #3 from chris dot fairles at gmail dot com 2008-06-25 20:55
---
Created an attachment (id=15816)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15816&action=view)
File from tree dump with the negative subscript index
--
http://gcc.gnu.org/bugzilla/show_bug
--- Comment #4 from chris dot fairles at gmail dot com 2008-06-25 20:56
---
Adding CC as requested.
--
chris dot fairles at gmail dot com changed:
What|Removed |Added
--- Comment #5 from chris dot fairles at gmail dot com 2008-06-25 20:59
---
This bug is similar to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35593 which
is fixed in mainline.
--
chris dot fairles at gmail dot com changed:
What|Removed |Added
ialization of reference type
is allowed.
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris dot f
--- Comment #2 from chris dot fairles at gmail dot com 2008-07-06 19:33
---
(In reply to comment #0)
> Consider:
>
> #include
>
> struct S
> {
> S(): i(2) {}
//S(S const&) {}
S(S const&);
The cctor need only be defined as well to get the sam
--- Comment #3 from chris dot fairles at gmail dot com 2008-07-06 19:51
---
(In reply to comment #2)
> (In reply to comment #0)
> > struct S
> > {
> > S(): i(2) {}
> //S(S const&) {}
> S(S const&);
> The cctor need only be defined as we
--- Comment #11 from chris dot fairles at gmail dot com 2008-07-10 13:41
---
On x64_64, alignof(smart_ptr) == sizeof(size_t) == 8. So then the size of the
array is stored in the 8 bytes prior to the address of the returned pointer
from new[].
In the delete[] call, its offsetting the
++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris dot fairles at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36963
t;
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris dot fairles at gmail dot com
GCC build triplet: x86_64-unknown-li
--- Comment #2 from chris dot fairles at gmail dot com 2008-08-02 02:11
---
Also note that the boolean conversion operators aren't required to get the
warning.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37006
--- Comment #2 from chris dot fairles at gmail dot com 2008-08-02 18:41
---
(In reply to comment #1)
> AFAIK, the error is a request of the c++0x standard and it seems -0.02435L
> does
> not fit exactly in a float while -0.25L does, so the message is correct and I
>
37 matches
Mail list logo