Arend Bayer [Sun, 16 Feb 2003 08:28:04 +0000 (08:28 +0000)]
fold-const.c (extract_muldiv_1): Rename from extract_muldiv; rearrange mult arguments for less recursion.
* fold-const.c (extract_muldiv_1): Rename from extract_muldiv;
rearrange mult arguments for less recursion.
(extract_muldiv): New. Prevent runaway recursion.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r62967
Joel Sherrill [Fri, 14 Feb 2003 17:51:45 +0000 (17:51 +0000)]
Make-lang.in: Revert change of 2003-01-29.
2003-02-14 Joel Sherrill <joel@OARcorp.com>
* Make-lang.in: Revert change of 2003-01-29. Continue to
build gnatpsta and gnatpsys when cross.
* Makefile.in: Revert change of 2003-01-29. Continue to use
LIBGCC2_CFLAGS not TARGET_LIBGCC2_CFLAGS.
Bob Wilson [Tue, 11 Feb 2003 22:18:53 +0000 (22:18 +0000)]
xtensa.md (set_frame_ptr): Change rtl to set reg a7.
* config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7.
* config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP
as a SET pattern.
Jason Merrill [Mon, 10 Feb 2003 16:18:34 +0000 (11:18 -0500)]
re PR c++/8674 (ICE in cp_expr_size, at cp/cp-lang.c:307)
* call.c (call_builtin_trap): New fn.
(convert_arg_to_ellipsis): Use it. Downgrade error to warning.
(build_call): Don't set current_function_returns_abnormally outside
a function.
PR c++/8674
* call.c (build_over_call): Check specifically for TARGET_EXPR
when eliding.
Bob Wilson [Wed, 5 Feb 2003 18:02:27 +0000 (18:02 +0000)]
xtensa.c (order_regs_for_local_alloc): Order the coprocessor registers before floating-point registers.
* config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
coprocessor registers before floating-point registers.
* config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers
to account for a previously removed register.
(SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM):
Delete unused macros.
2003-02-03 Eric Botcazou <ebotcazou@libertysurf.fr>
* cfgcleanup.c (try_forward_edges): Check for null insn.
2003-02-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
Eric Botcazou <ebotcazou@libertysurf.fr>
Backport following patches:
2002-09-16 Richard Henderson <rth@redhat.com>
* emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
as well as OFFSET for BITPOS.
2002-09-08 Jan Hubicka <jh@suse.cz>
* emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
handling.
2002-07-29 Richard Henderson <rth@redhat.com>
* emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
set_mem_attributes and add BITPOS argument. Subtract it from
OFFSET when same is adjusted.
(set_mem_attributes): New wrapper function.
* expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
remove offset adjustment hack.
* expr.h (set_mem_attributes_minus_bitpos): Declare.
2002-07-25 Richard Henderson <rth@redhat.com>
* emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
in ARRAY_REF of DECL_P case.
2002-07-21 Richard Henderson <rth@redhat.com>
* emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
when flag_argument_noalias == 2.
* alias.c (nonoverlapping_memrefs_p): Handle that.
* print-rtl.c (print_mem_expr): Likewise.
2002-06-03 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
* alias.c (nonoverlapping_memrefs_p): Fix off by one error.
pa.c (pa_output_function_prologue, [...]): Move updating of total_code_bytes from prologue to epilogue.
* pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
updating of total_code_bytes from prologue to epilogue.
(get_last_nonnote_insn): New function.
PR target/9316
* config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
* config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC.
* config/rs6000/t-rtems: New file. multilib variants to match OS.
* config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of
rs6000/t-ppcgas so we get the desired multilibs.
Joel Sherrill [Wed, 29 Jan 2003 17:34:09 +0000 (17:34 +0000)]
5rosinte.ads: Add SIGXCPU.
2003-01-29 Joel Sherrill <joel@OARcorp.com>
* 5rosinte.ads: Add SIGXCPU.
* 5rtpopsp.adb: New file.
* Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
* Makefile.in: Recognize more RTEMS targets and add the RTEMS
specific file 5rtpopsp.adb.
* adaint.h: Add include of <stdio.h> when target is RTEMS. This
is likely needed for all newlib targets.
* init.c: Add RTEMS specific version of __gnat_initialize().
Joel Sherrill [Wed, 29 Jan 2003 15:55:28 +0000 (15:55 +0000)]
re PR target/9295 ([mips-rtems] config/mips/rtems.h init/fini issue)
2003-01-13 Joel Sherrill <joel@OARcorp.com>
* config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
RTEMS code knows which C++ initialization style the toolset
configuration is using. This was tracked as PR9295.
Joel Sherrill [Wed, 29 Jan 2003 15:52:58 +0000 (15:52 +0000)]
re PR bootstrap/9293 ([m68k-elf/rtems] config/m68k/t-crtstuff bug)
2003-01-29 Joel Sherrill <joel@OARcorp.com>
* config/m68k/t-crtstuff: Replace spaces with tabs, add
$(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
This issue was tracked as PR9293.
Joel Sherrill [Wed, 29 Jan 2003 15:52:11 +0000 (15:52 +0000)]
re PR bootstrap/9292 (hppa1.1-rtems configurery problems)
2003-01-29 Joel Sherrill <joel@OARcorp.com>
* config.gcc (hppa1.1-rtems): Did not include t-rtems nor enable
RTEMS threads.
* config/pa/rtems.h (LIB_SPEC): Use -N when linking.
This issue was tracked as PR9292.
Alexandre Oliva [Tue, 28 Jan 2003 22:02:54 +0000 (22:02 +0000)]
Make-lang.in (ada.install-common): Let $(DESTDIR)$(bindir) be created if necessary.
* Make-lang.in (ada.install-common): Let $(DESTDIR)$(bindir)
be created if necessary. Remove erroneous and redundant
gnatchop installation commands. Test for gnatdll before
attempting to install it. Use initial tab instead of spaces
in continuation lines.
(ada.uninstall): Uninstall gnat instead of gnatcmd.
Also uninstall gnatfind, gnatxref, gnatlbr, and gnatdll
from all plausible locations.
Alexandre Oliva [Tue, 28 Jan 2003 22:01:59 +0000 (22:01 +0000)]
Make-lang.in (ada.install-common, [...]): Prepend $(DESTDIR) to the destination directory in all (un)installation commands.
* Make-lang.in (ada.install-common, ada.uninstall):
Prepend $(DESTDIR) to the destination directory in all
(un)installation commands.
* Makefile.in (install-gnatlib): Ditto. Rewrite $(LN)
commands to support DESTDIR with "ln" as well as with
"ln -s".
Make-lang.in (ada.install-common, [...]): Prepend $(DESTDIR) to the destination directory in all (un)installation commands.
* Make-lang.in (ada.install-common, ada.uninstall):
Prepend $(DESTDIR) to the destination directory in all
(un)installation commands.
* Makefile.in (install-gnatlib): Ditto. Rewrite $(LN)
commands to support DESTDIR with "ln" as well as with
"ln -s".