re PR rtl-optimization/15717 (Error: can't resolve `L0' {*ABS* section} - `xx' {*UND* section})
PR rtl-optimization/15717 * config/i386/i386.c (legitimate_constant_p): Do not allow x - symbol_ref. From-SVN: r82755
This commit is contained in:
parent
59068a8973
commit
d599f32955
|
@ -1,3 +1,9 @@
|
|||
2004-06-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
|
||||
|
||||
PR rtl-optimization/15717
|
||||
* config/i386/i386.c (legitimate_constant_p): Do not allow
|
||||
x - symbol_ref.
|
||||
|
||||
2004-06-08 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* gimplify.c (copy_if_shared_r): Revert:
|
||||
|
|
|
@ -5823,7 +5823,8 @@ legitimate_constant_p (rtx x)
|
|||
&& tls_symbolic_operand (XEXP (inner, 0), Pmode))
|
||||
return false;
|
||||
|
||||
if (GET_CODE (inner) == PLUS)
|
||||
if (GET_CODE (inner) == PLUS
|
||||
|| GET_CODE (inner) == MINUS)
|
||||
{
|
||||
if (GET_CODE (XEXP (inner, 1)) != CONST_INT)
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue