- 24 Apr, 2006 9 commits
-
-
re PR tree-optimization/27236 (inliner creates an INDIRECT_REF without TREE_THIS_VOLATILE set for *a) 2006-04-24 Andrew Pinski <pinskia@gcc.gnu.org> Richard Guenther <rguenther@suse.de> PR tree-optimization/27236 * tree-inline.c (copy_body_r): Make sure to copy TREE_THIS_VOLATILE flag. * gcc.dg/tree-ssa/pr27236.c: New testcase. Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r113221
Andrew Pinski committed -
PR c++/19963 * class.c (layout_class_type): Skip fields with invalid types. * g++.dg/other/incomplete2.C: New test. From-SVN: r113220
Volker Reichelt committed -
2006-04-24 Richard Guenther <rguenther@suse.de> PR middle-end/26869 * tree-complex.c (update_parameter_components): Don't handle unused parameters which have no default def. * gcc.dg/torture/pr26869.c: New testcase. From-SVN: r113219
Richard Guenther committed -
re PR tree-optimization/27218 (ICE in get_indirect_ref_operands, at tree-ssa-operands.c:1515, inlining produces non-gimple) 2006-04-24 Andrew Pinski <pinskia@gcc.gnu.org> Richard Guenther <rguenther@suse.de> PR tree-optimization/27218 * tree-inline.c (expand_call_inline): Strip useless type conversions for the return slot address. * g++.dg/tree-ssa/pr27218.C: New testcase. Co-Authored-By: Richard Guenther <rguenther@suse.de> From-SVN: r113218
Andrew Pinski committed -
2006-04-24 Richard Guenther <rguenther@suse.de> * cfgloop.h (struct loops): Remove unused field array. Reorder state after num. (LOOP_PREFETCH): Remove. From-SVN: r113217
Richard Guenther committed -
re PR tree-optimization/22525 (tree based value profiling (-fprofile-use) produces mismatch types in conditional) 2006-04-24 Richard Guenther <rguenther@suse.de> PR tree-optimization/22525 * value-prof.c (tree_mod_pow2): Remove unnecessary temporary variable, adjust types of generated expressions. From-SVN: r113216
Richard Guenther committed -
PR c++/26912 * cp-tree.h (build_this_parm): Declare. (grok_method_quals): Remove. (build_memfn_type): Declare. (build_artificial_parm): Declare. (do_friend): Remove quals parameter. * decl.c (build_this_parm): New function. (grokfndecl): Use it. Do not pass quals to grokclassfn. (grokdeclarator): Rename quals to memfn_quals. Avoid allocating unnecessary TYPE_DECLs. Correct qualification of member function types. Tidy. * method.c (implicitly_declare_fn): Use build_this_parm. * friend.c (do_friend): Remove quals parameter. * decl2.c (grok_method_quals): Remove. (build_memfn_type): New function. (build_artificial_parm): Give it external linkage. (grokclassfn): Remove quals parameter. Do not build "this" PARM_DECL here. PR c++/26912 * g++.dg/template/friend41.C: New test. From-SVN: r113213
Mark Mitchell committed -
2006-04-23 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (c-convert.o): Add dependency on $(TARGET_H) (tree-vect-patterns.o): Likewise. (jump.o): Likewise. (cselib.o): Likewise. (loop-doloop.o): Likewise. (regclass.o): Likewise. (reload1.o): Likewise. (explow.o): Replace target.h with $(TARGET_H). (ipa-prop.o): Likewise. (ipa-cp.o): Likewise. (ipa-inline.o): Likewise. (reorg.o): Likewise. (reg-stack.o): Likewise. From-SVN: r113212
H.J. Lu committed -
From-SVN: r113210
GCC Administrator committed
-
- 23 Apr, 2006 13 commits
-
-
* g++.dg/opt/pr15551.C: Include cstdio. (main): Use remove instead of unlink. From-SVN: r113206
David Edelsohn committed -
2006-04-22 Matthias Klose <doko@debian.org> * Make-lang.in(treelang.check): Don't set and pass TRANSFORM. From-SVN: r113201
Matthias Klose committed -
* tree-tailcall.c (pass_tail_recursion): Use gate_tail_calls too. testsuite/ * gcc.dg/sibcall-7.c: New test. * gcc.dg/tree-ssa/tailrecursion-1.c: Pass -foptimize-sibling-calls. * gcc.dg/tree-ssa/tailrecursion-2.c: Likewise. * gcc.dg/tree-ssa/tailrecursion-3.c: Likewise. * gcc.dg/tree-ssa/tailrecursion-4.c: Likewise. * gcc.dg/tree-ssa/tailrecursion-5.c: Likewise. From-SVN: r113200
Eric Botcazou committed -
2006-04-23 Mark Mitchell <mark@codesourcery.com> PR c++/26534 * c-common.h (c_build_bitfield_integer_type): Declare. * c-decl.c (c_build_bitfield_integer_type): Move to ... * c-common.c (c_build_bitfield_integer_type): ... here. 2006-04-23 Mark Mitchell <mark@codesourcery.com> PR c++/26534 * cp-tree.h (is_bitfield_expr_with_lowered_type): New function. * typeck.c (is_bitfield_expr_with_lowered_type): New function. (decay_conversion): Convert bitfield expressions to the correct type. (build_modify_expr): Remove spurious conversions. * class.c (layout_class_type): Modify the type of bitfields to indicate a limited range. * call.c (standard_conversion): Adjust the type of bitfield expressions used in an rvalue context. (build_conditional_expr): Likewise. 2006-04-23 Mark Mitchell <mark@codesourcery.com> PR c++/26534 * g++.dg/opt/bitfield1.C: New test. * g++.dg/compat/abi/bitfield1_main.C: Add -w. * g++.dg/compat/abi/bitfield1_x.C: Likewise. * g++.dg/compat/abi/bitfield1_y.C: Likewise. * g++.dg/compat/abi/bitfield2_main.C: Likewise. * g++.dg/compat/abi/bitfield2_x.C: Likewise. * g++.dg/compat/abi/bitfield2_y.C: Likewise. * g++.dg/abi/bitfield1.C: Add dg-warning markers. * g++.dg/abi/bitfield2.C: Likewise. * g++.dg/init/bitfield1.C: Likewise. From-SVN: r113199
Mark Mitchell committed -
PR target/21283 * config/fr30/fr30.md (define_split): Avoid calling gen_lowpart on a SImode SUBREG of a floating point register after no_new_pseudos. From-SVN: r113198
Roger Sayle committed -
* config/fr30/fr30.md (addsi_small_int): Use REGNO_PTR_FRAME_P to identify potentially eliminable registers to additionally catch VIRTUAL_INCOMING_ARGS_REGNUM. (addsi3): Update the conditions on when to use addsi_small_int. From-SVN: r113197
Roger Sayle committed -
PR target/16641 * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Check REGNO for STACK_POINTER_RTX and FRAME_POINTER_RTX instead of comparing the rtx to stack_pointer_rtx or frame_pointer_rtx directly. From-SVN: r113196
Roger Sayle committed -
2006-04-23 Marc Glisse <marc.glisse@normalesup.org> PR libstdc++/27199 * ext/pool_allocator.h: Add using declarations for size_t, ptrdiff_t. * ext/bitmap_allocator.h: Likewise; qualify with std::. * ext/new_allocator.h: Likewise. * ext/malloc_allocator.h: Likewise. * ext/array_allocator.h: Likewise. * ext/mt_allocator.h: Likewise. * ext/functional: Likewise for size_t. * ext/debug_allocator.h: Likewise. * bits/char_traits.h: Qualify with std:: size_t. * debug/hash_multimap.h: Likewise. From-SVN: r113195
Marc Glisse committed -
2006-04-23 Paul Thomas <pault@gcc.gnu.org> PR fortran/25099 * resolve.c (resolve_call): Check conformity of elemental subroutine actual arguments. 2006-04-23 Paul Thomas <pault@gcc.gnu.org> PR fortran/25099 * gfortran.dg/elemental_subroutine_4.f90: New test. * gfortran.dg/assumed_size_refs_1.f90: Add error to non-conforming call sub (m, x). From-SVN: r113194
Paul Thomas committed -
2006-04-23 Paolo Carlini <pcarlini@suse.de> * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 42. From-SVN: r113193
Paolo Carlini committed -
* fold-const.c (range_predecessor): Use operand_equal_p as the predicate for equality. (range_successor): Likewise. From-SVN: r113192
Eric Botcazou committed -
2006-04-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/20257 * io/io.h: Add prototypes for get_internal_unit and free_internal_unit. * io/unit.c (get_internal_unit): Initialize unit number, not zero. (free_internal_unit): New function to consolidate freeing memory. (get_unit): Initialize internal_unit_desc to NULL when unit is external. * io/unix.c (mem_close): Check for not NULL before freeing memory. * io/transfer.c (read_block): Reset bytes_left and skip error if unit is preconnected and default record length is reached. (read_block_direct): Ditto. (write_block): Ditto. (write_buf): Ditto. (data_transfer_init): Only flush if not internal unit. (finalize_transfer): Ditto and delete code to free memory used by internal units. (st_read_done): Use new function - free_internal_unit. (st_write_done): Use new function - free_internal unit. From-SVN: r113190
Jerry DeLisle committed -
From-SVN: r113187
GCC Administrator committed
-
- 22 Apr, 2006 12 commits
-
-
2006-04-22 Andreas Tobler <a.tobler@schweiz.ch> * configure.ac: Weaken the check for MMAP. * configure: Rebuilt. * include/config.h.in: Likewise. From-SVN: r113182
Andreas Tobler committed -
2006-04-22 Andreas Tobler <a.tobler@schweiz.ch> * README: Remove notice about 'Crazy Comments'. * src/debug.c: Remove lint directives. Cleanup white spaces. * src/java_raw_api.c: Likewise. * src/prep_cif.c: Likewise. * src/raw_api.c: Likewise. * src/ffitest.c: Delete. No longer needed, all test cases migrated to the testsuite. * src/arm/ffi.c: Remove lint directives. * src/m32r/ffi.c: Likewise. * src/pa/ffi.c: Likewise. * src/powerpc/ffi.c: Likewise. * src/powerpc/ffi_darwin.c: Likewise. * src/sh/ffi.c: Likewise. * src/sh64/ffi.c: Likewise. * src/x86/ffi.c: Likewise. * testsuite/libffi.call/float2.c: Likewise. * testsuite/libffi.call/promotion.c: Likewise. * testsuite/libffi.call/struct1.c: Likewise. From-SVN: r113181
Andreas Tobler committed -
Revert: * config/soft-fp/op-common.h: Fix a typo. From-SVN: r113180
Kazu Hirata committed -
2006-04-22 Frank Ch. Eigler <fche@redhat.com> PR libmudflap/26864 * common.opt (flag_mudflap_threads): Overload flag_mudflap. * tree-mudflap.c (flag_mudflap_threads): Derive from flag_mudflap. From-SVN: r113179
Frank Ch. Eigler committed -
* config/soft-fp/op-common.h, double-int.h, tree-ssa-dom.c: Fix comment typos. * doc/tm.texi: Fix a typo. From-SVN: r113178
Kazu Hirata committed -
From-SVN: r113175
Kazu Hirata committed -
From-SVN: r113173
Joseph Myers committed -
* dwarf2out.c (struct die_struct): Document that die_sib makes a circular linked list. (FOR_EACH_CHILD): New. (reverse_die_lists): Delete. (reverse_all_dies): Delete. (add_dwarf_attr): Correct documentation. (remove_child_with_prev): New. (remove_child_TAG): Update for change to die_struct, use remove_child_with_prev. (add_child_die): Update for change to die_struct. (splice_child_die): Use remove_child_with_prev and add_child_die. (print_die): Use FOR_EACH_CHILD. (die_checksum): Likewise. (assign_symbol_names): Likewise. (output_location_lists): Likewise. (build_abbrev_table): Likewise. (calc_die_sizes): Likewise. (mark_dies): Likewise. (unmark_dies): Likewise. (unmark_all_dies): Likewise. (output_die): Likewise. (prune_unused_types_mark): Likewise. (prune_unused_types_walk): Likewise. (same_die_p): Update for change to die_struct. (break_out_includes): Likewise. (prune_unused_types_prune): Likewise. (add_sibling_attributes): Use FOR_EACH_CHILD, simplify logic. (prune_unmark_dies): Use FOR_EACH_CHILD, don't clear die_mark if it's already clear. (dwarf2out_finish): Don't call reverse_all_dies. From-SVN: r113171
Geoffrey Keating committed -
PR fortran/26769 * iresolve.c (gfc_resolve_reshape): Use reshape_r16 for real(16). (gfc_resolve_transpose): Use transpose_r16 for real(16). * Makefile.am (i_transpose_c): Add generated/transpose_r16.c. (i_reshape_c): Add generated/reshape_r16.c. * Makefile.in: Regenerated. * generated/transpose_r16.c: Generated new file. * generated/redhape_r16.c: Generated new file. From-SVN: r113169
Jakub Jelinek committed -
From-SVN: r113168
Eric Christopher committed -
2006-04-21 Eric Christopher <echristo@apple.com> * decl.c: Fix typo in function name. 2006-04-21 Eric Christopher <echristo@apple.com> * df-core.c, tree-outof-ssa.c, config/i386/i386.c: Fix typos in comments and function names. From-SVN: r113167
Eric Christopher committed -
From-SVN: r113162
GCC Administrator committed
-
- 21 Apr, 2006 6 commits
-
-
PR c/25875 * c-typeck.c (digest_init): Robustify. * gcc.dg/init-bad-4.c: New test. From-SVN: r113153
Volker Reichelt committed -
From-SVN: r113152
Volker Reichelt committed -
* de.po, es.po, sv.po: Update. * zh_TW.po: New. From-SVN: r113148
Joseph Myers committed -
From-SVN: r113146
Joseph Myers committed -
From-SVN: r113141
Steve Ellcey committed -
2006-04-21 Paul Brook <paul@codesourcery.com> gcc/ * config/arm/arm.c (arm_override_options): Error on iWMMXt and hardware floating point. gcc/testsuite/ * gcc.dg/arm-vfp1.c: Skip on iWMMXt cpus. From-SVN: r113138
Paul Brook committed
-