aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-10 05:31:33 +0000
committerRichard Stallman <rms@gnu.org>1993-10-10 05:31:33 +0000
commit02490c738e2fa78912d202e20c16d07f677fcb69 (patch)
treeed3d914440f8cc71365368d0d05847abad6f065f /gcc
parent4b723aceca48f4f15b911c0989a6629c2f632960 (diff)
downloadgcc-02490c738e2fa78912d202e20c16d07f677fcb69.zip
gcc-02490c738e2fa78912d202e20c16d07f677fcb69.tar.gz
gcc-02490c738e2fa78912d202e20c16d07f677fcb69.tar.bz2
Move alloca handling before bytecode construction so that VAX C won't need two different values for LIBS.
Move alloca handling before bytecode construction so that VAX C won't need two different values for LIBS. Eliminate a comment about make-like functionality that referred to a capability which has not been implemented. From-SVN: r5706
Diffstat (limited to 'gcc')
-rw-r--r--gcc/make-cc1.com34
1 files changed, 13 insertions, 21 deletions
diff --git a/gcc/make-cc1.com b/gcc/make-cc1.com
index 7d4350b..edbec28 100644
--- a/gcc/make-cc1.com
+++ b/gcc/make-cc1.com
@@ -150,6 +150,18 @@ $ if DO_DEBUG.eq.1 then LDFLAGS :='LDFLAGS'/debug
$!
$if DO_LINK.eq.1 then goto compile_cc1
$!
+$! Build alloca if necessary (in 'LIBS for use with VAXC)
+$!
+$ if f$locate("alloca.obj",f$edit(LIBS,"lowercase")).ge.f$length(LIBS) then -
+ goto skip_alloca
+$ if f$search("alloca.obj").nes."" then - !does .obj exist? is it up to date?
+ if f$cvtime(f$file_attributes("alloca.obj","RDT")).gts.-
+ f$cvtime(f$file_attributes("alloca.c","RDT")) then goto skip_alloca
+$set verify
+$ 'CC 'CFLAGS /define="STACK_DIRECTION=(-1)" alloca.c
+$!'f$verify(0)
+$skip_alloca:
+$!
$if DO_BC.eq.1
$ THEN
$ call compile bi_all.opt ""
@@ -170,18 +182,6 @@ $!
$if DO_INDEPENDENT.eq.1
$ THEN
$!
-$! Build alloca if necessary (in 'LIBS for use with VAXC)
-$!
-$ if f$locate("alloca.obj",f$edit(LIBS,"lowercase")).ge.f$length(LIBS) then -
- goto skip_alloca
-$ if f$search("alloca.obj").nes."" then - !does .obj exist? is it up to date?
- if f$cvtime(f$file_attributes("alloca.obj","RDT")).gts.-
- f$cvtime(f$file_attributes("alloca.c","RDT")) then goto skip_alloca
-$set verify
-$ 'CC 'CFLAGS /define="STACK_DIRECTION=(-1)" alloca.c
-$!'f$verify(0)
-$skip_alloca:
-$!
$! First build a couple of header files from the machine description
$! These are used by many of the source modules, so we build them now.
$!
@@ -359,10 +359,6 @@ $! name of the insn-* file to generate. The second argument contains a
$! list of any other object modules which must be linked to the gen*.c
$! program.
$!
-$! If a previous version of insn-* exists, it is compared to the new one,
-$! and if it has not changed, then the new one is discarded. This is
-$! done so that make like programs do not get thrown off.
-$!
$generate:
$subroutine
$if f$extract(0,5,p1).nes."INSN-"
@@ -385,13 +381,9 @@ $endsubroutine
$!
$! This subroutine generates the bc-* files. The first argument is the
$! name of the bc-* file to generate. The second argument contains a
-$! list of any other object modules which must be linked to the gen*.c
+$! list of any other object modules which must be linked to the bi*.c
$! program.
$!
-$! If a previous version of bc-* exists, it is compared to the new one,
-$! and if it has not changed, then the new one is discarded. This is
-$! done so that make like programs do not get thrown off.
-$!
$bc_generate:
$subroutine
$if f$extract(0,3,p1).nes."BC-"