- 01 May, 2006 13 commits
-
-
PR rtl-optimization/27291 * loop-doloop.c (add_test, doloop_modify): Handle the case condition is folded to a constant. * g++.dg/tree-ssa/pr27291.C: New test. From-SVN: r113430
Zdenek Dvorak committed -
PR tree-optimization/27283 * tree-ssa-loop-ivopts.c (struct nfe_cache_elt): Store just trees, not whole # of iteration descriptions. (niter_for_exit): Return just # of iterations. Fail if # of iterations uses abnormal ssa name. (niter_for_single_dom_exit): Ditto. (find_induction_variables, may_eliminate_iv): Expect niter_for_exit to return just the number of iterations. * g++.dg/tree-ssa/pr27283.C: New test. From-SVN: r113427
Zdenek Dvorak committed -
2006-05-01 Andreas Tobler <a.tobler@schweiz.ch> * configure.ac: Simplify the mmap check a bit more. * configure: Rebuilt. * include/config.h.in: Likewise. From-SVN: r113426
Andreas Tobler committed -
PR tree-optimization/27144 * tree-ssa-loop-niter.c (derive_constant_upper_bound): New function. (record_estimate): Only record constant upper bound. (infer_loop_bounds_from_undefined): Call compute_estimated_nb_iterations just once. (proved_non_wrapping_p): Renamed to ... (n_of_executions_at_most): ... this. Expect bound to be a constant. (convert_step_widening, scev_probably_wraps_p): Call n_of_executions_at_most instead of proved_non_wrapping_p. (substitute_in_loop_info): Do not replace values in bounds. * cfgloop.h (struct nb_iter_bound): Remove "additional" field. Update comments. * gcc.dg/tree-ssa/loop-16.c: New test. From-SVN: r113425
Zdenek Dvorak committed -
PR c/27358 * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Move after c_parser_skip_to_pragma_eol. Convert to switch statement. Handle CPP_PRAGMA. From-SVN: r113421
Richard Henderson committed -
c-typeck.c (parser_build_binary_op): Don't call the function unsigned_conversion_warning to spot operand/result type... * c-typeck.c (parser_build_binary_op): Don't call the function unsigned_conversion_warning to spot operand/result type overflow. (build_binary_op): Instead, call convert_and_check instead of convert to report the problem when the operands are promoted. * c-common.c (unsigned_conversion_warning): Make static. * c-common.h (unsigned_conversion_warning): Delete prototype. * gcc.dg/Wconversion-3.c: New test case. * gcc.dg/Wconversion-4.c: Likewise. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r113418
Roger Sayle committed -
* boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR before calling GC_register_has_static_roots_callback. (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and HAVE_DLADDR before calling dladdr. Co-Authored-By: Andrew Haley <aph@redhat.com> From-SVN: r113417
Roger Sayle committed -
2006-05-01 Richard Guenther <rguenther@suse.de> PR tree-optimization/26726 * tree-ssa-loop-ivopts.c (idx_find_step): Mark source of the problem ... (find_interesting_uses_address): ... we work around here by folding INDIRECT_REFs in the substituted base. * g++.dg/tree-ssa/ivopts-1.C: New testcase. From-SVN: r113414
Richard Guenther committed -
acinclude.m4 (GLIBCXX_ENABLE_WCHAR_T): Always check the presence of wctype.h, for use in GLIBCXX_ENABLE_C99. 2006-05-01 Paolo Carlini <pcarlini@suse.de> * acinclude.m4 (GLIBCXX_ENABLE_WCHAR_T): Always check the presence of wctype.h, for use in GLIBCXX_ENABLE_C99. * configure: Regenerate. From-SVN: r113413
Paolo Carlini committed -
* omp-low.c (dump_omp_region): Add newlines. From-SVN: r113412
Diego Novillo committed -
2006-05-01 Richard Guenther <rguenther@suse.de> * MAINTAINERS (Various Maintainers): Add myself as libgcc-math maintainer. From-SVN: r113409
Richard Guenther committed -
* common.opt (Woverflow): New command line option. * c-common.c (constant_expression_warning): Check warn_overflow. (overflow_waring): Pass OPT_Woverflow to warning. (unsigned_conversion_warning): Likewise. (convert_and_check): Likewise. * doc/invoke.texi: Document new command line option. * gcc.dg/Woverflow-1.c: New test case. * gcc.dg/Woverflow-2.c: Likewise. * gcc.dg/Woverflow-3.c: Likewise. From-SVN: r113408
Roger Sayle committed -
From-SVN: r113404
GCC Administrator committed
-
- 30 Apr, 2006 6 commits
-
-
PR c++/27094 * pt.c (tsubst_default_argument): Increment function_depth around call to tsubst_expr. * parser.c (cp_parser_parameter_declaration): Likewise. * decl2.c (mark_used): Tidy. PR c++/27094 * g++.dg/template/defarg8.C: New test. From-SVN: r113399
Mark Mitchell committed -
* config/rs6000/rs6000.c (rs6000_override_options): Enable TARGET_NO_FP_IN_TOC for section anchors. (optimization_options): Enable section anchors for all non-"Objective" languages. From-SVN: r113395
David Edelsohn committed -
2006-04-30 Kenneth Zadeck <zadeck@naturalbridge.com> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r113392
Kenneth Zadeck committed -
PR c++/27278 * decl.c (grok_op_properties): Skip operators with invalid args when checking for class-type or enum-type args. * g++.dg/parse/operator7.C: New test. From-SVN: r113389
Volker Reichelt committed -
2006-04-29 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/27360 * io/list_read.c (read_logical): Free line_buffer and free saved. From-SVN: r113388
Jerry DeLisle committed -
From-SVN: r113386
GCC Administrator committed
-
- 29 Apr, 2006 8 commits
-
-
PR c++/11471 PR c++/27102 * g++.dg/template/crash48.C: New test. From-SVN: r113382
Volker Reichelt committed -
PR c++/27279 * decl.c (copy_fn_p): Skip functions with invalid first arg. * g++.dg/parse/ctor4.C: New test. From-SVN: r113378
Volker Reichelt committed -
locale_facets.tcc (num_get<>::_M_extract_float): Special case main parsing loop for !_M_allocated (i.e., "C" locale). 2006-04-29 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (num_get<>::_M_extract_float): Special case main parsing loop for !_M_allocated (i.e., "C" locale). (num_get<>::_M_extract_int): Likewise. * include/bits/locale_facets.h (num_get<>::_M_find): New. From-SVN: r113377
Paolo Carlini committed -
PR fortran/25681 * simplify.c (simplify_len): Character variables with constant length can be simplified. * gfortran.df/char_type_len.f90: New test. From-SVN: r113376
Francois-Xavier Coudert committed -
2006-04-29 H.J. Lu <hongjiu.lu@intel.com> PR fortran/27351 * trans-array.c (gfc_conv_array_transpose): Move gcc_assert before gfc_conv_expr_descriptor. From-SVN: r113375
H.J. Lu committed -
2006-04-28 Bryce McKinlay <mckinlay@redhat.com> * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index to resolve_method. * interpret.cc (insn_invokevirtual): Use method->index, not vtable_index. Check accflag FINAL to determine finals. Only do explicit null check if calling a final method. Use throw_null_pointer_exception. (invokevirtual_resolved): Likewise. (null_pointer_exc): Remove static field. (throw_null_pointer_exception): Always define. Throw a new NullPointerException every time. * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index field. * include/execution.h (resolve_method): Remove vtable_index argument. From-SVN: r113370
Bryce McKinlay committed -
From-SVN: r113368
GCC Administrator committed -
2006-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/27304 * gfortran.dg/fmt_exhaust.f90: New test. From-SVN: r113364
Jerry DeLisle committed
-
- 28 Apr, 2006 12 commits
-
-
2006-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/27304 * io/transfer.c (formatted_transfer_scalar): Generate error if data descriptors are exhausted. * io/format.c (next_format0): Fix comment. From-SVN: r113363
Jerry DeLisle committed -
2006-04-28 Eric Christopher <echristo@apple.com> * config/darwin-c.c (darwin_ms_struct): Move this (darwin_set_default_type_attributes): and this... * config/darwin.c: ... here. * config/darwin.h (darwin_ms_struct): Declare. From-SVN: r113358
Eric Christopher committed -
2006-04-28 Andrew MacLeod <amacleod@redhat.com> * tree-ssa-dom.c (propagate_rhs_into_lhs): Fix assert clause. From-SVN: r113356
Andrew MacLeod committed -
PR c/25309 * c-typeck.c (struct spelling): Make I an unsigned HOST_WIDE_INT. (push_array_bounds): Delete prototype. Change BOUNDS argument to an unsigned HOST_WIDE_INT. (print_spelling): Use HOST_WIDE_INT_PRINT_UNSIGNED to output the array index. (really_start_incremental_init): No need to call convert because bitsize_zero_node is already of type bitsizetype. (push_init_level): Extract the value of constructor_index as an unsigned HOST_WIDE_INT quantity, using tree_low_cst. (process_init_element): Likewise. * gcc.dg/large-size-array-2.c: New test case. From-SVN: r113355
Roger Sayle committed -
2006-04-28 Jan Beulich <jbeulich@novell.com> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r113350
Jan Beulich committed -
2006-04-28 Richard Guenther <rguenther@suse.de> PR target/26826 * gcc.target/i386/pr26826.c: New testcase. From-SVN: r113348
Richard Guenther committed -
From-SVN: r113347
Matthias Klose committed -
gcc.c (process_command): Add program name to GCC_EXEC_PREFIX value before passing to make_relative_prefix. * gcc.c (process_command): Add program name to GCC_EXEC_PREFIX value before passing to make_relative_prefix. From-SVN: r113345
Joseph Myers committed -
gcc/ PR middle-end/27260 * builtins.c (expand_builtin_memset): Expand val in original mode. gcc/testsuite/ PR middle-end/27260 * gcc.c-torture/execute/pr27260.c: New. From-SVN: r113341
Alan Modra committed -
PR middle-end/27095 * gcc.dg/pr27095.c: New. From-SVN: r113340
Alan Modra committed -
PR c++/27292 * tree.c (rvalue): Convert bitfields to their declared types. PR c++/27292 * g++.dg/conversion/bitfield4.C: New test. From-SVN: r113339
Mark Mitchell committed -
From-SVN: r113331
GCC Administrator committed
-
- 27 Apr, 2006 1 commit
-
-
2006-04-27 Eric Christopher <echristo@apple.com> * target-def.h (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Bracket with #ifndef/#endif. * config/darwin-c.c (darwin_ms_struct): New. (darwin_pragma_ms_struct): Ditto. (darwin_set_default_type_attributes): Ditto. * config/darwin-protos.h (darwin_pragma_ms_struct): Declare. * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Register ms_struct pragma. * config/i386/darwin.h (REGISTER_TARGET_PRAGMAS): Declare. (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Ditto. * config/rs6000/rs6000.c (rs6000_set_default_type_attributes): Call darwin_set_default_type_attributes if TARGET_MACHO. 2006-04-27 Eric Christopher <echristo@apple.com> * gcc.dg/pragma-ms_struct.c: New. From-SVN: r113327
Eric Christopher committed
-