[Bug c++/37737] [c++0x] ICE in get_innermost_template_args at cp/pt.c:516 during variadic function overload deduction

2008-10-24 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug c++/37911] Operator= called on a non constructed object.

2008-10-24 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug c++/37142] [4.2/4.3/4.4 Regression] ICE: in dependent_type_p, at cp/pt.c:15585

2008-11-18 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug c++/38265] STL treats explicit constructors as converting constructors

2008-11-25 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug c++/38489] New: [c++0x] ICE in digest_init_r, at cp/typeck2.c:821 on "auto t = 0r;" (fixed fp)

2008-12-11 Thread cfairles at gcc dot gnu dot org
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

[Bug c++/38489] [c++0x] ICE in digest_init_r, at cp/typeck2.c:821 on "auto t = 0r;" (fixed fp)

2008-12-12 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug c++/38597] New: [c++0x] ICE when too many arguments given to auto return type function

2008-12-21 Thread cfairles at gcc dot gnu dot org
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

[Bug c++/38597] [c++0x] ICE when too many arguments given to auto return type function

2008-12-21 Thread 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

[Bug c++/38597] [c++0x] ICE when function type given as extra argument to auto return type function

2008-12-21 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug c++/38597] [c++0x] ICE when function type given as argument to auto return type function

2008-12-21 Thread cfairles at gcc dot gnu dot org
--- 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,

[Bug c++/38617] New: ICE passing fixed floating point to function template

2008-12-24 Thread cfairles at gcc dot gnu dot org
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

[Bug c++/38617] ICE passing fixed floating point to function template

2008-12-24 Thread cfairles at gcc dot gnu dot org
--- 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 |

[Bug c++/38617] ICE passing fixed point to function

2008-12-24 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug target/38617] ICE passing fixed point to function

2008-12-24 Thread cfairles at gcc dot gnu dot org
--- 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. > >

[Bug libstdc++/38684] New: [c++0x] ICE using initializer_list ctor in derived class

2008-12-31 Thread cfairles at gcc dot gnu dot org
++ 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

[Bug c++/38684] [c++0x] ICE using initializer_list ctor in derived class

2008-12-31 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug c++/38712] New: [c++0x] ICE: Segmentation fault in auto function when decltype uses parameter pack expansion

2009-01-02 Thread cfairles at gcc dot gnu dot org
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

[Bug c++/38713] New: [c++0x] ICE: Segmentation fault in auto function when decltype uses parameter pack expansion

2009-01-02 Thread cfairles at gcc dot gnu dot org
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

[Bug libstdc++/38889] [C++0x] std::bind doesn't work

2009-01-16 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug libstdc++/35569] [c++0x] std::bind result functor doesn't accept rvalues

2009-01-16 Thread cfairles at gcc dot gnu dot org
--- 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

gcc-bugs@gcc.gnu.org

2009-06-02 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug libstdc++/41530] [c++0x] Cannot move-construct std::tuple from a different type of std::tuple

2009-10-28 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug libstdc++/41861] [C++0x] does not use monotonic_clock

2009-11-03 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug libstdc++/41861] [C++0x] does not use monotonic_clock

2009-11-03 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug libstdc++/41530] [c++0x] Cannot move-construct std::tuple from a different type of std::tuple

2009-10-01 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug c++/37737] ICE on variadic template function

2008-10-05 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug c++/37737] New: ICE on variadic template function

2008-10-05 Thread cfairles at gcc dot gnu dot org
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

[Bug c++/37737] ICE on variadic template function

2008-10-05 Thread cfairles at gcc dot gnu dot org
--- 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

[Bug c++/37737] [c++0x] ICE in get_innermost_template_args at cp/pt.c:516 during variadic function overload deduction

2008-10-08 Thread cfairles at gcc dot gnu dot org
--- 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