- 16 Feb, 2006 15 commits
-
-
PR fortran/26224 * parse.c (parse_omp_do, parse_omp_structured_block): Call gfc_commit_symbols and gfc_warning_check. * gfortran.dg/gomp/pr26224.f: New test. From-SVN: r111153
Jakub Jelinek committed -
* openmp.c (resolve_omp_clauses): Add a dummy case label to workaround PR middle-end/26316. From-SVN: r111152
Jakub Jelinek committed -
2006-02-16 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libffi.call/nested_struct2.c: Remove ffi_type_mylong definition. * testsuite/libffi.call/ffitest.h: Add ffi_type_mylong definition here to be used by other test cases too. * testsuite/libffi.call/nested_struct10.c: New test case. * testsuite/libffi.call/nested_struct9.c: Likewise. * testsuite/libffi.call/nested_struct8.c: Likewise. * testsuite/libffi.call/nested_struct7.c: Likewise. * testsuite/libffi.call/nested_struct6.c: Likewise. * testsuite/libffi.call/nested_struct5.c: Likewise. * testsuite/libffi.call/nested_struct4.c: Likewise. From-SVN: r111151
Andreas Tobler committed -
2006-02-16 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-operands.c (access_can_touch_variable): Fix typo in previous change. From-SVN: r111148
Daniel Berlin committed -
* loop-invariant.c (invariant_for_use, check_dependencies): Fail for read-write uses. From-SVN: r111141
Zdenek Dvorak committed -
PR rtl-optimization/26296 * Makefile.in (loop-invariant.c): Add except.h dependency. * loop-invariant.c: Include except.h. (find_invariant_insn): Ignore insns satisfying can_throw_internal. From-SVN: r111139
Zdenek Dvorak committed -
2005-02-16 Paul Brook <paul@codesourcery.com> * reload1.c (emit_reload_insns): Invalidate dead input registers used for reloads. From-SVN: r111137
Paul Brook committed -
re PR testsuite/25918 (gcc.dg/vect/vect-reduc-dot-s16.c scan-tree-dump-times vectorized 1 loops 1 and gcc.dg/vect/vect-reduc-pattern-2.c scan-tree-dump-times vectorized 2 loops 1 fail) testsuite/ 2006-02-16 Victor Kaplansky <victork@il.ibm.com> PR tree-opt/25918 * lib/target-supports.exp (check_effective_target_vect_short_mult): New. (check_effective_target_vect_char_mult): New. (check_effective_target_vect_widen_sum_qi_to_si): New. (check_effective_target_vect_widen_sum_qi_to_hi): New. (check_effective_target_vect_widen_sum_hi_to_si): New. * gcc.dg/vect/vect-reduc-dot-s16.c: Remove, split into vect-reduc-dot-s16a.c and vect-reduc-dot-s16b.c * vect-reduc-dot-s16a.c: New, split from vect-reduc-dot-s16.c. * vect-reduc-dot-s16b.c: New, split from vect-reduc-dot-s16.c. * gcc.dg/vect/vect-reduc-pattern-2.c: Remove, split into vect-reduc-pattern-2a.c, vect-reduc-pattern-2b.c and vect-reduc-pattern-2c.c * gcc.dg/vect/vect-reduc-pattern-1.c: Remove, split into vect-reduc-pattern-1a.c, vect-reduc-pattern-1b.c and vect-reduc-pattern-1c.c From-SVN: r111135
Victor Kaplansky committed -
* MAINTAINERS (Write After Approval): Add myself. From-SVN: r111134
Victor Kaplansky committed -
From-SVN: r111133
Arnaud Charlet committed -
From-SVN: r111132
Arnaud Charlet committed -
PR libfortran/24903 * m4/dotprodc.m4: Use __builtin_conj instead of assigning real and imaginary parts separately. * generated/dotprod_c4.c: Regenerated. * generated/dotprod_c8.c: Regenerated. * generated/dotprod_c10.c: Regenerated. * generated/dotprod_c16.c: Regenerated. From-SVN: r111131
Francois-Xavier Coudert committed -
re PR fortran/24557 (ICE: PRINTing function result of size depending on assumed length CHARACTER dummy) 2005-02-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/24557 * trans-expr.c (gfc_add_interface_mapping): Use the actual argument for character(*) arrays, rather than casting to the type and kind parameters of the formal argument. 2005-02-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/24557 * gfortran.dg/assumed_charlen_needed_1.f90: New test. From-SVN: r111130
Paul Thomas committed -
PR rtl-optimization/25636 * local-alloc.c (update_equiv_regs): Lose a bogus rtx_equal_p test when deciding whether an insn is an initializing insn. From-SVN: r111129
Bernd Schmidt committed -
From-SVN: r111127
GCC Administrator committed
-
- 15 Feb, 2006 25 commits
-
-
From-SVN: r111121
Daniel Berlin committed -
2006-02-15 Daniel Berlin <dberlin@dberlin.org> * tree.c (init_ttree): Add STRUCT_FIELD_TAG handling. (tree_code_size): Ditto. * tree.h (struct tree_memory_tag): Remove parent_var. (struct tree_struct_field_tag): New. (SFT_OFFSET): New. (SFT_SIZE): New. (union tree_node): Add sft member. * tree-ssa-alias.c (get_tmt_for): Don't handle TYPE_READONLY specially here. (create_sft): Add size and offset argument, set SFT_OFFSET and SFT_SIZE. (create_overlap_variables_for): Update for SFT_OFFSET/SFT_SIZE. * treestruct.def: Add TS_STRUCT_FIELD_TAG. * tree-flow-inline.h (get_subvar_at): Update for SFT_OFFSET/SFT_SIZE. (var_can_have_subvars): Ditto. (overlap_subvar): Ditto. * print-tree.c (print_node): Print out interesting things for SFT's. * tree-flow.h (struct subvar): Remove offset and size members. * tree-ssa-operands.c (get_expr_operands): Update for get_indirect_ref_operands changes. (get_indirect_ref_operands): Call add_virtual_operand instead of add_stmt_operand. Only recurse on base var if requested. (access_can_touch_variable): New function. (add_stmt_operand): Split virtual operand handling into ... (add_virtual_operand): Here. Add offset, size, and for_clobber arguments. Prune alias sets. (add_call_clobber_ops): Call add_virtual_operand. From-SVN: r111120
Daniel Berlin committed -
2006-02-15 Toon Moene <toon@moene.indiv.nluug.nl> PR fortran/26054 * fortran/options.c: Do not warn for Fortran 2003 features by default. * testsuite/gfortran.dg/enum_8.f90: Remove check for warning. * testsuite/gfortran.dg/iomsg_1.f90: Ditto. * testsuite/gfortran.dg/enum_1.f90: Ditto. * testsuite/gfortran.dg/enum_9.f90: Ditto. * testsuite/gfortran.dg/enum_2.f90: Ditto. * testsuite/gfortran.dg/enum_10.f90: Ditto. * testsuite/gfortran.dg/enum_3.f90: Ditto. * testsuite/gfortran.dg/flush_1.f90: Ditto. * testsuite/gfortran.dg/enum_4.f90: Ditto. * testsuite/gfortran.dg/array_constructor_1.f90: Ditto. * testsuite/gfortran.dg/enum_5.f90: Ditto. * testsuite/gfortran.dg/enum_6.f90: Ditto. * testsuite/gfortran.dg/enum_7.f90: Ditto. From-SVN: r111117
Toon Moene committed -
PR middle-end/26300 * combine.c (make_extraction): Bail out if ORIG_POS is negative. * gcc.c-torture/compile/20060215-1.c: New test. From-SVN: r111116
Jakub Jelinek committed -
tree.h (struct tree_omp_clause): Use OMP_CLAUSE_CODE rather than TREE_CODE as index into omp_clause_num_ops array. * tree.h (struct tree_omp_clause): Use OMP_CLAUSE_CODE rather than TREE_CODE as index into omp_clause_num_ops array. From-SVN: r111115
Jakub Jelinek committed -
2006-02-15 Uttam Pawar <uttamp@us.ibm.com> PR rtl-optimization/26184 * modulo-sched.c (generate_reg_moves): Free bitmap vector uses_of_defs. * modulo-sched.c (sms_schedule): Free g_arr pointer. * modulo-sched.c (sms_schedule_by_order): Free bitmap pointers must_precede, must_follow and tobe_scheduled. PR other/26147 * opts.c (common_handle_option): Free new_option pointer. * df-core.c (df_analyze): Free postorder pointer. From-SVN: r111114
Uttam Pawar committed -
* gcc/Makefile.in: Fix the examples about the use of stamps M gcc/ChangeLog M gcc/Makefile.in From-SVN: r111113
Rafael Espindola committed -
* check.c: Update copyright years. From-SVN: r111110
Tobias Schlüter committed -
PR middle-end/22275 * stor-layout.c (layout_decl): Zero-width bitfields aren't influenced by maximum_field_alignment or DECL_PACKED. (update_alignment_for_field): Ditto. (place_field): Ditto. * doc/extend.texi (<#pragma pack>, <Type Attributes>): Document this behaviour. From-SVN: r111109
Michael Matz committed -
check.c (gfc_check_minloc_maxloc, [...]): Don't call dim_range_check on not-present optional dim argument. * check.c (gfc_check_minloc_maxloc, check_reduction): Don't call dim_range_check on not-present optional dim argument. From-SVN: r111108
Tobias Schlüter committed -
From-SVN: r111107
Arnaud Charlet committed -
of null = null, now known true. From-SVN: r111106
Arnaud Charlet committed -
Add documentation for restriction No_Dispatching_Calls Add documentation for pragma Ada_2005 Remove mention of obsolete pragma Propagate_Exceptions From-SVN: r111105
Arnaud Charlet committed -
2006-02-13 Arnaud Charlet <charlet@adacore.com> Ben Brosgol <brosgol@adacore.com> Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Remove limitations with sparc m64 support. Document that gnatbind -M option is for cross environments only. Added description of using gnatmem to trace gnat rtl allocs and deallocs Add note on use of $ to label implicit run time calls Add documentation for -gnatyI (check mode IN) Updated chapter on compatibility with HP Ada VMS-oriented edits. Ran spell and corrected errors Add documentation for gnatbind -d and rework documentation of -D at the same time. Add subprogram/data elimination section. Minor editing of annex A. Add section for gnatcheck. Add documentation for restriction No_Dispatching_Calls Add documentation for pragma Ada_2005 Remove mention of obsolete pragma Propagate_Exceptions Document that pragma Unreferenced can appear after DO in ACCEPT Clarify Pure_Function for library level units Mention Max/Min in connection with No_Implicit_Conditionals No_Wide_Characters restriction is no longer partition-wide Add a nice example for Universal_Literal_String attribute Document that pragma No_Return can take multiple arguments * ug_words: Added entry for gnatcheck * g-ctrl_c.ads (Install_Handler): Enhance comments * g-os_lib.ads: Add comments to OS_Exit that it is abrupt termination * g-trasym.ads: Add documentation on how to do off line symbolic traceback computation. * s-fatgen.adb: Add comments for Unaligned_Valid * stand.ads: Fix typo in comment From-SVN: r111104
Arnaud Charlet committed -
2006-02-13 Eric Botcazou <ebotcazou@adacore.com> * tracebak.c (PPC AIX/Darwin): Define FORCE_CALL to 1. (PPC VxWorks): Likewise. (Generic unwinder): Define FORCE_CALL to 0 if not already defined. (forced_callee): Make non-inlinable and non-pure. (__gnat_backtrace): Call forced_callee if FORCE_CALL is set to 1. From-SVN: r111103
Eric Botcazou committed -
2006-02-13 Robert Dewar <dewar@adacore.com> * s-wchjis.adb (JIS_To_EUC): Raise Constraint_Error for invalid value From-SVN: r111102
Robert Dewar committed -
2006-02-13 Bob Duff <duff@adacore.com> * s-valint.adb (Scan_Integer): Call Scan_Raw_Unsigned instead of Scan_Unsigned, so we do not scan leading blanks and sign twice. Integer'Value("- 5") and Integer'Value("-+5") now correctly raise Constraint_Error. * s-vallli.adb (Scan_Long_Long_Integer): Call Scan_Raw_Long_Long_Unsigned instead of Scan_Long_Long_Unsigned, so we do not scan leading blanks and sign twice. Integer'Value("- 5") and Integer'Value("-+5") now correctly raise Constraint_Error. * s-valllu.ads, s-valllu.adb (Scan_Raw_Long_Long_Unsigned, Scan_Long_Long_Unsigned): Split out most of the processing from Scan_Long_Long_Unsigned out into Scan_Raw_Long_Long_Unsigned, so that Val_LLI can call the Raw_ version. This prevents scanning leading blanks and sign twice. Also fixed a bug: Modular'Value("-0") should raise Constraint_Error See RM-3.5(44). * s-valuns.ads, s-valuns.adb (Scan_Raw_Unsigned, Scan_Unsigned): Split out most of the processing from Scan_Unsigned out into Scan_Raw_Unsigned, so that Val_LLI can call the Raw_ version. This prevents scanning leading blanks and sign twice. * s-valuti.ads, s-valuti.adb (Scan_Plus_Sign): Add Scan_Plus_Sign, for use with Modular'Value attribute. (Scan_Plus_Sign): Add Scan_Plus_Sign, for use with Modular'Value attribute. From-SVN: r111101
Bob Duff committed -
2006-02-13 Quentin Ochem <ochem@adacore.com> * s-stausa.adb (Initialize_Analyzer): fixed error in assignment of task name. From-SVN: r111100
Quentin Ochem committed -
2006-02-13 Ed Schonberg <schonberg@adacore.com> Robert Dewar <dewar@adacore.com> * sprint.adb (Write_Itype): Preserve Sloc of declaration, if any, to preserve the source unit where the itype is declared, and prevent a backend abort. (Note_Implicit_Run_Time_Call): New procedure (Write_Itype): Handle missing cases (E_Class_Wide_Type and E_Subprogram_Type) * sprint.ads: Document use of $ for implicit run time routine call From-SVN: r111099
Ed Schonberg committed -
2006-02-13 Thomas Quinot <quinot@adacore.com> * sinput-d.adb (Write_Line): Update the Source_Index_Table after each line. This is necessary to allow In_Extended_Main_Unit to provide correct results for itypes while writing out expanded source. (Close_File): No need to update the source_index_table here since it's now done for each line. From-SVN: r111098
Thomas Quinot committed -
2006-02-13 Ed Schonberg <schonberg@adacore.com> * sem_warn.adb (Check_One_Unit): If the unit appears in a limited_with clause, use the limited view to determine whether any entity from it is referenced. From-SVN: r111097
Ed Schonberg committed -
2006-02-13 Ed Schonberg <schonberg@adacore.com> Javier Miranda <miranda@adacore.com> * sem_type.adb (Write_Overloads): Improve display of candidate interpretations. (Add_One_Interp): Do not add to the list of interpretations aliased entities corresponding with an abstract interface type that is an immediate ancestor of a tagged type; otherwise we have a dummy conflict between this entity and the aliased entity. (Disambiguate): The predefined equality on universal_access is not usable if there is a user-defined equality with the proper signature, declared in the same declarative part as the designated type. (Find_Unique_Type): The universal_access equality operator defined under AI-230 does not cover pool specific access types. (Covers): If one of the types is a generic actual subtype, check whether it matches the partial view of the other type. From-SVN: r111096
Ed Schonberg committed -
sem_elab.adb (Same_Elaboration_Scope): A package that is a compilation unit is an elaboration scope. 2006-02-13 Ed Schonberg <schonberg@adacore.com> Robert Dewar <dewar@adacore.com> * sem_elab.adb (Same_Elaboration_Scope): A package that is a compilation unit is an elaboration scope. (Add_Task_Proc): Add '\' in 2-line warning message. (Activate_All_Desirable): Deal with case of unit with'ed by parent From-SVN: r111095
Ed Schonberg committed -
sem_ch9.adb (Analyze_Protected_Type, [...]): Check that if this is the full-declaration associated with a private... 2006-02-13 Javier Miranda <miranda@adacore.com> * sem_ch9.adb (Analyze_Protected_Type, Analyze_Task_Type): Check that if this is the full-declaration associated with a private declaration that implement interfaces, then the private type declaration must be limited. (Analyze_Single_Protected, Analyze_Single_Task): Do not mark the object as aliased. The use of the 'access attribute is not available for such object (for this purpose the object should be explicitly marked as aliased, but being an anonymous type this is not possible). From-SVN: r111094
Javier Miranda committed -
2006-02-13 Bob Duff <duff@adacore.com> * sem_ch8.adb (Note_Redundant_Use): Suppress unhelpful warning about redundant use clauses. In particular, if the scope of two use clauses overlaps, but one is not entirely included in the other, we should not warn. This can happen with nested packages. (Analyze_Subprogram_Renaming): Protect the compiler against previously reported errors. The bug was reported when the compiler was built with assertions enabled. (Find_Type): If the node is a 'Class reference and the prefix is a synchronized type without a corresponding record, return the type itself. From-SVN: r111093
Bob Duff committed
-