Tom Tromey
6ab9469a15
* gnu/xml/xpath/XPathParser.y: Removed.
...
From-SVN: r103162
2005-08-16 17:22:57 +00:00
Tom Tromey
33173fd40f
re PR java/23300 (DECL_FIELD_OFFSET == 0 versus build_field_ref)
...
PR java/23300.
* expr.c (build_field_ref): Don't generate otable reference when
DECL_FIELD_OFFSET is 0.
* class.c (maybe_layout_super_class): Pass outer class to
do_resolve_class.
From-SVN: r103160
2005-08-16 16:06:43 +00:00
David Edelsohn
ce45ef468c
rs6000.md (ltu<mode>): Convert to mode macro.
...
* config/rs6000/rs6000.md (ltu<mode>): Convert to mode macro.
(neg_ltu<mode>): Same.
(gtu<mode>): Same.
(neg_gtu<mode>): Same.
From-SVN: r103159
2005-08-16 11:13:40 -04:00
Dorit Nuzman
d110b74089
vect-40: Use aligned arrays instead of arrays to aligned type.
...
* gcc.dg/vect/vect-40: Use aligned arrays instead of arrays to aligned
type.
* gcc.dg/vect/vect-41: Likewise.
* gcc.dg/vect/vect-42: Likewise.
* gcc.dg/vect/vect-43: Likewise.
* gcc.dg/vect/vect-44: Likewise.
* gcc.dg/vect/vect-46: Likewise.
* gcc.dg/vect/vect-47: Likewise.
* gcc.dg/vect/vect-48: Likewise.
* gcc.dg/vect/vect-52: Likewise.
* gcc.dg/vect/vect-53: Likewise.
* gcc.dg/vect/vect-54: Likewise.
* gcc.dg/vect/vect-55: Likewise.
* gcc.dg/vect/vect-56: Likewise.
* gcc.dg/vect/vect-57: Likewise.
* gcc.dg/vect/vect-58: Likewise.
* gcc.dg/vect/vect-59: Likewise.
* gcc.dg/vect/vect-60: Likewise.
* gcc.dg/vect/vect-61: Likewise.
* gcc.dg/vect/vect-85: Likewise.
* gcc.dg/vect/vect-87: Likewise.
* gcc.dg/vect/vect-88: Likewise.
* gcc.dg/vect/vect-93.c: Likewise.
* gcc.dg/vect/vect-74: Likewise, and also added documentation.
* gcc.dg/vect/vect-75: Likewise.
* gcc.dg/vect/vect-76: Likewise.
* gcc.dg/vect/vect-77: Likewise.
* gcc.dg/vect/vect-78: Likewise.
* gcc.dg/vect/vect-80: Likewise.
* gcc.dg/vect/vect-35: Likewise, and also check that the test wasn't
vectorized for the expected reason, rather than checking how alignment
was handled.
* gcc.dg/vect/vect-92.c: Use aligned arrays instead of arrays to aligned
type and also instead of aligned pointers. Added documentation.
From-SVN: r103158
2005-08-16 15:02:39 +00:00
Feng Wang
20fe2233a7
[multiple changes]
...
2004-08-16 Huang Chun <chunhuang73@hotmail.com>
* trans-expr.c (gfc_conv_power_op): Evaluate the expression before
expand.
2005-08-16 Feng Wang <fengwang@nudt.edu.cn>
* gfortran.dg/power.f90: New test.
From-SVN: r103155
2005-08-16 12:58:46 +00:00
Volker Reichelt
543e2cc3e4
builtins.c (expand_builtin_strcat): Remove superfluous call to fold.
...
* builtins.c (expand_builtin_strcat): Remove superfluous call to fold.
(fold_builtin_isdigit): Use fold_buildN.
(build_function_call_expr): Likewise.
* c-typeck.c (c_finish_loop): Likewise.
From-SVN: r103154
2005-08-16 12:14:10 +00:00
J"orn Rennecke
28f52a4d8e
re PR middle-end/20396 (TRULY_NOOP_TRUNCATION ignored)
...
2005-08-16 J"orn Rennecke <joern.rennecke@st.com>
Richard Shann <rshann@superh.com>
PR middle-end/20396:
* optabs.c (expand_binop): Take TRULY_NOOP_TRUNCATION into account.
Co-Authored-By: Richard Shann <rshann@superh.com>
From-SVN: r103153
2005-08-16 12:57:07 +01:00
Sebastian Pop
546ad2d9fc
* tree-ssa-loop-niter.c (scev_probably_wraps_p): Reword a comment.
...
From-SVN: r103152
2005-08-16 09:41:33 +00:00
Richard Earnshaw
39c39be09e
re PR target/23355 (size optimizer did not eliminateing useless Push and pop instructions at ARM/Thumb machine)
...
PR target/23355
* arm.c (thumb_compute_save_reg_mask): Use similar logic to
arm_compure_save_reg0_reg12_mask to determine when the PIC register
must be saved.
From-SVN: r103151
2005-08-16 09:27:52 +00:00
Jakub Jelinek
7c83bbb109
re PR rtl-optimization/23299 ("classic" GCSE caused miscompilation)
...
PR rtl-optimization/23299
* g++.dg/opt/pr23299.C: New test.
From-SVN: r103148
2005-08-16 10:38:15 +02:00
John David Anglin
f60c951c84
re PR middle-end/23369 (build_range_check generates wrong code for funcptr comparison)
...
PR middle-end/23369
* fold-const.c (build_range_check): Disable optimization for function
pointer expressions on targets that require function pointer
canonicalization.
From-SVN: r103145
2005-08-16 02:20:40 +00:00
Ulrich Weigand
5b5dc47588
simplify-rtx.c (simplify_const_relational_operation): When extracting arguments of a COMPARE, recompute the mode as well.
...
* simplify-rtx.c (simplify_const_relational_operation): When
extracting arguments of a COMPARE, recompute the mode as well.
From-SVN: r103143
2005-08-16 02:01:27 +00:00
Tom Tromey
4e5c1f1035
java-tree.h (LABEL_IN_SUBR): Removed.
...
* java-tree.h (LABEL_IN_SUBR): Removed.
(LABEL_IN_SUBR): Likewise.
(LABEL_IS_SUBR_START): Likewise.
(LABEL_SUBR_START): Likewise.
(LABEL_SUBR_CONTEXT): Likewise.
(LABEL_CHANGED): Likewise.
(LABEL_RETURN_LABEL): Likewise.
(LABEL_RETURN_TYPE_STATE): Likewise.
(LABEL_RETURN_LABELS): Likewise.
(RETURN_MAP_ADJUSTED): Likewise.
(LABEL_PENDING_CHAIN): Likewise.
From-SVN: r103142
2005-08-16 00:50:36 +00:00
Ian Lance Taylor
1595ec20a0
* tree.c (build_string): Mark tree CONSTANT and INVARIANT.
...
From-SVN: r103141
2005-08-16 00:35:50 +00:00
DJ Delorie
eb5f0c07fc
mov.md (movqi_op): Immediates can't be moved to the stack.
...
* config/m32c/mov.md (movqi_op): Immediates can't be moved to
the stack.
(movsi_splittable): Allow, but split, moves to the stack.
* config/m32c/m32c.c (m32c_split_move): Always split moves to the
stack.
From-SVN: r103140
2005-08-15 20:31:39 -04:00
GCC Administrator
7f91299bb4
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r103137.2
2005-08-16 00:16:37 +00:00
Kaveh R. Ghazi
06145cb9b4
aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete.
...
* aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete.
* configure.ac: Don't call gcc_AC_FUNC_PRINTF_PTR.
* system.h (HOST_PTR_PRINTF): Don't define, poison it.
* bitmap.c, c-decl.c, config/i386/i386-interix.h,
config/iq2000/iq2000.c, mips-tfile.c, print-rtl.c, print-tree.c:
Delete HOST_PTR_PRINTF.
* configure, config.in: Regenerate.
cp:
* name-lookup.c, ptree.c: Delete HOST_PTR_PRINTF.
From-SVN: r103135
2005-08-16 00:13:53 +00:00
John David Anglin
54778d9cf5
* gcc.dg/special/weak-1.c: xfail 32-bit hppa*-*-hpux*.
...
From-SVN: r103133
2005-08-15 23:42:33 +00:00
James E Wilson
35fd1d777a
Fix typo in alpha port found while grepping for ia64 info.
...
* system-linux-alpha.ads: Change ia64 to alpha.
From-SVN: r103132
2005-08-15 16:38:44 -07:00
Tom Tromey
65e8066b7b
Make-lang.in (JAVA_OBJS): Removed verify.o
...
* Make-lang.in (JAVA_OBJS): Removed verify.o
(java/verify.o): Removed.
* verify.c: Removed.
* lang.c (flag_new_verifier): Removed.
(java_post_options): Updated.
* java-tree.h (flag_new_verifier): Removed.
(verify_jvm_instructions): Removed.
* expr.c (pop_type_0): Assume flag_new_verifier is true.
(build_java_check_indexed_type): Likewise.
(expand_java_arraystore): Likewise.
(expand_java_arrayload): Likewise.
(pop_arguments): Likewise.
(expand_byte_code): Likewise.
(process_jvm_instruction): Likewise.
From-SVN: r103126
2005-08-15 21:26:35 +00:00
Fariborz Jahanian
30f86ec3fb
Fix Infinite Stack Recursion Regression.
...
* cp-tree.h (can_convert_arg, fn_type_unification): New argument.
* call.c (add_template_candidate_real): Pass down 'flags' to
fn_type_unification.
(can_convert_arg): New 'flags' argument. Pass it to call to
implicit_conversion instead of LOOKUP_NORMAL.
(can_convert): Add LOOKUP_NORMAL to call to can_convert_arg.
* class.c (resolve_address_of_overloaded_function): Ditto.
(resolve_address_of_overloaded_function): Ditto.
* decl.c (reshape_init, check_default_argument): Ditto.
* typeck.c (build_ptrmemfunc): Ditto.
* pt.c (type_unification_real): Add 'flags' argument.
(fn_type_unification): Pass 'flags' to type_unification_real.
(type_unification_real): Pass new 'flags' argument to call to
can_convert_arg.
Oked by Geoff Keating.
From-SVN: r103120
2005-08-15 20:38:23 +00:00
Ulrich Weigand
be53afcf39
mf-hooks3.c (main_seen_p): Remove.
...
* mf-hooks3.c (main_seen_p): Remove.
(__mf_get_state): Remove attempt to recognize the main thread.
From-SVN: r103119
2005-08-15 20:26:46 +00:00
David Edelsohn
b5568f074b
rs6000.md (QHSI): New mode macro.
...
* config/rs6000/rs6000.md (QHSI): New mode macro.
(wd): Extend mode attr for QImode and HImode
(dbits): New mode attr.
(zero_extend<mode>di2): Convert to mode macro.
From-SVN: r103118
2005-08-15 13:58:58 -04:00
Maciej W. Rozycki
7741b4512d
configure.ac: Test for the name of the symbol used for the entry point...
...
* configure.ac: Test for the name of the symbol used for the entry
point; define ENTRY_POINT to the result.
* configure: Regenerate.
* config.h.in: Regenerate.
* mf-heuristics.c: Replace _start with ENTRY_POINT throughout.
From-SVN: r103113
2005-08-15 16:15:16 +00:00
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