[Bug libstdc++/87641] std::valarray::sum() fails for types where T() is not a neutral element for addition

2018-10-19 Thread frederic.jardon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87641 --- Comment #8 from Frederic Jardon --- Thank you for the fast response :)

[Bug libstdc++/87641] std::valarray::sum() fails for types where T() is not a neutral element for addition

2018-10-18 Thread frederic.jardon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87641 --- Comment #1 from Frederic Jardon --- Created attachment 44852 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44852=edit Full preprocessed sources (-save-temps) compressed with gzip

[Bug libstdc++/87641] New: std::valarray::sum() fails for types where T() is not a neutral element for addition

2018-10-18 Thread frederic.jardon at gmail dot com
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: frederic.jardon at gmail dot com Target Milestone: --- ** Compiler version and command-line used are at the end of this message ** The following code