OSDN Git Service

PR target/39690
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jun 2010 23:43:42 +0000 (23:43 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jun 2010 23:43:42 +0000 (23:43 +0000)
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

gcc/ChangeLog
gcc/config/pa/pa.c

index 1359a3b..6b02749 100644 (file)
@@ -1,3 +1,9 @@
+2010-06-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR target/39690
+       config/pa/pa.c (override_options): Disable
+       -freorder-blocks-and-partition.
+
 2010-06-21  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/44615
index 47486d7..5f42a1a 100644 (file)
@@ -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;