aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>2000-07-29 19:33:55 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-07-29 19:33:55 +0000
commitb3e247b8117c62d94da6298ddfc725fe7132bbb6 (patch)
tree33ddfaf9d38cf3a88ec0f69e497676ebb4d88510
parentc161c99b4362f35c5b6b763d84ff829a7ea1e3a6 (diff)
downloadgcc-b3e247b8117c62d94da6298ddfc725fe7132bbb6.zip
gcc-b3e247b8117c62d94da6298ddfc725fe7132bbb6.tar.gz
gcc-b3e247b8117c62d94da6298ddfc725fe7132bbb6.tar.bz2
Makefile.in: Generate objc parser along with the C parser.
* Makefile.in: Generate objc parser along with the C parser. * objc/Make-lang.in: Remove generation of objc parser. From-SVN: r35330
-rw-r--r--gcc/ChangeLog26
-rw-r--r--gcc/Makefile.in17
-rw-r--r--gcc/objc/Make-lang.in19
3 files changed, 43 insertions, 19 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b61e2b2..2906118 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,29 @@
+2000-07-29 Marc Espie <espie@openbsd.org>
+
+ * Makefile.in: Generate objc parser along with the C parser.
+ * objc/Make-lang.in: Remove generation of objc parser.
+
+2000-07-27 Mark Mitchell <mark@codesourcery.com>
+
+ Put phi nodes after NOTE_INSN_BASIC_BLOCK.
+ * rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
+ * bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
+ (get_prev_bb_note): Likewise.
+ (remove_scope_notes): Likewise.
+ * flow.c (commit_one_edge_insertion): Likewise.
+ (merge_blocks_nomove): Likewise.
+ (verify_flow_info): Likewise.
+ * gcse.c (insert_insn_end_bb): Likewise.
+ * reg-stack.c (emit_swap_insn): Likewise.
+ * ssa.c (first_insn_after_basic_block_note): New function.
+ (insert_phi_node): Use it.
+ (rename_block): Likewise.
+ (eliminate_phi): Likewise.
+ (make_regs_equivalent_over_bad_edges): Likewise.
+ (make_equivalent_phi_alternatives_equivalent): Likewise.
+ (for_each_successor_phi): Likewise.
+ (convert_from_ssa): Modify phi-node deletion algorithm.
+
2000-07-29 Andreas Jaeger <aj@suse.de>
* configure.in (mips*-*-linux*): Use mips*el to check for little
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 83213d1..b2414e7 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1077,15 +1077,23 @@ c-parse.o : $(srcdir)/c-parse.c $(CONFIG_H) $(TREE_H) c-lex.h $(GGC_H) \
$(srcdir)/c-parse.h c-tree.h c-common.h input.h flags.h system.h \
toplev.h output.h
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -c $(srcdir)/c-parse.c
-$(srcdir)/c-parse.h: $(srcdir)/c-parse.c
-$(srcdir)/c-parse.c: $(srcdir)/c-parse.y
+
+$(srcdir)/c-parse.h $(srcdir)/c-parse.c $(srcdir)/objc-parse.c: \
+ $(srcdir)/c-parse.y $(srcdir)/objc-parse.y
cd $(srcdir); $(BISON) $(BISONFLAGS) -d -o c-parse.c c-parse.y
-$(srcdir)/c-parse.y: c-parse.in
+ cd $(srcdir); $(BISON) $(BISONFLAGS) -o objc-parse.c objc-parse.y
+
+$(srcdir)/c-parse.y $(srcdir)/objc-parse.y: c-parse.in
echo '/*WARNING: This file is automatically generated!*/' >tmp-c-parse.y
sed -e "/^ifobjc$$/,/^end ifobjc$$/d" \
-e "/^ifc$$/d" -e "/^end ifc$$/d" \
$(srcdir)/c-parse.in >>tmp-c-parse.y
$(SHELL) $(srcdir)/move-if-change tmp-c-parse.y $(srcdir)/c-parse.y
+ echo '/*WARNING: This file is automatically generated!*/' >tmp-objc-prs.y
+ sed -e "/^ifc$$/,/^end ifc$$/d" \
+ -e "/^ifobjc$$/d" -e "/^end ifobjc$$/d" \
+ $(srcdir)/c-parse.in >>tmp-objc-prs.y
+ $(SHELL) $(srcdir)/move-if-change tmp-objc-prs.y $(srcdir)/objc-parse.y
$(srcdir)/c-gperf.h: c-parse.gperf
gperf -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -G -N is_reserved_word \
@@ -2186,6 +2194,7 @@ distclean: clean $(INTL_DISTCLEAN) lang.distclean
-rm -f gthr-default.h
-rm -f */stage1 */stage2 */stage3 */stage4 */include
-rm -f c-parse.output
+ -rm -f objc-parse.output
-rm -f *.asm
-rm -f float.h
-rm -f site.exp site.bak testsuite/site.exp testsuite/site.bak
@@ -2221,6 +2230,8 @@ maintainer-clean:
$(MAKE) INTL_DISTCLEAN= INTL_CLEAN= INTL_MOSTLYCLEAN= \
intl.maintainer-clean lang.maintainer-clean distclean
-rm -f c-parse.y c-gperf.h
+ -rm -f objc-parse.y
+ -rm -f objc-parse.c objc-parse.output
-rm -f c-parse.c c-parse.h c-parse.output TAGS
-rm -f cpp.info* cpp.??s cpp.*aux
-rm -f gcc.info* gcc.??s gcc.*aux
diff --git a/gcc/objc/Make-lang.in b/gcc/objc/Make-lang.in
index 089f714..636da34 100644
--- a/gcc/objc/Make-lang.in
+++ b/gcc/objc/Make-lang.in
@@ -64,25 +64,15 @@ cc1obj$(exeext): $(P) $(OBJS) $(OBJC_OBJS) $(LIBDEPS)
# Objective C language specific files.
-objc-parse.o : $(srcdir)/objc/objc-parse.c \
+objc-parse.o : $(srcdir)/objc-parse.c \
$(CONFIG_H) $(TREE_H) $(srcdir)/toplev.h $(srcdir)/ggc.h \
$(srcdir)/c-lex.h $(srcdir)/c-tree.h $(srcdir)/c-common.h \
$(srcdir)/input.h $(srcdir)/flags.h $(srcdir)/output.h \
$(srcdir)/objc/objc-act.h system.h
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -I$(srcdir)/objc \
- -c $(srcdir)/objc/objc-parse.c
+ -c $(srcdir)/objc-parse.c
-$(INTL_TARGETS): $(srcdir)/objc/objc-parse.c
-$(srcdir)/objc/objc-parse.c : $(srcdir)/objc/objc-parse.y
- cd $(srcdir)/objc; \
- $(BISON) $(BISONFLAGS) -o objc-parse.c objc-parse.y
-
-$(srcdir)/objc/objc-parse.y: $(srcdir)/c-parse.in
- echo '/*WARNING: This file is automatically generated!*/' >tmp-objc-prs.y
- sed -e "/^ifc$$/,/^end ifc$$/d" \
- -e "/^ifobjc$$/d" -e "/^end ifobjc$$/d" \
- $(srcdir)/c-parse.in >>tmp-objc-prs.y
- $(SHELL) $(srcdir)/move-if-change tmp-objc-prs.y $(srcdir)/objc/objc-parse.y
+$(INTL_TARGETS): $(srcdir)/objc-parse.c
objc-act.o : $(srcdir)/objc/objc-act.c \
$(CONFIG_H) $(TREE_H) $(RTL_H) system.h \
@@ -129,11 +119,8 @@ objc.clean: objc.mostlyclean
objc.distclean:
-rm -f objc/Makefile objc/Make-host objc/Make-target
-rm -f objc/config.status objc/config.cache
- -rm -f objc-parse.output
objc.extraclean:
objc.maintainer-clean:
- -rm -f objc/objc-parse.y
- -rm -f objc/objc-parse.c objc/objc-parse.output
#
# Stage hooks: