Commit Graph

70320 Commits

Author SHA1 Message Date
Steve Ellcey a73035ae3b re PR target/21841 (Documentation should say -mhp-ld/-mgnu-ld are only for hppa64-*-hpux*)
PR target/21841
	* doc/invoke.texi (-mgnu-ld): Update description.
	(-mhp-ld): Ditto.

From-SVN: r103112
2005-08-15 15:23:38 +00:00
Andreas Krebbel 810878741e Added missing ChangeLog entry.
From-SVN: r103111
2005-08-15 14:41:21 +00:00
Andreas Krebbel 1c23bb9457 MAINTAINERS (write after approval): Added myself.
2005-08-15  Andreas Krebbel  <krebbel1@de.ibm.com>

	* MAINTAINERS (write after approval): Added myself.

From-SVN: r103110
2005-08-15 14:38:41 +00:00
Sebastian Pop 7e0923cdbf re PR tree-optimization/23391 (Tree checking failure due to scev)
PR 23391
	* Makefile.in (tree-chrec.o): Depends on real.h.
	* tree-chrec.c: Include real.h.
	(chrec_fold_plus_poly_poly, chrec_fold_multiply_poly_poly,
	chrec_fold_plus_1): Use build_real for SCALAR_FLOAT_TYPE_P.
	* tree-scalar-evolution.c (add_to_evolution_1,
	interpret_rhs_modify_expr): Ditto.

From-SVN: r103109
2005-08-15 12:26:12 +00:00
Sebastian Pop 852c19aae4 re PR tree-optimization/23386 (bitmap.c is being miscompiled (VRP))
PR 23386
 	* tree-data-ref.c (estimate_niter_from_size_of_data): When
 	step is negative compute the estimation from init downwards to
 	zero.

	* testsuite/gcc.dg/tree-ssa/pr23386.c: New.

From-SVN: r103106
2005-08-15 07:51:42 +00:00
Andrew Pinski 309b0e4232 finally-1.m: Check that the catch and finally are being called.
2005-08-14  Andrew Pinski  <pinskia@physics.uc.edu>

        * execute/exceptions/finally-1.m: Check that the catch and finally are
        being called.  Also add a "return 0;" at the end of main.

From-SVN: r103098
2005-08-14 18:13:39 -07:00
Kelley Cook e252987e8e gcc_release: Update with FSF address.
2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>

	* gcc_release: Update with FSF address.

From-SVN: r103097
2005-08-15 01:01:02 +00:00
Kelley Cook df065c820f All files: Update with new FSF address.
2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>

	* All files: Update with new FSF address.

From-SVN: r103096
2005-08-15 00:50:43 +00:00
Kelley Cook 89ee9c70a1 All files: Update with new FSF address.
2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>

	* All files: Update with new FSF address.

From-SVN: r103095
2005-08-15 00:41:31 +00:00
GCC Administrator a3e858df3d Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r103092.2
2005-08-15 00:16:18 +00:00
Andrew Pinski b4c65b7e75 Committed forgotten changelog:
2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * objc/execute/exceptions/exceptions.exp: New exp for the exceptions
        testsuite.
        * objc/execute/exceptions/trivial.m: New test.
        * objc.dg/try-catch-11.m: Move to ...
        * objc/execute/exceptions/foward-1.m: Here.
        * objc.dg/try-catch-2.m: Move to ...
        * objc/execute/exceptions/catchall-1.m: Here.
        * objc.dg/try-catch-8.m: Move to ...
        * objc/execute/exceptions/local-variables-1.m: Here.

From-SVN: r103090
2005-08-14 16:49:29 -07:00
James A. Morrison b23dce2468 fold-const (fold_binary): Call fold_build2 instead of fold (build.
2005-08-14  James A. Morrison  <phython@gcc.gnu.org>

        * fold-const (fold_binary): Call fold_build2 instead of fold (build.

From-SVN: r103089
2005-08-14 23:19:05 +00:00
Ulrich Weigand 11598938f4 s390.c (s390_const_ok_for_constraint_p): Add 'P' constraint.
* config/s390/s390.c (s390_const_ok_for_constraint_p): Add 'P'
	constraint.
	(legitimate_reload_constant_p): Fix handling of lliXX operands.
	Accept double-word constants that can be split.
	* config/s390/s390.md ("movti"): Use 'P' constraint.
	("*movdi_31", "*movdf_31"): Likewise.

From-SVN: r103088
2005-08-14 23:13:58 +00:00
Tobias Schlüter 2b22401b5a parse.c (match): Enclosed macro in do...while(0) and braces.
2005-08-14  Asher Langton  <langton2@llnl.gov>

        * parse.c (match): Enclosed macro in do...while(0) and braces.

Also fix formatting of a few previous ChangeLog entries

From-SVN: r103086
2005-08-14 23:45:03 +02:00
Paul Thomas 21d7d31f71 re PR fortran/21432 (gfortran does not support printing of namelists)
2005-08-14 Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/21432.
	* gfortran.texi: Document PRINT namelist.

From-SVN: r103085
2005-08-14 21:43:12 +00:00
Ulrich Weigand 22f99b8212 mf-runtime.c (__mf_state_1): Initialize to reentrant.
* mf-runtime.c (__mf_state_1): Initialize to reentrant.
	(__mf_init): Set thread state active.
	* mf-hooks3.c (__mf_pthread_spawner): Always set thread
	state active.
	(pthread_create wrapper): Always use thread spawner.

	* testsuite/libmudflap.cth/pass37-frag.c: Increase timeout.
	* testsuite/libmudflap.cth/pass39-frag.c: Likewise.

From-SVN: r103084
2005-08-14 19:38:34 +00:00
Daniel Berlin 8971094d72 re PR tree-optimization/22615 (ICE in first_vi_for_offset, at tree-ssa-structalias.c:2858)
2005-08-14  Daniel Berlin  <dberlin@dberlin.org>

	Fix PR tree-optimization/22615

	* tree-ssa-structalias.c (solution_set_add): Handle
	first_vi_for_offset returning NULL.
	(do_da_constraint): Ditto.
	(do_sd_constraint): Ditto.
	(do_ds_constraint): Ditto
	(find_func_aliases): Ditto.
	(build_constraint_graph): RHS is allowed be ANYTHING.
	(first_vi_for_offset): Return NULL if we couldn't find anything at
	the offset.

From-SVN: r103083
2005-08-14 19:23:56 +00:00
Ulrich Weigand c5b2a111dc s390.c (s390_canonicalize_comparison): Prefer register over memory as first operand.
* config/s390/s390.c (s390_canonicalize_comparison): Prefer register
	over memory as first operand.

From-SVN: r103082
2005-08-14 19:06:56 +00:00
Paul Thomas 7af8f00c54 re PR fortran/21432 (gfortran does not support printing of namelists)
2005-08-14 Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/21432.
	* io.c (match_io): Add code to implement PRINT namelist.


2005-08-14 Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/21432.
	* gfortran.dg/namelist_print_1.f: New test of functionality of
	PRINT namelist.
	* gfortran.dg/namelist_print_2.f: New test to check that PRINT
	namelist generates error with -std=f95.

From-SVN: r103079
2005-08-14 16:15:40 +00:00
H.J. Lu adb7b76436 re PR target/23360 (-ffast-math startup broken on i686 (maybe Athlon-xp))
2005-08-14  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/23360
	* config/i386/crtfastmath.c (set_fast_math): Check if DAZ is
	available for setting it.

From-SVN: r103078
2005-08-14 07:26:51 -07:00
Ira Rosen 1f400bbb8f re PR tree-optimization/23320 (ICE in in base_addr_differ_p, at tree-data-ref.c:430)
PR tree-optimization/23320
        * tree-data-ref.c (base_addr_differ_p): Add comment. Check
        data-refs' types instead of base object nullness. Add check for
        pointer type data-refs before first location comparison. Remove
        assert.

From-SVN: r103076
2005-08-14 06:28:03 +00:00
Ira Rosen 7d465f1def re PR tree-optimization/23119 (gcc.dg/vect/vect-105.c scan-tree-dump-times vectorized 1 loops 1 fails)
PR tree-optimization/23119
        * gcc.dg/vect/vect-105.c: Add xfail for no_align targets.

From-SVN: r103075
2005-08-14 06:13:30 +00:00
Canqun Yang 442c1644c7 trans-stmt.c (gfc_trans_arithmetic_if): Optimized in case of equal labels.
* trans-stmt.c (gfc_trans_arithmetic_if): Optimized in case of equal
	labels.

From-SVN: r103074
2005-08-14 10:06:06 +08:00
Marcin Koziej ee1658f343 re PR libobjc/22492 ([PATCH] Abort after @finally: libobjc passing exception value instead of exception.)
libobjc/ChangeLog:

2005-08-13  Marcin Koziej  <creep@desk.pl>
            Andrew Pinski  <pinskia@physics.uc.edu>

	PR libobjc/22492
	* exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.

testsuite/ChangeLog:
2005-08-13  Marcin Koziej  <creep@desk.pl>
            Andrew Pinski  <pinskia@physics.uc.edu>

	PR libobjc/22492
	* execute/exceptions/finally-1.m: New test.

Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>

From-SVN: r103073
2005-08-13 19:01:52 -07:00
Andrew Pinski 65045c0903 nested-func-1.m: Move to ...
2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * objc.dg/nested-func-1.m: Move to ...
        * objc/execute/nested-func-1.m: Here.

From-SVN: r103072
2005-08-13 18:33:13 -07:00
Andrew Pinski d3748cf565 exceptions.exp: New exp for the exceptions testsuite.
* objc/execute/exceptions/exceptions.exp: New exp for the exceptions
	testsuite.
	* objc/execute/exceptions/trivial.m: New test.
	* objc.dg/try-catch-11.m: Move to ...
	* objc/execute/exceptions/foward-1.m: Here.
	* objc.dg/try-catch-2.m: Move to ...
	* objc/execute/exceptions/catchall-1.m: Here.
	* objc.dg/try-catch-8.m: Move to ...
	* objc/execute/exceptions/local-variables-1.m: Here.

From-SVN: r103071
2005-08-13 17:58:26 -07:00
GCC Administrator ba35b9c4ae Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r103068.2
2005-08-14 00:16:14 +00:00
Andreas Schwab db875b15ff * doc/md.texi (Machine Constraints): Fix misplaced @end table.
From-SVN: r103065
2005-08-13 23:54:11 +00:00
Andrew Pinski a5a813f891 Makefile.in (extra_ldflags_libobjc): New.
2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * Makefile.in (extra_ldflags_libobjc): New.
        (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
        (libobjc_gc$(libext).la): Likewise.
        * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
        "-Wl,-single_module".
        * configure: Regenerate.
        * linking.m (_objcInit): Remove.

From-SVN: r103064
2005-08-13 16:44:14 -07:00
Andrew Pinski 4f5dce2b35 objc.exp (objc_target_compile): Check for -fgnu-runtime in ${options} instead of [target_info name].
2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * lib/objc.exp (objc_target_compile): Check for -fgnu-runtime
        in ${options} instead of [target_info name].
        * lib/obj-c++.exp (objc_target_compile): Likewise.

From-SVN: r103063
2005-08-13 16:36:21 -07:00
Andrew Pinski ffacdfa192 stubify-2.m: Correct the name of the rtl dump file.
2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * objc.dg/stubify-2.m: Correct the name of the rtl dump file.

From-SVN: r103062
2005-08-13 14:41:53 -07:00
Andrew Pinski 4179a4142c part of PR testsuite/23348
2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>

        part of PR testsuite/23348
        * lib/objc-torture.exp: Add -fgnu-runtime and/or -fnext-runtime to each
        of the torture options.
        * objc/compile/trivial.m: New test.

From-SVN: r103061
2005-08-13 14:16:04 -07:00
James E Wilson 0ffb94cd68 Document compatibility with earlier ProPolice implementation.
* c-cppbuiltin.c (c_cpp_builtins): Add comment for flag_stack_protect
macros.

From-SVN: r103058
2005-08-13 13:58:02 -07:00
James E Wilson 0aca9021cd Add missing docs for feature added by Richard Henderson.
* doc/cpp.texi (__SSP__, __SSP_ALL__): Document.
* doc/invoke.texi (-Wstack-protector, -fstack-protector,
-fstack-protector-all, --param ssp-buffer-size): Document.
(-Wvariadic-macros): Alphabetize.
(-fsched-stalled-insns-dep): Add missing 'f'.

From-SVN: r103057
2005-08-13 13:52:01 -07:00
David Edelsohn 3256a76e62 rs6000.h (EXTRA_CONSTRAINT): Add 'a' for indexed or indirect address operand.
* config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 'a' for indexed
        or indirect address operand.
        (EXTRA_ADDRESS_CONSTRAINT): New.
        * config/rs6000/rs6000.md (prefetch): Change constraint "p" to "a".

From-SVN: r103056
2005-08-13 14:47:08 -04:00
Sebastian Pop d77704579c re PR tree-optimization/22236 (wrong code for casts and scev)
PR tree-optimization/22236
	* tree-cfg.c (print_pred_bbs, print_succ_bbs): Correctly print
	successors and predecessors.
	* tree-chrec.c (chrec_convert): Before converting, check that
	sequences don't wrap.
	* tree-data-ref.c (compute_estimated_nb_iterations): Moved ...
	(analyze_array): Extern.
	(find_data_references_in_loop): Remove call to
	compute_estimated_nb_iterations.
	* tree-data-ref.h (analyze_array): Declared.
	* tree-flow-inline.h (single_ssa_tree_operand, single_ssa_use_operand,
	single_ssa_def_operand, zero_ssa_operands): Fix documentation.
	* tree-flow.h (scev_probably_wraps_p): Declare with an extra parameter.
	* tree-scalar-evolution.c (instantiate_parameters_1): Factor entry
	condition.
	* tree-ssa-loop-ivcanon.c: Fix documentation.
	* tree-ssa-loop-ivopts.c (idx_find_step): Add a fixme note.
	* tree-ssa-loop-niter.c (compute_estimated_nb_iterations): ... here.
	(infer_loop_bounds_from_undefined): New.
	(estimate_numbers_of_iterations_loop): Use
	infer_loop_bounds_from_undefined.
	(used_in_pointer_arithmetic_p): New.
	(scev_probably_wraps_p): Pass an extra parameter.  Call
	used_in_pointer_arithmetic_p.  Check that AT_STMT is not null.
	(convert_step): Fix documentation.
	* tree-vrp.c (adjust_range_with_scev): Call instantiate_parameters.
	Use initial_condition_in_loop_num and evolution_part_in_loop_num
	instead of CHREC_LEFT and CHREC_RIGHT.  Adjust the call to
	scev_probably_wraps_p.

From-SVN: r103055
2005-08-13 17:28:43 +00:00
Ulrich Weigand e2df5c1dee s390.c (s390_split_branches): Revert 2005-08-12 change.
* config/s390/s390.c (s390_split_branches): Revert 2005-08-12 change.
	(s390_register_info): Ignore clobbered_regs information for fixed
	registers, and only fixed registers.
	(s390_init_frame_layout): Remove redundant call.

From-SVN: r103054
2005-08-13 11:08:21 +00:00
GCC Administrator 18f0b880ce Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r103048.2
2005-08-13 00:16:12 +00:00
Thomas Koenig 68c41a6cc4 eoshift.f90: Correct format.
2005-08-12  Thomas Koenig  <Thomas.Koenig@online.de>

	* gfortran.dg/eoshift.f90:  Correct format.

From-SVN: r103045
2005-08-12 20:02:43 +00:00
Gerald Pfeifer 7cd5c07539 invoke.texi (C++ Dialect Options): Add dynamic_cast to description of -Wold-style-casts.
* doc/invoke.texi (C++ Dialect Options): Add dynamic_cast to
	description of -Wold-style-casts.

From-SVN: r103044
2005-08-12 20:02:27 +00:00
Thomas Koenig a0b6babc1b 005-08-12 Thomas Koenig <Thomas.Koenig@online.de>
* gfortran.fortran-torture/execute/character_passing.f90:
        Fix comment typo.

From-SVN: r103042
2005-08-12 19:42:12 +00:00
Maciej W. Rozycki 6a134f1c7a * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r103041
2005-08-12 18:09:47 +00:00
Morgan Deters 25c76a15f7 re PR libgcj/23353 (clone() copies internal lock data with hash synchronization off)
2005-08-12  Morgan Deters  <mdeters@morgandeters.com>

	PR libgcj/23353:
	* java/lang/natObject.cc (clone): Clear sync_info.

From-SVN: r103039
2005-08-12 16:40:32 +00:00
Paolo Bonzini 2693c0b0b3 configure.in: Replace NCN_STRICT_CHECK_TOOL with NCN_STRICT_CHECK_TOOLS...
toplevel:
2005-08-12  Paolo Bonzini  <bonzini@gnu.org>

	* configure.in: Replace NCN_STRICT_CHECK_TOOL with
	NCN_STRICT_CHECK_TOOLS, and likewise for NCN_STRICT_CHECK_TARGET_TOOLS.
	Look for alternate names of the target cc and c++
	* configure: Regenerate.

config:
2005-08-12  Paolo Bonzini  <bonzini@gnu.org>

	* config/acx.m4 (NCN_CHECK_TARGET_TOOL, NCN_STRICT_CHECK_TOOL,
	NCN_STRICT_CHECK_TARGET_TOOL): Remove.
	(NCN_STRICT_CHECK_TOOLS, NCN_STRICT_CHECK_TARGET_TOOLS): New,
	based on the deleted macros.

From-SVN: r103036
2005-08-12 14:18:46 +00:00
Andreas Krebbel 7b8acc3494 linux.h (TARGET_THREAD_SSP_OFFSET): Define.
2005-08-12  Andreas Krebbel  <krebbel1@de.ibm.com>
	    Jakub Jelinek  <jakub@redhat.com>

	* config/s390/linux.h (TARGET_THREAD_SSP_OFFSET): Define.
	* config/s390/s390-protos.h (s390_get_thread_pointer): Prototype added.
	* config/s390/s390.c (print_operand): New output modifier 'G' added.
	(get_thread_pointer): Renamed to s390_get_thread_pointer.
	* config/s390/s390.md (stack_protect_set, stack_protect_test): If
	TARGET_THREAD_SSP_OFFSET is defined, change operands[1] to
	(MEM:P (PLUS:P (tp, TARGET_THREAD_SSP_OFFSET))).
	(UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants.
	("stack_protect_set", "stack_protect_test"): New expanders.
	("stack_protect_setsi", "stack_protect_setdi", "stack_protect_testsi",
	"stack_protect_testdi"): New insn definitions.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r103034
2005-08-12 13:49:18 +00:00
Andreas Krebbel 4700982dd7 s390.md ("*movdf_31"): Changed constraint from P to K.
2005-08-12  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.md ("*movdf_31"): Changed constraint from P to K.

From-SVN: r103033
2005-08-12 13:41:28 +00:00
Paul Brook 3c60bed51c lib1funcs.asm: Error if __ARM_ARCH__ not set.
2005-08-12  Paul Brook  <paul@codesourcery.com>

	* config/arm/lib1funcs.asm: Error if __ARM_ARCH__ not set.

[[Split portion of a mixed commit.]]

From-SVN: r103029.2
2005-08-12 13:18:36 +00:00
Andreas Krebbel f83a336ddb predicates.md (setmem_operand): New predicate.
2005-08-12  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/predicates.md (setmem_operand): New predicate.
	(shift_count_operand): Accept ANDs with special constants as
	operand.
	* config/s390/s390.c (print_shift_count_operand): Skip ANDs
	with special constants.
	* config/s390/s390.md ("setmem_long", "*setmem_long"): Replaced
	shift_count_operand with setmem_operand.

From-SVN: r103028
2005-08-12 12:24:05 +00:00
Andreas Krebbel c4d501291d s390.c (s390_extract_part, [...]): Type cast added.
2005-08-12  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.c (s390_extract_part, s390_single_part):
	Type cast added.
	(s390_const_ok_for_constraint_p): Added SImode to the N constraint.
	(s390_output_mi_thunk): Don't use lg on 31 bit.
	* config/s390/s390.md ("*movdi_31", "*movdf_31"): Added lmy and stmy.
	("*llgt_sisi" and splitter): Replaced TARGET_64BIT with TARGET_ZARCH.

From-SVN: r103027
2005-08-12 12:10:30 +00:00
Andreas Krebbel b5c67a4957 s390.c (CONST_OK_FOR_J, [...]): New macros.
2005-08-12  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.c (CONST_OK_FOR_J, CONST_OK_FOR_K): New macros.
	(s390_select_ccmode, s390_rtx_costs, legitimate_reload_constant_p,
	s390_init_frame_layout, s390_emit_prologue, s390_emit_epilogue,
	s390_output_mi_thunk): Replaced uses of CONST_OK_FOR_CONSTRAINT_P
	with one of the new macros.

From-SVN: r103026
2005-08-12 12:02:21 +00:00