Commit Graph

53985 Commits

Author SHA1 Message Date
Bryce McKinlay 99f8b2501d natClass.cc (newInstance): Throw InstantiationException if class has no null-argument constructor.
* java/lang/natClass.cc (newInstance): Throw InstantiationException
        if class has no null-argument constructor.

From-SVN: r73244
2003-11-04 05:27:10 +00:00
Anthony Green 1b9e6d6484 stubs.c (sqrtf, sqrtl): Reorder so they appear before they're used.
2003-11-01  Anthony Green  <green@redhat.com>

        * libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before
        they're used.

From-SVN: r73243
2003-11-04 05:02:40 +00:00
Benjamin Kosnik 4c411e4f7e locale_facets.h (time_get::_M_extract_name): Add ctype argument.
2003-11-03  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.h (time_get::_M_extract_name): Add
	ctype argument.
	* include/bits/locale_facets.tcc: Same, use it to allow
	capitalized names.

	* include/bits/fstream.tcc: Spacing tweak.
	* include/bits/istream.tcc: Same.
	* include/bits/ostream.tcc: Same.

From-SVN: r73242
2003-11-04 02:14:05 +00:00
Benjamin Kosnik e0f05105f7 locale_facets.h (time_get::_M_extract_name): Add ctype argument.
2003-11-03  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.h (time_get::_M_extract_name): Add
	ctype argument.
	* include/bits/locale_facets.tcc: Same, use it to allow
	capitalized names.

	* include/bits/fstream.tcc: Spacing tweak.
	* include/bits/istream.tcc: Same.
	* include/bits/ostream.tcc: Same.

From-SVN: r73241
2003-11-04 02:06:59 +00:00
Jeff Sturm 1b64e33f3f * libjava.compile/InnerExcept.java: New File.
From-SVN: r73240
2003-11-04 01:51:15 +00:00
Kelley Cook 6306934273 Makefile.in (cpp.dvi): New target split from cpp.info.
2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.in (cpp.dvi): New target split from cpp.info.
	(gcc.dvi):  New target split from gcc.info.
	(gccint.dvi): New target split from gccint.info.
	(cppinternals.dvi): New target split from cppinternals.info
	(gccinstall.info): New specific rule.
	(gccinstall.dvi): Likewise.
	(dvi): Move targets to $(docobjdir).
	($(docobjdir)/%.dvi): New implicit rule.

ada/
2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>

	* Make-lang.in (dvi): Move targets to $(docobjdir).
	(gnat_ug_vms.dvi): Simplify rule and adjust target.
	(gnat_ug_wnt.dvi): Likewise.
	(gnat_ug_unx.dvi): Likewise.
	(gnat_ug_vxw.dvi): Likewise.
	(gnat_rm.dvi): Likewise.
	(gnat-style.dvi): Likewise.

f/
2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>

	* Make-lang.in (dvi): Move targets to $(docobjdir).
	(g77.dvi): Simplify rule.
	(g77.info): Sinplify rule.
	(g77.1): Delete.
	(g77.pod): New intermediate rule.

java/
2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>

	* Make-lang.in (dvi): Move targets to $(docobjdir).
	(gcj.dvi): Simplify rule and adjust target.
	(gcj.info): Simplify rule.
	(gcj.pod): New intermediate rule.
	(gcjh.pod): Likewise.
	(jv-scan.pod): Likewise.
	(jcf-dump.pod): Likewise.
	(gij.pod): Likewise.
	(jv-convert.pod): Likewise.
	(rmic.pod): Likewise.
	(rmiregistry.pod): Likewise.
	(gcj.1): Delete.
	(gcjh.1): Delete.
	(jv-scan.1): Delete.
	(jcf-dump.1): Delete.
	(gij.1): Delete.
	(jv-convert.1): Delete.
	(rmic.1): Delete.
	(rmiregistry.1): Delete.

treelang/
2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>

	* Make-lang.in (dvi): Move targets to $(docobjdir).
	(treelang.dvi): Simplify rule and adjust target.
	(treelang.info): Simplify rule.
	(parse.o): Correct dependencies.
	(TREE_EXE): Delete doubled suffix append.

From-SVN: r73238
2003-11-04 00:25:49 +00:00
GCC Administrator b1c512e70b Daily bump.
From-SVN: r73236
2003-11-04 00:16:06 +00:00
Richard Kenner aef6a62423 gty.texi (tag, desc): Say more about role of desc values in selecting between tags.
* doc/gty.texi (tag, desc): Say more about role of desc values in
	selecting between tags.

From-SVN: r73233
2003-11-03 18:47:11 -05:00
Alexander Kabaev 930177d9f0 * real.c (encode_ieee_single): Ensure proper promotion.
From-SVN: r73232
2003-11-03 23:27:51 +00:00
Volker Reichelt 2b2de389ac contrib.texi: Add Giovanni Bajo, Dara Hazeghi, Falk Hueffner, and Andrew Pinski.
* doc/contrib.texi: Add Giovanni Bajo, Dara Hazeghi, Falk Hueffner,
	and Andrew Pinski.

From-SVN: r73230
2003-11-03 21:58:31 +00:00
Syd Polk 49ffe578b0 rs6000.c (rs6000_override_options): Add G3, G4, and G5 marketing names to the list of supported processors.
2003-10-28  Syd Polk <spolk@apple.com>

	* config/rs6000/rs6000.c (rs6000_override_options): Add G3, G4, and G5
	marketing names to the list of supported processors.
	* config/rs6000/rs6000.h: Ditto.
	* doc/invoke.texi: Ditto.
	* config.gcc: Ditto.

From-SVN: r73228
2003-11-03 21:44:14 +00:00
Volker Reichelt 0c5a0451d4 re PR c++/12726 (ICE (segfault) on trivial code)
PR c++/12726
	* g++.dg/ext/complit2.C: Replace test with self-contained version.
	* ChangeLog: Add missing first entry for above test.

From-SVN: r73227
2003-11-03 21:29:35 +00:00
Rainer Orth 871a312206 re PR bootstrap/12666 (fixincludes problem on IRIX 6.5.19m)
* fixinc/inclhack.def (stdio_va_list): Allow tab before va_list.
	Merge two substitutions.
	* fixinc/fixincl.x: Regenerate.
	Fixes PR bootstrap/12666.

From-SVN: r73226
2003-11-03 21:07:34 +00:00
Joseph Myers 0968e7fa1e * doc/install-old.texi: Remove VMS documentation.
From-SVN: r73223
2003-11-03 19:11:02 +00:00
Ulrich Weigand 20af77cd9a * config.sub: Update to 2003-11-03 version.
From-SVN: r73217
2003-11-03 15:25:17 +00:00
Kelley Cook c7afc98559 Makefile.am (my_make_i_flags): Add $(srcdir) and update comment to match.
2003-10-30  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.am (my_make_i_flags): Add $(srcdir) and update comment
	to match.
	(fastjar.info): Update target to write to build directory.
	(%.1): New implicit rule from a .pod file.
	(jar.1): Delete.
	(grepjar.1): Delete.
	(jar.pod): New intermediate rule.
	(grepjar.pod): Likewise.
	* Makefile.in: Regenerate.

From-SVN: r73216
2003-11-03 13:21:00 +00:00
Jan Hubicka 73c37dab9b i386.c (override_options): Remove hack enabling 128bit long double commited by accident.
* i386.c (override_options):  Remove hack enabling 128bit long double
	commited by accident.

From-SVN: r73213
2003-11-03 11:52:42 +00:00
Per Bothner d8ccee1ee4 c-opts.c (needValue): Do cpp_find_main_file before processing any imacros flags...
* c-opts.c (needValue):  Do cpp_find_main_file before processing
	any imacros flags, so pfile->main_file is set for the latter.

From-SVN: r73212
2003-11-02 23:24:28 -08:00
Andreas Jaeger ee208a5919 Makefile.in (GCC_CFLAGS): Allow blacklisting of warnings.
2003-11-03  Andreas Jaeger  <aj@suse.de>
	    Zack Weinberg  <zack@codesourcery.com>

	* Makefile.in (GCC_CFLAGS): Allow blacklisting of warnings.
	(SYSCALLS.c.X-warn): Suppress warnings.

Co-Authored-By: Zack Weinberg <zack@codesourcery.com>

From-SVN: r73211
2003-11-03 06:35:30 +01:00
Jeff Sturm 9bcdf7352c re PR java/12866 (gcj checks `throws' clause on artificial method)
Fixes PR java/12866.
* parse.y (resolve_qualified_expression_name): Move test
for outer field access methods from here...
(check_thrown_exceptions) ...to here.

From-SVN: r73210
2003-11-03 03:58:50 +00:00
GCC Administrator 043022f253 Daily bump.
From-SVN: r73208
2003-11-03 00:16:07 +00:00
John David Anglin ae2ea719c7 re PR rtl-optimization/12845 (missed jump optimization)
PR optimization/12845
	* pa.c (output_cbranch): Use cmpb for DImode comparisons with 0.

From-SVN: r73205
2003-11-02 21:38:54 +00:00
Zack Weinberg 9a623a652b print-rtl.c (print_rtx): Call PRINT_REG with second argument -1.
* print-rtl.c (print_rtx): Call PRINT_REG with second argument -1.
	* config/i386/i386.c (print_reg): Abort on a virtual register
	if code != -1; not if file == asm_out_file.
	* config/i386/i386.h (PRINT_REG): Document meaning of CODE == -1.
	(DEBUG_PRINT_REG): Delete, unused.

From-SVN: r73203
2003-11-02 19:47:57 +00:00
Andreas Schwab 634879c891 fde-glibc.c (_GNU_SOURCE): Define to 1 instead of empty to avoid conflict with the definition from configure.
* config/ia64/fde-glibc.c (_GNU_SOURCE): Define to 1 instead of
	empty to avoid conflict with the definition from configure.

From-SVN: r73202
2003-11-02 17:35:20 +00:00
Kriang Lerdsuwanakij 3dfa350006 re PR c++/9810 (Using-declaration for template functions does not work)
PR c++/9810
	* call.c (build_over_call): Check access using primary template
	if FN is a member function template.

	* g++.dg/template/using8.C: New test.
	* g++.old-deja/g++.other/access11.C: Adjust expected error location.

From-SVN: r73201
2003-11-02 14:17:39 +00:00
Roger Sayle 31f0f571e6 re PR rtl-optimization/10817 (gcc does not optimize result=0;if(t!=0)result=t; to result=t;)
PR optimization/10817
	* ifcvt.c (noce_emit_move_insn): Improve documentation comment.
	(noce_try_move): New function to optimize an if-the-else into an
	unconditional move, i.e. "if (a!=b) x=a; else x=b" into "x=a".
	(noce_process_if_block): Attempt simplification with noce_try_move.

	* simplify-rtx.c (simplify_ternary_operation): Some minor fixes
	and improvements to the optimizations of IF_THEN_ELSE expressions.
	(simplify_subreg): Silence signed/unsigned comparison warning.

	* gcc.c-torture/compile/20031102-1.c: New test case.

From-SVN: r73200
2003-11-02 13:56:42 +00:00
Kazu Hirata 2077750a86 va-arg-25.c: Enable only if INT_MAX == 2147483647.
* gcc.c-torture/execute/va-arg-25.c: Enable only if INT_MAX ==
	2147483647.

From-SVN: r73199
2003-11-02 13:09:37 +00:00
Richard Sandiford 0938c9e8fb Makefile.in (targhooks.o, reload.o): Update dependencies.
* Makefile.in (targhooks.o, reload.o): Update dependencies.
	(GTFILES): Add targhooks.c.
	(gt-targhooks.h): New rule; depend on s-gtype.
	* target.h (direct_pool_load_p): New hook.
	* target-def.h (TARGET_DIRECT_POOL_LOAD_P): New macro.
	(TARGET_INITIALIZER): Include it.
	* targhooks.h (default_direct_pool_load_p): Declare.
	(hook_bool_machine_mode_true): Declare.
	* targhooks.c: Include insn-config.h, recog.h, ggc.h and
	gt-targhooks.h.
	(pool_symbol): New variable.
	(default_direct_pool_load_p): New function.
	(hook_bool_machine_mode_true): New function.
	* reload.c: Include target.h.
	(find_reloads): If an alternative will force a constant into memory,
	count an extra reload if constant pool symbols are not valid
	addresses.  If an alternative uses memory to move values between
	registers, count the move as two reloads rather than one.
	* config/s390/s390.c (TARGET_DIRECT_POOL_LOAD_P): Define.
	* doc/tm.texi (TARGET_DIRECT_POOL_LOAD_P): Document.

From-SVN: r73196
2003-11-02 09:34:54 +00:00
Eric Botcazou e69cdc1237 re PR rtl-optimization/12799 (faulty mov->add change clobbers the CC register)
PR optimization/12799
	* postreload.c (reload_cse_move2add): Generate the add2
	patterns manually.

From-SVN: r73195
2003-11-02 08:32:23 +00:00
Eric Botcazou 0a9e65f999 sparc.c (function_arg_partial_nregs): Return 0 for all complex modes whose size is lesser or equal to a word.
* config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
	Return 0 for all complex modes whose size is lesser or equal to
	a word.  Add a ??? comment for the condition used with 16-byte
	aligned modes.

From-SVN: r73194
2003-11-02 08:27:23 +00:00
John David Anglin f25b19304b * som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.
From-SVN: r73193
2003-11-02 01:01:24 +00:00
John David Anglin 4043d9c130 * libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.
From-SVN: r73191
2003-11-02 00:16:33 +00:00
GCC Administrator edc7c9d5ec Daily bump.
From-SVN: r73189
2003-11-02 00:16:06 +00:00
John David Anglin 94d5427624 * collect2.c (scan_libraries): Fix typos.
From-SVN: r73187
2003-11-02 00:12:45 +00:00
Kelley Cook d6665c3332 cvsignore: Remove c-parse.* and tradcif.c
* .cvsignore: Remove c-parse.* and tradcif.c
	* objc/.cvsignore: Delete.
	* java/.cvsignore: Delete.

From-SVN: r73186
2003-11-02 00:08:12 +00:00
Gerald Pfeifer 29d274e929 * maintainer-addresses: New script.
From-SVN: r73185
2003-11-02 00:02:21 +00:00
Roger Sayle d234bf6133 unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead of NULL.
* unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead
	of NULL.

From-SVN: r73184
2003-11-02 00:00:08 +00:00
John David Anglin 0527bc4ebf re PR preprocessor/12847 (xxx.c:1:20: xxxx.h: No such file or directory)
PR preprocessor/12847
	* cppfiles.c, cppexp.c, cpperror.c, cpplib.h, cpplib.c, cpplex.c,
	cppinit.c, cpptrad.c, cppmacro.c, fix-header.c, cpppch.c, c-pch.c,
	c-incpath.c, cppcharset.c (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN,
	DL_ERROR, DL_ICE, DL_EXTRACT, DL_WARNING_P): Prefix macro names with
	"CPP_".

From-SVN: r73183
2003-11-01 22:56:54 +00:00
Fariborz Jahanian 2f7b62efc5 rs6000.c (rs6000_mixed_function_arg): Correct no_units calculation.
* config/rs6000/rs6000.c (rs6000_mixed_function_arg): Correct
        no_units calculation.

From-SVN: r73182
2003-11-01 17:00:33 -05:00
Andreas Jaeger ab08fce55b unwind-dw2.c (_Unwind_FrameState): Remove commas at end of enumeration list.
* unwind-dw2.c (_Unwind_FrameState): Remove commas at end of
	enumeration list.

From-SVN: r73180
2003-11-01 19:31:56 +01:00
Andreas Schwab 63482449cc sysv4.h (SDATA_SECTION_FUNCTION): Update to C90 prototypes.
* config/ia64/sysv4.h (SDATA_SECTION_FUNCTION): Update to C90
	prototypes.
	(SBSS_SECTION_FUNCTION): Likewise.

From-SVN: r73177
2003-11-01 17:26:09 +00:00
Andreas Jaeger 6377248ca0 Makefile.in (GCC_CFLAGS): Add @WERROR@ for target files.
2003-11-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* Makefile.in (GCC_CFLAGS): Add @WERROR@ for target files.

From-SVN: r73176
2003-11-01 17:58:44 +01:00
Kriang Lerdsuwanakij f218d8208f re PR c++/12796 (Wrong line number in error message)
PR c++/12796
	* g++.dg/template/crash13.C: Adjust expected error location.
	* g++.old-deja/g++.brendan/ns1.C: Likewise.

From-SVN: r73175
2003-11-01 16:09:38 +00:00
Kriang Lerdsuwanakij 441b941ac2 re PR c++/12796 (Wrong line number in error message)
PR c++/12796
	* class.c (handle_using_decl): Set input_location before calling
	error_not_base_type.

From-SVN: r73174
2003-11-01 12:00:25 +00:00
Andreas Tobler 97603db35a sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90 prototypes.
2003-11-01  Andreas Tobler  <a.tobler@schweiz.ch>

	* config/rs6000/sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90
	prototypes.

From-SVN: r73173
2003-11-01 12:31:24 +01:00
Andreas Jaeger f1518966c3 unwind-dw2.c (_Unwind_FindEnclosingFunction): Constify variable.
* unwind-dw2.c (_Unwind_FindEnclosingFunction): Constify variable.
	(uw_frame_state_for): Constify variables.
	(extract_cie_info): Constify first argument.

	* unwind-dw2-fde-darwin.c: Adjust prototype of
	_Unwind_Find_registered_FDE for recent changes.
	(examine_objects): Constify return value and local variable result.
	(_Unwind_Find_FDE): Constify return value and local variable ret.

From-SVN: r73172
2003-11-01 10:59:50 +01:00
Per Bothner 8ecde51fff Note that the previous check-in to c-opts.c fixes PR preprocessor/12545.
From-SVN: r73171
2003-10-31 19:25:21 -08:00
Per Bothner 8e974c0eba c-opts.c (finish_options): Change to returns boolean - false iff the call to cpp_find_main_file fails.
* c-opts.c (finish_options):  Change to returns boolean - false iff
	the call to cpp_find_main_file fails.
	(c_common_init):  Skip preprocess_file if finish_options failed.
	(c_common_parse_file):  Break if finish_options failed.

From-SVN: r73170
2003-10-31 19:19:59 -08:00
John David Anglin e31f8eda09 aclocal.m4: Blacklist ultrix* for mmap file.
* aclocal.m4: Blacklist ultrix* for mmap file.
	* configure: Rebuilt.

From-SVN: r73169
2003-11-01 02:34:58 +00:00
John David Anglin 2b256a4627 function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable reg_parm_stack_space.
* function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable
	reg_parm_stack_space.
	* toplev.c (default_get_pch_validity): Fix warning.

From-SVN: r73168
2003-11-01 02:23:44 +00:00