[Bug libstdc++/94900] New: filesystem recursive_directory_iterator incorrectly skips entries in case directories can not be read

2020-05-01 Thread tonvandenheuvel at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: tonvandenheuvel at gmail dot com Target Milestone: --- Suppose we have a subdirectory `x` with two other subdirectories `a` and `b`, both

[Bug libstdc++/94900] filesystem recursive_directory_iterator incorrectly skips entries in case directories have no read/execute permissions set

2020-05-01 Thread tonvandenheuvel at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94900 --- Comment #1 from Ton van den Heuvel --- I found that specifying `std::filesystem::directory_options::skip_permission_denied` does list all entries for `recursive_directory_iterator`. I no longer think this is a bug; the directory iterator sto

[Bug libstdc++/94900] filesystem recursive_directory_iterator incorrectly skips entries in case directories have no read/execute permissions set

2020-05-01 Thread tonvandenheuvel at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94900 Ton van den Heuvel changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIR

[Bug c++/91791] New: ICE when throwing exception in a ternary expression

2019-09-16 Thread tonvandenheuvel at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tonvandenheuvel at gmail dot com Target Milestone: --- The following code results in an ICE using GCC 9.2.0: #include std::string f(const std::string& s) { return !s.empty() ? s : throw "Invalid"; }

[Bug c++/83035] New: Using decltype fails with an operator using non-ADL lookup

2017-11-17 Thread tonvandenheuvel at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tonvandenheuvel at gmail dot com Target Milestone: --- Created attachment 42639 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42639&action=edit preprocessed source file The fo