This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54165] Cast to "void" should not implicitly call conversion functions
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 03 Aug 2012 17:39:41 +0000
- Subject: [Bug c++/54165] Cast to "void" should not implicitly call conversion functions
- Auto-submitted: auto-generated
- References: <bug-54165-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54165
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |glisse at gcc dot gnu.org
--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> 2012-08-03 17:39:41 UTC ---
Looks like moving the VOID_TYPE case before the direct initialization case in
build_static_cast_1 would help, although there are other places where we could
test for void conversions.