This is the mail archive of the gcc-bugs@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]

Re: enable-checking problems on PPC


  In message <99092522480700.00605@ns1102.munich.netsurf.de>you write:
  > 	* haifa-sched.c (sched_note_set): use XEXP, not SET_DEST
This has been overtaken by events -- sched_note_set was removed a relatively
short time ago.

  > 	* rs6000.c (expand_block_move): use XWINT, not XINT
In general if you find yourself using XWINT or XINT, you're using the wrong
accessor macro :-)

If the value is going to be an integer, the INTVAL would be the right
accessor.

I believe align_rtx will always be a CONST_INT in the case you're looking at;
so accessing with INTVAL would be the right thing to do.


We'll work on the decode_rtx_const issue later.  Kill the easy ones now and
iterate on the tougher ones later.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]