Commit 4979c2a9 by Alexandre Oliva Committed by Alexandre Oliva

sh.h (OVERRIDE_OPTIONS): Don't disable function CSE unless generating PIC.

* config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
CSE unless generating PIC.

From-SVN: r36226
parent 71105114
2000-09-07 Alexandre Oliva <aoliva@redhat.com> 2000-09-07 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
CSE unless generating PIC.
* config/sh/sh.md (symPLT_label2reg): Force the initialization of * config/sh/sh.md (symPLT_label2reg): Force the initialization of
the PIC register. the PIC register.
......
...@@ -266,7 +266,7 @@ do { \ ...@@ -266,7 +266,7 @@ do { \
else \ else \
flag_omit_frame_pointer = 0; \ flag_omit_frame_pointer = 0; \
\ \
if (! TARGET_PREFERGOT) \ if (flag_pic && ! TARGET_PREFERGOT) \
flag_no_function_cse = 1; \ flag_no_function_cse = 1; \
\ \
/* Never run scheduling before reload, since that can \ /* Never run scheduling before reload, since that can \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment