- 20 Mar, 2012 11 commits
-
-
PR target/49868 * gcc.target/avr/torture/addr-space-2.h: New file. * gcc.target/avr/torture/addr-space-2-g.h: New test. * gcc.target/avr/torture/addr-space-2-0.h: New test. * gcc.target/avr/torture/addr-space-2-1.h: New test. * gcc.target/avr/torture/addr-space-2-x.h: New test. From-SVN: r185570
Georg-Johann Lay committed -
2012-03-20 Richard Guenther <rguenther@suse.de> PR gcov-profile/52627 * libgcov.c (init_mx): Fix mutex name. From-SVN: r185569
Richard Guenther committed -
* config/i386/i386.c (ix86_decompose_address) <case ZERO_EXTEND>: If operand isn't UNSPEC, return 0. From-SVN: r185568
Jakub Jelinek committed -
From-SVN: r185567
Arnaud Charlet committed -
2012-03-20 Arnaud Charlet <charlet@adacore.com> * hlo.ads, hlo.adb: Removed, no longer used. * gcc-interface/Make-lang.in: Remove hlo.o. Update dependencies. * gcc-interface/Makefile.in: Remove EXTRA_LIBGNAT_SRCS (temporarly) and compute it from EXTRA_LIBGNAT_OBJS. Clean up comments, reorder LIBGNAT_SRCS and LIBGNAT_OBJS. From-SVN: r185565
Arnaud Charlet committed -
2012-03-20 Richard Guenther <rguenther@suse.de> * tree-pass.h (pass_rtl_eh): Remove. * except.c (gate_handle_eh): Likewise. (rest_of_handle_eh): Likewise. (pass_rtl_eh): Likewise. (finish_eh_generation): Export. * except.h (finish_eh_generation): Declare. * passes.c (init_optimization_passes): Remove pass_rtl_eh. * cfgexpand.c (gimple_expand_cfg): Call finish_eh_generation after expanding stack alignment. Instead of compacting blocks call cleanup_cfg. From-SVN: r185564
Richard Guenther committed -
stor-layout.c (finish_bitfield_representative): Fallback to conservative maximum size if the padding up to the next field... 2012-03-20 Richard Guenther <rguenther@suse.de> * stor-layout.c (finish_bitfield_representative): Fallback to conservative maximum size if the padding up to the next field cannot be computed as a constant. (finish_bitfield_layout): If we cannot compute the distance between the start of the bitfield representative and the bitfield member start a new representative. * expr.c (get_bit_range): The distance between the start of the bitfield representative and the bitfield member is zero if the field offsets are not constants. * gnat.dg/pack16.adb: New testcase. * gnat.dg/pack16_pkg.ads: Likewise. * gnat.dg/specs/pack8.ads: Likewise. * gnat.dg/specs/pack8_pkg.ads: Likewise. From-SVN: r185563
Richard Guenther committed -
2012-03-20 Yannick Moy <moy@adacore.com> * gnat_rm.texi, sem_attr.ads: Update documentation. From-SVN: r185562
Yannick Moy committed -
2012-03-20 Tristan Gingold <gingold@adacore.com> * tree.h (enum size_type_kind): Add stk_ prefix to constants, convert in lowercase. (sizetype_tab, sizetype, bitsizetype, ssizetype, sbitsizetype) (size_int, ssize_int, bitsize_int, sbitsize_int): Adjust. * stor-layout.c (sizetype_tab): Adjust. (initialize_sizetypes): Use SIZETYPE instead of SIZE_TYPE. * tree-streamer.c (preload_common_nodes): Use stk_type_kind_last instead of type_kind_last. * tree-scalar-evolution.c (interpret_rhs_expr): Use size_int instead of size_int_kind. * doc/tm.texi.in (Type Layout): Document SIZETYPE. * doc/tm.texi: Regenerate. * defaults.h (SIZETYPE): Provide a default value. * config/vms/vms.h (SIZE_TYPE): Define as "unsigned int". (SIZETYPE): Define. From-SVN: r185561
Tristan Gingold committed -
* config/sh/sh.md: Use braced string notation where applicable. From-SVN: r185555
Oleg Endo committed -
From-SVN: r185552
GCC Administrator committed
-
- 19 Mar, 2012 20 commits
-
-
2012-03-19 Paweł Sikora <pawel.sikora@agmk.net> PR libstdc++/52540 * include/Makefile.am (c++config.h): Fix sed rule to not break the _GLIBCXX_EXTERN_TEMPLATE redefinition. * include/Makefile.in: Regenerate. 2012-03-19 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/Makefile.in: Regenerate. From-SVN: r185548
Paolo Carlini committed -
* config/i386/i386.md (allocate_stack): Simplify. From-SVN: r185545
Uros Bizjak committed -
2012-03-19 Benjamin Kosnik <bkoz@redhat.com> * include/bits/allocator.h (std::allocator): Base class is __allocator_base. (uses_allocator): Add to sub-grouping. * include/ext/new_allocator.h: Doxygen markup for tparm. * config/allocator/bitmap_allocator_base.h: Use __allocator_base template alias in C++11. * config/allocator/malloc_allocator_base.h: Same. * config/allocator/mt_allocator_base.h: Same. * config/allocator/new_allocator_base.h: Same. * config/allocator/pool_allocator_base.h: Same. From-SVN: r185544
Benjamin Kosnik committed -
2012-03-19 Benjamin Kosnik <bkoz@redhat.com> * include/ext/pb_ds/detail/pat_trie_/ constructors_destructor_fn_imps.hpp: Increment after recursion. * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: Convert node_type markup from brief. From-SVN: r185542
Benjamin Kosnik committed -
* builtins.c (expand_builtin_cexpi): Use copy_addr_to_reg instead of copy_to_mode_reg (Pmode, ...). (expand_builtin_frame_address): Ditto. * expr.c (emit_block_move_via_libcall): Ditto. (set_storage_via_libcall): Ditto. * config/i386/i386.c (ix86_expand_movmem): Ditto. (ix86_expand_setmem): Ditto. (ix86_trampoline_init): DItto. * config/i386/i386.md (cmpstrnsi): Ditto. (allocate_stack): Ditto. From-SVN: r185541
Uros Bizjak committed -
2012-03-19 Sandra Loosemore <sandra@codesourcery.com> gcc/ * config/sh/sh.opt (madjust-unroll): Mark as ignored/obsolete. * config/sh/sh.h (TARGET_OPT_DEFAULT): Don't use MASK_ADJUST_UNROLL. * doc/invoke.texi (Option Summary): Remove -madjust-unroll. (SH Options): Likewise. From-SVN: r185540
Sandra Loosemore committed -
* config/i386/i386.c (get_thread_pointer): Add tp_mode argument. Generate ZERO_EXTEND in place if GET_MODE (tp) != tp_mode. (legitimize_tls_address) <TLS_MODEL_INITIAL_EXEC>: Always generate DImode UNSPEC_GOTNTPOFF references on TARGET_64BIT. (ix86_decompose_address): Allow zero extended UNSPEC_TP references. Revert: 2012-03-13 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.h (TARGET_TLS_INDIRECT_SEG_REFS): New. * config/i386/i386.c (ix86_decompose_address): Use TARGET_TLS_INDIRECT_SEG_REFS to prevent %fs:(%reg) addresses. (legitimize_tls_address): Use TARGET_TLS_INDIRECT_SEG_REFS to load thread pointer to a register. Revert: 2012-03-10 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (ix86_decompose_address): Disallow fs:(reg) if Pmode != word_mode. (legitimize_tls_address): Call gen_tls_initial_exec_x32 if Pmode == SImode for TARGET_X32. * config/i386/i386.md (UNSPEC_TLS_IE_X32): New. (tls_initial_exec_x32): Likewise. From-SVN: r185536
Uros Bizjak committed -
From-SVN: r185535
Oleg Endo committed -
PR target/50751 * config/sh/sh.h (CONST_OK_FOR_K04, CONST_OK_FOR_K12, DISP_ADDR_P, DISP_ADDR_OFFSET): New macros. * config/sh/sh.c (sh_address_cost): Add SH2A special case. (sh_legitimate_index_p): Allow QImode displacements for non-SH2A. (sh_legitimize_address): Add QImode displacement handling. (sh_cannot_change_mode_class): Disallow GENERAL_REGS for SFmode vector subregs. (sh_secondary_reload): Add QImode displacement handling. * config/sh/predicates.md (movsrc_no_disp_mem_operand): New predicate. * config/sh/constraints.md (K04, Snd, Sdd): New constraints. * config/sh/sh.md (extendqisi2): Remove constraints from expander. (*extendqisi2_compact): Rename to *extendqisi2_compact_reg, restrict to register operands only. (*extendqisi2_compact_mem_disp, *extendqisi2_compact_snd): New insns. (extendqihi2): Change insn to expander. (*extendqihi2_compact_reg): New insn. (movqi_i, movqi): Replace with ... (movqi, *movqi_reg_reg, *movqi_store_mem_disp12, *movqi_load_mem_disp, *movqi_load_mem_disp): ... these. Add new peepholes for QImode displacement addressing. From-SVN: r185534
Oleg Endo committed -
2012-03-19 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/warn/Wuseless-cast.C: Extend. From-SVN: r185531
Paolo Carlini committed -
Complete previous commit. From-SVN: r185529
Paolo Carlini committed -
2012-03-19 Yannick Moy <moy@adacore.com> * sem_ch6.adb: Minor code clean up. 2012-03-19 Vincent Celier <celier@adacore.com> * make.adb (Scan_Make_Arg): Make sure all significant -m switches on the command line are counted. 2012-03-19 Robert Dewar <dewar@adacore.com> * sem_elab.adb (Generate_Elab_Warnings): Fix spec, fix attribute reference case 2012-03-19 Robert Dewar <dewar@adacore.com> * par-ch4.adb (Check_Bad_Exp): New procedure 2012-03-19 Robert Dewar <dewar@adacore.com> * exp_attr.adb, sem_attr.adb, sem_attr.ads, snames.ads-tmpl: Add initial framework for Valid_Scalars attribute. 2012-03-19 Robert Dewar <dewar@adacore.com> * scng.adb (Scan): Recognize incorrect preprocessor directive 2012-03-19 Robert Dewar <dewar@adacore.com> * atree.adb (Allocate_Initialize_Node): Use Num_Extension_Nodes * atree.ads (Num_Extension_Nodes): New variable * debug.adb: New debug flag -gnatd.N * gnat1drv.adb (Adjust_Global_Switches): Adjust Num_Extension_Nodes if -gnatd.N set 2012-03-19 Eric Botcazou <ebotcazou@adacore.com> * einfo.ads: Minor update to First_Rep_Item and Has_Gigi_Rep_Item descriptions. 2012-03-19 Robert Dewar <dewar@adacore.com> * opt.ads: Remove HLO_Active flag. * sem.adb: Remove call of high level optimizer. * sem.ads (New_Nodes_OK): Removed. * sem_ch10.adb: Remove references to New_Nodes_OK. * switch-c.adb: Remove handling of -gnatH switch. From-SVN: r185528
Arnaud Charlet committed -
2012-03-19 Yannick Moy <moy@adacore.com> * sem_ch6.adb (Check_Subprogram_Contract): Do not emit warnings on trivially True or False postconditions and Ensures components of contract-cases. 2012-03-19 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Fix index entry for -gnatei (now we have ug_words entry). From-SVN: r185527
Arnaud Charlet committed -
2012-03-19 Hristian Kirtchev <kirtchev@adacore.com> * sem_ch3.adb (Get_Discriminant_Value): Instead of looking at the immediate correcponsing discriminant, traverse a potential chain of discriminants produced by type derivations. (Root_Corresponding_Discriminant): Traverse a chain of inherited discriminants and return the topmost discriminant. 2012-03-19 Bob Duff <duff@adacore.com> * debug.adb: Minor comment change. * gnat_ugn.texi: Update documentation for elaboration regarding indirect calls. 2012-03-19 Gary Dismukes <dismukes@adacore.com> * exp_ch3.adb (Expand_N_Object_Declaration): In the case of an object of a class-wide interface type, where the declaration is rewritten as a renaming, call Set_Debug_Info_Needed on the renaming entity so that Materialize_Entity will be set. Also, change existing call (for other than interface cases) to call Set_Debug_Info_Needed rather than Set_Needs_Debug_Info (as specified for that flag). From-SVN: r185526
Arnaud Charlet committed -
2012-03-19 Hristian Kirtchev <kirtchev@adacore.com> * sem_ch4.adb (Analyze_Allocator): Detect an allocator generated by the build-in-place machinery where the designated type is indefinite, but the underlying type is not. Do not emit errors related to missing initialization in this case. 2012-03-19 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Add documentation for -gnateinnn switch. * sem_elab.adb, put_alfa.adb, lib-xref-alfa.adb: Minor reformatting. * sem_prag.adb: Minor comment update. From-SVN: r185525
Arnaud Charlet committed -
2012-03-16 Paolo Carlini <paolo.carlini@oracle.com> PR c++/14710 * doc/invoke.texi: Document -Wuseless-cast. /c-family 2012-03-16 Paolo Carlini <paolo.carlini@oracle.com> PR c++/14710 * c.opt ([Wuseless-cast]): Add. /cp 2012-03-16 Paolo Carlini <paolo.carlini@oracle.com> PR c++/14710 * cp-tree.h (maybe_warn_about_useless_cast): Declare. * typeck.c (maybe_warn_about_useless_cast): Define. (build_reinterpret_cast, build_const_cast, build_static_cast, cp_build_c_cast): Use it. * rtti.c (build_dynamic_cast): Likewise. * pt.c (tsubst_copy_and_build, case CAST_EXPR): Increment/decrement c_inhibit_evaluation_warnings before/after the build_* calls. /testsuite 2012-03-16 Paolo Carlini <paolo.carlini@oracle.com> PR c++/14710 * g++.dg/warn/Wuseless-cast.C: New. From-SVN: r185524
Paolo Carlini committed -
* tree.def (REALPART_EXPR, IMAGPART_EXPR, VIEW_CONVERT_EXPR): Move. * tree.h (handled_component_p): Reorder cases. * dwarf2out.c (loc_list_for_address_of_addr_expr_of_indirect_ref): Do not initialize unsignedp. (loc_list_from_tree): Likewise. (fortran_common): Likewise. * simplify-rtx.c (delegitimize_mem_from_attrs): Likewise. From-SVN: r185522
Eric Botcazou committed -
* config/i386/i386.c (ix86_expand_prologue) <CM_LARGE_PIC>: Use Pmode mode consistently. Use ix86_gen_add3. Assert that Pmode == DImode. (ix86_expand_split_stack_prologue): Use ix86_gen_add3. (ix86_split_long_move): Ditto. (legitimize_tls_address): Use ix86_gen_sub3. (construct_plt_address): Assert that Pmode == DImode. From-SVN: r185520
Uros Bizjak committed -
PR fortran/52559 * error.c (gfc_widechar_display_length): Consider tabs as one character wide, as they're displayed as spaces. (show_locus): Move tab handling to... (print_wide_char_into_buffer): ... here. From-SVN: r185517
Francois-Xavier Coudert committed -
From-SVN: r185514
GCC Administrator committed
-
- 18 Mar, 2012 5 commits
-
-
From-SVN: r185508
Joseph Myers committed -
From-SVN: r185507
Joseph Myers committed -
* config/i386/i386.md: Remove empty predicates and/or constraints. * config/i386/sync.md: Ditto. * config/i386/sse.md: Ditto. * config/i386/mmx.md: Ditto. * config/i386/pentium.md: Ditto. * config/i386/athlon.md: Ditto. From-SVN: r185505
Uros Bizjak committed -
From-SVN: r185499
David Edelsohn committed -
From-SVN: r185498
GCC Administrator committed
-
- 17 Mar, 2012 4 commits
-
-
From-SVN: r185489
Janne Blomqvist committed -
From-SVN: r185488
Janne Blomqvist committed -
2012-03-17 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/52608 * gfortran.dh/pr52608.f90: New test. From-SVN: r185487
Janne Blomqvist committed -
2012-03-17 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/52608 * io/write_float.def (output_float): Move removal of initial zeros until after the scale factor has been applied. From-SVN: r185486
Janne Blomqvist committed
-