[Bug c/43162] option to set the "promoted" type of parameters of arithmetic
bangerth at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 25 05:13:00 GMT 2010
------- 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
More information about the Gcc-bugs
mailing list