[Bug c++/80792] New: worse code generated compared to clang when using std::tuple

2017-05-16 Thread dvd at gnx dot it
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dvd at gnx dot it Target Milestone: --- This code: #include // mimic std facility template struct index_sequence {}; // inferior tuple, used

[Bug c++/82325] New: worse code generated compared to clang when using a constexpr array

2017-09-25 Thread dvd at gnx dot it
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dvd at gnx dot it Target Milestone: --- While testing some functions I'm writing for a deflate compressor I've noticed that the following code is translated differently between gcc

[Bug c++/82325] worse code generated compared to clang when using a constexpr array

2017-09-26 Thread dvd at gnx dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82325 --- Comment #2 from David --- (In reply to Jakub Jelinek from comment #1) > To unroll the loop completely with gcc, one needs to use --param > max-completely-peel-times=32 because the loop has more than 16 iterations, > which is the default