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
Andreas Krebbel
dc4477f54b
s390.c (s390_split_branches, [...]): Don't set save_return_addr_p.
...
2005-08-12 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (s390_split_branches, s390_init_frame_layout):
Don't set save_return_addr_p.
(s390_register_info): Make clobbered_regs not depending on
save_return_addr_p.
From-SVN: r103025
2005-08-12 11:58:05 +00:00
Giovanni Bajo
f0ed20083b
re PR c++/8271 (Templates and pointers to const member functions)
...
PR c++/8271
* g++.dg/template/unify10.C: New.
From-SVN: r103022
2005-08-12 09:34:12 +00:00
Nathan Sidwell
38d18b1a1e
re PR c++/21799 (Spurious ambiguity with pointers to members)
...
cp:
PR c++/21799
PR c++/8271
* pt.c (unify) <METHOD_TYPE>: Check this-pointer cv-qualifiers
explicitly.
PR c++/21799
Revert my 2005-07-08 patch
* pt.c (type_unification_real): Remove is_method_argument and
assoicated checks.
(fn_type_unification, unify): Adjust type_unification_real calls.
From-SVN: r103021
2005-08-12 09:23:43 +00:00
Kaz Kojima
ec92bd4bd8
gcc.c (LINK_SSP_SPEC): Remove space before a trailing }.
...
* gcc.c (LINK_SSP_SPEC): Remove space before a trailing }.
(LINK_COMMAND_SPEC): Add space after %(link_ssp).
From-SVN: r103020
2005-08-12 07:57:52 +00:00
Andreas Jaeger
5074edf00b
Fix date of last entry, remove extra whitespace
...
From-SVN: r103019
2005-08-12 08:00:46 +02:00
James A. Morrison
f66f3eeeff
pr22514.C: Move to...
...
2005-08-11 James A. Morrison <phython@gcc.gnu.org>
* g++.dg/parse/pr22514.C: Move to...
* g++.dg/debug/pr22514.C: here.
From-SVN: r103016
2005-08-12 04:18:48 +00:00
James E Wilson
8c2efff755
Fix debian bug 307503, error compiling libatomic-ops package.
...
* config/ia64/ia64.h (EXTRA_MEMORY_CONSTRAINT): New.
From-SVN: r103015
2005-08-11 18:31:35 -07:00
GCC Administrator
301513ec60
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r103012.2
2005-08-12 00:16:32 +00:00
Volker Reichelt
ea7ce50bf7
re PR c++/23266 (ICE on pure specifier for static method)
...
PR c++/23266
* decl2.c (grokfield): Check that method is not static before
marking it as pure.
PR c++/23266
* g++.dg/inherit/pure1.C: New test.
* ChangeLog: Fix typos.
From-SVN: r103006
2005-08-11 22:46:29 +00:00