[Bug libfortran/95293] Fortran not passing array by reference

2020-05-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 --- Comment #4 from Thomas Koenig --- Time to dig out the F2018 standard... 15.5.2.4 Ordinary dummy variables 9 If the dummy argument has the TARGET attribute That's fulfilled does not have the VALUE attribute, That's fulfilled. and either

[Bug c++/95299] sorry, unimplemented: mangling typename_type

2020-05-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95299 Thomas Koenig changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c++/95298] sorry, unimplemented: mangling record_type

2020-05-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95298 --- Comment #1 from Thomas Koenig --- *** Bug 95299 has been marked as a duplicate of this bug. ***

[Bug c/95300] New: Decimal floating-point constants suffer double rounding

2020-05-23 Thread tydeman at tybor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95300 Bug ID: 95300 Summary: Decimal floating-point constants suffer double rounding Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priori

[Bug c++/95299] New: sorry, unimplemented: mangling typename_type

2020-05-23 Thread jonathan.poelen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95299 Bug ID: 95299 Summary: sorry, unimplemented: mangling typename_type Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/95298] New: sorry, unimplemented: mangling record_type

2020-05-23 Thread jonathan.poelen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95298 Bug ID: 95298 Summary: sorry, unimplemented: mangling record_type Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libfortran/95293] Fortran not passing array by reference

2020-05-23 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 --- Comment #3 from Steve Kargl --- On Sat, May 23, 2020 at 10:43:23PM +, david.sagan at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 > > --- Comment #2 from David Sagan --- > The gcc documentation says: > > ‘a

[Bug tree-optimization/95297] New: ICE: Segmentation fault

2020-05-23 Thread vsevolod.livinskij at frtk dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95297 Bug ID: 95297 Summary: ICE: Segmentation fault Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug jit/95296] New: Segfault when trying to return a void value

2020-05-23 Thread bouanto at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95296 Bug ID: 95296 Summary: Segfault when trying to return a void value Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: jit

[Bug libfortran/95293] Fortran not passing array by reference

2020-05-23 Thread david.sagan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 --- Comment #2 from David Sagan --- The gcc documentation says: ‘array-temps’ Warns at run time when for passing an actual argument a temporary array had to be generated. The information generated by this warning is sometimes useful in optimizat

[Bug libfortran/95293] Fortran not passing array by reference

2020-05-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug tree-optimization/95295] New: g++ produces incorrect code with -O3 for loops

2020-05-23 Thread vsevolod.livinskij at frtk dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95295 Bug ID: 95295 Summary: g++ produces incorrect code with -O3 for loops Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tre

[Bug middle-end/95189] [10/11 Regression] memcmp being wrongly stripped like strcmp

2020-05-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 --- Comment #3 from Jakub Jelinek --- For memcmp, it looks completely wrong to use c_getstr, I think in that case it should use string_constant instead, or if it uses it, it should punt if the returned length by it is smaller than the length of t

[Bug middle-end/95189] [10/11 Regression] memcmp being wrongly stripped like strcmp

2020-05-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug target/95294] New: [vax] Convert the backend to MODE_CC so it can be kept in future releases

2020-05-23 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95294 Bug ID: 95294 Summary: [vax] Convert the backend to MODE_CC so it can be kept in future releases Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/95222] [10/11 Regression] GCC 10.1 x86 issue with function pointers with calling convention attribute and template specialization

2020-05-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95222 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|needs-bisection

[Bug libfortran/95293] New: Fortran not passing array by reference

2020-05-23 Thread david.sagan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 Bug ID: 95293 Summary: Fortran not passing array by reference Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortr

[Bug c++/95292] New: internal compiler error

2020-05-23 Thread tilin97 at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95292 Bug ID: 95292 Summary: internal compiler error Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug libstdc++/93978] A snippet using views::join fails to compile with -O1, but succeeds with -O0

2020-05-23 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93978 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.0 Resolution|---

[Bug c++/94038] [8/9/10 Regression] Compiling with -Wall causes function template body to get needlessly instantiated

2020-05-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94038 --- Comment #9 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a57aa11191617754c8d43b3eb6a2576e970a0668 commit r11-591-ga57aa11191617754c8d43b3eb6a2576e970a0668 Author: Patrick Palka Date: Sat

[Bug libstdc++/93978] A snippet using views::join fails to compile with -O1, but succeeds with -O0

2020-05-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93978 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a57aa11191617754c8d43b3eb6a2576e970a0668 commit r11-591-ga57aa11191617754c8d43b3eb6a2576e970a0668 Author: Patrick Palka Date: Sat

[Bug fortran/94361] [8/9/10/11 Regression] Memory leak in nested types with final

2020-05-23 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94361 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --

[Bug c++/95291] New: ICE

2020-05-23 Thread wouter at voti dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95291 Bug ID: 95291 Summary: ICE Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc do

[Bug c++/95290] New: ice in useless_type_conversion_p

2020-05-23 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95290 Bug ID: 95290 Summary: ice in useless_type_conversion_p Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/94038] [8/9/10 Regression] Compiling with -Wall causes function template body to get needlessly instantiated

2020-05-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94038 --- Comment #8 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:6d1556ecfae3eff010ef7dc15f3da998403fa196 commit r11-590-g6d1556ecfae3eff010ef7dc15f3da998403fa196 Author: Patrick Palka Date: Sat

[Bug libstdc++/95289] [10/11 Regression] __gnu_debug::__get_distance is not C++11 constexpr compliant

2020-05-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95289 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/95289] [10/11 Regression] __gnu_debug::__get_distance is not C++11 constexpr compliant

2020-05-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95289 --- Comment #2 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3ba391077d41324f6c0585f0ec76be0f44dd5b43 commit r10-8172-g3ba391077d41324f6c0585f0ec76be0f44dd5b43 Author: Jonathan Wakel

[Bug libstdc++/95289] [10/11 Regression] __gnu_debug::__get_distance is not C++11 constexpr compliant

2020-05-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95289 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3cb0c7cc160a50f830bfa9aa5a3264b773a28bf8 commit r11-589-g3cb0c7cc160a50f830bfa9aa5a3264b773a28bf8 Author: Jonathan Wakely Date:

[Bug target/91796] Sub-optimal YMM register allocation.

2020-05-23 Thread maxim.yegorushkin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91796 --- Comment #8 from Maxim Egorushkin --- Another example https://stackoverflow.com/questions/61975526/gcc-optimization-better-at-o0-than-o3

[Bug libstdc++/95289] [10/11 Regression] __gnu_debug::__get_distance is not C++11 constexpr compliant

2020-05-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95289 Jonathan Wakely changed: What|Removed |Added Summary|__gnu_debug::__get_distance |[10/11 Regression] |

[Bug fortran/95191] [9/10/11 Regression] Hang in WAIT with a bad ID= value if threading specified

2020-05-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95191 --- Comment #3 from CVS Commits --- The master branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:8df7ee67f6fdc780e9453f2baa8d1bf62c000761 commit r11-588-g8df7ee67f6fdc780e9453f2baa8d1bf62c000761 Author: Thomas Koenig Date:

[Bug fortran/95191] [9/10/11 Regression] Hang in WAIT with a bad ID= value if threading specified

2020-05-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95191 Thomas Koenig changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org Tar

[Bug sanitizer/95275] Possible performance regression in libasan with detect_stack_use_after_return=1

2020-05-23 Thread frantisek at sumsal dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95275 --- Comment #2 from Frantisek Sumsal --- Slight update of the reproducer - the fetch & checkout is no longer necessary as the required changes were merged into master.

[Bug middle-end/95276] [10/11 Regression] Amusing stringpop-overflow message building libgfortran

2020-05-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95276 --- Comment #6 from Thomas Koenig --- Created attachment 48588 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48588&action=edit shortened test case Here's the test case as shortened by multidelta.

[Bug libstdc++/95289] New: __gnu_debug::__get_distance is not C++11 constexpr compliant

2020-05-23 Thread andysem at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95289 Bug ID: 95289 Summary: __gnu_debug::__get_distance is not C++11 constexpr compliant Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/95276] [10/11 Regression] Amusing stringpop-overflow message building libgfortran

2020-05-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95276 Thomas Koenig changed: What|Removed |Added Target Milestone|11.0|10.2 Summary|[11 Regression]

[Bug middle-end/95276] [11 Regression] Amusing stringpop-overflow message building libgfortran

2020-05-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95276 Thomas Koenig changed: What|Removed |Added Status|WAITING |NEW --- Comment #4 from Thomas Koenig -

[Bug libstdc++/68606] Reduce or disable the static emergency pool for C++ exceptions

2020-05-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68606 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug c++/70462] Unnecessary "base object constructor" for final classes

2020-05-23 Thread P at draigBrady dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70462 Pádraig Brady changed: What|Removed |Added CC||P at draigBrady dot com --- Comment #6 f

[Bug c++/95288] New: Poor error message with function-scope enum definition

2020-05-23 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95288 Bug ID: 95288 Summary: Poor error message with function-scope enum definition Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/95287] Incorrect default argument checking for specializations of functions with parameter packs

2020-05-23 Thread raul at tambre dot ee
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95287 --- Comment #1 from Raul Tambre --- Possibly of interest: https://godbolt.org/z/NQus4z Shows the implementation divergence with regard to DR777 and DR2233. Only MSVC currently handles all cases correctly.

[Bug c++/95287] New: Incorrect default argument checking for specializations of functions with parameter packs

2020-05-23 Thread raul at tambre dot ee
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95287 Bug ID: 95287 Summary: Incorrect default argument checking for specializations of functions with parameter packs Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug middle-end/95276] [11 Regression] Amusing stringpop-overflow message building libgfortran

2020-05-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95276 --- Comment #3 from Thomas Koenig --- Created attachment 48586 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48586&action=edit (somewhat reduced) test case Here's a somewhat reduced test case; I did not spend too much time throwing out un

[Bug sanitizer/95279] UBSan doesn't seem to detect pointer overflow in certain cases

2020-05-23 Thread frantisek at sumsal dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95279 --- Comment #3 from Frantisek Sumsal --- Original issue: https://github.com/systemd/systemd/issues/15583 Patch: https://github.com/systemd/systemd/pull/15860 Code in question: https://github.com/systemd/systemd/blob/master/src/libsystemd/sd-bus/b

[Bug c++/95286] -march=native causes mt19937_64 + uniform_real_distribution generating wrong result.

2020-05-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95286 --- Comment #6 from Jonathan Wakely --- I don't think this is a bug, the result of uniform_real_distribution depends on floating point arithmetic which depends on optimisations. The output of the mt19937_64 engine is portable between different i

[Bug c++/95286] -march=native causes mt19937_64 + uniform_real_distribution generating wrong result.

2020-05-23 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95286 --- Comment #5 from fdlbxtqi --- I tried other architectures. Same issues here. WHY??? cqwrteur@Home-Server:~/fast_io_all/fast_io/helpers/fp$ g++ -o dontagree dontagree.cc -Ofast -std=c++20 -s -march=x86-64 cqwrteur@Home-Server:~/fast_io_all/fas

[Bug c++/95286] -march=native causes mt19937_64 + uniform_real_distribution generating wrong result.

2020-05-23 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95286 --- Comment #4 from fdlbxtqi --- I test on another Amd ryzen computer. Same issue here. Why??? cqwrteur@Home-Server:~/fast_io_all/fast_io/helpers/fp$ g++ -o dontagree dontagree.cc -Ofast -std=c++20 -s -march=native cqwrteur@Home-Server:~/fast_i

[Bug c++/95286] -march=native causes mt19937_64 + uniform_real_distribution generating wrong result.

2020-05-23 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95286 --- Comment #3 from fdlbxtqi --- #include #include #include int main() { std::mt19937_64 eng; std::uniform_real_distribution dis(-1.0f,1.0f); float v{}; for(std::size_t i(0);i!=36;++i) v=di

[Bug c++/95286] -march=native causes mt19937_64 + uniform_real_distribution generating wrong result.

2020-05-23 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95286 fdlbxtqi changed: What|Removed |Added Target|Amd ryzen 2700. Linux, |Amd ryzen 3600. Linux, |Min

[Bug target/94087] std::random_device often fails when used from multiple threads

2020-05-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94087 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/95286] -march=native causes mt19937_64 + uniform_real_distribution generating wrong result.

2020-05-23 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95286 fdlbxtqi changed: What|Removed |Added Host|amd ryzen 2700. Linux, |Amd ryzen 2700. Linux, |Min

[Bug c++/95286] New: -march=native causes mt19937_64 + uniform_real_distribution generating wrong result.

2020-05-23 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95286 Bug ID: 95286 Summary: -march=native causes mt19937_64 + uniform_real_distribution generating wrong result. Product: gcc Version: 11.0 Status: UNCONFIRMED Sever