[Bug c++/96746] Type Casting in template function should not be type-dependent if the type of the conversion result is not type-dependent.

2021-01-01 Thread masamitsu.murase at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96746 Masamitsu MURASE changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/96746] Type Casting in template function should not be type-dependent if the type of the conversion result is not type-dependent.

2020-11-04 Thread masamitsu.murase at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96746 --- Comment #2 from Masamitsu MURASE --- Thank you very much for your reply, Marek Polacek. I'm sorry, but I cannot understand your comment clearly. As you said, I also think that my example should be treated as ill-formed program. It **compiles

[Bug c++/96746] New: Type Casting in template function should not be type-dependent if the type of the conversion result is not type-dependent.

2020-08-22 Thread masamitsu.murase at gmail dot com
Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: masamitsu.murase at gmail dot com Target Milestone: --- The following code compiles fine with GCC 11.0, but I