------- Comment #4 from dfranke at gcc dot gnu dot org 2007-12-20 14:23 ------- > You forgot about the minus sign.
Blind spot. If in doubt, I have a habit of putting extra-paranthesis anyway :) On topic: Metcalf, Section 3.2, states: "[...] a unary minus or plus must not follow immediately after another operator. When it is needed, as for $x^{-y}$, parantheses must be placed around the operator and the operand x**(-y)." Agreed, this should not be hidden in -pedantic; we should use -Wall instead or even a default warning as suggested. -- dfranke at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-12-20 14:23:04 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34536