https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103465

--- Comment #25 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> That's something I'm complete fine with ;)

Time for a promotion of UI_SEH :-)

diff --git a/gcc/coretypes.h b/gcc/coretypes.h
index 5d0fc1d915d..f6206154e1a 100644
--- a/gcc/coretypes.h
+++ b/gcc/coretypes.h
@@ -228,15 +228,17 @@ enum stack_protector {
   SPCT_FLAG_EXPLICIT = 4
 };

-/* Types of unwind/exception handling info that can be generated.  */
+/* Types of unwind/exception handling info that can be generated.
+   Note that a UI_TARGET (or larger) setting is considered to be
+   incompatible with -freorder-blocks-and-partition.  */

 enum unwind_info_type
 {
   UI_NONE,
   UI_SJLJ,
   UI_DWARF2,
-  UI_TARGET,
   UI_SEH
+  UI_TARGET,
 };

 /* Callgraph node profile representation.  */

should do the job.  Tomas, can you give it a try?

Reply via email to