Nicola Pero [Fri, 11 Jan 2002 11:31:03 +0000 (11:31 +0000)]
Tidy up - removed declarations of some unused functions, moved other decls
to the correct place
From-SVN: r48771
Nicola Pero [Fri, 11 Jan 2002 11:24:33 +0000 (11:24 +0000)]
Fixed objc test failing on alpha because of missing include
From-SVN: r48770
Nicola Pero [Fri, 11 Jan 2002 11:23:26 +0000 (11:23 +0000)]
Added missing include
From-SVN: r48769
GCC Administrator [Fri, 11 Jan 2002 08:16:33 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48767
Andreas Jaeger [Fri, 11 Jan 2002 06:29:56 +0000 (07:29 +0100)]
i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated march.
* config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
march.
From-SVN: r48766
David Seymour [Fri, 11 Jan 2002 05:14:47 +0000 (05:14 +0000)]
locale_facets.h (num_get<>): Return advanced iterator for _M_extract_float and _M_extract_int
2002-01-10 David Seymour <seymour_dj@yahoo.com>
libstdc++/5331
* include/bits/locale_facets.h (num_get<>): Return advanced iterator
for _M_extract_float and _M_extract_int
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
(num_get<>::_M_extract_int): Likewise, all callers changed
* testsuite/22_locale/num_get_members_char.cc: Testcase
From-SVN: r48765
David Seymour [Fri, 11 Jan 2002 05:07:22 +0000 (05:07 +0000)]
locale_facets.h (num_get<>): Return advanced iterator for _M_extract_float and _M_extract_int
2002-01-10 David Seymour <seymour_dj@yahoo.com>
* include/bits/locale_facets.h (num_get<>): Return advanced iterator
for _M_extract_float and _M_extract_int
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
(num_get<>::_M_extract_int): Likewise, all callers changed
* testsuite/22_locale/num_get_members_char.cc: Testcase
From-SVN: r48764
Richard Henderson [Fri, 11 Jan 2002 03:47:24 +0000 (19:47 -0800)]
alpha.c (print_operand): Add 'J'.
* config/alpha/alpha.c (print_operand): Add 'J'.
* config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
new operand with the sequence number for the lituse. When splitting
the insns, use gen_movdi_er_high_g and generate a sequence number.
(gen_movdi_er_high_g): Print the sequence number if non-zero.
From-SVN: r48763
Aldy Hernandez [Fri, 11 Jan 2002 03:30:50 +0000 (03:30 +0000)]
altivec-4.c: Add tests for lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx, stvxl.
* gcc.dg/altivec-4.c: Add tests for lvebx, lvehx, lvewx, lvxl,
lvx, stvx, stvebx, stvehx, stvewx, stvxl.
From-SVN: r48762
Aldy Hernandez [Fri, 11 Jan 2002 03:29:36 +0000 (03:29 +0000)]
rs6000.c (altivec_init_builtins): Add support for lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx, stvxl.
2002-01-10 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (altivec_init_builtins): Add support for
lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
stvxl.
(altivec_expand_builtin): Same.
(altivec_expand_stv_builtin): New.
* config/rs6000/rs6000.h (rs6000_builtins): Same.
* config/rs6000/rs6000.md ("altivec_lvebx"): New.
("altivec_lvehx"): New.
("altivec_lvewx"): New.
("altivec_lvxl"): New.
("altivec_lvx"): New.
("altivec_stvx"): New.
("altivec_stvebx"): New.
("altivec_stvehx"): New.
("altivec_stvewx"): New.
("altivec_stvxl"): New.
* gcc.dg/altivec-4.c: Add tests for lvebx, lvehx, lvewx, lvxl,
lvx, stvx, stvebx, stvehx, stvewx, stvxl.
From-SVN: r48761
Richard Henderson [Fri, 11 Jan 2002 02:44:48 +0000 (18:44 -0800)]
cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
* cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
* reload1.c (delete_output_reload): Zap spill_reg_store. Take
care not to delete instructions twice.
From-SVN: r48760
Zack Weinberg [Thu, 10 Jan 2002 22:21:39 +0000 (22:21 +0000)]
toplev.c: Don't declare environ (it's not used anywhere).
* toplev.c: Don't declare environ (it's not used anywhere).
* configure.in: Don't check for declaration of environ.
* config/i386/xm-mingw32.h: Don't #define environ.
* config.in, configure: Regenerate.
From-SVN: r48758
Zack Weinberg [Thu, 10 Jan 2002 22:03:06 +0000 (22:03 +0000)]
configure.in: Set stage1_cflags for powerpc-*-darwin*.
* configure.in: Set stage1_cflags for powerpc-*-darwin*.
* configure: Regenerate.
* config/interix.h: Set DO_GLOBAL_CTORS_BODY and
DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
* config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
alpha/xm-vms.h.
* config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
LIMITS_H_TEST here, not in m68k/x-next.
* config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
* config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
* config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
* config/i386/x-djgpp: Renamed i386/t-djgpp.
* config/m88k/x-dolph: Renamed m88k/t-dolph.
* config/m88k/x-texXD88: Renamed m88k/t-texXD88.
* config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
replacement of quadlib.asm with quadlib.c.
* config/x-interix3, config/xm-interix.h, config/i386/x-beos,
config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
config/rs6000/xm-beos.h: Delete file.
* config.gcc: Update to match above changes.
From-SVN: r48757
Kazu Hirata [Thu, 10 Jan 2002 21:30:32 +0000 (21:30 +0000)]
h8300.h: Fix comment typos.
* config/h8300/h8300.h: Fix comment typos.
* config/h8300/h8300.md: Likewise.
* config/h8300/lib1funcs.asm: Likewise.
From-SVN: r48754
Jason Merrill [Thu, 10 Jan 2002 21:03:45 +0000 (16:03 -0500)]
specify template depth
From-SVN: r48753
Dale Johannesen [Thu, 10 Jan 2002 21:00:43 +0000 (21:00 +0000)]
re PR rtl-optimization/5269 (loop unroller fails to pull the right number of copies out)
PR optimization/5269
* unroll.c (precondition_loop_p): Make *increment be the correct
sign when n_iterations known, to avoid confusing caller.
From-SVN: r48752
Kazu Hirata [Thu, 10 Jan 2002 20:45:54 +0000 (20:45 +0000)]
* doc/extend.texi (deprecated): Fix a typo.
From-SVN: r48751
Jan Hubicka [Thu, 10 Jan 2002 20:37:43 +0000 (21:37 +0100)]
basic-block.h (update_br_prob_note): Declare.
* basic-block.h (update_br_prob_note): Declare.
* cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
(try_forward_edges): Care negative frequencies and update note.
(outgoing_edges_match): Tweek conditional merging heuristics.
(try_crossjump_to_edge): use update_br_prob_note.
* cfglayout.c (fixup_reorder_chain): Likewise.
* cfrtl.c (update_br_prob_note): New.
* ifcvt.c (dead_or_predicable): Call update_br_prob_note.
* i386.c (ix86_decompose_address): Return -1 if address contains
shift.
(legitimate_address_p): Require ix86_decompose_address to return 1.
* gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
(cprop_insn): Likewise.
From-SVN: r48750
Kazu Hirata [Thu, 10 Jan 2002 20:12:57 +0000 (20:12 +0000)]
toplev.c: Fix formatting.
* toplev.c: Fix formatting.
* tree.c: Likewise.
* tree-dump.c: Likewise.
* unroll.c: Likewise.
* unwind-dw2.c: Likewise.
* unwind-dw2-fde.c: Likewise.
* unwind-dw2-fde-glibc.c: Likewise.
* unwind-sjlj.c: Likewise.
From-SVN: r48749
Joseph Myers [Thu, 10 Jan 2002 19:47:13 +0000 (19:47 +0000)]
* doc/invoke.texi: Document PDP-11 options.
From-SVN: r48748
Kazu Hirata [Thu, 10 Jan 2002 19:20:10 +0000 (19:20 +0000)]
* config/h8300/h8300.h: Fix formatting.
From-SVN: r48747
Ira Ruben [Thu, 10 Jan 2002 19:01:00 +0000 (19:01 +0000)]
C test case for __attribute__((deprecated)).
From-SVN: r48746
Ira Ruben [Thu, 10 Jan 2002 18:59:51 +0000 (18:59 +0000)]
C++ test case for __attribute__((deprecated)).
From-SVN: r48745
Ira Ruben [Thu, 10 Jan 2002 18:57:23 +0000 (18:57 +0000)]
Added changelog info for __attribute__((deprecated)) patches.
Also added changlog info for the adding of attributes to inline
member functions. Jason Merrill committed the actual patch but
forgot to update the changelog.
From-SVN: r48744
Ira Ruben [Thu, 10 Jan 2002 18:51:24 +0000 (18:51 +0000)]
Added __attribute__((deprecated)) patches.
From-SVN: r48743
Kazu Hirata [Thu, 10 Jan 2002 18:30:00 +0000 (18:30 +0000)]
* combine.c (expand_field_assignment): Use subreg_lsb().
From-SVN: r48742
David Edelsohn [Thu, 10 Jan 2002 18:20:03 +0000 (18:20 +0000)]
alias.c (find_base_value): Add cases for HIGH...
2002-01-10 David Edelsohn <edelsohn@gnu.org>
* alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
(find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
Recurse for any operand of AND as long as constant is non-zero.
From-SVN: r48741
Tom Tromey [Thu, 10 Jan 2002 18:01:05 +0000 (18:01 +0000)]
For PR libgcj/5303:
* gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
--version. Recognize GNU-style long options. Print GNU-style
error messages.
(usage): Print GNU-style help. Exit with status 0.
(error): New method.
(run): Print error message if no class names found.
(main): Don't print usage on error.
From-SVN: r48740
Tom Tromey [Thu, 10 Jan 2002 17:56:26 +0000 (17:56 +0000)]
Convert.java (version): Use java.vm.name property.
* gnu/gcj/convert/Convert.java (version): Use java.vm.name
property.
(help, version): Use println(), not println("").
From-SVN: r48739
Jason Merrill [Thu, 10 Jan 2002 17:24:46 +0000 (12:24 -0500)]
no xfail
From-SVN: r48737
Kazu Hirata [Thu, 10 Jan 2002 17:24:05 +0000 (17:24 +0000)]
* config/h8300/h8300.md: Remove constraints from expanders.
From-SVN: r48736
Kazu Hirata [Thu, 10 Jan 2002 16:55:14 +0000 (16:55 +0000)]
varasm.c: Fix formatting.
* varasm.c: Fix formatting.
* varray.c: Likewise.
* vmsdbgout.c: Likewise.
* xcoffout.c: Likewise.
From-SVN: r48735
Jan Hubicka [Thu, 10 Jan 2002 16:34:17 +0000 (17:34 +0100)]
cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges; update edge probabilities to match.
* cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
update edge probabilities to match.
From-SVN: r48734
Joseph Myers [Thu, 10 Jan 2002 16:04:23 +0000 (16:04 +0000)]
Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional dependencies.
* Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
dependencies.
* doc/languages.texi, doc/sourcebuild.texi: New files.
* doc/configfiles.texi: Make a subsubsection. Update.
* doc/configterms.texi: Add @node. Remove warning that this isn't
instructions for building GCC.
* doc/makefile.texi: Make a subsection.
* doc/gccint.texi: Update.
From-SVN: r48731
Ira Ruben [Thu, 10 Jan 2002 15:57:24 +0000 (10:57 -0500)]
* decl.c (start_method): Handle attrlist.
From-SVN: r48730
Jan Hubicka [Thu, 10 Jan 2002 15:43:26 +0000 (16:43 +0100)]
* i386.md (sse_mov?fcc_const0_?): Fix constraints.
From-SVN: r48729
Jakub Jelinek [Thu, 10 Jan 2002 14:56:50 +0000 (15:56 +0100)]
* decl2.c (max_tinst_depth): Increase default limit to 500.
From-SVN: r48727
Nicola Pero [Thu, 10 Jan 2002 11:54:37 +0000 (11:54 +0000)]
Documented the __OBJC__ preprocessor macro
From-SVN: r48725
Nicola Pero [Thu, 10 Jan 2002 11:53:19 +0000 (11:53 +0000)]
Document the __OBJC__ macro.
From-SVN: r48724
Jan Hubicka [Thu, 10 Jan 2002 10:21:30 +0000 (11:21 +0100)]
optabs.c (expand_fix): Look for wider integer modes first.
* optabs.c (expand_fix): Look for wider integer modes first.
* i386.md (mov?f): Avoid the fake const double trick for medium
memory model.
(min?f*/max?f*): Prohibit memory operands for i387 variant.
(fop_df_4): Disable for SSE compilation.
From-SVN: r48721
Dale Johannesen [Thu, 10 Jan 2002 09:17:05 +0000 (09:17 +0000)]
* gcc.c-torture/execute/loop-11.c: New.
From-SVN: r48719
Graham Stott [Thu, 10 Jan 2002 08:59:05 +0000 (08:59 +0000)]
dwarf2out.c (indirect_string_alloc, [...]): Move prototype into DWARF2_DEBUGGING_INFO conditional block.
* dwarf2out.c (indirect_string_alloc, output_indirect_string):
Move prototype into DWARF2_DEBUGGING_INFO conditional block.
From-SVN: r48718
Graham Stott [Thu, 10 Jan 2002 08:49:21 +0000 (08:49 +0000)]
spew.c (YYCHAR): Uppercase macro parameter and add parenthesis.
* spew.c (YYCHAR): Uppercase macro parameter and add
parenthesis.
(YYCODE): Likewise.
(NAME): Uppercase macro parameter.
From-SVN: r48717
Richard Henderson [Thu, 10 Jan 2002 08:44:57 +0000 (00:44 -0800)]
* config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
From-SVN: r48716
Richard Henderson [Thu, 10 Jan 2002 08:39:39 +0000 (00:39 -0800)]
regrename.c (find_oldest_value_reg): Fix typo in mode change check.
* regrename.c (find_oldest_value_reg): Fix typo in mode change check.
(copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
From-SVN: r48715
GCC Administrator [Thu, 10 Jan 2002 08:16:58 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48714
Kazu Hirata [Thu, 10 Jan 2002 07:37:51 +0000 (07:37 +0000)]
* combine.c (can_combine_p): Fix a comment typo.
From-SVN: r48712
Zack Weinberg [Thu, 10 Jan 2002 04:25:56 +0000 (04:25 +0000)]
Makefile.in (s-gencheck, [...]): Handle an empty list correctly.
* Makefile.in (s-gencheck, s-options, s-specs): Handle an
empty list correctly. Change loop index $t to $f for
consistency with rest of Makefile.
From-SVN: r48711
Hans-Peter Nilsson [Thu, 10 Jan 2002 04:06:16 +0000 (04:06 +0000)]
Fix typo in ChangeLog and actually commit mmix.h
From-SVN: r48710
Aldy Hernandez [Thu, 10 Jan 2002 02:54:12 +0000 (02:54 +0000)]
altivec-4.c: Add test for mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
2002-01-08 Aldy Hernandez <aldyh@redhat.com>
* testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
From-SVN: r48709
Aldy Hernandez [Thu, 10 Jan 2002 02:51:02 +0000 (02:51 +0000)]
rs6000.c (altivec_expand_builtin): Add support for mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
* config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
(altivec_init_builtins): Same.
(altivec_expand_unop_builtin): Return NULL_RTX on error.
(altivec_expand_binop_builtin): Same.
(altivec_expand_ternop_builtin): Same.
(bdesc_dst): New.
* config/rs6000/rs6000.md ("altivec_mtvscr"): New.
("altivec_vctuxs"): Fix typo.
("altivec_vnmsubfp"): Same.
("altivec_dssall"): New.
("altivec_mfvscr"): New.
("altivec_dss"): New.
("altivec_lvsl"): New.
("altivec_lvsr"): New.
("altivec_dstt"): New.
("altivec_dstst"): New.
("altivec_dststt"): New.
("altivec_dst"): New.
* config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
From-SVN: r48708
Richard Henderson [Thu, 10 Jan 2002 02:07:46 +0000 (18:07 -0800)]
* config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
From-SVN: r48707
Richard Henderson [Thu, 10 Jan 2002 01:38:17 +0000 (17:38 -0800)]
20020108-1.c: Rewrite to choose the proper type in which to perform the operation for each size.
* gcc.c-torture/execute/
20020108-1.c: Rewrite to choose the proper
type in which to perform the operation for each size.
From-SVN: r48706
Hans-Peter Nilsson [Thu, 10 Jan 2002 01:23:07 +0000 (01:23 +0000)]
mmix.c (mmix_asm_identify_gcc): Remove unused function.
* config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
function.
* config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
prototype.
* config/mmix/mmix.c (ASM_IDENTIFY_GCC): Remove unused macro.
From-SVN: r48705
Kazu Hirata [Thu, 10 Jan 2002 00:56:56 +0000 (00:56 +0000)]
read-rtl.c: Fix formatting.
* read-rtl.c: Fix formatting.
* real.c: Likewise.
* regclass.c: Likewise.
* regrename.c: Likewise.
* reg-stack.c: Likewise.
* reload1.c: Likewise.
* reload.c: Likewise.
* rtl.c: Likewise.
From-SVN: r48704
Tom Tromey [Thu, 10 Jan 2002 00:39:16 +0000 (00:39 +0000)]
For PR libgcj/5303:
* gnu/gcj/convert/Convert.java (error): Program is called
`jv-convert'. Print GNU-style message. Exit with status 1, not
-1.
(main): Handle --help and --version.
(help): New method.
(version): Likewise.
From-SVN: r48703
Kazu Hirata [Thu, 10 Jan 2002 00:38:03 +0000 (00:38 +0000)]
rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST to extract items in the expr_list chain.
* rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
to extract items in the expr_list chain.
From-SVN: r48702
Alan Matsuoka [Wed, 9 Jan 2002 23:53:25 +0000 (23:53 +0000)]
* gcc.c-torture/compile/
20020109-2.c: New test.
From-SVN: r48701
Paolo Carlini [Wed, 9 Jan 2002 23:31:57 +0000 (00:31 +0100)]
exception (bad_exception): Add comment.
2002-01-09 Paolo Carlini <pcarlini@unitus.it>
* libsupc++/exception (bad_exception): Add comment.
* libsupc++/new (bad_alloc): Same.
* libsupc++/typeinfo (bad_cast): Same.
(bad_typeid): Same.
From-SVN: r48700
Jeff Law [Wed, 9 Jan 2002 23:30:04 +0000 (16:30 -0700)]
* gcc.dg/asm-fs-1.c: Disable warnings when compiling.
From-SVN: r48699
Gwenole Beauchesne [Wed, 9 Jan 2002 23:24:33 +0000 (23:24 +0000)]
* gcc.c-torture/execute/loop-10.c: New test.
From-SVN: r48698
Tom Tromey [Wed, 9 Jan 2002 23:22:20 +0000 (23:22 +0000)]
For PR libgcj/5303:
* jargrep.h: Removed RCS keywords.
(GVERSION): Removed.
* configure, Makefile.in, config.h.in: Rebuilt.
* configure.in: Added AM_MAINTAINER_MODE.
Don't look for getopt.h. Use `fastjar' as package name.
* Makefile.am (INCLUDES): Look in ../include.
(LIBIBERTY): New macro.
(jar_LDADD): Use it.
(jar_DEPENDENCIES): Likewise.
(grepjar_LDADD): Likewise.
(grepjar_DEPENDENCIES): Likewise.
* jargrep.c: Removed RCS keywords. Always include getopt.h.
(LONG_OPT): New macro.
(OPT_HELP): Likewise.
(main): Use getopt_long. Let getopt print invalid argument
message. Handle --help. Use version().
(version): New function.
(optarg, optind): Don't declare.
(option_vec): New global.
(help): New function.
(Usage): Updated to GNU standards.
* jartool.c: Removed RCS keywords. Include getopt.h.
(LONG_OPT): New macro.
(OPT_HELP): Likewise.
(options): New global.
(help): New function.
(usage): Print a single line.
(version): New function.
(expand_options): New function.
(main): Use getopt_long and expand_options. Fail if `-u'
specified. Changed handling of -f, -m, -V options.
(OPTION_STRING): New macro.
(version_string): Removed.
From-SVN: r48697
Richard Henderson [Wed, 9 Jan 2002 21:58:20 +0000 (13:58 -0800)]
* config/vax/vax.h (REAL_ARITHMETIC): Define.
From-SVN: r48696
Richard Henderson [Wed, 9 Jan 2002 21:52:54 +0000 (13:52 -0800)]
* config/vax/vax.c (vax_rtx_cost): Never abort.
From-SVN: r48695
Jan Hubicka [Wed, 9 Jan 2002 21:49:02 +0000 (22:49 +0100)]
* gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
From-SVN: r48694
Jakub Jelinek [Wed, 9 Jan 2002 21:34:32 +0000 (22:34 +0100)]
20010226-1.c: New test.
* gcc.c-torture/compile/
20010226-1.c: New test.
* gcc.c-torture/compile/
20010227-1.c: New test.
* gcc.c-torture/compile/
20010426-1.c: New test.
* gcc.c-torture/compile/
20010510-1.c: New test.
* gcc.c-torture/compile/
20010605-3.c: New test.
* gcc.c-torture/compile/
20010824-1.c: New test.
* gcc.c-torture/execute/
20010409-1.c: New test.
* gcc.dg/noncompile/
20000901-1.c: New test.
* gcc.dg/
20001023-1.c: New test.
* gcc.dg/
20001101-1.c: New test.
* gcc.dg/
20001102-1.c: New test.
* gcc.dg/
20010207-1.c: New test.
* gcc.dg/
20010405-1.c: New test.
* gcc.dg/
20010822-1.c: New test.
* gcc.dg/
20011107-1.c: New test.
From-SVN: r48693
Jeff Law [Wed, 9 Jan 2002 21:25:18 +0000 (14:25 -0700)]
strct-stdarg-1.x: New file.
* gcc.c-torture/execute/strct-stdarg-1.x: New file. Expect
execution failure on PA targets.
From-SVN: r48692
Jeff Law [Wed, 9 Jan 2002 21:18:52 +0000 (14:18 -0700)]
strct-stdarg-1.x: New file.
* gcc.c-torture/execute/strct-stdarg-1.x: New file. Expect
execution failure on PA targets.
From-SVN: r48691
Richard Henderson [Wed, 9 Jan 2002 21:01:11 +0000 (13:01 -0800)]
arm.c (arm_gen_constant): Use trunc_int_for_mode.
* config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
Unify code from various alternatives.
From-SVN: r48690
Richard Henderson [Wed, 9 Jan 2002 20:54:49 +0000 (12:54 -0800)]
regrename.c (copy_value): Ignore the copy if the source register is present in the value chain with a...
* regrename.c (copy_value): Ignore the copy if the source register
is present in the value chain with a narrower mode.
From-SVN: r48689
Herman A.J. ten Brugge [Wed, 9 Jan 2002 20:48:48 +0000 (21:48 +0100)]
real.c (c4xtoe, toc4x): Do some special conversion on long doubles for the c4x target.
* real.c (c4xtoe, toc4x): Do some special conversion on long doubles
for the c4x target. Also improve layout.
From-SVN: r48688
Paolo Carlini [Wed, 9 Jan 2002 20:39:27 +0000 (21:39 +0100)]
libstdc++/3150: revert 2001-11-30 commit.
2002-01-09 Paolo Carlini <pcarlini@unitus.it>
libstdc++/3150: revert 2001-11-30 commit. DR266 only means
that the destructors should be removed from the descriptions
in the standard: writing them explicitly allows the vtable
heuristic to work. For additional information see:
http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
* libsupc++/exception (bad_exception::~bad_exception()):
Reintroduce declaration.
* libsupc++/new (bad_alloc::~bad_alloc()): Same.
* libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
(bad_typeid::~bad_typeid()): Same.
* libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
Reintroduce definition.
* libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
* libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
(bad_typeid::~bad_typeid()): Same.
From-SVN: r48687
Benjamin Kosnik [Wed, 9 Jan 2002 20:34:19 +0000 (20:34 +0000)]
Makefile.am (c_base_srcdir): Remove duplicate '/'.
2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
* include/Makefile.in: Regenerate.
From-SVN: r48686
Jakub Jelinek [Wed, 9 Jan 2002 18:26:46 +0000 (19:26 +0100)]
* gcc.c-torture/compile/
20020109-1.c: New test.
From-SVN: r48685
Bo Thorsen [Wed, 9 Jan 2002 13:45:47 +0000 (13:45 +0000)]
cpu_limits.h (__glibcpp_long_bits): Add definition.
2002-01-09 Bo Thorsen <bo@suse.co.uk>
* config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
definition.
From-SVN: r48683
Richard Henderson [Wed, 9 Jan 2002 11:02:07 +0000 (03:02 -0800)]
m32r.c (move_src_operand): Fix 32-bit int test.
* config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
* config/m32r/m32r.md (and ior xor splitters): Swap operands
to match insn patterns.
From-SVN: r48679
GCC Administrator [Wed, 9 Jan 2002 08:16:25 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r48677
Richard Henderson [Wed, 9 Jan 2002 07:57:49 +0000 (23:57 -0800)]
regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
* regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
(copyprop_hardreg_forward_1): Likewise.
From-SVN: r48676
Graham Stott [Wed, 9 Jan 2002 06:32:47 +0000 (06:32 +0000)]
* decl.h (grokdeclarator): Wrap long line.
From-SVN: r48675
Graham Stott [Wed, 9 Jan 2002 06:07:18 +0000 (06:07 +0000)]
semantics.c (FINISH_COND): Uppercase macro paramaters and add parenthesis.
* semantics.c (FINISH_COND): Uppercase macro paramaters and
add parenthesis.
From-SVN: r48674
John David Anglin [Wed, 9 Jan 2002 05:28:15 +0000 (05:28 +0000)]
pa.md (decrement_and_branch_until_zero): Change predicate for operand 0 from register_operand to reg_or_nonsymb_mem_operand.
* pa.md (decrement_and_branch_until_zero): Change predicate for
operand 0 from register_operand to reg_or_nonsymb_mem_operand.
From-SVN: r48673
Bryce McKinlay [Wed, 9 Jan 2002 04:56:25 +0000 (04:56 +0000)]
stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_ gets undefined.
* ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
gets undefined. For Darwin.
From-SVN: r48672
Herman A.J. ten Brugge [Wed, 9 Jan 2002 03:35:07 +0000 (04:35 +0100)]
* config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
From-SVN: r48671
Michael Hayes [Wed, 9 Jan 2002 03:27:30 +0000 (03:27 +0000)]
* config/c4x/c4x/md: Remove extraneous constraints from define_splits.
From-SVN: r48670
Richard Henderson [Wed, 9 Jan 2002 01:07:13 +0000 (17:07 -0800)]
* regrename.c (copy_value): Ignore overlapping copies.
From-SVN: r48669
Tom Tromey [Tue, 8 Jan 2002 23:56:23 +0000 (23:56 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Added new files.
* gnu/java/locale/LocaleInformation.java: Extend
LocaleInformation_en.
* gnu/java/locale/LocaleInformation_en.java: Added zone strings
and time/date formats.
* gnu/java/locale/LocaleInformation_en_US.java: Now automatically
generated.
* gnu/java/locale/LocaleInformation_af_ZA.java: New file.
* gnu/java/locale/LocaleInformation_ar_AE.java: New file.
* gnu/java/locale/LocaleInformation_ar_BH.java: New file.
* gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
* gnu/java/locale/LocaleInformation_ar_EG.java: New file.
* gnu/java/locale/LocaleInformation_ar_IN.java: New file.
* gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
* gnu/java/locale/LocaleInformation_ar_JO.java: New file.
* gnu/java/locale/LocaleInformation_ar_KW.java: New file.
* gnu/java/locale/LocaleInformation_ar_LB.java: New file.
* gnu/java/locale/LocaleInformation_ar_LY.java: New file.
* gnu/java/locale/LocaleInformation_ar_MA.java: New file.
* gnu/java/locale/LocaleInformation_ar_OM.java: New file.
* gnu/java/locale/LocaleInformation_ar_QA.java: New file.
* gnu/java/locale/LocaleInformation_ar_SD.java: New file.
* gnu/java/locale/LocaleInformation_ar_SY.java: New file.
* gnu/java/locale/LocaleInformation_ar_TN.java: New file.
* gnu/java/locale/LocaleInformation_ar_YE.java: New file.
* gnu/java/locale/LocaleInformation_be_BY.java: New file.
* gnu/java/locale/LocaleInformation_bn_IN.java: New file.
* gnu/java/locale/LocaleInformation_br_FR.java: New file.
* gnu/java/locale/LocaleInformation_bs_BA.java: New file.
* gnu/java/locale/LocaleInformation_ca_ES.java: New file.
* gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
* gnu/java/locale/LocaleInformation_cy_GB.java: New file.
* gnu/java/locale/LocaleInformation_da_DK.java: New file.
* gnu/java/locale/LocaleInformation_de_AT.java: New file.
* gnu/java/locale/LocaleInformation_de_BE.java: New file.
* gnu/java/locale/LocaleInformation_de_CH.java: New file.
* gnu/java/locale/LocaleInformation_de_DE.java: New file.
* gnu/java/locale/LocaleInformation_de_LU.java: New file.
* gnu/java/locale/LocaleInformation_el_GR.java: New file.
* gnu/java/locale/LocaleInformation_en_AU.java: New file.
* gnu/java/locale/LocaleInformation_en_BW.java: New file.
* gnu/java/locale/LocaleInformation_en_CA.java: New file.
* gnu/java/locale/LocaleInformation_en_DK.java: New file.
* gnu/java/locale/LocaleInformation_en_GB.java: New file.
* gnu/java/locale/LocaleInformation_en_HK.java: New file.
* gnu/java/locale/LocaleInformation_en_IE.java: New file.
* gnu/java/locale/LocaleInformation_en_IN.java: New file.
* gnu/java/locale/LocaleInformation_en_NZ.java: New file.
* gnu/java/locale/LocaleInformation_en_PH.java: New file.
* gnu/java/locale/LocaleInformation_en_SG.java: New file.
* gnu/java/locale/LocaleInformation_en_ZA.java: New file.
* gnu/java/locale/LocaleInformation_en_ZW.java: New file.
* gnu/java/locale/LocaleInformation_es_AR.java: New file.
* gnu/java/locale/LocaleInformation_es_BO.java: New file.
* gnu/java/locale/LocaleInformation_es_CL.java: New file.
* gnu/java/locale/LocaleInformation_es_CO.java: New file.
* gnu/java/locale/LocaleInformation_es_CR.java: New file.
* gnu/java/locale/LocaleInformation_es_DO.java: New file.
* gnu/java/locale/LocaleInformation_es_EC.java: New file.
* gnu/java/locale/LocaleInformation_es_ES.java: New file.
* gnu/java/locale/LocaleInformation_es_GT.java: New file.
* gnu/java/locale/LocaleInformation_es_HN.java: New file.
* gnu/java/locale/LocaleInformation_es_MX.java: New file.
* gnu/java/locale/LocaleInformation_es_NI.java: New file.
* gnu/java/locale/LocaleInformation_es_PA.java: New file.
* gnu/java/locale/LocaleInformation_es_PE.java: New file.
* gnu/java/locale/LocaleInformation_es_PR.java: New file.
* gnu/java/locale/LocaleInformation_es_PY.java: New file.
* gnu/java/locale/LocaleInformation_es_SV.java: New file.
* gnu/java/locale/LocaleInformation_es_US.java: New file.
* gnu/java/locale/LocaleInformation_es_UY.java: New file.
* gnu/java/locale/LocaleInformation_es_VE.java: New file.
* gnu/java/locale/LocaleInformation_et_EE.java: New file.
* gnu/java/locale/LocaleInformation_eu_ES.java: New file.
* gnu/java/locale/LocaleInformation_fa_IR.java: New file.
* gnu/java/locale/LocaleInformation_fi_FI.java: New file.
* gnu/java/locale/LocaleInformation_fo_FO.java: New file.
* gnu/java/locale/LocaleInformation_fr_BE.java: New file.
* gnu/java/locale/LocaleInformation_fr_CA.java: New file.
* gnu/java/locale/LocaleInformation_fr_CH.java: New file.
* gnu/java/locale/LocaleInformation_fr_FR.java: New file.
* gnu/java/locale/LocaleInformation_fr_LU.java: New file.
* gnu/java/locale/LocaleInformation_ga_IE.java: New file.
* gnu/java/locale/LocaleInformation_gd_GB.java: New file.
* gnu/java/locale/LocaleInformation_gl_ES.java: New file.
* gnu/java/locale/LocaleInformation_gv_GB.java: New file.
* gnu/java/locale/LocaleInformation_he_IL.java: New file.
* gnu/java/locale/LocaleInformation_hi_IN.java: New file.
* gnu/java/locale/LocaleInformation_hr_HR.java: New file.
* gnu/java/locale/LocaleInformation_hu_HU.java: New file.
* gnu/java/locale/LocaleInformation_id_ID.java: New file.
* gnu/java/locale/LocaleInformation_it_CH.java: New file.
* gnu/java/locale/LocaleInformation_it_IT.java: New file.
* gnu/java/locale/LocaleInformation_iw_IL.java: New file.
* gnu/java/locale/LocaleInformation_ja_JP.java: New file.
* gnu/java/locale/LocaleInformation_ka_GE.java: New file.
* gnu/java/locale/LocaleInformation_kl_GL.java: New file.
* gnu/java/locale/LocaleInformation_ko_KR.java: New file.
* gnu/java/locale/LocaleInformation_kw_GB.java: New file.
* gnu/java/locale/LocaleInformation_lt_LT.java: New file.
* gnu/java/locale/LocaleInformation_lv_LV.java: New file.
* gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
* gnu/java/locale/LocaleInformation_mk_MK.java: New file.
* gnu/java/locale/LocaleInformation_mr_IN.java: New file.
* gnu/java/locale/LocaleInformation_mt_MT.java: New file.
* gnu/java/locale/LocaleInformation_nl_BE.java: New file.
* gnu/java/locale/LocaleInformation_nl_NL.java: New file.
* gnu/java/locale/LocaleInformation_nn_NO.java: New file.
* gnu/java/locale/LocaleInformation_no_NO.java: New file.
* gnu/java/locale/LocaleInformation_oc_FR.java: New file.
* gnu/java/locale/LocaleInformation_pl_PL.java: New file.
* gnu/java/locale/LocaleInformation_pt_BR.java: New file.
* gnu/java/locale/LocaleInformation_pt_PT.java: New file.
* gnu/java/locale/LocaleInformation_ro_RO.java: New file.
* gnu/java/locale/LocaleInformation_ru_RU.java: New file.
* gnu/java/locale/LocaleInformation_ru_UA.java: New file.
* gnu/java/locale/LocaleInformation_se_NO.java: New file.
* gnu/java/locale/LocaleInformation_sk_SK.java: New file.
* gnu/java/locale/LocaleInformation_sl_SI.java: New file.
* gnu/java/locale/LocaleInformation_sq_AL.java: New file.
* gnu/java/locale/LocaleInformation_sr_YU.java: New file.
* gnu/java/locale/LocaleInformation_sv_FI.java: New file.
* gnu/java/locale/LocaleInformation_sv_SE.java: New file.
* gnu/java/locale/LocaleInformation_ta_IN.java: New file.
* gnu/java/locale/LocaleInformation_te_IN.java: New file.
* gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
* gnu/java/locale/LocaleInformation_tl_PH.java: New file.
* gnu/java/locale/LocaleInformation_tr_TR.java: New file.
* gnu/java/locale/LocaleInformation_uk_UA.java: New file.
* gnu/java/locale/LocaleInformation_ur_PK.java: New file.
* gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
* gnu/java/locale/LocaleInformation_vi_VN.java: New file.
* gnu/java/locale/LocaleInformation_yi_US.java: New file.
* gnu/java/locale/LocaleInformation_zh_CN.java: New file.
* gnu/java/locale/LocaleInformation_zh_HK.java: New file.
* gnu/java/locale/LocaleInformation_zh_SG.java: New file.
* gnu/java/locale/LocaleInformation_zh_TW.java: New file.
From-SVN: r48668
Richard Henderson [Tue, 8 Jan 2002 23:42:56 +0000 (15:42 -0800)]
alpha.c (alpha_split_conditional_move): Call copy_rtx as needed to avoid shared structure.
* config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
as needed to avoid shared structure.
From-SVN: r48667
Kazu Hirata [Tue, 8 Jan 2002 23:11:53 +0000 (23:11 +0000)]
h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on H8/300H and H8/S.
* config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
H8/300H and H8/S.
From-SVN: r48666
Joseph Myers [Tue, 8 Jan 2002 22:51:46 +0000 (22:51 +0000)]
tm.texi (EASY_DIV_EXPR, [...]): Remove documentation of obsolete macros.
* doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
documentation of obsolete macros.
* system.h: Poison these macros.
* config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
config/c4x/c4x.h, config/clipper/clipper.h,
config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
config/sparc/sparc.h, config/stormy16/stormy16.h,
config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
definitions and commented out definitions of obsolete macros.
* config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
of MAX_INT_TYPE_SIZE.
From-SVN: r48665
Tom Tromey [Tue, 8 Jan 2002 21:59:32 +0000 (21:59 +0000)]
For PR libgcj/5031:
* java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
choose default locale.
From-SVN: r48664
Tom Tromey [Tue, 8 Jan 2002 21:34:59 +0000 (21:34 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (jv_convert_LDADD): Removed convert_source_files.
From-SVN: r48663
Nic Ferrier [Tue, 8 Jan 2002 21:14:58 +0000 (21:14 +0000)]
natPlainSocketImpl.cc: Added timeout handling for sockets.
2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
* java/net/natPlainSocketImpl.cc: Added timeout handling for
sockets.
(close): New function closes the socket.
(write): New functions for output to socket.
(read): New functions for reading from socket.
* java/net/PlainSocketImpl.java: Glue for new timeout
implementation.
(write): Call the native impl.
(read): Likewise.
(getInputStream): Get a stream to read from the socket.
(getOutputStream): Get a stream to write to the socket.
From-SVN: r48662
Ulrich Weigand [Tue, 8 Jan 2002 21:00:02 +0000 (21:00 +0000)]
s390.c (s390_preferred_reload_class): Never return ADDR_REGS if it isn't a subset of the given class.
* config/s390/s390.c (s390_preferred_reload_class): Never
return ADDR_REGS if it isn't a subset of the given class.
* config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
FP_REGS, but all superclasses as well.
* config/s390/s390.c (s390_function_profiler): Fix thinko.
* config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
must not be a const_int.
From-SVN: r48661
Tom Tromey [Tue, 8 Jan 2002 20:51:45 +0000 (20:51 +0000)]
* resolve.cc (_Jv_PrepareClass): Enable verifier.
From-SVN: r48660
Richard Henderson [Tue, 8 Jan 2002 20:20:39 +0000 (12:20 -0800)]
Makefile.in (toplev.o): Depend on options.h.
* Makefile.in (toplev.o): Depend on options.h.
(gcc.o): Depend on specs.h.
From-SVN: r48659
Jakub Jelinek [Tue, 8 Jan 2002 20:10:39 +0000 (21:10 +0100)]
expr.c (store_expr): Convert VOIDmode constants back to target's mode.
* expr.c (store_expr): Convert VOIDmode constants back to target's
mode.
* gcc.dg/
20020108-1.c: New test.
From-SVN: r48658
Andreas Tobler [Tue, 8 Jan 2002 20:00:50 +0000 (21:00 +0100)]
natMethod.cc: Don't include alloca.h.
2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
* java/lang/reflect/natMethod.cc: Don't include alloca.h.
(_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
From-SVN: r48656
Gerald Pfeifer [Tue, 8 Jan 2002 19:59:50 +0000 (20:59 +0100)]
invoke.texi: Markup gcc as @command.
* doc/invoke.texi: Markup gcc as @command. Refer to
http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
of http://gcc.gnu.org/thanks.html.
From-SVN: r48655
Benjamin Kosnik [Tue, 8 Jan 2002 19:57:01 +0000 (19:57 +0000)]
[multiple changes]
2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2913
libstdc++/4879
* include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
return value of _M_file->sync().
(filebuf::showmanyc): Check for is_open.
* include/std/fstream (filebuf::sync): Tweak.
* testsuite/27_io/filebuf.cc: Tweak.
2002-01-08 John Fardo <jfardo@laurelnetworks.com>
Brad Garcia <garsh@attbi.com>
* testsuite/27_io/filebuf_members.cc: Add test.
From-SVN: r48654
Dale Johannesen [Tue, 8 Jan 2002 19:14:51 +0000 (19:14 +0000)]
rs6000.md: Add missing int register target case to movdf_low.
* config/rs6000/rs6000.md: Add missing int register
target case to movdf_low.
From-SVN: r48653