- 27 Jul, 2006 2 commits
-
-
re PR target/28508 (Assembler Error: operand out of range (145 not between -128 and 127) form m32r-target) PR gcc/28508 * config/m32r/m32r.md (branch_insn): Reduce pc range for short branch. (rev_branch_insn): Likewise. From-SVN: r115773
Kazuhiro Inaoka committed -
From-SVN: r115769
GCC Administrator committed
-
- 26 Jul, 2006 10 commits
-
-
PR rtl-optimization/28071 * regmove.c (reg_is_remote_constant_p): Avoid quadratic behaviour. (reg_set_in_bb, max_reg_computed): New static variables. (regmove_optimize): Free the new array. (fixup_match_1): Update call of reg_is_remote_constant_p. From-SVN: r115765
Jan Hubicka committed -
re PR tree-optimization/27882 (segfault in ipa-inline.c, if (e->callee->local.disregard_inline_limits) PR tree-optimization/27882 * cgraph.c (cgraph_remove_node): Clear needed, reachable, next, previous and decl fields. * cgraphunit.c (cgraph_reset_node): Expect cgraph_remove_node to kill next pointer (cgraph_analyze_compilation_unit): Likewise. * ipa.c (cgraph_remove_unreachable_nodes): Likewise. * ipa-inline.c (cgraph_decide_recursive_inlining): Likewise. (cgraph_early_inlinine): Make order garbage collected. * Makefile.in (gt-ipa-inline): New garbagecollected file. From-SVN: r115763
Jan Hubicka committed -
* dbxout.c (output_types_sort): Add a comment. (output_used_types): Free the VEC. From-SVN: r115762
Daniel Jacobowitz committed -
* function.c (reorder_fix_fragments): Delete. (reorder_blocks): Don't call it. (reorder_blocks_1): Put all subblocks under the origin block. From-SVN: r115761
Daniel Jacobowitz committed -
PR rtl-optimization/27907 * expr.c (force_operand): Use convert_move to handle FLOAT_EXTEND and FLOAT_TRUNCATE. * gcc.c-torture/compile/pr27907.c: New test. From-SVN: r115760
Zdenek Dvorak committed -
intrinsic.c (add_functions): Add INT2, SHORT, INT8, LONG, LSTAT, MCLOCK and MCLOCK8 intrinsic functions. * intrinsic.c (add_functions): Add INT2, SHORT, INT8, LONG, LSTAT, MCLOCK and MCLOCK8 intrinsic functions. (add_subroutines): Add LSTAT intrinsic subroutine. * gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_INT2, GFC_ISYM_INT8, GFC_ISYM_LONG, GFC_ISYM_LSTAT, GFC_ISYM_MCLOCK and GFC_ISYM_MCLOCK8. * iresolve.c (gfc_resolve_int2, gfc_resolve_int8, gfc_resolve_long, gfc_resolve_lstat, gfc_resolve_mclock, gfc_resolve_mclock8, gfc_resolve_lstat_sub): New functions. * check.c (gfc_check_intconv): New function. * trans-intrinsic.c (gfc_conv_intrinsic_function): Add cases for the added GFC_ISYM_*. * simplify.c (gfc_simplify_intconv, gfc_simplify_int2, gfc_simplify_int8, gfc_simplify_long): New functions. * intrinsic.h (gfc_check_intconv, gfc_simplify_int2, gfc_simplify_int8, gfc_simplify_long, gfc_resolve_int2, gfc_resolve_int8, gfc_resolve_long, gfc_resolve_lstat, gfc_resolve_mclock, gfc_resolve_mclock8, gfc_resolve_lstat_sub): Add prototypes. * gfortran.dg/mclock.f90: New test. * gfortran.dg/int_conv_1.f90: New test. * gfortran.dg/stat_1.f90: New test. * gfortran.dg/stat_2.f90: New test. * configure.ac: Check for function clock. * Makefile.am: Compile new file intrinsics/clock.c. * intrinsics/clock.c: New file. * Makefile.in: Regenerate. * configure: Regenerate. * config.h.in: Regenerate. * intrinsics/stat.c: Rename the old stat_i?_sub functions to helper functions stat_i?_sub_0, and use them for both STAT and LSTAT. From-SVN: r115754
François-Xavier Coudert committed -
From-SVN: r115751
Jerry DeLisle committed -
2006-07-25 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/28335 * gfortran.dg/no_unit_error_1.f90: New test. * gfortran.dg/no_unit_error_2.f90: New test. * gfortran.dg/temporary_1.f90: Remove extraneous CLOSE. From-SVN: r115750
Jerry DeLisle committed -
PR libgfortran/258335 * close.c (st_close): Add error when UNIT does not exist. * file_position.c (st_flush): Add error when UNIT does not exist. From-SVN: r115749
Jerry DeLisle committed -
From-SVN: r115747
GCC Administrator committed
-
- 25 Jul, 2006 10 commits
-
-
re PR middle-end/28473 (with -O, casting result of round(x) to uint64_t produces wrong values for x > INT_MAX) PR middle-end/28473 * convert.c (convert_to_integer): When transforming (T)foo(x) into bar(x) check that bar's result type can represent all the values of T. * gcc.dg/fold-convround-1.c: New test case. From-SVN: r115742
Roger Sayle committed -
* tree-chrec.c (chrec_convert_aggressive): Return NULL on failure. From-SVN: r115740
Zdenek Dvorak committed -
2006-07-25 Torsten Schoenfeld <kaffeetisch@gmx.de> * include/ffi.h.in (ffi_type_ulong, ffi_type_slong): Define correctly for 32-bit architectures. * testsuite/libffi.call/return_ul.c: New test case. From-SVN: r115739
Torsten Schoenfeld committed -
* ggc-page.c (NUM_SIZE_LOOKUP): New constant - the length of the size_lookup[] array. (ggc_alloc_stat): Use NUM_SIZE_LOOKUP. (ggc_pch_count_object): Likewise. (ggc_pch_alloc_object): Likewise. (ggc_pch_write_object): Likewise. (init_ggc): Do not attempt to initialize entries in the size_lookup[] array for objects whose size is greater than than the length of the array. From-SVN: r115738
Nick Clifton committed -
* dbxout.c (output_used_types_helper): Push queued types on a VEC. (output_types_sort): New. (output_used_types): Collect used types on a VEC and sort them before emission. From-SVN: r115735
Daniel Jacobowitz committed -
2006-07-25 Paolo Bonzini <bonzini@gnu.org> * config.guess: Import from src (was more updated). * config.sub: Likewise. From-SVN: r115734
Paolo Bonzini committed -
config: 2006-07-25 Paolo Bonzini <bonzini@gnu.org> PR build/26188 * stdint.m4: Test for uintptr_t even on systems with uint64_t or uint32_t. libdecnumber: 2006-07-25 Paolo Bonzini <bonzini@gnu.org> PR build/26188 * configure: Regenerate. libgfortran: 2006-07-25 Paolo Bonzini <bonzini@gnu.org> PR build/26188 * configure: Regenerate. From-SVN: r115733
Paolo Bonzini committed -
2006-07-24 Steven G. Kargl <kargls@comcast.net> * gfortran.dg/arithmetic_if.f90: Fix comments. From-SVN: r115732
Steven G. Kargl committed -
PR c++/27572 * decl.c (grokdeclarator): Return error_mark_node after invalid typedef. * g++.dg/other/typedef1.C: New test. * g++.dg/template/typedef4.C: New test. * g++.dg/template/typedef5.C: New test. From-SVN: r115729
Volker Reichelt committed -
From-SVN: r115727
GCC Administrator committed
-
- 24 Jul, 2006 15 commits
-
-
fortran/ 2006-07-24 Erik Edelmann <eedelman@gcc.gnu.org> PR fortran/28416 * trans-array.c (gfc_conv_array_parameter): Give special treatment for ALLOCATABLEs if they are themselves dummy variables. testsuite/ 2006-07-24 Erik Edelmann <eedelman@gcc.gnu.org> PR fortran/28416 * gfortran.dg/allocatable_dummy_3.f90: New. From-SVN: r115721
Erik Edelmann committed -
2006-07-24 Steven G. Kargl <kargls@comcast.net> PR fortran/28439 * gfortran.dg/arithmetic_if.f90: New test. From-SVN: r115718
Steven G. Kargl committed -
2006-07-24 Paolo Carlini <pcarlini@suse.de> * include/tr1/cinttypes: Simply protect everything with _GLIBCXX_USE_C99_INTTYPES_TR1. * include/tr1/cfenv: Likewise with _GLIBCXX_USE_C99_FENV_TR1. * include/tr1/cstdint: Likewise with _GLIBCXX_USE_C99_STDINT_TR1. From-SVN: r115715
Paolo Carlini committed -
2006-07-24 Richard Guenther <rguenther@suse.de> PR middle-end/28463 * cgraph.c (cgraph_remove_node): Do not check if dumps are enabled. * cgraphunit.c (cgraph_optimize): Likewise. From-SVN: r115714
Richard Guenther committed -
PR rtl-optimization/28071 * tree-cfg.c (tree_split_block): Do not allocate new stmt_list nodes. * tree-iterator.c (tsi_split_statement_list_before): Do not crash when splitting before first stmt. From-SVN: r115713
Jan Hubicka committed -
PR rtl-optimization/28071 * ipa-inline.c (update_caller_keys): Remove edges that are no longer inline candidates. From-SVN: r115712
Jan Hubicka committed -
* gcc.dg/visibility-11.c: Enlarge test array to 1024 bytes to avoid memcpy optimization. From-SVN: r115705
Uros Bizjak committed -
PR debug/27473 * dbxout.c (output_used_types_helper, output_used_types): New. (dbxout_symbol): Call output_used_types. From-SVN: r115704
Daniel Jacobowitz committed -
PR c++/28460 * decl.c (grokvardecl): Use FROB_CONTEXT. * pt.c (register_specialization): Likewise. From-SVN: r115703
Daniel Jacobowitz committed -
2006-07-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/25289 * gfortran.dg/direct_io_6.f90: New test. From-SVN: r115702
Jerry DeLisle committed -
2006-07-23 Mohan Embar <gnustuff@thisiscool.com> * include/win32-threads.h (_Jv_Thread_t): Explicitly name the struct. From-SVN: r115701
Mohan Embar committed -
2006-07-23 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/25289 * gfortran.h: Declare gfc_large_io_int_kind. * trans-types.c (gfc_init_kinds): Set gfc_large_io_int_kind to size 8 or 4. * trans-io.c (enum iofield_type): Add large_io_int type. (gfc_build_st_parameter): Same. (gfc_build_io_library_fndecls): Same. * ioparm_def: Use large_io_int to define rec. From-SVN: r115700
Jerry DeLisle committed -
2006-07-23 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/25289 * libgfortran.h: Add conditional definition of GFC_LARGE_IO_INT type. * io/io.h (st_parameter_dt): Define rec as type GFC_LARGE_IO_INT. From-SVN: r115698
Jerry DeLisle committed -
From-SVN: r115697
GCC Administrator committed -
PR c/25795 PR c++/27369 * cgraph.c (cgraph_varpool_nodes): Export. (decide_is_variable_needed): Ignored "used" attribute in unit-at-a-time mode. * cgraph.h (cgraph_varpool_nodes): Declare. * cgraphunit.c (decide_is_function_needed): Ignored "used" attribute in unit-at-a-time mode. * gcc.dg/pr25795.c: New test. * gcc.dg/pr25795-1.c: New test. From-SVN: r115693
Jan Hubicka committed
-
- 23 Jul, 2006 3 commits
-
-
2006-07-23 Mohan Embar <gnustuff@thisiscool.com> * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL attribute. (_Jv_JVMTI_ResumeThread): Likewise. (_Jv_JVMTI_DisposeEnvironment): Likewise. From-SVN: r115692
Mohan Embar committed -
* gcc.dg/fold-cond-1.c: Increase test case portability by checking that "g ? 1 : h" doesn't match, instead of checking for "(g | h) != 0" which may be transformed to "g || h" on some platforms. From-SVN: r115691
Roger Sayle committed -
PR c++/28025 * cp-tree.h (LOOKUP_HIDDEN): New macro. Reformat comments. * name-lookup.c (unqualified_namespace_lookup): There is no way to have a hidden name in non-namespace scopes. * pt.c (tsubst_friend_class): Look for hidden names. * decl.c (lookup_and_check_tag): Fix typo in comment. * semantics.c (finish_compound_literal): Fix typo in comment. PR c++/28025 * g++.dg/template/friend45.C: New test. From-SVN: r115687
Mark Mitchell committed
-