[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/23800] .eqv doesn't always defer expression evaluation
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gas/23800] .eqv doesn't always defer expression evaluation |
Date: |
Sat, 20 Oct 2018 09:26:31 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23800
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e4c2619ad1f31cf73d275b027e8c0cf9c6e9597a
commit e4c2619ad1f31cf73d275b027e8c0cf9c6e9597a
Author: Alan Modra <address@hidden>
Date: Sat Oct 20 11:12:46 2018 +1030
PR23800, .eqv doesn't always defer expression evaluation
.eqv (and ==) ought not simplify expressions involving dot or other
symbols set by .eqv. If such simplification occurs, the value of dot
will be that at the assignment rather than at the place where the
symbol is used.
PR 23800
* expr.c (expr): Don't simplify expressions involving forward_ref
symbols when mode is expr_defer.
* config/tc-spu.c (spu_cons): Parse expression using normal
expression evaluation if @ppu is not detected.
* testsuite/gas/all/eqv-dot.d,
* testsuite/gas/all/eqv-dot.s: New test.
* testsuite/gas/all/gas.exp: Run it.
--
You are receiving this mail because:
You are on the CC list for the bug.