https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67843
Bug ID: 67843
Summary: experimental/filesystem/iterators/directory_iterator.c
c fails on armv5t
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: clyon at gcc dot gnu.org
Target Milestone: ---
./experimental/filesystem/iterators/directory_iterator.cc fails when compiled
with -march=armv5t:
*** Error in `./directory_iterator.exe': malloc(): memory corruption:
0x40b787f7 ***^M
To reproduce it, you can build an armv7* toolchain, can compile this testcase
with -march=armv5t, and execute the result.
I chose the libstdc++ category for the time being, but it could very well be
target dependent bug (since it works on armv7-a for instance).