--- Comment #4 from cfairles at gcc dot gnu dot org 2009-11-03 15:26
---
See also:
http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#887
http://home.roadrunner.com/~hinnant/issue_review/lwg-active.html#887
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41861
--- Comment #3 from cfairles at gcc dot gnu dot org 2009-11-03 13:58
---
Yes, I'm alive! Starting to get back into the GCC swing of things.
Ok, and and clocks. Its a bit of a tricky
situation, reading current standard draft and other related docs (i.e. posix)
to get myself ba
--- Comment #7 from cfairles at gcc dot gnu dot org 2009-10-28 16:23
---
Should be marked as fixed no?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41530
--- Comment #2 from cfairles at gcc dot gnu dot org 2009-10-01 22:52
---
(In reply to comment #1)
> Thanks for the PR and the patch, which indeed makes sense to me (also regtests
> fine). Before committing the change, let's wait a bit in case Chris F has some
> comment
--- Comment #5 from cfairles at gcc dot gnu dot org 2009-06-03 02:47
---
Agreed. Changed to diagnostic from link-error.
--
cfairles at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #4 from cfairles at gcc dot gnu dot org 2009-01-17 00:03
---
*** Bug 38889 has been marked as a duplicate of this bug. ***
--
cfairles at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from cfairles at gcc dot gnu dot org 2009-01-17 00:03
---
*** This bug has been marked as a duplicate of 35569 ***
--
cfairles at gcc dot gnu dot org changed:
What|Removed |Added
CONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cfairles at gcc dot gnu dot org
GCC build triplet: x86_64-redhat-linux
GCC host triplet: x86_64-redhat-linux
G
CONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cfairles at gcc dot gnu dot org
GCC build triplet: x86_64-redhat-linux
GCC host triplet: x86_64-redhat-linux
G
--- Comment #3 from cfairles at gcc dot gnu dot org 2009-01-01 02:28
---
Templates aren't required, slightly reduced testcase:
#include
struct Y {};
struct X : Y {
X(std::initializer_list) {}
};
struct A {
X v;
};
int main() {
A a{ {1,2,3} };
}
--
http://gcc.gn
++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cfairles at gcc dot gnu dot org
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=38684
--- Comment #6 from cfairles at gcc dot gnu dot org 2008-12-24 17:33
---
(In reply to comment #5)
> Subject: Re: ICE passing fixed point to function
>
> If they didn't configure with that option the compiler should give
> sensible errors rather than ICEs.
>
>
--- Comment #4 from cfairles at gcc dot gnu dot org 2008-12-24 16:44
---
(In reply to comment #3)
> What are fixed point types?
http://gcc.gnu.org/wiki/FixedPointArithmetic
--
cfairles at gcc dot gnu dot org changed:
What|Removed |Ad
--- Comment #1 from cfairles at gcc dot gnu dot org 2008-12-24 12:00
---
cc'ing andrew
--
cfairles at gcc dot gnu dot org changed:
What|Removed |
nu dot org
ReportedBy: cfairles at gcc dot gnu dot org
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=38617
--- Comment #3 from cfairles at gcc dot gnu dot org 2008-12-21 14:22
---
Hmm, also note that:
template
auto f(T,U) -> decltype(T() + U())
{ return T() + U(); }
void g(){}
int main() { f(2,3.4,&g); }
works, as in errors out with
no matching function for call to 'f(int,
--- Comment #2 from cfairles at gcc dot gnu dot org 2008-12-21 14:14
---
fixing summary, this has to do with function ptr types
template
auto f(T,U) -> decltype(T() + U())
{ return T() + U(); }
f(1,2,&f);
does the same for example.
--
cfairles at gcc dot gnu dot org
--- Comment #1 from cfairles at gcc dot gnu dot org 2008-12-21 14:00
---
cc'ing Jason
--
cfairles at gcc dot gnu dot org changed:
What|Removed |Added
ion
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cfairles at gcc dot gnu dot
--- Comment #1 from cfairles at gcc dot gnu dot org 2008-12-12 15:59
---
cc'ing Jason
--
cfairles at gcc dot gnu dot org changed:
What|Removed |Added
g
ReportedBy: cfairles at gcc dot gnu dot org
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=38489
--- Comment #1 from cfairles at gcc dot gnu dot org 2008-11-25 19:34
---
GCC 4.4.0 also accepts this code as does Comeau 4.3.10.1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38265
--- Comment #6 from cfairles at gcc dot gnu dot org 2008-11-18 17:53
---
Even more reduced:
template class W>
struct A{};
template
struct B{};
int main() { A a; }
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37142
--- Comment #1 from cfairles at gcc dot gnu dot org 2008-10-24 16:06
---
I haven't double checked the standard but this looks like undefined behavior.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37911
--- Comment #4 from cfairles at gcc dot gnu dot org 2008-10-24 11:46
---
Adding error-recovery since 2nd testcase does print out sane error msg before
ICE.
--
cfairles at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #3 from cfairles at gcc dot gnu dot org 2008-10-08 14:06
---
changed summary to something more specific
--
cfairles at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from cfairles at gcc dot gnu dot org 2008-10-05 12:09
---
I believe these are both ice-on-invalid code.
--
cfairles at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #1 from cfairles at gcc dot gnu dot org 2008-10-05 12:02
---
This variant also ice's in same place but issues error first:
ice2.cpp:
template
void f()
{
f();
}
template<>
void f() { }
int main()
{
f();
}
ice2.cpp:8: error: template-id f<> for v
te
function?
--
Summary: ICE on variadic template function
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cfairles at gcc dot
29 matches
Mail list logo