This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [CFT] solaris and tru64 renaming pragmas


Richard Henderson writes:

> As yet I've only tried it on the attached tests, but will
> be starting a solaris bootstrap shortly.  I no longer have
> access to tru64 machines, so I can't test that at all...

Unfortunately, a bootstrap on alpha-dec-osf5.1 fails early compiling rtl.c
with the stage1 compiler:

stage1/xgcc -Bstage1/ -B/vol/gcc/share/alpha-dec-osf5.1/bin/ -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/vol/gnu/src/gcc/gcc-3.1-branch-dist/gcc -I/vol/gnu/src/gcc/gcc-3.1-branch-dist/gcc/. -I/vol/gnu/src/gcc/gcc-3.1-branch-dist/gcc/config -I/vol/gnu/src/gcc/gcc-3.1-branch-dist/gcc/../include /vol/gnu/src/gcc/gcc-3.1-branch-dist/gcc/rtl.c -o rtl.o
as0: Error: /vol/gnu/src/gcc/gcc-3.1-branch-dist/gcc/rtl.c, line 6: invalid syntax in statement
      jsr $26,*fancy_abort
as0: Error: /vol/gnu/src/gcc/gcc-3.1-branch-dist/gcc/rtl.c, line 6: invalid syntax in statement
      jsr $26,*fancy_abort

Comparing rtl.s with and without this patch, I see the following primary
differences:

--- /vol/gcc/obj/gcc-3.1-20020313/5.1-cc-java/gcc/rtl.s	Thu Mar 21 00:46:43 2002
+++ rtl.s	Thu Mar 21 01:10:08 2002
@@ -2046,7 +2046,7 @@
 	lda $30,32($30)
 	ret $31,($26),1
 	.end rtvec_alloc
- #.stabs	"rtvec_alloc:F28",36,0,306,rtvec_alloc
+ #.stabs	"*rtvec_alloc:F28",36,0,306,rtvec_alloc
  #.stabs	"n:P1",64,0,305,10
  #.stabs	"rt:r28",64,0,307,9
  #.stabn	192,0,0,$LBB2
@@ -2105,7 +2105,7 @@
 	lda $30,16($30)
 	ret $31,($26),1
 	.end rtx_alloc
- #.stabs	"rtx_alloc:F25",36,0,323,rtx_alloc
+ #.stabs	"*rtx_alloc:F25",36,0,323,rtx_alloc
  #.stabs	"code:P260",64,0,322,9
  #.stabs	"rt:r25",64,0,324,2
  #.stabs	"n:r1",64,0,325,16
@@ -2548,10 +2548,10 @@
 	lda $16,$LC307
 	lda $17,440($31)
 	lda $18,$LC308
-	jsr $26,fancy_abort
+	jsr $26,*fancy_abort
 $LBE6:
 	.end copy_rtx
- #.stabs	"copy_rtx:F25",36,0,346,copy_rtx
+ #.stabs	"*copy_rtx:F25",36,0,346,copy_rtx
  #.stabs	"orig:P25",64,0,345,13
  #.stabs	"copy:r25",64,0,347,11
  #.stabs	"i:r1",64,0,348,15
@@ -2723,7 +2723,7 @@
 	lda $30,32($30)
 	ret $31,($26),1
 	.end shallow_copy_rtx
- #.stabs	"shallow_copy_rtx:F25",36,0,451,shallow_copy_rtx
+ #.stabs	"*shallow_copy_rtx:F25",36,0,451,shallow_copy_rtx
  #.stabs	"orig:P25",64,0,450,10
  #.stabs	"i:r1",64,0,452,5
  #.stabs	"code:r260",64,0,453,9
@@ -2799,7 +2799,7 @@
 	br $31,$L64
 $LBE9:
 	.end get_mode_alignment
- #.stabs	"get_mode_alignment:F4",36,0,475,get_mode_alignment
+ #.stabs	"*get_mode_alignment:F4",36,0,475,get_mode_alignment
  #.stabs	"mode:P258",64,0,474,16
  #.stabs	"alignment:r4",64,0,476,0
  #.stabn	192,0,0,$LBB8
@@ -3222,10 +3222,10 @@
 	lda $16,$LC307
 	lda $17,611($31)
 	lda $18,$LC309
-	jsr $26,fancy_abort
+	jsr $26,*fancy_abort
 $LBE11:
 	.end rtx_equal_p
- #.stabs	"rtx_equal_p:F1",36,0,504,rtx_equal_p
+ #.stabs	"*rtx_equal_p:F1",36,0,504,rtx_equal_p
  #.stabs	"x:P25",64,0,503,9
  #.stabs	"y:P25",64,0,503,10
  #.stabs	"i:r1",64,0,505,11

	Rainer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]