re PR target/34525 (ICE in extract_insn, at recog.c:1990 on hppa)
PR target/34525 * pa.c (legitimize_pic_address): Force function labels into memory. From-SVN: r131096
This commit is contained in:
parent
ec871836a4
commit
f946206c0e
|
@ -1,3 +1,8 @@
|
|||
2007-12-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
PR target/34525
|
||||
* pa.c (legitimize_pic_address): Force function labels into memory.
|
||||
|
||||
2007-12-19 Zdenek Dvorak <ook@ucw.cz>
|
||||
|
||||
* omp-low.c (build_omp_regions_1): Recognition of combined parallels
|
||||
|
|
|
@ -694,6 +694,10 @@ legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg)
|
|||
tmp_reg = ((reload_in_progress || reload_completed)
|
||||
? reg : gen_reg_rtx (Pmode));
|
||||
|
||||
/* Force function labels into memory. */
|
||||
if (function_label_operand (orig, mode))
|
||||
orig = force_const_mem (mode, orig);
|
||||
|
||||
emit_move_insn (tmp_reg,
|
||||
gen_rtx_PLUS (word_mode, pic_offset_table_rtx,
|
||||
gen_rtx_HIGH (word_mode, orig)));
|
||||
|
|
Loading…
Reference in New Issue