- 21 Aug, 2005 7 commits
-
-
fortran/ * gfortran.h (gfc_option_t): Remove source field. Add flag_d_lines field. (gfc_new_file): Remove arguments in prototype. (gfc_source_file): Make 'const char *'. * f95-lang.c (gfc_init): Use gfc_source_file instead of gfc_option.source. Call gfc_new_file without arguments. * invoke.texi: Document new options '-fd-lines-as-code' and '-fd-lines-as-comment'. * lang.opt: Add new options. Alphabetize. * options.c (gfc_init_options): Initialize gfc_source_file instead of gfc_option.source. Initialize gfc_option.flag_d_lines. (form_from_filename): Move here from scanner.c. Make 'filename' argument 'const'. (gfc_post_options): Set gfc_source_file. Determine source form. Warn if 'd-lines*' are used in free form. * scanner.c (gfc_source_file): Constify. (skip_fixed_comments): Deal with d-lines. (get_file): Constify argument 'name'. (load_file): Constify argument 'filename'. (form_from_filename): Moved to options.c. (gfc_new_file): Remove arguments. Don't initialize gfc_source_file, don't determine source form. * trans-const.c (gfc_init_constants): Use gfc_source_file instead of gfc_option.source. testsuite/ * d_lines_1.f, d_lines_2.f, d_lines_3.f, d_lines_4.f, d_lines_5.f: New. From-SVN: r103322
Tobias Schlüter committed -
* simplify-rtx.c (simplify_immed_subreg) <case CONST_DOUBLE>: Only clear up to elem_bitsize bits, not max_bitsize. * gcc.target/i386/sse-4.c: New test. From-SVN: r103318
Jakub Jelinek committed -
re PR tree-optimization/23433 (ICE: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1512) PR tree-optimization/23433 * tree-chrec.c (chrec_apply): Translate INTEGER_CST to a REAL_CST when the type is SCALAR_FLOAT_TYPE_P. From-SVN: r103317
Sebastian Pop committed -
From-SVN: r103316
Sebastian Pop committed -
PR tree-optimization/23434 * tree-ssa-loop-niter.c (proved_non_wrapping_p): Give up when the iteration bound is not an INTEGER_CST. From-SVN: r103315
Sebastian Pop committed -
tree-vect-transform.c (get_initial_def_for_reduction): Set need_epilog_adjust back to false for MIN/MAX case. * tree-vect-transform.c (get_initial_def_for_reduction): Set need_epilog_adjust back to false for MIN/MAX case. Set *scalar_def to NULL if need_epilog_adjust is false. (vect_create_epilog_for_reduction): Variable adjust_in_epilog removed. Case 3 always peels first itration, not just for PLUS case, and no need to use scalar_initial_def here. Create an epilog adjustment only if scalar_initial_def is not NULL. (vectorizable_reduction): Remove assert. From-SVN: r103314
Dorit Nuzman committed -
[[Split portion of a mixed commit.]] From-SVN: r103311.2
GCC Administrator committed
-
- 20 Aug, 2005 9 commits
-
-
2005-08-20 H.J. Lu <hongjiu.lu@intel.com> PR target/23485 * config/ia64/lib1funcs.asm (__divdi3): Check divide by zero. (__moddi3): Likewise. (__udivdi3): Likewise. (__umoddi3): Likewise. (__divsi3): Likewise. (__modsi3): Likewise. (__udivsi3): Likewise. (__umodsi3): Likewise. From-SVN: r103309
H.J. Lu committed -
PR libgcj/21692 * sysdep/pa/descriptor.h: New file. * configure.host: Use sysdep/pa/descriptor.h on hppa*-*. From-SVN: r103306
John David Anglin committed -
re PR testsuite/23239 (gcc.dg/tree-prof/val-prof-5.c scan-tree-dump Div.mod by constant b..=997 transformation on insn fails) PR testsuite/23239 * gcc.dg/tree-prof/val-prof-5.c: Fix scan-tree-dump regexp. From-SVN: r103305
John David Anglin committed -
* tree-pass.h (TDF_GRAPH): Define. * tree-dump.c (dump_options): Don't set TDF_GRAPH in "all". * passes.c (finish_optimization_passes): Only call finish_graph_dump_file if TDF_GRAPH is set. (execute_one_pass): Only call clean_graph_dump_file if dump_file != NULL. Set TDF_GRAPH bit. (execute_todo): Call print_rtl_graph_with_bb if TDF_GRAPH is set. * gcc.dg/20050811-1.c: New test. * gcc.dg/20050811-2.c: New test. From-SVN: r103304
Jakub Jelinek committed -
* Makefile.def (libssp): Add to lang_env_dependencies. * Makefile.in: Regenerate. From-SVN: r103303
Richard Earnshaw committed -
From-SVN: r103302
Richard Earnshaw committed -
* arm.h (arm_stack_offsets): Add locals_base field. * arm.c (arm_get_frame_offsets): Compute it. (thumb_compute_initial_elimination offset): Make the Thumb frame pointer point to the base of the local variables. (thumb_expand_prologue): Update accordingly. (thumb_expand_epilogue): Likewise. * arm.md (thumb_movhi_clobber): Make this insn a define_expand. Change mode of clobbered scratch to DImode. Handle a case that's known to need this. From-SVN: r103301
Richard Earnshaw committed -
* config/rs6000/rs6000.md (gt0<mode>): Delete. (gt0<mode>_compare): Delete. (neg_gt0<mode>): Delete. From-SVN: r103300
David Edelsohn committed -
[[Split portion of a mixed commit.]] From-SVN: r103297.2
GCC Administrator committed
-
- 19 Aug, 2005 20 commits
-
-
2005-08-19 Eric Christopher <echristo@apple.com> * optabs.h: Change CTI_ to COI_. * optabs.c: Ditto. From-SVN: r103295
Eric Christopher committed -
* builtins.c (expand_builtin_return_addr): Set current_function_accesses_prior_frames when count != 0. Use frame_pointer_rtx when count == 0. * function.h (struct function): Add accesses_prior_frames field. (current_function_accesses_prior_frames): Define. * reload1.c (init_elim_table): Check current_function_accesses_prior_frames. * doc/tm.texi (INITIAL_FRAME_ADDRESS_RTX): Update docs. From-SVN: r103294
James E Wilson committed -
* parser.c (cp_parser_nth_token_starts_template_argument_list_p): Fix typo in leading comment. From-SVN: r103292
Volker Reichelt committed -
* tree-cfgcleanup.c (cleanup_tree_cfg): Fix flowgraph change indicator. Return true if the flowgraph changed during cleanup. From-SVN: r103291
Diego Novillo committed -
PR 23476 * tree-cfgcleanup.c (cleanup_control_expr_graph): Fold the conditional expression before testing its value. PR 23476 * gcc.c-torture/compile/pr23476.c: New test. From-SVN: r103290
Diego Novillo committed -
From-SVN: r103289
Diego Novillo committed -
PR tree-optimization/23048 * tree-if-conv.c (if_convertible_bb_p): Supply basic_block as third parameter. Check whether latch is dominated by exit block or not. (if_convertible_loop_p): Supply exit block itself to if_convertible_bb_p. * gcc.dg/tree-ssa/pr23048.c: New test. From-SVN: r103287
Devang Patel committed -
PR target/23473 * arm.md (arm_load_pic_register): Change argument to the mask of saved registers. Call thumb_find_work_register if we need a scratch register on Thumb. (arm_expand_prologue): Pass empty register set to arm_load_pic_register. (thumb_expand_prologue): Pass live_regs_mask directly to arm_load_pic_register. * arm-protos.h (arm_load_pic_register): Update prototype. From-SVN: r103277
Richard Earnshaw committed -
* sh.c (find_sole_member): New function. (sh_gimplify_va_arg_expr): Use it. Allow RECORD_TYPE mode mismatch if the record's alignment is larger than the size of its only member. From-SVN: r103276
Joern Rennecke committed -
* sh.c (find_sole_member): New function. (sh_gimplify_va_arg_expr): Use it. Allow RECORD_TYPE mode mismatch if the record's alignment is larger than the size of its only member. From-SVN: r103275
Joern Rennecke committed -
* config/cpu/sh/atomicity.h: Replace broken generic code with current copy of generic/atomicity.h . From-SVN: r103274
J"orn Rennecke committed -
PR target/23436 * arm.c (thumb_legitimize_reload_address): New function. * arm-protos.h (thumb_legitimize_reload_address): Add prototype. * arm.h (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Call it. From-SVN: r103273
Richard Earnshaw committed -
From-SVN: r103272
Tobias Schlüter committed -
2005-08-19 Steven G. Kargl <kargls@comcast.net> PR fortran/23065 * gfortran.h: Remove PATH_MAX definition. * module.c (write_module, gfc_dump_module): Use alloca to allocate buffers. * scanner.s (gfc_release_include_path, form_from_filename): Ditto. From-SVN: r103271
Steven G. Kargl committed -
From-SVN: r103270
Paul Woegerer committed -
* config/crx/crx.c: Implemented crx_decompose_address (like in the i386 port) so that crx_legitimate_address_p, crx_address_cost and crx_print_operand_address are using the same code for adress handling. Using symbolic displacements now gets rejected since the CRX register relative adressing mode can't handle unsigned 32-bit values as displacements. * config/crx/crx.h: Simplified definitions for REG_OK_FOR_BASE_P, removed redundant parenthesis and obsolete macros. * config/crx/crx.opt: Added a new switch for debugging of address handling. * config/crx/crx-protos.h: Added new declarations for above. From-SVN: r103269
Paul Woegerer committed -
2005-08-19 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/20624 * g++.dg/warn/Wreturn-3.C: New test 2005-08-19 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/20624 * gimple-low.c (block_may_fallthru): Handle CLEANUP_POINT_EXPR by looking past it. From-SVN: r103268
Andrew Pinski committed -
2005-08-19 Andrew Pinski <pinskia@physics.uc.edu> * Makefile.am (extra_ldflags_libjava): New variable to substitute in. (LIBLINK): Add extra_ldflags_libjava to it. * configure.ac (extra_ldflags_libjava): Set for *-darwin* to "-Wl,-single_module". * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. * gcj/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. From-SVN: r103265
Andrew Pinski committed -
* collect2.c (dup2): Delete. * configure.ac: Don't check for dup2. * config.in, configure: Regenerate. From-SVN: r103263
Kaveh R. Ghazi committed -
[[Split portion of a mixed commit.]] From-SVN: r103260.2
GCC Administrator committed
-
- 18 Aug, 2005 4 commits
-
-
* mf-hooks1.c (malloc, calloc, realloc, free, __mf_wrap_alloca_indirect): Call BEGIN_MALLOC_PROTECT before calling the real routines, and END_MALLOC_PROTECT afterwards. * mf-impl.h (enum __mf_state_enum): Expand comment. Add in_malloc. (BEGIN_PROTECT): Handle in_malloc state. (BEGIN_MALLOC_PROTECT, END_MALLOC_PROTECT): New. * testsuite/libmudflap.c/hook2-allocstuff.c: New. From-SVN: r103256
James E Wilson committed -
From-SVN: r103255
Ian Lance Taylor committed -
sh.c (sh_gimplify_va_arg_expr): Loop to substitute a RECORD_TYPE record with the type of its only member. * sh.c (sh_gimplify_va_arg_expr): Loop to substitute a RECORD_TYPE record with the type of its only member. From-SVN: r103254
J"orn Rennecke committed -
* config/rs6000/rs6000.md (ltu<mode>_compare): Convert to define_insn_and_split. (plus_ltu<mode>_compare): Same. (gtu<mode>_compare): Same. (plus_gtu<mode>_compare): Same. From-SVN: r103253
David Edelsohn committed
-