[pushed] Darwin, powerpc: Fix bootstrap.

Message ID 20240112140658.62598-1-iain@sandoe.co.uk
State Accepted
Headers
Series [pushed] Darwin, powerpc: Fix bootstrap. |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Iain Sandoe Jan. 12, 2024, 2:06 p.m. UTC
  Tested on powerpc-darwin9, pushed to trunk, thanks,
Iain

--- 8< ---

Recent changes to the member names of the diagnostics class missed one case in
the Darwin PowerPC host code.  Fixed thus.

gcc/ChangeLog:

	* config/rs6000/host-darwin.cc (segv_handler): Use the revised
	diagnostics class member name for abort of error.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
---
 gcc/config/rs6000/host-darwin.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gcc/config/rs6000/host-darwin.cc b/gcc/config/rs6000/host-darwin.cc
index 691dcb39b6d..e0001776339 100644
--- a/gcc/config/rs6000/host-darwin.cc
+++ b/gcc/config/rs6000/host-darwin.cc
@@ -119,7 +119,7 @@  segv_handler (int sig ATTRIBUTE_UNUSED,
 	      }
 	}
       
-      if (global_dc->abort_on_error)
+      if (global_dc->m_abort_on_error)
 	fancy_abort (__FILE__, __LINE__, __FUNCTION__);
 
       exit (FATAL_EXIT_CODE);