davem [Mon, 22 Apr 2002 01:25:11 +0000 (01:25 +0000)]
2002-04-21 David S. Miller <davem@redhat.com>
* config/sparc/sparc.md (set then compare DI mode peephole2): Fix
compare mode in output RTL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52597
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 22 Apr 2002 01:19:06 +0000 (01:19 +0000)]
* gcc.dg/
20020415-1.c: Expect warning for unsupported -fpic on
cris-*-elf* and mmix-*-*.
* g77.f-torture/execute/io0.x: xfail for cris-*-elf.
* g77.f-torture/execute/io1.x, g77.f-torture/execute/
20001201.x,
g77.f-torture/execute/6367.x, g77.f-torture/execute/u77-test.x:
Ditto.
* gcc.dg/wint_t-1.c: Mark excess errors for cris-*-elf.
* gcc.dg/wchar_t-1.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52595
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 22 Apr 2002 01:01:12 +0000 (01:01 +0000)]
* config/rs6000/rs6000.c (rs6000_override_options): Correct
style and formatting of previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52593
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Mon, 22 Apr 2002 00:21:52 +0000 (00:21 +0000)]
* config/rs6000/rs6000.c (rs6000_override_options): Always clear
flag_pic for ABI_AIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52591
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 21 Apr 2002 20:32:48 +0000 (20:32 +0000)]
* g++.dg/opt/cleanup1.C (C::C()): Initialize member c.
Clarify comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52588
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 21 Apr 2002 18:46:42 +0000 (18:46 +0000)]
* cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
* cppfiles.c (read_include_file): Similarly.
* cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
uxstrdup ustrchr, ufputs): Similarly.
* cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
* cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
cpp_ideq, parse_identifier, parse_number): Similarly.
* cpplib.c (struct directive, dequote_string, D, run_directive,
cpp_push_buffer): Similarly.
* cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
_cpp_create_definition, check_trad_stringification,
cpp_macro_definition): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52587
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 21 Apr 2002 16:17:55 +0000 (16:17 +0000)]
* cppmacro.c (funlike_invocation_p): Don't step back over CPP_EOF.
testsuite:
* gcc.dg/cpp/endif.h, gcc.dg/cpp/endif.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52586
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Sun, 21 Apr 2002 16:11:59 +0000 (16:11 +0000)]
2002-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/
20000906-1.x: Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52584
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 21 Apr 2002 13:59:15 +0000 (13:59 +0000)]
* gnat_rm.texi: Use @ifnottex instead of @ifinfo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52582
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 21 Apr 2002 13:50:09 +0000 (13:50 +0000)]
* update_web_docs (MANUALS): Remove chill. Add gnat_rm.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52581
138bc75d-0d04-0410-961f-
82ee72b054a4
fw [Sun, 21 Apr 2002 12:56:01 +0000 (12:56 +0000)]
* gnat_ug.texi: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52580
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sun, 21 Apr 2002 12:35:04 +0000 (12:35 +0000)]
* mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
* libjava.mauve/xfail: Expect failures for PR java/6391 and
libgcj/6389.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52577
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sun, 21 Apr 2002 09:37:49 +0000 (09:37 +0000)]
2002-04-19 David S. Miller <davem@redhat.com>
* include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
arg.
(MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
(INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
on Sparc too.
* include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
for 64-bit sparc.
(MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
* sysdeps/sparc/locks.h: New file.
* configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
on all sparc Solaris configurations. Set to
include/dwarf2-signal.h on sparc Linux.
* configure: Regenerate
* configure.host (can_unwind_signal): sparc*-linux* can do it now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52575
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 21 Apr 2002 07:16:57 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52573
138bc75d-0d04-0410-961f-
82ee72b054a4
fw [Sun, 21 Apr 2002 07:10:12 +0000 (07:10 +0000)]
* gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
instead of gfdl.texi
* xgnatug.adb, ug_words: New files.
* Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
gnat_rm and gnat-style manuals.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52569
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 21 Apr 2002 05:04:01 +0000 (05:04 +0000)]
* config/rs6000/rs6000.c (output_profile_hook): Do not increment
labelno.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52565
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sun, 21 Apr 2002 04:15:29 +0000 (04:15 +0000)]
2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6360
* include/bits/istream.tcc (istream::ignore): Streamline, use
delimiter as is.
* include/bits/streambuf.tcc: Use this->gptr.
* testsuite/27_io/istream_unformatted.cc (test08): Add test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52563
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 20 Apr 2002 20:44:10 +0000 (20:44 +0000)]
* doc/invoke.texi: Remove Chill references.
* doc/gcc.texi: Update last modified date.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52561
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 20 Apr 2002 20:42:51 +0000 (20:42 +0000)]
Remove Chill
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52560
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 20 Apr 2002 20:21:35 +0000 (20:21 +0000)]
* config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
push and pop. Replace add.l with add.w.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52559
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 20 Apr 2002 18:01:53 +0000 (18:01 +0000)]
* config/h8300/lib1funcs.asm (___mulsi3): Use hardware
multiply instructions for H8/300H case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52558
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 20 Apr 2002 16:02:36 +0000 (16:02 +0000)]
* config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
Bum three instructions from each routine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52557
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sat, 20 Apr 2002 13:35:28 +0000 (13:35 +0000)]
2002-04-20 Toon Moene <toon@moene.indiv.nluug.nl>
* root.texi: Remove variable version-g77.
* g77.texi: Remove the single use of that variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52556
138bc75d-0d04-0410-961f-
82ee72b054a4
billingd [Sat, 20 Apr 2002 13:23:01 +0000 (13:23 +0000)]
2002-04-20 David.Billinghurst <David.Billinghurst@riotinto.com>
* g77.dg/f77-edit-i-in.f: Restore missing { dg-do run }
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52555
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 20 Apr 2002 09:14:37 +0000 (09:14 +0000)]
* Makefile.in: Update.
* decl.c (push_c_function_context, pop_c_function_context,
mark_c_function_context): Rename for consistency.
* c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
* c-tree.h (push_c_function_context, pop_c_function_context,
mark_c_function_context): Rename for consistency.
* c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
* function.c (init_lang_status, save_lang_status,
restore_lang_status, mark_lang_status, free_lang_status):
Move to langhooks.h.
(push_function_context_to, pop_function_context_from,
free_after_parsing, prepare_function_start, ggc_mark_struct_function):
Update.
* function.h (init_lang_status, save_lang_status,
restore_lang_status, mark_lang_status, free_lang_status):
Move to langhooks.h.
* langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
LANG_HOOKS_FUNCTION_INITIALIZER): New.
(LANG_HOOKS_INITIALIZER): Update.
(lhd_do_nothing_f): New.
* langhooks.h (struct lang_hooks_for_functions): New.
(struct lang_hooks): New hooks.
* langhooks.c (lhd_do_nothing_f): New.
cp:
* cp-lang.c (LANG_HOOKS_FUNCTION_INIT,
LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_MARK): Redefine.
* cp-tree.h (cxx_push_function_context, cxx_pop_function_context,
cxx_mark_function_context): New.
* decl.c (push_cp_function_context, pop_cp_function_context,
mark_cp_function_context): Rename for consistency.
(cxx_init_decl_processing): Don't set old hooks.
objc:
* objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52551
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 20 Apr 2002 07:17:04 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52550
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Sat, 20 Apr 2002 04:47:49 +0000 (04:47 +0000)]
2002-04-19 David S. Miller <davem@redhat.com>
* config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
* config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52546
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 20 Apr 2002 00:31:03 +0000 (00:31 +0000)]
2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
* configure: Rebuilt.
* configure.in (backtrace): Function doesn't work on IA-64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52544
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Fri, 19 Apr 2002 21:52:11 +0000 (21:52 +0000)]
2002-04-19 Toon Moene <toon@moene.indiv.nluug.nl>
* PR6367
* g77.f-torture/execute/6367.f: New test.
* g77.f-torture/execute/6367.x: Disable for MMIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52540
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 19 Apr 2002 21:09:16 +0000 (21:09 +0000)]
PR optimization/3756
* config/i386/i386.c (ix86_expand_int_movcc): Optimize
x = ((int) y < 0) ? cst1 : cst2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52539
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 19 Apr 2002 21:02:52 +0000 (21:02 +0000)]
PR c/6358
* function.c: Reapply patch for c/6358.
(expand_function_end): Copy decl_rtl's mode, not
current_function_return_rtx mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52538
138bc75d-0d04-0410-961f-
82ee72b054a4
joel [Fri, 19 Apr 2002 18:43:11 +0000 (18:43 +0000)]
2002-04-19 Joel Sherrill <joel@OARcorp.com>
* config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52535
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 19 Apr 2002 18:13:32 +0000 (18:13 +0000)]
* doc/install.texi (Specific): Update status of Solaris 2.8.
For PR libgcj/6158.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52532
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Fri, 19 Apr 2002 17:50:40 +0000 (17:50 +0000)]
Add some explanation for last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52531
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Fri, 19 Apr 2002 17:26:08 +0000 (17:26 +0000)]
2002-04-19 Nathanael Nerode <neroden@twcny.rr.com>
* config/mh-a68bsd: clean out dead code
* config/mh-apollo68: clean out dead code
* config/mh-cxux: clean out dead code
* config/mh-decstation: clean out dead code
* config/mh-dgux: clean out dead code
* config/mh-dgux386: clean out dead code
* config/mh-hp300: clean out dead code
* config/mh-hpux: clean out dead code
* config/mh-hpux8: clean out dead code
* config/mh-interix: clean out dead code
* config/mh-irix4: clean out dead code
* config/mh-lynxrs6k: clean out dead code
* config/mh-mingw32: clean out dead code
* config/mh-ncr3000: clean out dead code
* config/mh-ncrsvr43: clean out dead code
* config/mh-necv4: clean out dead code
* config/mh-openedition: clean out dead code
* config/mh-riscos: clean out dead code
* config/mh-sco: clean out dead code
* config/mh-sysv4: clean out dead code
* config/mh-lynxos: removed, contained only dead code
* config/mh-vaxult2: removed, contained only dead code
* config/mh-sun3: removed, contained only dead code
* configure.in: remove references to dead files
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52530
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 19 Apr 2002 17:23:36 +0000 (17:23 +0000)]
* gcc_release: Set TZ to UTC0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52529
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 19 Apr 2002 17:12:59 +0000 (17:12 +0000)]
2002-04-19 Andreas Schwab <schwab@suse.de>
* real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
(PUT_REAL): Restore old definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52527
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 19 Apr 2002 16:47:09 +0000 (16:47 +0000)]
* doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
binutils 2.11.2 and higher generate smaller binaries than Sun's
native tools.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52526
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 19 Apr 2002 16:40:52 +0000 (16:40 +0000)]
* MAINTAINERS: Add information about purpose of this file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52522
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 19 Apr 2002 16:21:58 +0000 (16:21 +0000)]
PR c++/6352
* toplev.c (rest_of_compilation): Do not defer functions for which
TREE_SYMBOL_REFERENCED has already been set.
* PR6352
* g++.dg/opt/inline2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52521
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 19 Apr 2002 14:02:06 +0000 (14:02 +0000)]
* i386.md (movsi_1, movhi_1): Force reload to use more flexible
alternative.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52519
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 19 Apr 2002 07:19:16 +0000 (07:19 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52516
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 19 Apr 2002 06:22:18 +0000 (06:22 +0000)]
* builtins.c: Include langhooks.h.
(lang_type_promotes_to): Remove.
(expand_builtin_va_arg): Use new hook.
* c-common.c (c_common_nodes_and_builtins): Don't set hook.
(simple_type_promotes_to): Move to c-typeck.c.
* c-common.h (simple_type_promotes_to): Remove.
* c-decl.c (duplicate_decls, grokdeclarator): Update.
* c-format.c: Include langhooks.h.
(check_format_types): Update.
* c-tree.h (c_type_promotes_to): New.
* c-typeck.c (c_type_promotes_to): Move from c-common.c.
(type_lists_compatible_p): Update.
* langhooks-def.h (lhd_type_promotes_to): New.
(LANG_HOOKS_TYPE_PROMOTES_TO): New.
(LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
* langhooks.c (lhd_type_promotes_to): New.
* langhooks.h (struct lang_hooks_for_types): New hook.
* tree.h (lang_type_promotes_to): Remove.
cp:
* call.c (convert_type_from_ellipsis): Rename, update.
* cp-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
* cp-tree.h (convert_type_from_ellipsis): Rename.
* decl.c (cxx_init_decl_processing): Don't set hook.
objc:
* objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52512
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 19 Apr 2002 04:41:34 +0000 (04:41 +0000)]
* function.c: Revert patch for c/6358.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52511
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 19 Apr 2002 04:01:15 +0000 (04:01 +0000)]
* ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
blocks. Handle multiple references to the TRAP block. Handle
non-adjacent THEN and OTHER blocks.
* gcc.dg/
20000906-1.c: Enable for all targets.
* gcc.c-torture/compile/iftrap-2.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52509
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 19 Apr 2002 03:59:51 +0000 (03:59 +0000)]
* config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
crash with no type for by-mode libcalls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52508
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 19 Apr 2002 03:59:28 +0000 (03:59 +0000)]
* config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52507
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Fri, 19 Apr 2002 00:31:17 +0000 (00:31 +0000)]
* config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
__xtensa_nonlocal_goto): Use a syscall instructions to flush
the register windows.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52503
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 19 Apr 2002 00:14:49 +0000 (00:14 +0000)]
* real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
appropriate. Document need for extended precision even when
MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here,
based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size
REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error
instead of relying on later syntax error when REAL_WIDTH > 5.
* real.c: Define NE based only on whether or not we have a
full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally
define GET_REAL and PUT_REAL as simple memcpy operations; no
need to byteswap or round.
Use #error instead of #ifdef-ing out the entire file, for
prompt error detection.
* rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52502
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 18 Apr 2002 23:47:50 +0000 (23:47 +0000)]
2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
as type safety is important, especially on solaris.
* include/bits/istream.tcc (istream::read): Clean.
(istream::readsome): Same.
* locale.cc: Wrap lines.
* testsuite/21_strings/inserters_extractors.cc: Tweaks.
* testsuite/27_io/instantiations.cc (test): Add bool variable...
* testsuite/21_strings/capacity.cc: Clean.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52501
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Thu, 18 Apr 2002 23:37:15 +0000 (23:37 +0000)]
2002-04-18 David S. Miller <davem@redhat.com>
* config/sparc/sparc.h (BRANCH_COST): Define.
* fold-const.c (BRANCH_COST): Don't provide default here, expr.h
does it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52500
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 18 Apr 2002 22:11:39 +0000 (22:11 +0000)]
* flow.c (update_life_info): Ignore return value of cleanup_cfg.
Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
propagate_block calls after relaxation loop using new variable
stabilized_prop_flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52498
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 18 Apr 2002 21:35:49 +0000 (21:35 +0000)]
* configure.in: Disallow configuring libgcj when it is already
installed and we're using Solaris 2.8 linker. Do enable libgcj on
Solaris 2.8 by default. For PR libgcj/6158.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52497
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 18 Apr 2002 20:28:39 +0000 (20:28 +0000)]
* config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
(ia64_va_arg): Expect variable sized types by reference.
* config/ia64/ia64-protos.h: Update.
* config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
ia64_function_arg_pass_by_reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52494
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 18 Apr 2002 20:10:48 +0000 (20:10 +0000)]
PR optimization/5887, PR optimization/6010
* gcc.dg/
20020418-1.c: New test.
* gcc.dg/
20020418-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52492
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 18 Apr 2002 20:02:18 +0000 (20:02 +0000)]
* ifcvt.c: Include except.h.
(block_has_only_trap): Break out from find_cond_trap.
(find_cond_trap): Use it. Always delete the trap block.
(merge_if_block): Allow then block null. Be less simplistic about
what insns can end a block.
* Makefile.in (ifcvt.o): Depend on except.h.
* gcc.c-torture/compile/iftrap-1.c: New.
* gcc.dg/iftrap-1.c: Adjust for ia64.
* gcc.dg/iftrap-2.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52489
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 18 Apr 2002 19:45:36 +0000 (19:45 +0000)]
* config/ia64/ia64.md (trap, conditional_trap): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52487
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 18 Apr 2002 19:10:11 +0000 (19:10 +0000)]
PR c/6358
* function.c (assign_parms): Assign hard current_function_return_rtx
register here...
(expand_function_end): ...not here.
* gcc.c-torture/compile/
20020418-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52485
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Thu, 18 Apr 2002 18:04:03 +0000 (18:04 +0000)]
* doc/install.texi (Downloading the source): Do not mention Chill
any longer, but mention Ada.
(Configuration): Do not mention Chill any longer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52482
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 18 Apr 2002 17:54:11 +0000 (17:54 +0000)]
* c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
* c-tree.h (c_incomplete_type_error): New.
* c-typeck.c (require_complete_type, build_component_ref): Update.
(incomplete_type_error): Rename.
* langhooks-def.h (lhd_incomplete_type_error): New.
(LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
(LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
* langhooks.c (lhd_incomplete_type_error): New.
* langhooks.h (struct lang_hooks_for_types): New hook.
* tree.c (size_in_bytes): Use new hook.
* tree.h (incomplete_type_error): Remove.
ada: * gigi.h (incomplete_type_error): Remove.
* utils.c (incomplete_type_error): Remove.
cp:
* call.c (build_new_method_call): Update.
* cp-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
* cp-tree.h (cxx_incomplete_type_error): New.
* decl.c (grokdeclarator, grokparms): Update.
* decl2.c (check_classfn): Update.
* pt.c (tsubst): Update.
* typeck.c (complete_type_or_else, expr_sizeof,
decay_conversion): Update.
* typeck2.c (incomplete_type_error): Rename.
(add_exception_specifier): Update.
f:
* com.c (incomplete_type_error): Remove.
java:
* typeck.c (incomplete_type_error): Remove.
objc:
* objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52480
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 18 Apr 2002 17:38:23 +0000 (17:38 +0000)]
* config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
TARGET_FLOAT_FORMAT blocks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52479
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 18 Apr 2002 16:55:31 +0000 (16:55 +0000)]
* config/cris/cris.h (TARGET_VERSION): Remove local version number.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52477
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 18 Apr 2002 15:25:54 +0000 (15:25 +0000)]
* i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
in last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52475
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 18 Apr 2002 15:17:47 +0000 (15:17 +0000)]
* fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
instead of unsigned_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52474
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 18 Apr 2002 14:05:03 +0000 (14:05 +0000)]
* i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
* i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
later.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52471
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 18 Apr 2002 13:57:35 +0000 (13:57 +0000)]
PR c++/5658
* search.c (setup_class_bindings): A class template qualifies as a
type binding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52469
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Thu, 18 Apr 2002 11:29:19 +0000 (11:29 +0000)]
Prevent aborts taking a vector mode subreg of a constant integer
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52467
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Thu, 18 Apr 2002 11:23:25 +0000 (11:23 +0000)]
Plug memory leak in handle_vector_size_attribute
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52466
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 18 Apr 2002 10:39:41 +0000 (10:39 +0000)]
* fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
for integer constant c (if x has unsigned type or sign bit is not
set in c). This folds the zero/sign extension into the bit-wise and
operation.
* gcc.c-torture/compile/
20020415-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52465
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 18 Apr 2002 10:22:14 +0000 (10:22 +0000)]
PR middle-end/6205
* config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
otherwise xorps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52464
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 18 Apr 2002 10:09:10 +0000 (10:09 +0000)]
* gcc_update (touch_files): Don't have empty for loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52462
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Thu, 18 Apr 2002 08:05:23 +0000 (08:05 +0000)]
2002-04-18 David S. Miller <davem@redhat.com>
* gcc.c-torture/execute/
20020418-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52461
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 18 Apr 2002 07:18:01 +0000 (07:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52459
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 18 Apr 2002 02:55:50 +0000 (02:55 +0000)]
2002-04-17 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/doxygroups.cc: New group on binary searching.
* include/bits/stl_algo.h: Document binary searches and merges.
* include/bits/stl_deque.h: The 'map' member is not the 'map' class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52453
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 18 Apr 2002 01:42:50 +0000 (01:42 +0000)]
2002-04-17 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
* docs/doxygen/run_doxygen: Bump required version.
* docs/doxygen/user.cfg.in: Revert accidental change.
* docs/html/faq/index.html: Reindent a block of links.
(4.4): New note on using dlsym.
* docs/html/faq/index.txt: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52451
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 18 Apr 2002 01:37:42 +0000 (01:37 +0000)]
2002-04-17 Phil Edwards <pme@gcc.gnu.org>
* testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52450
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Wed, 17 Apr 2002 23:13:11 +0000 (23:13 +0000)]
* class.c (make_class_data): Set DECL_ALIGN on static class data,
for hash synchronization.
* expr.c (java_expand_expr): Set DECL_ALIGN on static array objects.
* decl.c (java_init_decl_processing): Don't set TYPE_ALIGN for
class_type_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52448
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Wed, 17 Apr 2002 23:02:33 +0000 (23:02 +0000)]
* java/io/File.java (normalizePath): Add Win32 support for auto
conversion of a '/' path separator to Win32's '\' separator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52447
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Wed, 17 Apr 2002 20:45:24 +0000 (20:45 +0000)]
* configure.in: Move default CC setting out of config/mh-* fragments
directly into here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52443
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Wed, 17 Apr 2002 20:23:44 +0000 (20:23 +0000)]
* configure.in: don't even try to configure or make a subdirectory
if there's no configure script for it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52442
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 17 Apr 2002 20:08:18 +0000 (20:08 +0000)]
2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu (__malloc_alloc_template): Add.
(__default_alloc_template): Same.
* include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
template.
(__default_alloc_template): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52441
138bc75d-0d04-0410-961f-
82ee72b054a4
hboehm [Wed, 17 Apr 2002 19:54:59 +0000 (19:54 +0000)]
* include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
SPARC Linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52440
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 17 Apr 2002 17:35:00 +0000 (17:35 +0000)]
2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52436
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 17 Apr 2002 17:21:49 +0000 (17:21 +0000)]
2002-04-17 NIIBE Yutaka <gniibe@m17n.org>
* config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52435
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 17 Apr 2002 17:17:55 +0000 (17:17 +0000)]
PR c++/6316
* decl2.c (finish_file): Clear DECL_EXTERNAL in a separate loop
before expanding.
* g++.dg/opt/inline1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52434
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Wed, 17 Apr 2002 16:39:47 +0000 (16:39 +0000)]
* libjava.lang/negzero.java: New.
* libjava.lang/negzero.out: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52429
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Wed, 17 Apr 2002 16:36:47 +0000 (16:36 +0000)]
* jcf-write.c (generate_bytecode_insns): Only write const_0 if not
negative zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52427
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 17 Apr 2002 16:26:28 +0000 (16:26 +0000)]
2002-04-17 Nick Clifton <nickc@cambridge.redhat.com>
* gcc.c (read_specs): Detect and fail if an attempt is made to
rename a spec string to an already existing string.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52426
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 17 Apr 2002 16:02:16 +0000 (16:02 +0000)]
* config/s390/s390.c (legitimize_pic_address): Do not generate
illegal address constant without CONST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52425
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 17 Apr 2002 14:22:17 +0000 (14:22 +0000)]
* sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
* sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52421
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 17 Apr 2002 12:25:31 +0000 (12:25 +0000)]
PR optimization/6305
* config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
to make sure previous reloads are taken into account. Generate
better code if one operand is an in-range immediate constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52417
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Wed, 17 Apr 2002 09:38:09 +0000 (09:38 +0000)]
2002-04-16 Andrew Haley <aph@cambridge.redhat.com>
* doc/install.texi (Building): libgcj requires GNU make.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52414
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 17 Apr 2002 08:24:03 +0000 (08:24 +0000)]
PR bootstrap/6315
* config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
even if hard quad and register is not floating.
(movtf reg<-mem split): Disallow splitting if hard quad and
register is floating.
(movtf mem<-reg split): Likewise.
* config/sparc/sparc.c (fp_register_operand): New predicate.
* config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
* gcc.dg/
20020416-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52412
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Wed, 17 Apr 2002 08:23:00 +0000 (08:23 +0000)]
Fix for PR java/6294:
* parse.h (INNER_INTERFACE_MODIFIERS): Allow ACC_PRIVATE for inner
interfaces.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52411
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 17 Apr 2002 07:17:56 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52409
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 17 Apr 2002 06:20:20 +0000 (06:20 +0000)]
2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
* src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
* src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
(__malloc_alloc_template): Conditionalize.
* include/bits/istream.tcc: Remove sputbackc calls.
* testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52405
138bc75d-0d04-0410-961f-
82ee72b054a4
obrien [Wed, 17 Apr 2002 03:23:45 +0000 (03:23 +0000)]
2002-04-17 Zack Weinberg <zack@codesourcery.com>
* Makefile.in (PROTO_OBJS): Add cppdefault.o.
(protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
(unprotoize.o): Ditto. Build from protoize.c. Define
UNPROTOIZE on command line.
* protoize.c: Include cppdefault.h. Delete include_defaults.
(in_system_include_dir): Use cpp_include_defaults (defined in
cppdefault.o).
* unprotoize.c: Delete file.
Approved by: rth
Message-ID: <
20020415171022.A20025@redhat.com>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52404
138bc75d-0d04-0410-961f-
82ee72b054a4
obrien [Wed, 17 Apr 2002 03:15:21 +0000 (03:15 +0000)]
2002-04-17 Zack Weinberg <zack@codesourcery.com>
* Makefile.in (PROTO_OBJS): Add cppdefault.o.
(protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
(unprotoize.o): Ditto. Build from protoize.c. Define
UNPROTOIZE on command line.
* protoize.c: Include cppdefault.h. Delete include_defaults.
(in_system_include_dir): Use cpp_include_defaults (defined in
cppdefault.o).
* unprotoize.c: Delete file.
Approved by: rth
Message-ID: <
20020415171022.A20025@redhat.com>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52402
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Wed, 17 Apr 2002 02:31:30 +0000 (02:31 +0000)]
2002-04-17 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/altivec.h (vec_ld): Add array variants.
(vec_lde): Same.
(vec_ldl): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52400
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Wed, 17 Apr 2002 02:03:43 +0000 (02:03 +0000)]
2002-04-17 Alan Matsuoka <alanm@redhat.com>
Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/altivec.h: Define __ALTIVEC__.
(bool): New.
(__pixel): New.
(pixel): New.
(vec_cfux): New.
(vec_vmaddfp): New.
(vec_vsldoi): New.
Add parentheses to all macro arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52398
138bc75d-0d04-0410-961f-
82ee72b054a4