aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2009-10-20 15:17:30 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2009-10-20 15:17:30 +0000
commit70041f8a33df7201dfb236cd0f37d16b390a94fa (patch)
tree8e247b02aabba32588f4c3702ce42ad11467a7d1
parent8ee2bec99eaebb6d0b82a6bb9fdb1f5ad311a4c1 (diff)
downloadgcc-70041f8a33df7201dfb236cd0f37d16b390a94fa.zip
gcc-70041f8a33df7201dfb236cd0f37d16b390a94fa.tar.gz
gcc-70041f8a33df7201dfb236cd0f37d16b390a94fa.tar.bz2
re PR target/39247 (FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE)
PR target/39247 * arm.c (arm_override_options): Forcibly disable hot/cold block partitioning. From-SVN: r153018
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/arm/arm.c10
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 812dd14..2a3bda1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2009-10-20 Richard Earnshaw <rearnsha@arm.com>
+
+ PR target/39247
+ * arm.c (arm_override_options): Forcibly disable hot/cold block
+ partitioning.
+
2009-10-20 Alexandre Oliva <aoliva@redhat.com>
PR debug/41739
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index e013dc2..93c3590 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -1864,6 +1864,16 @@ arm_override_options (void)
max_insns_skipped = 3;
}
+ /* Hot/Cold partitioning is not currently supported, since we can't
+ handle literal pool placement in that case. */
+ if (flag_reorder_blocks_and_partition)
+ {
+ inform (input_location,
+ "-freorder-blocks-and-partition not supported on this architecture");
+ flag_reorder_blocks_and_partition = 0;
+ flag_reorder_blocks = 1;
+ }
+
/* Ideally we would want to use CFI directives to generate
debug info. However this also creates the .eh_frame
section, so disable them until GAS can handle