[Bug c/43162] option to set the "promoted" type of parameters of arithmetic

2010-02-24 Thread bangerth at gmail dot com
--- 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 mea

[Bug c/43162] option to set the "promoted" type of parameters of arithmetic

2010-02-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-02-24 11:33 --- I think this is the wrong approach really. Learning C/C++ rules for arithmetic operations and the promotion of types is not hard. Also this is not calculus but simple arithmetic operations :). -- pinskia at gcc