[Bug c++/86298] New: template argument cannot be narrowed to type 'int'

2018-06-24 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86298 Bug ID: 86298 Summary: template argument cannot be narrowed to type 'int' Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/86297] rejects valid code on type extension

2018-06-24 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86297 --- Comment #1 from Jürgen Reuter --- This is the error message from gfortran: Error: 'p' at (1) must have the same number of formal arguments as the overridden procedure

[Bug fortran/86297] New: rejects valid code on type extension

2018-06-24 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86297 Bug ID: 86297 Summary: rejects valid code on type extension Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug tree-optimization/86259] [8/9 Regression] min(4, strlen(s)) optimized to strlen(s) with -flto

2018-06-24 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #15 from Marc Glisse --- (In reply to Martin Sebor from comment #14) > > You say that > > > > struct { int a; int b; } s, s2; > > memcpy (, , sizeof (s)); > > > > is invalid, aka not copying the whole structure since you pass in

[Bug c++/86296] New: Creating a pointer class for a unique_ptr<>() deleter fails with optimizations

2018-06-24 Thread alexis at m2osw dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86296 Bug ID: 86296 Summary: Creating a pointer class for a unique_ptr<>() deleter fails with optimizations Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/86295] New: Missing exception safety when inserting range into vector

2018-06-24 Thread kristian.spangsege at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86295 Bug ID: 86295 Summary: Missing exception safety when inserting range into vector Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal

[Bug c++/71220] ICE on instantiation using variadic template

2018-06-24 Thread rippey.e at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71220 rippey.e at gmail dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/86259] [8/9 Regression] min(4, strlen(s)) optimized to strlen(s) with -flto

2018-06-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259 --- Comment #14 from Martin Sebor --- > You say that > > struct { int a; int b; } s, s2; > memcpy (, , sizeof (s)); > > is invalid, aka not copying the whole structure since you pass in a > pointer to s2.a rather than s2? Yes. It's invalid

[Bug c++/82373] syntax error in error message

2018-06-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82373 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/82507] [concepts] premature substitution into constraint of non-template member function

2018-06-24 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82507 --- Comment #1 from Casey Carter --- Gentle ping: working around this bug is making it incredibly hard to prototype the Ranges design for C++20.

[Bug c++/84767] [6 Regression] ICE with pointer to VLA

2018-06-24 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84767 Volker Reichelt changed: What|Removed |Added Summary|[6/7 Regression] ICE with |[6 Regression] ICE with

[Bug c++/85068] [6 Regression] ICE with invalid covariant return type hierarchy

2018-06-24 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85068 Volker Reichelt changed: What|Removed |Added Summary|[6/7 Regression] ICE with |[6 Regression] ICE with

[Bug c++/85076] [6 Regression] ICE with invalid template used as lambda argument

2018-06-24 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85076 Volker Reichelt changed: What|Removed |Added Summary|[6/7 Regression] ICE with |[6 Regression] ICE with

[Bug c++/85140] [6 Regression] ICE with invalid use of alignas

2018-06-24 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85140 Volker Reichelt changed: What|Removed |Added Summary|[6/7 Regression] ICE with |[6 Regression] ICE with

[Bug c++/85208] ICE with #pragma weak and structured binding

2018-06-24 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85208 Volker Reichelt changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85210] [7 Regression] ICE with broken structured binding in template

2018-06-24 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85210 Volker Reichelt changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-24 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257 Tom de Vries changed: What|Removed |Added Keywords||patch --- Comment #6 from Tom de Vries

[Bug tree-optimization/86136] Modular multiplication optimization

2018-06-24 Thread mcccs at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86136 --- Comment #3 from MCCCS --- What about unsigned int k (unsigned int a) { if (a > 5) { __builtin_unreachable(); } return (a * 83) % 5; }

[Bug c++/86256] Lambda will not add ref count for class intelligent pointer member when capture 'this' or & as argument

2018-06-24 Thread kangchuanbo at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86256 --- Comment #4 from kangchuanbo at 126 dot com --- OK, thanks for your response, I just met this issue and think it's better to give warn or error when Lambda capture this or reference with std::shared_ptr member inside. So add one Lambda usage

[Bug fortran/71612] [Coarray] Wrongly rejects coindexed variables in READ

2018-06-24 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71612 Jürgen Reuter changed: What|Removed |Added CC||juergen.reuter at desy dot de ---

[Bug libstdc++/86292] Missing exception safety when constructing vector from input iterator pair

2018-06-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86292 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code

[Bug c++/86256] Lambda will not add ref count for class intelligent pointer member when capture 'this' or & as argument

2018-06-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86256 Jonathan Wakely changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---