rs6000: fix PTR_SIZE in rs6000.c

The recent change to rs6000.c for DWARF in AIX references the macro
PTR_SIZE that only is defined in dwarf2out.c.  This patch changes the
reference to the equivalent POINTER_SIZE_UNITS defined in defaults.h.

gcc/ChangeLog:

	* config/rs6000/rs6000.c (rs6000_option_override_internal):
	Change PTR_SIZE to POINTER_SIZE_UNITS.
This commit is contained in:
David Edelsohn 2020-12-04 14:29:46 -05:00
parent eb79f4db49
commit b96802994a

View file

@ -3867,7 +3867,7 @@ rs6000_option_override_internal (bool global_init_p)
#ifdef XCOFF_DEBUGGING_INFO
/* For AIX default to 64-bit DWARF. */
if (!global_options_set.x_dwarf_offset_size)
dwarf_offset_size = PTR_SIZE;
dwarf_offset_size = POINTER_SIZE_UNITS;
#endif
/* Handle explicit -mno-{altivec,vsx,power8-vector,power9-vector} and turn