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".
* Make-lang.in (c++.install-common, c++.install-man)
(c++.uninstall): Prepend $(DESTDIR) to destination paths
in all (un)installation commands.
(c++.install-common): 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".
* Make-lang.in (f77.install-common, f77.install-info)
(f77.install-man, f77.uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
* Make-lang.in (java.install-common, java.uninstall)
(java.install-info, java.install-man): Prepend $(DESTDIR)
to destination paths in all (un)installation commands.
* Makefile.in (mkinstalldirs): New variable.
(FLAGS_TO_PASS): Also pass DESTDIR.
(install_to_libdir, install_to_tooldir): Add $(mkinstalldirs)
command. Prepend $(DESTDIR) to destination paths.
Cd to destination directory for post-install work.
* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
(install-libs, install-headers): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
Makefile.am (install-data-local): Prepend $(DESTDIR) to destination paths in all (un)installation commands.
* include/Makefile.am (install-data-local): Prepend
$(DESTDIR) to destination paths in all (un)installation
commands. Use ${c_base_builddir} and ${std_builddir}
as destination subdirectories to achieve consistency with
preceding mkinstalldirs commands. No effect because both
variables contain "." only.
* include/Makefile.in: Regenerate.
Nathan Sidwell [Tue, 28 Jan 2003 17:25:50 +0000 (17:25 +0000)]
re PR c++/9433 (SegFault in dynamic_cast)
libstdc++-v3:
PR c++/9433
* libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
with bases which are very ambiguous.
gcc/testsuite:
PR c++/9433
* g++.dg/abi/dcast1.C: New test.
pa.md (call_internal_reg, [...]): If TARGET_GAS and not TARGET_SOM...
* pa.md (call_internal_reg, call_value_internal_reg): If TARGET_GAS and
not TARGET_SOM, use $PIC_pcrel$0 rather than symbol difference for long
PIC calls to $$dyncall.
* pa.c (output_call): Likewise.
Mark Mitchell [Thu, 23 Jan 2003 00:30:27 +0000 (00:30 +0000)]
re PR c++/9328 (ICE with templates and namespace std members)
PR c++/9328
* g++.dg/ext/typeof3.C: New test.
PR c++/9328
* error.c (dump_decl): For an OVERLOAD, just print the name of the
function; it doesn't make sense to try to print its type.
* semantics.c (finish_typeof): Issue errors about invalid uses.
Josef Zlomek [Fri, 10 Jan 2003 13:46:19 +0000 (14:46 +0100)]
jump.c (next_nonnote_insn_in_loop): New function.
* jump.c (next_nonnote_insn_in_loop): New function.
(copy_loop_headers): Use next_nonnote_insn_in_loop instead of
next_nonnote_insn.
(duplicate_loop_exit_test). Likewise.
Josef Zlomek [Fri, 10 Jan 2003 13:36:19 +0000 (14:36 +0100)]
Makefile.in (optabs.o): Add dependencies on basic-block.h and hard-reg-set.h.
* Makefile.in (optabs.o): Add dependencies on basic-block.h and
hard-reg-set.h.
* basic-block.h (control_flow_insn_p): Fuction was exported.
* cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
* optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
notes only when the region is contained in a single basic block.
Eric Botcazou [Thu, 9 Jan 2003 13:18:46 +0000 (14:18 +0100)]
re PR inline-asm/8832 (traditional "asm volatile" code is illegally optimized)
PR inline-asm/8832
* tree.h (expand_asm): New prototype.
* stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
to do so.
* c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
down to expand_asm.
* c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
* rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
(volatile_refs_p) [ASM_INPUT]: Likewise.
(side_effects_p) [ASM_INPUT]: Likewise.
Eric Botcazou [Thu, 9 Jan 2003 09:33:04 +0000 (10:33 +0100)]
re PR c/8032 (GCC >= 3.0 incorrectly initializes static structs in the presence of flexible arrays)
PR c/8032
* c-typeck.c (process_init_element) [RECORD_TYPE]: For
an empty element, do not advance the pointer to unfilled
fields if there are pending initializers.