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
This commit is contained in:
Alexandre Oliva 2000-09-07 04:12:47 +00:00 committed by Alexandre Oliva
parent 71105114a1
commit 4979c2a9f3
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
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
the PIC register.

View File

@ -266,7 +266,7 @@ do { \
else \
flag_omit_frame_pointer = 0; \
\
if (! TARGET_PREFERGOT) \
if (flag_pic && ! TARGET_PREFERGOT) \
flag_no_function_cse = 1; \
\
/* Never run scheduling before reload, since that can \