[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BUG in operator precedence in as
From: |
Mikulas Patocka |
Subject: |
BUG in operator precedence in as |
Date: |
Tue, 28 Nov 2000 13:35:27 +0100 (CET) |
Hi
There is bug in operator precedence in as in newer binutils (2.9.5.0.46
and 2.10.1.0.2), 2.9.1 is correct but has other bugs. '|' and '+' have the
same precedence.
Mikulas
$ as
movl $1*2|3, %eax
$ objdump --disassemble a.out
a.out: file format elf32-i386
Disassembly of section .text:
00000000 <.text>:
0: b8 03 00 00 00 mov $0x3,%eax
$ as
movl $3|1*2, %eax
$ objdump --disassemble a.out
a.out: file format elf32-i386
Disassembly of section .text:
00000000 <.text>:
0: b8 06 00 00 00 mov $0x6,%eax
$
- BUG in operator precedence in as,
Mikulas Patocka <=