home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / gcc / bug / 3236 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!acri.FR!adda
  2. From: adda@acri.FR (Serge Adda)
  3. Newsgroups: gnu.gcc.bug
  4. Subject: emit_store_flag
  5. Date: 22 Jan 1993 21:44:32 -0500
  6. Organization: Advanced Computer Research Institute
  7. Lines: 20
  8. Sender: daemon@cis.ohio-state.edu
  9. Approved: bug-gcc@prep.ai.mit.edu
  10. Distribution: gnu
  11. Message-ID: <9301211607.AA15689@lscc1.acri.fr>
  12.  
  13. I think there are 2 problems in emit_store_flag,
  14. 1 minor and 1 major.
  15.  
  16. the minor: subtarget is declared twice; so debugging is difficult.
  17.  
  18. the major: the call to compare_from_rtx at line 2802 could invert
  19. the comparison; so icode should be reset using the comparison code
  20. of comparison.  I wrote my MD file using the example in the docu-
  21. mentation. So the compare_from_rtx, in fact, actually stores both 
  22. operands with an order which doesn't corespond to the old code.
  23. I know I can fix the problem if I store the new code and compare
  24. it with the old one during the generation of the comparison
  25. pattern; but it is better to fix the problem in the emit_store_flag
  26. function.
  27.  
  28.  
  29.  
  30. Serge Adda - A.C.R.I. Compiler Team
  31. email: adda@acri.fr
  32.  
  33.