Commit Graph

40095 Commits

Author SHA1 Message Date
Jason Merrill
6dbe089f40 no xfail
From-SVN: r48737
2002-01-10 12:24:46 -05:00
Kazu Hirata
08a02ffa28 * config/h8300/h8300.md: Remove constraints from expanders.
From-SVN: r48736
2002-01-10 17:24:05 +00:00
Kazu Hirata
c203e7fe62 varasm.c: Fix formatting.
* varasm.c: Fix formatting.
	* varray.c: Likewise.
	* vmsdbgout.c: Likewise.
	* xcoffout.c: Likewise.

From-SVN: r48735
2002-01-10 16:55:14 +00:00
Jan Hubicka
bcb3bc6d90 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
2002-01-10 16:34:17 +00:00
Joseph Myers
0a553c7e18 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
2002-01-10 16:04:23 +00:00
Ira Ruben
195a5def1c * decl.c (start_method): Handle attrlist.
From-SVN: r48730
2002-01-10 10:57:24 -05:00
Jan Hubicka
adc7fcb8cd * i386.md (sse_mov?fcc_const0_?): Fix constraints.
From-SVN: r48729
2002-01-10 15:43:26 +00:00
Jakub Jelinek
f21ee87995 * decl2.c (max_tinst_depth): Increase default limit to 500.
From-SVN: r48727
2002-01-10 15:56:50 +01:00
Nicola Pero
5a4dd0b3d5 Documented the __OBJC__ preprocessor macro
From-SVN: r48725
2002-01-10 11:54:37 +00:00
Nicola Pero
c17701929c Document the __OBJC__ macro.
From-SVN: r48724
2002-01-10 11:53:19 +00:00
Jan Hubicka
3987b9db30 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
2002-01-10 10:21:30 +00:00
Dale Johannesen
bccd793e46 * gcc.c-torture/execute/loop-11.c: New.
From-SVN: r48719
2002-01-10 01:17:05 -08:00
Graham Stott
117f9d2847 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
2002-01-10 08:59:05 +00:00
Graham Stott
8fabd4e213 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
2002-01-10 08:49:21 +00:00
Richard Henderson
e16233999b * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
From-SVN: r48716
2002-01-10 00:44:57 -08:00
Richard Henderson
c4abb293ea 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
2002-01-10 00:39:39 -08:00
GCC Administrator
b99d0b1062 Daily bump.
From-SVN: r48714
2002-01-10 08:16:58 +00:00
Kazu Hirata
d2604ae914 * combine.c (can_combine_p): Fix a comment typo.
From-SVN: r48712
2002-01-10 07:37:51 +00:00
Zack Weinberg
766c7ad1b0 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
2002-01-10 04:25:56 +00:00
Hans-Peter Nilsson
7387c700b9 Fix typo in ChangeLog and actually commit mmix.h
From-SVN: r48710
2002-01-10 04:06:16 +00:00
Aldy Hernandez
115b618171 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
2002-01-10 02:54:12 +00:00
Aldy Hernandez
95385cbb58 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
2002-01-10 02:51:02 +00:00
Richard Henderson
e4ac76b4f1 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
From-SVN: r48707
2002-01-09 18:07:46 -08:00
Richard Henderson
2c74ce9d88 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
2002-01-09 17:38:17 -08:00
Hans-Peter Nilsson
c893e4a479 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
2002-01-10 01:23:07 +00:00
Kazu Hirata
f4f4d0f8fb 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
2002-01-10 00:56:56 +00:00
Tom Tromey
54a8a50f80 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
2002-01-10 00:39:16 +00:00
Kazu Hirata
cc863beade 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
2002-01-10 00:38:03 +00:00
Alan Matsuoka
a4ae2fdc10 * gcc.c-torture/compile/20020109-2.c: New test.
From-SVN: r48701
2002-01-09 16:53:25 -07:00
Paolo Carlini
e05cd3dd3a 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
2002-01-09 23:31:57 +00:00
Jeff Law
7d5c66d643 * gcc.dg/asm-fs-1.c: Disable warnings when compiling.
From-SVN: r48699
2002-01-09 16:30:04 -07:00
Gwenole Beauchesne
8d15f472b0 * gcc.c-torture/execute/loop-10.c: New test.
From-SVN: r48698
2002-01-09 16:24:33 -07:00
Tom Tromey
7a93476d9b 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
2002-01-09 23:22:20 +00:00
Richard Henderson
1d9696384f * config/vax/vax.h (REAL_ARITHMETIC): Define.
From-SVN: r48696
2002-01-09 13:58:20 -08:00
Richard Henderson
7b4dfe3d55 * config/vax/vax.c (vax_rtx_cost): Never abort.
From-SVN: r48695
2002-01-09 13:52:54 -08:00
Jan Hubicka
7d5ab30eb3 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
From-SVN: r48694
2002-01-09 13:49:02 -08:00
Jakub Jelinek
ffb9c594d3 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
2002-01-09 22:34:32 +01:00
Jeff Law
afaa806524 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
2002-01-09 14:25:18 -07:00
Jeff Law
acb3b2e04f 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
2002-01-09 14:18:52 -07:00
Richard Henderson
9503f3d1cf 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
2002-01-09 13:01:11 -08:00
Richard Henderson
42bd17b7fc 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
2002-01-09 12:54:49 -08:00
Herman A.J. ten Brugge
bdca3c3319 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
2002-01-09 12:48:48 -08:00
Paolo Carlini
d66ae36a8b 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
2002-01-09 20:39:27 +00:00
Benjamin Kosnik
30c1fa7651 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
2002-01-09 20:34:19 +00:00
Jakub Jelinek
a2a2c12d8b * gcc.c-torture/compile/20020109-1.c: New test.
From-SVN: r48685
2002-01-09 19:26:46 +01:00
Bo Thorsen
2dd1d259ae 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
2002-01-09 14:45:47 +01:00
Richard Henderson
c73a5e94e8 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
2002-01-09 03:02:07 -08:00
GCC Administrator
9dee8c4570 Daily bump.
From-SVN: r48677
2002-01-09 08:16:25 +00:00
Richard Henderson
dd0a18c0c7 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
2002-01-08 23:57:49 -08:00
Graham Stott
5d8b423561 * decl.h (grokdeclarator): Wrap long line.
From-SVN: r48675
2002-01-09 06:32:47 +00:00