GCC Administrator
f34e103d2c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r103186.2
2005-08-17 00:17:02 +00:00
Ian Lance Taylor
e374d5c9a4
* doc/tm.texi (Label Output): Correct typo.
...
From-SVN: r103182
2005-08-16 22:29:09 +00:00
Steven Bosscher
f2dd440f45
re PR target/23376 (ICE on GCC 4.x with -O1 -funroll-loops -fvariable-expansion-in-unroller)
...
PR target/23376
* loop-unroll.c (analyze_insn_to_expand_var): Make sure that
force_operand will work later on using have_insn_for.
From-SVN: r103181
2005-08-16 22:24:30 +00:00
Volker Reichelt
196f5a8dcd
* fold-const.c (tree_expr_nonnegative_p): Regroup cases.
...
From-SVN: r103178
2005-08-16 22:13:37 +00:00
Ian Lance Taylor
cf0efa6a76
re PR c++/23337 (ICE initializing array of vectors in C++)
...
./ PR c++/23337
* gimplify.c (gimplify_init_ctor_eval): If we see an element of
vector type, don't try to construct it element by element. Add an
assertion that we use a FIELD_DECL when building a COMPONENT_REF.
testsuite/
PR c++/23337
* g++.dg/ext/vector2.C: New.
From-SVN: r103177
2005-08-16 22:07:44 +00:00
Volker Reichelt
3a69437a55
* fold-const.c (fold_ternary): Simplify folding of a CALL_EXPR.
...
From-SVN: r103176
2005-08-16 22:05:14 +00:00
Thomas Koenig
8e1c3891ce
re PR libfortran/23428 (inquire(iolength= ) for complex give incorrect value)
...
2005-08-16 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/23428
* gfortran.dg/inquire-complex.f90: Correct mangled testcase.
From-SVN: r103173
2005-08-16 21:30:32 +00:00
Thomas Koenig
950ad21d34
re PR libfortran/23428 (inquire(iolength= ) for complex give incorrect value)
...
2005-08-16 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/23428
* io/transfer.c (iolength_transfer): Remove __attribute__ ((unused))
from type. Return correct length for inquire(iolength=)
for complex variables.
2005-08-16 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/23428
* gfortran.dg/inquire-complex.f90: New test case.
From-SVN: r103168
2005-08-16 20:26:04 +00:00
Ranjit Mathew
17b456229e
re PR java/22113 (Buffer overflow in the lexical analyser while reading FP literals)
...
PR java/22113
* lex.c (do_java_lex): Define MAX_TOKEN_LEN. Avoid overflowing
`literal_token' for large numeric input tokens.
From-SVN: r103167
2005-08-16 18:46:18 +00:00
Geoffrey Keating
17ccdd2c51
invoke.texi (Precompiled Headers): Document some more options which are known to be safe.
...
* doc/invoke.texi (Precompiled Headers): Document some more options
which are known to be safe.
From-SVN: r103166
2005-08-16 18:43:10 +00:00
Ranjit Mathew
8a14e6e1ac
More testsuite adjustments for PR java/19870.
...
* testsuite/libjava.lang/PR19870_2.java: New testcase.
* testsuite/libjava.lang/PR19870_2.out: Expected output for the
new testcase.
* testsuite/libjava.jacks/jacks.xfail: Remove
8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
From-SVN: r103165
2005-08-16 18:32:14 +00:00
James E Wilson
355a9e437d
Emit an error for too large arrays instead of an ICE.
...
PR tree-optimization/21105
* c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in
TREE_OVERFLOW check.
* gcc.dg/large-size-array.c: New.
From-SVN: r103164
2005-08-16 11:23:58 -07:00
Ranjit Mathew
3881a11b4a
re PR java/19870 (gcj -C doesn't generate accessors for private members across nested class boundaries)
...
PR java/19870
* parse.y (nested_field_access_p): Rename to nested_member_access_p
and expand to handle method accesses across nested classes.
(build_outer_method_access_method): Rename to
build_nested_method_access_method. Minor adjustments to comments.
(resolve_expression_name): Use the newly-renamed
nested_member_access_p method.
(resolve_qualified_expression_name): Likewise.
(patch_method_invocation): Also consider static methods for access
method generation. Minor adjustments to comments.
(maybe_use_access_method): Use the more general
nested_memeber_access_p to determine access across nested class
boundaries. Allow THIS_ARG to be NULL (for static methods).
From-SVN: r103163
2005-08-16 18:22:31 +00:00
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