aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-05-30c-common.c, [...]: Fix comment typos.Kazu Hirata29-57/+67
* c-common.c, calls.c, cfgcleanup.c, cgraph.c, cgraphunit.c, ddg.c, ddg.h, df.c, df.h, except.c, expr.c, flags.h, fold-const.c, gcc.c, gimplify.c, haifa-sched.c, modulo-sched.c, tree-inline.c, tree-into-ssa.c, tree-nested.c, tree-nrv.c, tree-ssa-ccp.c, tree-ssa-dom.c, tree-ssa-live.c, tree-ssa-loop.c, tree-ssa-pre.c, tree-tailcall.c, tree.h: Fix comment typos. Follow spelling conventions. From-SVN: r82439
2004-05-30Index: libcpp/ChangeLogGeoffrey Keating11-38/+149
2004-05-29 Geoffrey Keating <geoffk@apple.com> * symtab.c (ht_create): Set entries_owned. (ht_destroy): Honour entries_owned. (ht_expand): Likewise. (ht_load): New. Index: libcpp/include/ChangeLog 2004-05-29 Geoffrey Keating <geoffk@apple.com> * symtab.h (struct ht): New field 'entries_owned' (ht_load): New prototype. Index: gcc/ChangeLog 2004-05-29 Geoffrey Keating <geoffk@apple.com> * gengtype-yacc.y: Add NESTED_PTR token. (option): Record `nested_ptr' option. * gengtype-lex.l: Handle `nested_ptr' keyword. * gengtype.c (walk_type): Process `nested_ptr' option. * gengtype.h (struct nested_ptr_data): New. * doc/gty.texi (GTY Options): Document `nested_ptr' option. * stringpool.c (struct string_pool_data): Make 'entries' point to ht_identifier instead of tree. (gt_pch_save_stringpool): Don't adjust pointers. (gt_pch_restore_stringpool): Call ht_load. From-SVN: r82438
2004-05-30Daily bump.GCC Administrator2-2/+2
From-SVN: r82436
2004-05-29gimplify.c (gimplify_expr): Don't build a statement list if no ↵Jason Merrill2-10/+18
gimplification was necessary. * gimplify.c (gimplify_expr): Don't build a statement list if no gimplification was necessary. From-SVN: r82429
2004-05-29pretty-print.c (pp_base_format_text): Support %< instead of %` and %> as ↵Joseph Myers3-20/+28
well as %'. * pretty-print.c (pp_base_format_text): Support %< instead of %` and %> as well as %'. * c-format.c: Use %< and %>. (gcc_diag_char_table, gcc_cdiag_char_table, gcc_cxxdiag_char_table): Update. From-SVN: r82428
2004-05-29gcc_update (libbanshee/configure): Depend on libbanshee/configure.ac instead ↵Andrew Pinski2-1/+6
of libbanshee/configure.in 2004-05-29 Andrew Pinski <pinskia@physics.uc.edu> * gcc_update (libbanshee/configure): Depend on libbanshee/configure.ac instead of libbanshee/configure.in From-SVN: r82427
2004-05-29* c-typeck.c (common_type): Correct comment.Joseph Myers2-4/+11
From-SVN: r82426
2004-05-29configure.in: Rename to ...Kelley Cook11-567/+895
2004-05-28 Kelley Cook <kcook@gcc.gnu.org> * configure.in: Rename to ... * configure.ac: this. Update to modern autoconf style. Correct AC_INIT macro with the actual package name. Replace gcc_AC_HEADER_STDBOOL and GCC_AC_C__BOOL with AC_HEADER_STDBOOL. * acinclude.m4, stamp.h-in: Delete. * config.h, configure: Regenerate with autoconf 2.59. * aclocal.m4, Makefile.in: Regenerate with automake 1.7.9. * engine/Makefile.in: Likewise. * libcompat/Makefile.in: Likewise. * points-to/Makefile.in: Likewise. From-SVN: r82425
2004-05-29Fix typo in previous patch.Bernardo Innocenti1-1/+1
From-SVN: r82422
2004-05-29m68k.c (CONST_METHOD): Add MVZ, MVS.Peter Barada2-2/+26
* config/m68k/m68k.c (CONST_METHOD): Add MVZ, MVS. * config/m68k/m68k.c (const_method): Likewise. * config/m68k/m68k.c (const_int_cost): Likewise. * config/m68k/m68k.c (const_int_cost): Likewise. * config/m68k/m68k.c (output_move_const_into_data_reg): Likewise. From-SVN: r82421
2004-05-29m68k.h (EXTRA_CONSTRAINT): add 'U' for register offset addressing.Peter Barada3-8/+22
* config/m68k/m68k.h(EXTRA_CONSTRAINT): add 'U' for register offset addressing. * config/m68k/m68k.md: Add 'U,U' alternative to ColdFire variants of movsi,movhi,movqi insn patterns. From-SVN: r82420
2004-05-29re PR libstdc++/14600 (__gnu_cxx::stdio_sync_filebuf should expose internal ↵Richard B. Kreckel5-4/+44
FILE*) 2004-05-29 Richard B. Kreckel <Richard.Kreckel@Framatome-ANP.com> Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/14600 * include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): New. * include/ext/stdio_filebuf.h (stdio_filebuf::file): New. * config/io/basic_file_stdio.cc (__basic_file::file): New. * config/io/basic_file_stdio.h: Define. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> From-SVN: r82419
2004-05-29* simplify.c (gfc_simplify_log): Remove useless line of code.Steven G. Kargl2-1/+4
From-SVN: r82418
2004-05-29jacks.xfail: Update for post tree-ssa merge results.Ranjit Mathew2-47/+10
* testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge results. From-SVN: r82417
2004-05-29java-tree.h (DECL_LOCAL_FINAL_IUD): New macro to test if a local variable ↵Ranjit Mathew4-25/+30
was initialised upon declaration. * java-tree.h (DECL_LOCAL_FINAL_IUD): New macro to test if a local variable was initialised upon declaration. * parse.y (declare_local_variables): Set DECL_LOCAL_FINAL_IUD if variable was final and initialised upon declaration. * check-init.c (check_final_reassigned): Give error only if a blank final is not definitely unassigned or if an initialised final is reassigned. (check_bool_init): Respect JLS2 16.1.7 requirements for boolean assignment expressions. Remove case MODIFY_EXPR, label do_default. (check_init): Perform initialised-variable-removing-optimisation only on non-final local variables. Co-Authored-By: Per Bothner <per@bothner.com> From-SVN: r82416
2004-05-28c-semantics.c (emit_local_var): Remove code for DECL_INITIAL.Andrew Pinski2-12/+2
2005-05-28 Andrew Pinski <pinskia@physics.uc.edu> * c-semantics.c (emit_local_var): Remove code for DECL_INITIAL. From-SVN: r82415
2004-05-28re PR target/15720 (function marked inline which is called directly isn't ↵Andrew Pinski2-0/+9
emitted) 2005-05-28 Andrew Pinski <pinskia@physics.uc.edu> PR target/15720 * config/darwin.c (machopic_indirect_call_target): Copy the SYMBOL_REF_DECL from the original RTX for the new stub RTX. From-SVN: r82414
2004-05-29altivec-10.C: New test.Ziemowit Laski2-0/+23
[gcc/testsuite/ChangeLog] 2004-05-28 Ziemowit Laski <zlaski@apple.com> * g++.dg/ext/altivec-10.C: New test. From-SVN: r82413
2004-05-29Typo in last patch.Paul Brook1-1/+1
From-SVN: r82412
2004-05-29trans-common.c (find_equivalence): Find multiple rules.Paul Brook4-4/+31
* trans-common.c (find_equivalence): Find multiple rules. testsuite/ * gfortran.fortran-torture/execute/equiv_1.f90: New test. From-SVN: r82411
2004-05-29Daily bump.GCC Administrator2-2/+2
From-SVN: r82407
2004-05-29Fix formatting.Bryce McKinlay1-2/+3
From-SVN: r82404
2004-05-29jcf-write.c (generate_bytecode_conditional): Handle binops UNLT_EXPR, ↵Bryce McKinlay2-0/+41
UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, and LTGT_EXPR. * jcf-write.c (generate_bytecode_conditional): Handle binops UNLT_EXPR, UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, and LTGT_EXPR. (generate_bytecode_insns): Likewise. From-SVN: r82402
2004-05-28re PR c++/15471 (Incorrect member pointer offsets in anonymous structs/unions)Mark Mitchell4-4/+20
PR c++/15471 * typeck.c (unary_complex_lvalue): Use context_for_name_lookup when determining the scope to use for a pointer to member. (lookup_anon_field): Give it external linkage. * cp-tree.h (lookup_anon_field): Declare it. * expr.c (cplus_expand_constant): Use it. From-SVN: r82401
2004-05-28* stor-layout.c (place_field): Revert erroneous commit.DJ Delorie2-1/+4
From-SVN: r82398
2004-05-28altivec-16.c: New test.Ziemowit Laski2-0/+23
[gcc/testsuite/ChangeLog] 2004-05-28 Ziemowit Laski <zlaski@apple.com> * gcc.dg/altivec-16.c: New test. From-SVN: r82396
2004-05-28re PR c++/15083 (spurious "statement has no effect" warning)Mark Mitchell9-4/+70
PR c++/15083 * decl2.c (delete_sanity): Set TREE_SIDE_EFFECTS on a DELETE_EXPR, even in a templat.e * init.c (build_new): Likewise. PR c++/15640 * name-lookup.c (arg_assoc): Robustify. PR c++/15471 * typeck.c (unary_complex_lvalue): Use context_for_name_lookup when determining the scope to use for a pointer to member. PR c++/15083 * g++.dg/warn/noeffect5.C: New test. PR c++/15471 * g++.dg/expr/ptrmem4.C: New test. PR c++/15640 * g++.dg/template/operator3.C: New test. From-SVN: r82391
2004-05-28target-supports.exp (check_vmx_hw_available): New.Janis Johnson3-6/+71
2004-05-28 Janis Johnson <janis187@us.ibm.com> * lib/target-supports.exp (check_vmx_hw_available): New. * gcc.dg/vmx/vmx.exp: Use it to determine default action. From-SVN: r82390
2004-05-28target-supports.exp (check_alias_available, [...]): Use unique names for ↵Janis Johnson2-11/+28
temporary files. 2004-05-28 Janis Johnson <janis187@us.ibm.com> * lib/target-supports.exp (check_alias_available, check_iconv_available, check_named_sections_available): Use unique names for temporary files. From-SVN: r82388
2004-05-28altivec-15.c: New test.Ziemowit Laski2-0/+33
2004-05-28 Ziemowit Laski <zlaski@apple.com> * gcc.dg/altivec-15.c: New test. From-SVN: r82387
2004-05-28fix typo in last commit....Aldy Hernandez1-4/+1
From-SVN: r82386
2004-05-28altivec.h (vec_ctf, [...]): Remove type checks for integral parameters and ↵Ziemowit Laski2-324/+295
literals from '..._args_eq' macros. 2004-05-28 Ziemowit Laski <zlaski@apple.com> * config/rs6000/altivec.h (vec_ctf, vec_vcfsx, vec_vcfux, vec_cts, vec_ctu, vec_dss, vec_dst, vec_dstst, vec_dststt, vec_dstt, vec_ld, vec_ldl, vec_lvsl, vec_lvsr, vec_sld, vec_splat, vec_vspltw, vec_vsplth, vec_vspltb, vec_splat_s8, vec_splat_s16, vec_splat_s32, vec_splat_u8, vec_splat_u16, vec_splat_u32, vec_st, vec_stl, vec_ste): Remove type checks for integral parameters and literals from '..._args_eq' macros. From-SVN: r82385
2004-05-28* c-common.c (fname_as_string): Fix xcalloc to xmalloc.Aldy Hernandez2-1/+5
From-SVN: r82384
2004-05-28decl.c (cp_make_fname_decl): Free return value from fname_as_string.Aldy Hernandez2-0/+8
* decl.c (cp_make_fname_decl): Free return value from fname_as_string. From-SVN: r82382
2004-05-28function.cc: New.Aldy Hernandez5-2/+57
* testsuite/g++.dg/charset/function.cc: New. * testsuite/gcc.dg/charset/function.c: New. * c-decl.c (c_make_fname_decl): Free return value from fname_as_string. * cp/decl.c (cp_make_fname_decl): Free return value from fname_as_string. * c-common.c (fname_as_string): Translate if necessary. From-SVN: r82381
2004-05-28* stringpool.c: Add comments to PCH saving/restoring routines.Geoffrey Keating2-2/+25
From-SVN: r82380
2004-05-28check-init.c (check_init): Handle binops UNLT_EXPR, UNLE_EXPR, UNGT_EXPR, ↵Bryce McKinlay2-0/+11
UNGE_EXPR, UNEQ_EXPR, and LTGT_EXPR. * check-init.c (check_init): Handle binops UNLT_EXPR, UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, and LTGT_EXPR. From-SVN: r82379
2004-05-28c-common.c (c_estimate_num_insns_1): Kill.Andrew Pinski3-131/+9
2004-05-28 Andrew Pinski <pinskia@physics.uc.edu> * c-common.c (c_estimate_num_insns_1): Kill. (c_estimate_num_insns): Kill. * c-common.h (c_estimate_num_insns): Kill. From-SVN: r82377
2004-05-28gthr-posix.h: Check for _POSIX_PRIORITY_SCHEDULING when checking for...Andrew Pinski2-3/+8
2004-05-28 Andrew Pinski <pinskia@physics.uc.edu> * gthr-posix.h: Check for _POSIX_PRIORITY_SCHEDULING when checking for _POSIX_THREAD_PRIORITY_SCHEDULING. Remove comment about not checking for _POSIX_PRIORITY_SCHEDULING. * gthr-posix.c: Likewise. From-SVN: r82376
2004-05-28re PR c++/14668 (no warning anymore for reevaluation of declaration)Mark Mitchell5-6/+34
PR c++/14668 * parser.c (cp_parser_simple_type_specifier): Call maybe_note_name_used_in_class. PR c++/14668 * g++.dg/lookup/redecl1.C: New test. * g++.old-deja/g++.benjamin/tem04.C: Add error marker. From-SVN: r82375
2004-05-28gthr-posix.h: Check for _POSIX_PRIORITY_SCHEDULING when checking for...Andrew Pinski1-0/+8
2004-05-28 Andrew Pinski <pinskia@physics.uc.edu> * gthr-posix.h: Check for _POSIX_PRIORITY_SCHEDULING when checking for _POSIX_THREAD_PRIORITY_SCHEDULING. Remove comment about not checking for _POSIX_PRIORITY_SCHEDULING. * gthr-posix.c: Likewise. From-SVN: r82373
2004-05-28gcj.texi (Object allocation): Remove _Jv_AllocBytes.Bryce McKinlay9-17/+83
* gcj.texi (Object allocation): Remove _Jv_AllocBytes. (Mixing with C++): Document JvAllocBytes and RawDataManaged. * gcj/cni.h (JvAllocBytes): New public CNI function. Calls _Jv_AllocBytes. * gnu/gcj/RawDataManaged.java: New file. * java/lang/Thread.java (data): Declare as RawDataManaged. * java/lang/natThread.cc (init_native): Cast natThread data to RawDataManaged, not jobject. * Makefile.am (ordinary_java_source_files): Add RawDataManaged. * Makefile.in: Rebuilt. From-SVN: r82372
2004-05-28New, from PR 14498.Dale Johannesen1-0/+13
From-SVN: r82368
2004-05-28tweakJason Merrill1-1/+1
From-SVN: r82367
2004-05-28re PR c++/15214 (Warning non-virtual-dtor too strict)Tom Marshall2-1/+16
PR c++/15214 * class.c (finish_struct_1): Warn only if the dtor is non-private or the class has friends. From-SVN: r82366
2004-05-28re PR rtl-optimization/15649 (ICE with __builtin_isgreater and -ffast-math)Paolo Bonzini21-91/+856
gcc/ChangeLog: 2004-05-27 Paolo Bonzini <bonzini@gnu.org> Roger Sayle <roger@eyesopen.com> PR rtl-optimization/15649 Add LTGT_EXPR and improve pretty-printing of unordered comparisons. * c-common.c (c_common_truthvalue_conversion): Handle LTGT_EXPR. * c-typeck.c (build_binary_op): Likewise. * dojump.c (do_jump): Likewise. * expr.c (expand_expr_real_1, do_store_flag): Likewise. * predict.c (tree_predict_by_opcode): Likewise. * real.c (real_compare): Likewise. * tree-cfg.c (verify_expr): Likewise. * tree-inline.c (estimate_num_insns_1): Likewise. * tree-pretty-print.c (dump_generic_node): Likewise. Handle ORDERED_EXPR, UNORDERED_EXPR. (op_symbol): Print unordered comparisons differently than ordered ones. * tree.def (LTGT_EXPR): New '<' tree code. * doc/c-tree.texi (Expressions): Document floating-point comparison nodes. Fold comparisons between floating point values. * fold-const.c (enum comparison_code): New, from #define'd constants. Define compcodes for unordered comparisons and for invalid transformations. (invert_tree_comparison): Add "honor_nans" parameter. (fold_truthop): Revamp to work on floating-point types too. (comparison_to_compcode): Support unordered comparisons. Use new enum comparison_code. (compcode_to_comparison): Likewise. (combine_compcodes): New function. (invert_truthvalue): Let invert_tree_comparison decide whether it is valid to fold the comparison. Fold ORDERED and UNORDERED even if flag_unsafe_math_optimizations is off, and the remaining even if flag_unsafe_math_optimizations is off but we are under -fno-trapping-math. (fold_relational_const): Integer modes do not honor NaNs. gcc/testsuite/ChangeLog: 2004-05-27 Paolo Bonzini <bonzini@gnu.org> * gcc.c-torture/compare-fp-1.c, gcc.c-torture/compare-fp-2.c, gcc.c-torture/compare-fp-3.c, gcc.c-torture/compare-fp-4.c, gcc.c-torture/compare-fp-3.x, gcc.c-torture/compare-fp-4.x, gcc.c-torture/pr15649-1.c: New. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r82365
2004-05-28* config/arm/arm.c (arm_output_epilogue): Remove redundant code.Paul Brook2-15/+6
From-SVN: r82361
2004-05-28arm.c (thumb_force_lr_save): New function.Paul Brook2-7/+38
* config/arm/arm.c (thumb_force_lr_save): New function. (arm_get_frame_offsets, thumb_unexpanded_epilogue, thumb_output_function_prologue): Use it. (thumb_expand_prologue): Set lr_save_eliminated. From-SVN: r82360
2004-05-28mips.md (extendsidi2): Tie the source and destination of the register ↵Richard Sandiford2-6/+24
alternative. * config/mips/mips.md (extendsidi2): Tie the source and destination of the register alternative. Split it into nothing. From-SVN: r82359
2004-05-28rtl.h (skip_consecutive_labels): Declare.Richard Sandiford5-14/+28
* rtl.h (skip_consecutive_labels): Declare. * emit-rtl.c (skip_consecutive_labels): New function. * reorg.c (relax_delay_slots, dbr_schedule): Use it. * jump.c (follow_jumps): Say what null return values mean. From-SVN: r82357