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]

Re: arm constant pool problems



  In message <E13aQfL-0008FB-00@kings-cross.london.uk.eu.org>you write:
  > This is a multipart MIME message.
  > 
  > --==_Exmh_11039407620
  > Content-Type: text/plain; charset=us-ascii
  > 
  > Nicholas Clark sent me the appended testcase.  With -O -fpic on arm-linux, 
  > the 
  > mainline compiler was generating bad assembly (also appended):
  > 
  > /tmp/cc7wB4Hi.s: Assembler messages:
  > /tmp/cc7wB4Hi.s:4391: Error: Illegal value for co-processor offset
  > 
  > I think this is caused by a missing check in add_minipool_backward_ref.  
  > minipool_barrier->address is, effectively, the address of the last word in 
  > the 
  > pool.  For constants of more than one word, it may be necessary to reach lo
  > wer 
  > addresses than this.
  > 
  > p. 
  > 
  > 2000-09-16  Philip Blundell  <philb@gnu.org>
  > 
  > 	* config/arm/arm.c (add_minipool_backward_ref): Check that the
  > 	entire object will be reachable in the constant pool.
Note you and Bernd posted different patches to fix problems in constant
pool generation on the ARM.  You might want to see if one of your patches
fixes both problems.

jeff


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