This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/19539] missing operand: B * -A
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2005 02:10:45 -0000
- Subject: [Bug ada/19539] missing operand: B * -A
- References: <20050120033036.19539.dave@synergy.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-21 02:10 -------
(In reply to comment #2)
> (In reply to comment #1)
> > Hmm, is *- special operand in Ada or is this just a parse error in the
> front-end (I don't know Ada that at
>
> You are actually fairly close. *- is not a special operator, but the multiply
> operator has a higher precedence than the unary minus. This causes the multiply
> to bind to the minus sign (not the result of the unary minus).
Oh, thanks (I learned more about Ada than I knew before, I will remember about in the future).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19539