This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/43162] option to set the "promoted" type of parameters of arithmetic
- From: "bangerth at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Feb 2010 05:12:58 -0000
- Subject: [Bug c/43162] option to set the "promoted" type of parameters of arithmetic
- References: <bug-43162-1034@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from bangerth at gmail dot com 2010-02-25 05:12 -------
I don't think we should be doing this. GCC strives to be standards-conforming
and the requested feature would purposefully make us violate the standard.
There is a point for extensions, but I don't think changing the meaning
of a perfectly well-formed program is not what we should be doing. The
same effect can of course be achieved by simply adding the explicit cast
to the code.
W.
--
bangerth at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at gmail dot com
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43162