[Bug c++/50391] New: [C++0x] ICE on invalid code, pair with incomplete type

2011-09-13 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50391 Bug #: 50391 Summary: [C++0x] ICE on invalid code, pair with incomplete type Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/50711] New: [C++0x] substitution failure reports error with result_of

2011-10-12 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50711 Bug #: 50711 Summary: [C++0x] substitution failure reports error with result_of Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/50711] [C++0x] substitution failure reports error with result_of

2011-10-12 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50711 --- Comment #3 from Jarryd Beck 2011-10-13 03:32:05 UTC --- The following code works: struct Tuple { int a, b, c; }; struct array_get { template const T& operator()(const T& t) { return t; } template auto operator()(con

[Bug c++/50893] New: [C++0x] explicitly defaulted virtual destructor throw specification

2011-10-27 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50893 Bug #: 50893 Summary: [C++0x] explicitly defaulted virtual destructor throw specification Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/50929] New: [C++0x] Wrong function selected for overload with template and rvalue reference

2011-10-30 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50929 Bug #: 50929 Summary: [C++0x] Wrong function selected for overload with template and rvalue reference Classification: Unclassified Product: gcc Version: 4.7.0 Status:

[Bug c++/50929] [C++0x] Wrong function selected for overload with template and rvalue reference

2011-10-31 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50929 --- Comment #2 from Jarryd Beck 2011-10-31 07:42:54 UTC --- That's a shame, and rather annoying. I read pages and pages of the standard to try to understand this one. Do you know where this is explained? I added a non-const constructor and also

[Bug c++/50929] [C++0x] Wrong function selected for overload with template and rvalue reference

2011-10-31 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50929 --- Comment #4 from Jarryd Beck 2011-10-31 10:07:04 UTC --- I didn't realise that A(A&) was a better match. I was thinking of C++ code where you might write: template A(const T& t); A(const A& rhs); in which case A(const A&) would be ch

[Bug c++/50929] [C++0x] Wrong function selected for overload with template and rvalue reference

2011-10-31 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50929 --- Comment #6 from Jarryd Beck 2011-10-31 10:34:16 UTC --- Yeah I understand now. Basically having a perfect forwarding constructor means that I need a non-const constructor if I want my example to work as I initially said.

[Bug c++/50972] New: [C++0x] ICE on undeclared identifier

2011-11-02 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50972 Bug #: 50972 Summary: [C++0x] ICE on undeclared identifier Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/50973] New: [C++11] internal compiler error defaulted destructor virtual inheritance

2011-11-02 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50973 Bug #: 50973 Summary: [C++11] internal compiler error defaulted destructor virtual inheritance Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONF

[Bug c++/51045] New: [C++0x] erroneous zero as null pointer constant warning at delete

2011-11-08 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51045 Bug #: 51045 Summary: [C++0x] erroneous zero as null pointer constant warning at delete Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/51045] [C++0x] erroneous zero as null pointer constant warning at delete

2011-11-08 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51045 --- Comment #1 from Jarryd Beck 2011-11-09 02:15:34 UTC --- Created attachment 25762 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25762 erroneous zero as null pointer warning

[Bug c++/51080] New: [C++11] constexpr function array size error

2011-11-10 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51080 Bug #: 51080 Summary: [C++11] constexpr function array size error Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priori

[Bug c++/52699] New: infinite loop generated with -O0

2012-03-24 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52699 Bug #: 52699 Summary: infinite loop generated with -O0 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/52699] infinite loop generated with -O0

2012-03-24 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52699 Jarryd Beck changed: What|Removed |Added Target||i686-pc-linux-gnu Host|

[Bug c++/52699] infinite loop generated with -O0

2012-03-24 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52699 --- Comment #2 from Jarryd Beck 2012-03-24 07:55:16 UTC --- Created attachment 26972 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26972 this file never terminates with -O0

[Bug c++/52699] infinite loop generated with -O0

2012-03-24 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52699 --- Comment #3 from Jarryd Beck 2012-03-24 07:56:15 UTC --- Created attachment 26973 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26973 The preprocessed version

[Bug c++/52699] infinite loop generated with -O0

2012-03-24 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52699 --- Comment #4 from Jarryd Beck 2012-03-24 07:57:20 UTC --- Note that this appears to happen only on 32 bit.

[Bug c++/51299] New: [C++11] erroneous nullptr warning on dynamic cast

2011-11-24 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51299 Bug #: 51299 Summary: [C++11] erroneous nullptr warning on dynamic cast Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/68781] New: [concepts] requires in member function is not unevaluated

2015-12-07 Thread jarrydb at cse dot unsw.edu.au
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jarrydb at cse dot unsw.edu.au Target Milestone: --- The following correct code fails to compile in r231384 template struct declval_helper { static constexpr bool stop = false; static T

[Bug c++/68826] New: [concepts] ICE in fold expression with requires

2015-12-09 Thread jarrydb at cse dot unsw.edu.au
++ Assignee: unassigned at gcc dot gnu.org Reporter: jarrydb at cse dot unsw.edu.au Target Milestone: --- r231384 ICE in the fold expression in the following code: template bool requires_types(Types&&... types) { return (true && ... &&

[Bug c++/68827] New: [concepts] ICE in fold where requires parameter shadows function argument

2015-12-09 Thread jarrydb at cse dot unsw.edu.au
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jarrydb at cse dot unsw.edu.au Target Milestone: --- The following code causes an ICE in r231384 template struct Var { }; struct A { }; template bool requires_types_args(V

[Bug c++/68828] New: [concepts] ICE in fold with requires and function call around parameters

2015-12-09 Thread jarrydb at cse dot unsw.edu.au
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jarrydb at cse dot unsw.edu.au Target Milestone: --- The following causes r231384 to ICE template struct Var { }; struct A { }; template T forward(T t) { return static_cast

[Bug c++/49356] New: C++0x decltype fails with recursive template function

2011-06-09 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49356 Summary: C++0x decltype fails with recursive template function Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo

[Bug c++/49399] New: [C++0x] substitution failure error

2011-06-14 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49399 Summary: [C++0x] substitution failure error Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gn

[Bug c++/49399] [C++0x] substitution failure error

2011-06-14 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49399 --- Comment #2 from Jarryd Beck 2011-06-14 11:52:58 UTC --- By works fine I mean that the code compiles, and when it runs, the program returns the number 4. Maybe I'm misunderstanding how this is all supposed to work and something has changed in

[Bug c++/49399] [C++0x] substitution failure error

2011-06-14 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49399 --- Comment #4 from Jarryd Beck 2011-06-14 12:21:15 UTC --- (In reply to comment #3) > The program should not compile. > > In C++03 it should fail to compile because it accesses a private member. > SFINAE > does not take access control into acc

[Bug c++/49399] [C++0x] substitution failure error

2011-06-14 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49399 --- Comment #7 from Jarryd Beck 2011-06-14 12:34:35 UTC --- (In reply to comment #6) > (In reply to comment #4) > > Ah, I see. Well the example you gave also doesn't compile. This is exactly > > what > > the boost library does too, I missed that

[Bug c++/49399] [C++0x] substitution failure error

2011-06-14 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49399 --- Comment #8 from Jarryd Beck 2011-06-14 12:35:31 UTC --- (In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #4) > > > Ah, I see. Well the example you gave also doesn't compile. This is > > > exactly what > > > the bo

[Bug c++/49420] New: [C++0x] compiler segfault using result_of

2011-06-15 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49420 Summary: [C++0x] compiler segfault using result_of Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...

[Bug c++/49420] [C++0x] compiler segfault using result_of

2011-06-16 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49420 --- Comment #2 from Jarryd Beck 2011-06-16 22:55:44 UTC --- That fixes it for me. Thanks.

[Bug c++/49587] New: Code generation error with dynamic libraries.

2011-06-30 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49587 Summary: Code generation error with dynamic libraries. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unas

[Bug c++/49589] New: [C++0x] Internal compile error at decltype

2011-06-30 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49589 Summary: [C++0x] Internal compile error at decltype Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig..

[Bug c++/49587] Code generation error with dynamic libraries.

2011-06-30 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49587 --- Comment #2 from Jarryd Beck 2011-06-30 10:16:58 UTC --- I wish that I could give you a test case. I can't reproduce it on any small piece of code. The only code that I can get it to break on is my project which has about 20,000 lines of code.

[Bug c++/49587] Code generation error with dynamic libraries.

2011-06-30 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49587 --- Comment #3 from Jarryd Beck 2011-06-30 11:52:52 UTC --- Sorry I better get that function in the dynamic loading correct. It calls the actual function which goes to _dl_runtime_resolve which calls _dl_fixup, then it bombs at the end of _dl_run

[Bug c++/49587] Code generation error with dynamic libraries.

2011-06-30 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49587 --- Comment #5 from Jarryd Beck 2011-06-30 20:56:32 UTC --- Ah, yes I think it is.

[Bug c++/49538] [4.7 regression] Revision 175341 causes segfaults

2011-07-07 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49538 --- Comment #7 from Jarryd Beck 2011-07-07 21:55:06 UTC --- I just wanted to comment here that I have also found this problem. I bisected it to the same revision using my own project. I reported it as bug [[49587]].

[Bug c++/49538] [4.7 regression] Revision 175341 causes segfaults

2011-07-07 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49538 --- Comment #8 from Jarryd Beck 2011-07-07 21:58:45 UTC --- Sorry I linked that wrongly, it's bug 49587.

[Bug c++/49538] [4.7 regression] Revision 175341 causes segfaults

2011-07-10 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49538 --- Comment #10 from Jarryd Beck 2011-07-10 12:20:26 UTC --- *** Bug 49587 has been marked as a duplicate of this bug. ***

[Bug c++/49587] Code generation error with dynamic libraries.

2011-07-10 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49587 Jarryd Beck changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/49983] New: Template types fail in range-based for.

2011-08-05 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49983 Summary: Template types fail in range-based for. Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@g

[Bug c++/50020] New: [C++0x] internal compiler error range for in templated class

2011-08-07 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50020 Summary: [C++0x] internal compiler error range for in templated class Product: gcc Version: unknown Status: UNCONFIRMED Severity: critical Priority: P3 Co