diff options
author | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-21 23:43:42 +0000 |
---|---|---|
committer | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-21 23:43:42 +0000 |
commit | 1724df0b9139d8299a2d71108a50173141b5a165 (patch) | |
tree | 7da988acc881ede5aaada485588bdaa3a1373416 /gcc/config | |
parent | 0408fd5bfc40508a29d85e92afe0075d271c33f6 (diff) | |
download | gcc-1724df0b9139d8299a2d71108a50173141b5a165.tar.gz |
PR target/39690
config/pa/pa.c (override_options): Disable
-freorder-blocks-and-partition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161121 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/pa/pa.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 47486d73ba5..5f42a1ac622 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -519,6 +519,17 @@ override_options (void) if (flag_pic == 1 || TARGET_64BIT) flag_pic = 2; + /* Disable -freorder-blocks-and-partition as we don't support hot and + cold partitioning. */ + if (flag_reorder_blocks_and_partition) + { + inform (input_location, + "-freorder-blocks-and-partition does not work " + "on this architecture"); + flag_reorder_blocks_and_partition = 0; + flag_reorder_blocks = 1; + } + /* We can't guarantee that .dword is available for 32-bit targets. */ if (UNITS_PER_WORD == 4) targetm.asm_out.aligned_op.di = NULL; |