This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The tests are slightly different:
- if (ireg != 0) - if (addr != 0 && ireg != 0)
In the second case, we must avoid printing the comma when addr is 0, because in the MOTOROLA case the address is printed out of the parentheses, like this:
foo address(reg,ireg)
Convinced. In that case I suggest to move the !MOTOROLA putc inside the "if (addr != 0)" thus avoiding another test of addr.
-- // Bernardo Innocenti - Develer S.r.l., R&D dept. \X/ http://www.develer.com/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |