[Bug c++/67621] New: Syntax error for template function of template class

2015-09-18 Thread physik3 at gmx dot net
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: physik3 at gmx dot net Target Milestone: --- Hey guys, I think I have found a bug in the GCC C++ frontend. I have a template class which provides a function with additional template parameters. This works fine

[Bug c++/67621] Syntax error for template function of template class

2015-09-18 Thread physik3 at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67621 --- Comment #2 from physik3 at gmx dot net --- Hi. (In reply to Jonathan Wakely from comment #1) > (In reply to physik3 from comment #0) > > foo.foo(); // this line gives a compiler error > > This needs to be: > >

[Bug c++/64627] Internal compiler error: Segmentation fault

2015-01-21 Thread physik3 at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64627 physik3 at gmx dot net changed: What|Removed |Added Status|WAITING |RESOLVED Resolution

[Bug c++/64627] New: Internal compiler error: Segmentation fault

2015-01-16 Thread physik3 at gmx dot net
++ Assignee: unassigned at gcc dot gnu.org Reporter: physik3 at gmx dot net Created attachment 34462 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34462action=edit source file from openVDB library Hi everyone. When I try to build openVDB (http://www.openvdb.org/download

[Bug c++/60986] New: Wrong handling of const variables in lambda functions

2014-04-28 Thread physik3 at gmx dot net
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: physik3 at gmx dot net The code in the attachment compiles, but behaves in a strange way. Output is a = 42 b = 0 b = 0 b = 42 expected (and achieved if the function is not templated): a = 42 b = 42 b

[Bug c++/60986] Wrong handling of const variables in lambda functions

2014-04-28 Thread physik3 at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60986 --- Comment #1 from physik3 at gmx dot net --- Created attachment 32694 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32694action=edit file containing the code