[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/11395] gas creates 64bit add-instruction in 32bit mode for hppa

From: nickc at redhat dot com
Subject: [Bug gas/11395] gas creates 64bit add-instruction in 32bit mode for hppa2.0
Date: 16 Apr 2010 11:23:48 -0000

------- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-04-16 
11:21 -------
Subject: Bug 11395

CVSROOT:        /cvs/src
Module name:    src
Changes by:     address@hidden  2010-04-16 11:20:41

Modified files:
        gas            : ChangeLog 
        gas/config     : tc-hppa.c 
        gas/testsuite  : ChangeLog 
        gas/testsuite/gas/hppa/basic: add2.s basic.exp 

Log message:
        PR gas/11395
        * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
        matcher to accept and unconditional 32-bit add instruction.
        (pa_build_unwind_subspace): Cope with error conditions not
        allowing the start symbol to be set.
        * gas/hppa/basic/add2.s: Add test of simple 32-bit instruction.
        * gas/hppa/basic/basic.exp (do_add2): Add grep for expected


------- Additional Comments From nickc at redhat dot com  2010-04-16 11:23 
Hi Michael,

  Sorry for taking so long to look at this problem.

  It turns out to be a bug in GAS's code for parsing condition prefixes for
64-bit addition instructions.  If there were no conditions at all the
instruction was being matched and treated as a 64-bit add, instead of being
rejected and allowing the parser to proceed to the 32-bit add pattern.

  I have checked in a patch to fix this, as well as an addition to the HPPA part
of the GAS testsuite to make sure that the bug stays fixed.


           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]