To solve the optimizing bug with the new Sun Pascal compiler you should request
jumbo patch 100936-01 from your Sun support center. It solved my problems!
Patch READNE
---------------------------------------------------------------------------------
Patch-ID# 100936-01
Keywords: excessive compile time external addr() function
Synopsis: Pascal3.0.1: Multiple bug fixes
Date: Mar/19/93
SunOS release: 4.1.x
Unbundled Product: SunPascal
Unbundled Release: 3.0.1 (SC2.0.1)
Topic: remove a recursive call to a deallocation function
BugId's fixed with this patch: 1110254, 1112021, 1112138
Architectures this patch is available for: sun4(all)
Other patches which conflict with this patch:
This patch obsoleted by:
Changes incorporated in this version:
Files included with this patch: pc, pc0
Problem Description:
1110254 Pascal 3.0 and 3.0.1 fail on constant declaration in module
1112021 programs with external references does not compile with -g option
1112138 excessive compile time for initialized record with addr() of function