Commit Graph

74478 Commits

Author SHA1 Message Date
Mike Stump
ae582f7772 Add missing part of rth patch.
From-SVN: r112787
2006-04-08 20:38:25 +00:00
Aurelien Jarno
a3bd7058ff Makefile.in: Add Ada support for GNU/kFreeBSD.
2006-04-08  Aurelien Jarno  <aurel32@debian.org>

        * Makefile.in: Add Ada support for GNU/kFreeBSD.
        * s-osinte-kfreebsd-gnu.ads: New file.

Approved by: Arnaud Charlet  <charlet@adacore.com>

From-SVN: r112786
2006-04-08 20:11:21 +00:00
Kazu Hirata
f48c58e8f1 * expr.c, gjavah.c: Fix comment typos.
From-SVN: r112784
2006-04-08 17:07:16 +00:00
Kazu Hirata
917f1b7ea3 builtins.c, [...]: Fix comment typos.
* builtins.c, config/arm/arm.c, config/i386/cygwin.h,
	config/i386/i386.c, config/ia64/ia64.c, config/s390/fixdfdi.h,
	config/sh/sh.c, config/sh/sh.h, df-scan.c, except.c,
	haifa-sched.c, optabs.c, rtl.h, sched-deps.c, sched-int.h,
	sched-rgn.c, tree-inline.h, tree-ssa-dom.c,
	tree-ssa-loop-prefetch.c, tree-ssa-operands.c,
	tree-vect-patterns.c, tree-vrp.c: Fix comment typos.  Follow
	spelling convensions.
	* config/ia64/ia64.opt, doc/contrib.texi, doc/invoke.texi,
	doc/passes.texi, doc/tm.texi, doc/tree-ssa.texi: Fix comment
	typos.  Follow spelling conventions.

From-SVN: r112782
2006-04-08 17:01:17 +00:00
Kazu Hirata
b82feea52f gfortran.texi: Fix typos.
* gfortran.texi: Fix typos.  Follow spelling conventions.
	* resolve.c, trans-expr.c, trans-stmt.c: Fix comment typos.
	Follow spelling conventions.

From-SVN: r112780
2006-04-08 14:31:12 +00:00
Kazu Hirata
84dc00e8ac * decl2.c, pt.c, semantics.c: Fix comment typos.
From-SVN: r112779
2006-04-08 14:15:44 +00:00
Robert Millan
675f0a8ab7 * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r112776
2006-04-08 09:03:32 +00:00
GCC Administrator
211302128c Daily bump.
From-SVN: r112773
2006-04-08 00:17:06 +00:00
Jerry DeLisle
967d4d456c re PR libfortran/26890 (SIZE parameter interacts with same variable in IO list character length specification.)
2006-04-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/26890
	* io/io.h: Revert change to pad size made on 2006-03-30.
	Add comment explaining dependency with fortran/trans-io.c.

From-SVN: r112769
2006-04-07 23:05:12 +00:00
James E Wilson
8e7a2b58e7 For PR 26483, IA-64 denorm failure due to unwanted rounding.
* testsuite/libffi.call/float4.c: New testcase.

From-SVN: r112768
2006-04-07 16:04:15 -07:00
Andreas Tobler
a05906031a configure: Rebuilt.
2006-04-08  Andreas Tobler  <a.tobler@schweiz.ch>

	* configure: Rebuilt.

From-SVN: r112766
2006-04-08 00:33:30 +02:00
DJ Delorie
9d746d5e11 m32c.c (m32c_function_arg): Structures are always passed on the stack.
* config/m32c/m32c.c (m32c_function_arg): Structures are always
passed on the stack.
(m32c_init_cumulative_args): When a function returns a structure,
always pass the pointer to that return area on the stack.
(m32c_function_arg_advance): Don't increment the parameter number
if we're processing the returned structure pointer.
(pushm_info): Reverse order of registers.

From-SVN: r112765
2006-04-07 17:50:47 -04:00
Sebastian Pop
ff5e9a942c tree-ssa-loop-niter.c (inverse, [...]): Use build_int_cst instead of build_int_cst_type.
* tree-ssa-loop-niter.c (inverse, number_of_iterations_ne,
	assert_no_overflow_lt, assert_loop_rolls_lt, number_of_iterations_lt,
	number_of_iterations_le, number_of_iterations_cond, find_loop_niter,
	estimate_numbers_of_iterations_loop): Use build_int_cst instead of 
	build_int_cst_type.
	* tree-chrec.c (chrec_fold_multiply_poly_poly,
	chrec_fold_multiply): Same.
	* tree-ssa-loop-ivopts.c (strip_offset_1, force_expr_to_var_cost,
	force_expr_to_var_cost): Same.
	* tree-mudflap.c (mf_xform_derefs_1): Same.
	* tree-ssa-loop-prefetch.c (idx_analyze_ref): Same.

From-SVN: r112755
2006-04-07 15:44:59 +00:00
Andrew Haley
544c479db3 InetAddress.java: Throw an UnknownHostException if lookup fails.
2006-04-07  Andrew Haley  <aph@redhat.com>

        * java/net/InetAddress.java: Throw an UnknownHostException if
        lookup fails.

From-SVN: r112754
2006-04-07 15:42:07 +00:00
Jan Hubicka
44cfd8f6d4 * ipa-inline.c (cgraph_early_inlining): Collect garbage.
From-SVN: r112753
2006-04-07 15:24:39 +00:00
David Edelsohn
f6fe3a224f rs6000.c (rs6000_rtx_costs): Do not treat CONST_DOUBLE as INTVAL.
* config/rs6000/rs6000.c (rs6000_rtx_costs) <CONST_DOUBLE>: Do not
	treat CONST_DOUBLE as INTVAL.  and64_2_operands require an extra
	insn.

From-SVN: r112752
2006-04-07 10:24:44 -04:00
Jan Hubicka
28e6f134a1 * ipa-inline.c (cgraph_early_inlining): Collect garbage.
From-SVN: r112751
2006-04-07 11:48:42 +00:00
Richard Biener
fcfa143ae5 re PR tree-optimization/26135 (store copyprop not effective)
2006-04-07  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/26135
	* tree-ssa-copy.c (stmt_may_generate_copy): Handle memory
	loads for store copy-prop.
	(copy_prop_visit_stmt): Likewise.

	* gcc.dg/tree-ssa/ssa-copyprop-1.c: New testcase.

From-SVN: r112749
2006-04-07 08:04:26 +00:00
GCC Administrator
b8cf62e42f Daily bump.
From-SVN: r112745
2006-04-07 00:17:04 +00:00
Carlos O'Donell
cf61af07d9 Makefile.in: Add install-html, install-html-am, and install-html-recursive targets.
libiberty/

2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.in: Add install-html, install-html-am, and
	install-html-recursive targets. Define mkdir_p and 
	NORMAL_INSTALL. 
	* configure.ac: AC_SUBST datarootdir, docdir, htmldir.
	* configure: Regenerate.
	* testsuite/Makefile.in: Add install-html and html targets.

From-SVN: r112741
2006-04-06 23:54:50 +00:00
Robert Millan
8224ee206c linux.h: Add a comment to mark macros that are being overriden in config/k*bsd-gnu.h.
* gcc/config/i386/linux.h:  Add a comment to mark macros that are
	being overriden in config/k*bsd-gnu.h.
	* gcc/config/kfreebsd-gnu.h:  Redefine GLIBC_DYNAMIC_LINKER instead of
	DYNAMIC_LINKER.
	* gcc/config/knetbsd-gnu.h:  Ditto.

From-SVN: r112740
2006-04-06 22:16:11 +00:00
Jan Hubicka
1f651229f0 re PR gcov-profile/20815 (-fprofile-use barfs with "coverage mismatch for function '...' while reading counter 'arcs'.")
PR profile/20815
	PR profile/26399
	* coverage.c (coverage_checksum_string): Reorganize loop to not read
	after buffer.
	* g++.dg/bprob/g++-bprob-2.C: New testcase.

From-SVN: r112738
2006-04-06 20:33:21 +00:00
Mike Stump
3425c35fca * builtins.c (expand_builtin_longjmp):Use #ifdef instead of #if
for HAVE_nonlocal_goto to be consistent.
        (expand_builtin_nonlocal_goto): Likewise.
        (expand_builtin_strcmp): Use #ifdef instead of #if
        for HAVE_cmpstrnsi to be consistent.

From-SVN: r112737
2006-04-06 19:36:30 +00:00
Andreas Tobler
6e6bfd3a7b acinclude.m4 (AC_LTDL_SHLIBEXT): Add GCJ LOCAL marker to indicate GCJ specific stuff.
2006-04-06  Andreas Tobler  <a.tobler@schweiz.ch>

	* acinclude.m4 (AC_LTDL_SHLIBEXT): Add GCJ LOCAL marker to indicate
	GCJ specific stuff.

From-SVN: r112736
2006-04-06 21:22:45 +02:00
Roger Sayle
4b91b67bcb call.c (null_ptr_cst_p): Add explicit TREE_CONSTANT_OVERFLOW check.
* call.c (null_ptr_cst_p): Add explicit TREE_CONSTANT_OVERFLOW check.

	* g++.dg/conversion/nullptr1.C: New test case.
	* g++.dg/conversion/nullptr2.C: Likewise.

From-SVN: r112734
2006-04-06 16:47:40 +00:00
Roger Sayle
06a103af0e dependency.c (get_no_elements): Delete function.
* dependency.c (get_no_elements): Delete function.
	(get_deps): Delete function.
	(transform_sections): Delete function.
	(gfc_check_section_vs_section): Significant rewrite.

	* gfortran.dg/dependency_18.f90: New test case.

From-SVN: r112731
2006-04-06 02:08:27 +00:00
DJ Delorie
0f681872e0 m32c.h (INCOMING_FRAME_SP_OFFSET): Adjust for m16c vs m32c.
* config/m32c/m32c.h (INCOMING_FRAME_SP_OFFSET): Adjust for m16c
vs m32c.

From-SVN: r112730
2006-04-05 21:54:29 -04:00
GCC Administrator
e8882d2f00 Daily bump.
From-SVN: r112728
2006-04-06 00:17:23 +00:00
Tom Tromey
f441078656 re PR libgcj/26625 (libgcj-4.2.0.jar not rebuilt after a source file change)
libjava/classpath:
	PR libgcj/26625:
	* lib/Makefile.in: Rebuilt.
	* lib/Makefile.am (compile-classes): Touch the output file.
libjava:
	PR libgcj/26625:
	* Makefile.in: Rebuilt.
	* Makefile.am (libgcj-$(gcc_version).jar): Depend on
	classpath/lib/compile-classes.

From-SVN: r112724
2006-04-05 22:47:51 +00:00
Jason Merrill
0b1307e51a name-lookup.c (push_namespace_with_attribs): Temporarily disable default hidden visibility for anonymous namespace.
* name-lookup.c (push_namespace_with_attribs): Temporarily disable
        default hidden visibility for anonymous namespace.

From-SVN: r112722
2006-04-05 18:32:25 -04:00
Bernd Schmidt
dcef6abaf5 lib1funcs.asm (modsi): P1/P2 can be call-clobbered even if the calling function doesn't modify them.
* config/bfin/lib1funcs.asm (modsi): P1/P2 can be call-clobbered
	even if the calling function doesn't modify them.

From-SVN: r112720
2006-04-05 22:03:30 +00:00
John David Anglin
e6c300efaa Makefile.am: Add PA_HPUX port.
2006-04-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
	    Andreas Tobler  <a.tobler@schweiz.ch>

	* Makefile.am: Add PA_HPUX port.
	* Makefile.in: Regenerate.
	* include/Makefile.in: Likewise.
	* testsuite/Makefile.in: Likewise.
	* configure.ac: Add PA_HPUX rules.
	* configure: Regenerate.
	* src/pa/ffitarget.h: Rename linux target to PA_LINUX.
	Add PA_HPUX and PA64_HPUX.
	Rename FFI_LINUX ABI to FFI_PA32 ABI.
	(FFI_TRAMPOLINE_SIZE): Define for 32-bit HP-UX targets.
	(FFI_TYPE_SMALL_STRUCT2): Define.
	(FFI_TYPE_SMALL_STRUCT4): Likewise.
	(FFI_TYPE_SMALL_STRUCT8): Likewise.
	(FFI_TYPE_SMALL_STRUCT3): Redefine.
	(FFI_TYPE_SMALL_STRUCT5): Likewise.
	(FFI_TYPE_SMALL_STRUCT6): Likewise.
	(FFI_TYPE_SMALL_STRUCT7): Likewise.
	* src/pa/ffi.c (ROUND_DOWN): Delete.
	(fldw, fstw, fldd, fstd): Use '__asm__'.
	(ffi_struct_type): Add support for FFI_TYPE_SMALL_STRUCT2,
	FFI_TYPE_SMALL_STRUCT4 and FFI_TYPE_SMALL_STRUCT8.
	(ffi_prep_args_LINUX): Rename to ffi_prep_args_pa32. Update comment.
	Simplify incrementing of stack slot variable. Change type of local
	'n' to unsigned int.
	(ffi_size_stack_LINUX): Rename to ffi_size_stack_pa32. Handle long
	double on PA_HPUX.
	(ffi_prep_cif_machdep): Likewise.
	(ffi_call): Likewise.
	(ffi_closure_inner_LINUX): Rename to ffi_closure_inner_pa32. Change
	return type to ffi_status. Simplify incrementing of stack slot
	variable. Only copy floating point argument registers when PA_LINUX
	is true. Reformat debug statement.
	Add support for FFI_TYPE_SMALL_STRUCT2, FFI_TYPE_SMALL_STRUCT4 and
	FFI_TYPE_SMALL_STRUCT8.
	(ffi_closure_LINUX): Rename to ffi_closure_pa32. Add 'extern' to
	declaration.
	(ffi_prep_closure): Make linux trampoline conditional on PA_LINUX.
	Add nops to cache flush.  Add trampoline for PA_HPUX.
	* src/pa/hpux32.S: New file.
	* src/pa/linux.S (ffi_call_LINUX): Rename to ffi_call_pa32. Rename
	ffi_prep_args_LINUX to ffi_prep_args_pa32.
	Localize labels. Add support for 2, 4 and 8-byte small structs. Handle
	unaligned destinations in 3, 5, 6 and 7-byte small structs. Order
	argument type checks so that common argument types appear first.
	(ffi_closure_LINUX): Rename to ffi_closure_pa32. Rename
	ffi_closure_inner_LINUX to ffi_closure_inner_pa32.

Co-Authored-By: Andreas Tobler <a.tobler@schweiz.ch>

From-SVN: r112719
2006-04-05 23:26:34 +02:00
Bernd Schmidt
300adfc2dd bfin.c (bfin_legitimate_address_p): Disallow got-relative addressing for anything but SImode.
* config/bfin/bfin.c (bfin_legitimate_address_p): Disallow
	got-relative addressing for anything but SImode.

From-SVN: r112718
2006-04-05 19:37:42 +00:00
Richard Guenther
cf51dca237 re PR tree-optimization/26919 (ICE in cgraph_estimate_size_after_inlining with a large number of arguments)
2006-04-05  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/26919
	* ipa-inline.c (cgraph_decide_inlining_incrementally): Fix argument
	to cgraph_estimate_size_after_inlining.

	* gcc.dg/ipa/ipa-1.c: Use -fno-early-inlining.
	* gcc.dg/ipa/ipa-2.c: Likewise.
	* gcc.dg/ipa/ipa-3.c: Likewise.
	* gcc.dg/ipa/ipa-5.c: Likewise.

From-SVN: r112709
2006-04-05 15:41:18 +00:00
Ranjit Mathew
20762656fa configure.host: Add -fno-omit-frame-pointer to libgcj_flags for MinGW since EBP is used for...
* configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
  MinGW since EBP is used for backtracking through call frames on this
  platform.

From-SVN: r112708
2006-04-05 15:18:19 +00:00
Alan Modra
e17e34d8d7 reload.c (find_dummy_reload): Fix typo in 2006-04-03 change.
* reload.c (find_dummy_reload): Fix typo in 2006-04-03 change.

From-SVN: r112705
2006-04-06 00:15:12 +09:30
Eric Botcazou
c22b1771e2 Add missing word in comment.
From-SVN: r112702
2006-04-05 13:41:01 +00:00
H.J. Lu
5de09539d3 Correct PR number in ChangeLogs.
gcc/fortran/

2006-04-03  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/26891
	* trans.h : Prototype for gfc_conv_missing_dummy.
	* trans-expr (gfc_conv_missing_dummy): New function
	(gfc_conv_function_call): Call it and tidy up some of the code.
	* trans-intrinsic (gfc_conv_intrinsic_function_args): The same.

gcc/testsuite/

2006-04-03  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/26891
	* gfortran.dg/missing_optional_dummy_1.f90: New test.

From-SVN: r112701
2006-04-05 06:23:35 -07:00
Sebastian Pop
42d375edf1 re PR middle-end/26996 (interpret_rhs_modify_expr calls fold_convert (vector_type, -1))
PR tree-optimization/26996
	* tree-scalar-evolution.c (analyze_scalar_evolution_1): Don't analyze
	VECTOR_TYPE variables.

From-SVN: r112700
2006-04-05 12:33:06 +00:00
Archit Shah
917173f4d2 re PR libgcj/25414 (should update rmic)
2006-04-05  Archit Shah  <ashah@redhat.com>

        PR java/25414
        * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
        Add classpath argument.
        * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
        caller.
        * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
        * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
        * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
        * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
        mkdirs for destination directory, correct handling of superclasses
        and interfaces of the remote class, correct handling of exceptions
        declared by remote methods.

From-SVN: r112699
2006-04-05 09:53:08 +00:00
Richard Guenther
6eee989369 re PR tree-optimization/26763 (wrong final value of induction variable calculated)
2006-04-05  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/26763
	* fold-const.c (fold_comparison): Move folding of
	PTR + CST CMP PTR + CST ...
	(fold_binary): ... here.  Fold only for EQ_EXPR and NE_EXPR.

	* gcc.dg/torture/pr26763-1.c: New testcase.
	* gcc.dg/torture/pr26763-2.c: Likewise.

From-SVN: r112697
2006-04-05 08:16:38 +00:00
Gerald Pfeifer
80521187ef install.texi (Prerequisites): Refine some wording on bootstrapping and ksh.
* doc/install.texi (Prerequisites): Refine some wording on
	bootstrapping and ksh.
	Move the version numbers of DejaGnu here from the testing section
	and fix casing of names.
	Fix markup and clarify wording for autogen requirements.
	Refer to GCJ instead of just java.
	Refer to SVN instead of CVS.
	Describe diffutils as useful instead of necessary.
	(Downloading the source): Refer to SVN instead of CVS.
	Adjust a link to our web site accordingly.
	(Configuration): Fix casing of Bison.
	(Specific): Avoid reference to CVS.
	(Building): Refer to SVN instead of CVS.  
	Fix a sentence on the use of Bison and remove duplicate (and
	incorrect) version number of Bison requirement.
	Remove one redundant list of packages needed for building.

From-SVN: r112696
2006-04-05 05:21:32 +00:00
H.J. Lu
20b1cbc33f re PR fortran/25619 (temporary array of constant size character type goes wrong)
gcc/fortran/

2006-04-04  H.J. Lu  <hongjiu.lu@intel.com>

	PR fortran/25619
	* trans-array.c (gfc_conv_expr_descriptor): Only dereference
	character pointer when copying temporary.

	PR fortran/23634
	* trans-array.c (gfc_conv_expr_descriptor): Properly copy
	temporary character with non constant size.

gcc/testsuite/

2006-04-04  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/23634
	PR fortran/25619
	* gfortran.dg/actual_array_constructor_1.f90: New testcase.

From-SVN: r112695
2006-04-04 21:47:51 -07:00
Eric Christopher
4dea2268c3 Add forgotten ChangeLog entry.
From-SVN: r112694
2006-04-05 02:53:30 +00:00
Eric Christopher
77ccdfed20 rs6000.c (TARGET_MS_BITFIELD_LAYOUT_P): Define.
2006-04-04  Eric Christopher  <echristo@apple.com>

        * config/rs6000/rs6000.c (TARGET_MS_BITFIELD_LAYOUT_P): Define.
        (TARGET_USE_MS_BITFIELD_LAYOUT): Ditto.
        (rs6000_handle_struct_attribute): New.
        (rs6000_ms_bitfield_layout_p): Ditto.

From-SVN: r112693
2006-04-05 02:46:02 +00:00
Geoffrey Keating
b3c2c54798 darwin-crt3.c (atexit): Pass &__dso_handle rather than NULL for dso parameter to atexit_common.
* config/darwin-crt3.c (atexit): Pass &__dso_handle rather than
	NULL for dso parameter to atexit_common.

From-SVN: r112692
2006-04-05 00:53:55 +00:00
Ben Elliston
27b6c94094 configure.in: Require makeinfo 4.4 or higher.
* configure.in: Require makeinfo 4.4 or higher.
	* configure: Regenerate.

From-SVN: r112691
2006-04-05 10:50:58 +10:00
GCC Administrator
4fdce0e7cd Daily bump.
From-SVN: r112689
2006-04-05 00:17:12 +00:00
Tom Tromey
119afc377a re PR classpath/26990 (SecurityManager.checkExit() problem)
PR libgcj/26990:
	* prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
	* gnu/java/lang/natMainThread.cc (call_main): Use
	exitNoChecksAccessor.
	* testsuite/libjava.lang/pr26990.out: New file.
	* testsuite/libjava.lang/pr26990.java: New file.
	* java/lang/Runtime.java (exitNoChecks): New method.
	(exitNoChecksAccessor): Likewise.
	(exit): Call exitNoChecks.

From-SVN: r112685
2006-04-04 23:25:09 +00:00
Eric Christopher
4b1c1f6fc2 i386.c (machopic_output_stub): Output \t between instructions and operands.
2006-04-04  Eric Christopher  <echristo@apple.com>

        * config/i386/i386.c (machopic_output_stub): Output \t
        between instructions and operands.

2006-04-04  Eric Christopher  <echristo@apple.com>

        * gcc.target/i386/387-1.c: Allow regexp to match darwin
        stubs.
        * gcc.target/i386/387-5.c: Ditto.

From-SVN: r112683
2006-04-04 23:07:26 +00:00