Patch-ID# 101505-02
Keywords: iropt, core dumped, -parallel SC3.0
Synopsis: SPARCcompilers 3.0: iropt Segmentation Fault when -parallel is used
Date: May/23/94

Solaris Release: 2.2 2.3

SunOS Release: 5.2 5.3

Unbundled Product: SC3.0, SPARCompilers 3.0

Unbundled Release: 3.0

Topic: This patch will fix certain compilation problems with huge
       programs, in which the compiler will generate an error message
       and terminate.  This patch will also fix a MP Fortran
       compilation problem. The compiler core dumps sometimes when
       -parallel is used.

BugId's fixed with this patch: 1159485 1163694

Changes incorporated in this version:  1163694

Relevant Architectures: sparc
NOTE: ('arch -k' values if kernel specific): sun4*

Other patches which conflict with this patch: 

This patch obsoleted by: 

Files included with this patch: cg, iropt

Problem Description: 

(101501-01)

This bug will normally show up compiling large programs in C, C++, and
FORTRAN.  The symptom will be a message of the form:

	cg: assertion failed in file ../src/asm+/asmblock.cc at line 81
	cg: Re-use of label
	cg: 3 warnings, 1 errors

Because the source programs are large, temporary labels generated by
the various phases of the compiler start to collide, resulting in the
re-use of labels. An assertion check at the end of the compilation
phase causes the compiler to abort.

(101501-02)

iropt core dumps sometimes when -parallel is used.

/opt/SUNWspro/bin/../SC3.0/bin/f77pass1 -V -Nq750 -ptk "-v -c -O -Nq750
-cg92 -PIC -parallel " -K -O3 -parallel -pexplicit hl9904.f
/tmp/f77pass1.28460.s.6.s /tmp/f77pass1.28460.i.7.ir
/tmp/f77pass1.28460.d.8.s
f77pass1: SC3.0 15 Dec 1993 Sun FORTRAN 77 3.0
hl9904.f:
	hl9904:
/opt/SUNWspro/bin/../SC3.0/bin/iropt -V -O3 -depend -parallel -k -F -o /tmp/iropt.28460.9.ir /tmp/f77pass1.28460.i.7.ir
iropt: SC3.0 15 Dec 1993
f77: Fatal error in iropt: Segmentation Fault (core dumped)
rm /tmp/f77pass1.28460.i.7.ir


Other patches included with this patch: 

     Patch id  binaries    Synopsis 
     ========  ========    ======== 
     101505-01 cg, iropt   compilation problems with huge programs

Patch Installation Instructions: 
-------------------------------- 
Generic 'installpatch' and 'backoutpatch' scripts are provided
within each patch package with instructions added in this section.
Other specific or unique installation instructions may also be
necessary and should be described below.

Special Install Instructions: 
----------------------------- 

None.



