- 17 Jun, 2010 37 commits
-
-
2010-06-17 Robert Dewar <dewar@adacore.com> * exp_intr.adb: Minor code reorganization (use UI_Max) * sem_intr.adb: use underlying type to check legality. * einfo.adb (Known_Static_Esize): False for generic types (Known_Static_RM_Size): False for generic types * einfo.ads (Known_Static_Esize): False for generic types (Known_Static_RM_Size): False for generic types From-SVN: r160930
Robert Dewar committed -
2010-06-17 Robert Dewar <dewar@adacore.com> * exp_ch4.ads: Minor code reorganization (specs in alpha order). 2010-06-17 Robert Dewar <dewar@adacore.com> * debug.adb: New debug flag -gnatd.X to use Expression_With_Actions node when expanding short circuit form with actions present for right opnd. * exp_ch4.adb: Minor reformatting (Expand_Short_Circuit_Operator): Use new Expression_With_Actions node if right opeand has actions present, and debug flag -gnatd.X is set. * exp_util.adb (Insert_Actions): Handle case of Expression_With_Actions node. * nlists.adb (Prepend_List): New procedure (Prepend_List_To): New procedure * nlists.ads (Prepend_List): New procedure (Prepend_List_To): New procedure * sem.adb: Add processing for Expression_With_Actions * sem_ch4.adb (Analyze_Expression_With_Actions): New procedure * sem_ch4.ads (Analyze_Expression_With_Actions): New procedure * sem_res.adb: Add processing for Expression_With_Actions. * sem_scil.adb: Add processing for Expression_With_Actions * sinfo.ads, sinfo.adb (N_Expression_With_Actions): New node. * sprint.ads, sprint.adb: Add processing for Expression_With_Actions 2010-06-17 Doug Rupp <rupp@adacore.com> * sem_intr.adb (Check_Intrinsic_Operator): Check that the types involved both have underlying integer types. * exp_intr.adb (Expand_Binary_Operator) New subprogram to expand a call to an intrinsic operator when the operand types or sizes are not identical. * s-auxdec-vms_64.ads: Revert "+" "-" ops back to Address now that 64/32 Address/Integer works. From-SVN: r160929
Arnaud Charlet committed -
2010-06-17 Ed Schonberg <schonberg@adacore.com> * sem_ch12.adb (Mark_Context): Refine placement of Withed_Body flag, so that it marks a unit as needed by a spec only if the corresponding instantiation appears in that spec (and not in the corresponding body). * sem_elim.adb (Check_Eliminated): If we are within a subunit, the name in the pragma Eliminate has been parsed as a child unit, but the current compilation unit is in fact the parent in which the subunit is embedded. 2010-06-17 Vincent Celier <celier@adacore.com> * gnat_rm.texi: Fix typo From-SVN: r160928
Arnaud Charlet committed -
2010-06-17 Robert Dewar <dewar@adacore.com> * sem_util.adb: Minor reformatting 2010-06-17 Ed Schonberg <schonberg@adacore.com> * sem.adb (Do_Withed_Unit): if the unit in the with_clause is a generic instance, the clause now denotes the instance body. Traverse the corresponding spec because there may be no other dependence that will force the traversal of its own context. From-SVN: r160925
Arnaud Charlet committed -
2010-06-17 Ed Schonberg <schonberg@adacore.com> * sem_ch10.adb (Is_Ancestor_Unit): Subsidiary to Install_Limited_Context_Clauses, to determine whether a limited_with in some parent of the current unit designates some other parent, in which case the limited_with clause must not be installed. (In_Context): Refine test. 2010-06-17 Gary Dismukes <dismukes@adacore.com> * sem_util.adb (Collect_Primitive_Operations): In the of an untagged type with a dispatching equality operator that is overridden (for a tagged full type), don't include the overridden equality in the list of primitives. The overridden equality is detected by testing for an Aliased field that references the overriding equality. 2010-06-17 Robert Dewar <dewar@adacore.com> * freeze.adb: Minor reformatting. From-SVN: r160924
Arnaud Charlet committed -
* gnat_ugn.texi: Add a section introducing gdbserver. 2010-06-17 Thomas Quinot <quinot@adacore.com> * sem_res.adb, sem_ch4.adb, s-stoele.adb, par-labl.adb: Minor reformatting. 2010-06-17 Ed Schonberg <schonberg@adacore.com> * sem_aggr.adb (Valid_Ancestor_Type): handle properly the case of a constrained discriminated parent that is a private type. (Analyze_Record_Aggregate): when collecting inherited discriminants, handle properly an ancestor type that is a constrained private type. 2010-06-17 Ed Schonberg <schonberg@adacore.com> * sem_util.adb (Enclosing_Subprogram): If the called subprogram is protected, use the protected_subprogram_body only if the original subprogram has not been eliminated. 2010-06-17 Ed Schonberg <schonberg@adacore.com> * freeze.adb (Freeze_Expression): The designated type of an access_to_suprogram type can only be frozen if all types in its profile are fully defined. From-SVN: r160923
Arnaud Charlet committed -
PR bootstrap/44512 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast for C++ standard compliance. From-SVN: r160922
Joern Rennecke committed -
2010-06-17 Robert Dewar <dewar@adacore.com> * par.adb: Minor comment fix * sem_aggr.adb, sem_ch3.adb: Minor reformatting 2010-06-17 Doug Rupp <rupp@adacore.com> * s-auxdec-vms_64.ads: Revert Integer to Long_Integer change, instead change Address to Short_Address in functions where both must be the same size for intrinsics to work. 2010-06-17 Thomas Quinot <quinot@adacore.com> * sem_ch4.adb (Analyze_Selected_Component): A selected component may not denote a (private) component of a protected object. 2010-06-17 Bob Duff <duff@adacore.com> * par-labl.adb (Try_Loop): Test whether the label and the goto are in the same list. 2010-06-17 Joel Brobecker <brobecker@adacore.com brobecker> * gnat_ugn.texi: Update the documentation about GDB re: exception catchpoints. From-SVN: r160919
Arnaud Charlet committed -
From-SVN: r160916
Arnaud Charlet committed -
2010-06-17 Ed Schonberg <schonberg@adacore.com> * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): The designated type of the generated pointer is the type of the original expression, not that of the function call itself, because the return type may be an untagged derived type and the function may be an inherited operation. 2010-06-17 Robert Dewar <dewar@adacore.com> * exp_ch4.adb: Minor reformatting From-SVN: r160915
Arnaud Charlet committed -
2010-06-17 Ed Schonberg <schonberg@adacore.com> * sinfo.ads, sinfo.adb (Inherited_Discriminant): New flag on N_Component_Association nodes, to indicate that a component association of an extension aggregate denotes the value of a discriminant of an ancestor type that has been constrained by the derivation. * sem_aggr.adb (Discr_Present): use Inherited_Discriminant to prevent a double expansion of the aggregate appearing in a context that delays expansion, to prevent double insertion of discriminant values when the aggregate is reanalyzed. 2010-06-17 Arnaud Charlet <charlet@adacore.com> * exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Do not use Allocator as the Related_Node of Return_Obj_Access in call to Make_Temporary below as this would create a sort of infinite "recursion". From-SVN: r160914
Arnaud Charlet committed -
2010-06-17 Ben Brosgol <brosgol@adacore.com> * gnat_ugn.texi: Update gnatcheck doc. 2010-06-17 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Build_Incomplete_Type_Declaration): If there is an incomplete view of the type that is not tagged, and the full type is a tagged extension, create class_wide type now, and warn that the incomplete view should be tagged as well. From-SVN: r160913
Arnaud Charlet committed -
2010-06-17 Vincent Celier <celier@adacore.com> * gnatcmd.adb (Non_VMS_Usage): Do not issue usage for gnat sync. Update the last line of the usage, indicating what commands do not accept project file switches. * vms_conv.adb: Do not issue usage line for GNAT SYNC * vms_data.ads: Fix errors in the qualifiers /LOGFILE and /MAIN of GNAT ELIM. * gnat_ugn.texi: Document the relaxed rules for library directories in externally built library projects. 2010-06-17 Doug Rupp <rupp@adacore.com> * s-auxdec-vms_64.ads: Make boolean and arithmetic operations intrinsic where possible. * s-auxdec-vms-alpha.adb: Remove kludges for aforemention. * gcc-interface/Makefile.in: Update VMS target pairs. 2010-06-17 Vasiliy Fofanov <fofanov@adacore.com> * adaint.c: Reorganized in order to avoid use of GetProcessId to stay compatible with Windows NT 4.0 which doesn't provide this function. 2010-06-17 Vincent Celier <celier@adacore.com> * ali-util.adb (Time_Stamp_Mismatch): In Verbose mode, if there is different timestamps but the checksum is the same, issue a short message saying so. 2010-06-17 Arnaud Charlet <charlet@adacore.com> * s-interr.adb (Finalize): If the Abort_Task signal is set to system, it means that we cannot reset interrupt handlers since this would require potentially sending the abort signal to the Server_Task. From-SVN: r160911
Arnaud Charlet committed -
2010-06-17 Richard Guenther <rguenther@suse.de> * tree-inline.c (declare_return_variable): Remove bogus code. From-SVN: r160910
Richard Guenther committed -
2010-06-17 Ed Schonberg <schonberg@adacore.com> * exp_ch4.adb: expand NOT for VMS types. * sem_util.adb: Use OpenVMS_On_Target for IS_VMS_Operator. 2010-06-17 Sergey Rybin <rybin@adacore.com> * vms_data.ads: Add qualifier for '--no-elim-dispatch' gnatelim option. * gnat_ugn.texi (gnatelim): add description for --no-elim-dispatch option. From-SVN: r160908
Arnaud Charlet committed -
2010-06-17 Ed Schonberg <schonberg@adacore.com> * exp_ch6.adb (Expand_Call): Do not expand a call to an internal protected operation if the subprogram has been eliminated. 2010-06-17 Vincent Celier <celier@adacore.com> * prj-nmsc.adb (Check_Library_Attributes): Allow the different directories associated with a library to be any directory when the library project is externally built. 2010-06-17 Vincent Celier <celier@adacore.com> * make.adb (Check): If switch -m is used, deallocate the memory that may be allocated when computing the checksum. From-SVN: r160907
Arnaud Charlet committed -
2010-06-17 Eric Botcazou <ebotcazou@adacore.com> * g-socthi-mingw.adb (C_Recvmsg): Add 'use type' clause for C.size_t; (C_Sendmsg): Likewise. 2010-06-17 Thomas Quinot <quinot@adacore.com> * sem_res.adb: Update comments. 2010-06-17 Vincent Celier <celier@adacore.com> * back_end.adb (Scan_Compiler_Arguments): Process last argument. From-SVN: r160906
Arnaud Charlet committed -
2010-06-17 Robert Dewar <dewar@adacore.com> * exp_ch3.adb, exp_ch6.adb, exp_smem.adb, exp_util.adb: Use Ekind_In. * layout.adb, freeze.adb: Use Make_Temporary. 2010-06-17 Jerome Lambourg <lambourg@adacore.com> * exp_ch11.adb (Expand_N_Raise_Statement): Expand raise statements in .NET/JVM normally as this is now perfectly supported by the backend. 2010-06-17 Pascal Obry <obry@adacore.com> * gnat_rm.texi: Fix minor typo, remove duplicate blank lines. 2010-06-17 Vincent Celier <celier@adacore.com> * make.adb (Collect_Arguments_And_Compile): Create include path file only when -x is specified. (Gnatmake): Ditto * opt.ads (Use_Include_Path_File): New Boolean flag, initialized to False. * prj-env.adb (Set_Ada_Paths): New Boolean parameters Include_Path and Objects_Path, defaulted to True. Only create include path file if Include_Path is True, only create objects path file if Objects_Path is True. * prj-env.ads (Set_Ada_Paths): New Boolean parameters Include_Path and Objects_Path, defaulted to True. * switch-m.adb (Scan_Make_Switches): Set Use_Include_Path_File to True when -x is used. 2010-06-17 Ed Schonberg <schonberg@adacore.com> * exp_disp.adb (Build_Interface_Thunk): Use base type of formal to determine whether it has the controlling type, when the formal is an access parameter. 2010-06-17 Eric Botcazou <ebotcazou@adacore.com> * s-crtl.ads (ssize_t): New type. (read): Fix signature. (write): Likewise. * g-socthi.ads: Add 'with System.CRTL' clause. Remove ssize_t and 'use type' directive for C.size_t, add one for System.CRTL.ssize_t. (C_Recvmsg): Replace ssize_t with System.CRTL.ssize_t. (C_Sendmsg): Likewise. * g-socthi.adb (Syscall_Recvmsg): Likewise. (Syscall_Sendmsg): Likewise. (C_Recvmsg): Likewise. (C_Sendmsg): Likewise. * g-socthi-mingw.ads: Add 'with System.CRTL' clause. Remove ssize_t and 'use type' directive for C.size_t, add one for System.CRTL.ssize_t. (C_Recvmsg): Replace ssize_t with System.CRTL.ssize_t. (C_Sendmsg): Likewise. * g-socthi-mingw.adb (C_Recvmsg): Likewise. (C_Sendmsg): Likewise. * g-socthi-vms.ads: Add 'with System.CRTL' clause. Remove ssize_t and 'use type' directive for C.size_t, add one for System.CRTL.ssize_t. (C_Recvmsg): Replace ssize_t with System.CRTL.ssize_t. (C_Sendmsg): Likewise. * g-socthi-vms.adb (C_Recvmsg): Likewise. (C_Sendmsg): Likewise. * g-socthi-vxworks.ads Add 'with System.CRTL' clause. Remove ssize_t and 'use type' directive for C.size_t, add one for System.CRTL.ssize_t. (C_Recvmsg): Replace ssize_t with System.CRTL.ssize_t. (C_Sendmsg): Likewise. * g-socthi-vxworks.adb (C_Recvmsg): Likewise. (C_Sendmsg): Likewise. * g-sercom-linux.adb (Read): Use correct types to call 'read'. (Write): Likewise to call 'write'. * s-os_lib.adb (Read): Use correct type to call System.CRTL.read. (Write): Use correct type to call System.CRTL.write. * s-tasdeb.adb (Write): Likewise. 2010-06-17 Vincent Celier <celier@adacore.com> * prj-proc.adb (Copy_Package_Declarations): Change argument name Naming_Restricted to Restricted. If Restricted is True, do not copy the value of attribute Linker_Options. From-SVN: r160905
Arnaud Charlet committed -
gimplify.c (gimplify_bind_expr): Always promote complex and vector variables to registers if possible. 2010-06-17 Richard Guenther <rguenther@suse.de> * gimplify.c (gimplify_bind_expr): Always promote complex and vector variables to registers if possible. From-SVN: r160903
Richard Guenther committed -
2010-06-17 Richard Guenther <rguenther@suse.de> * expr.c (get_inner_reference): Use double_int for bit_offset calculation. From-SVN: r160902
Richard Guenther committed -
* gcc-interface/trans.c (push_stack, pop_stack): Delete. (Case_Statement_to_gnu): Adjust. (Loop_Statement_to_gnu): Likewise. (Subprogram_Body_to_gnu): Likewise. (Handled_Sequence_Of_Statements_to_gnu): Likewise. (Compilation_Unit_to_gnu): Likewise. From-SVN: r160898
Eric Botcazou committed -
2010-06-17 Robert Dewar <dewar@adacore.com> * exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb, exp_prag.adb, exp_sel.adb, exp_util.adb, sem_ch10.adb, sem_ch12.adb, sem_ch13.adb, sem_ch3.adb, sem_ch4.adb, sem_ch5.adb, sem_ch8.adb, sem_ch9.adb, sem_dist.adb, sem_util.adb: Use Make_Temporary * itypes.ads, tbuild.ads: Minor comment update * exp_ch9.adb, exp_dist.adb: Minor reformatting From-SVN: r160897
Robert Dewar committed -
2010-06-17 Thomas Quinot <quinot@adacore.com> * exp_imgv.adb, exp_ch7.ads: Minor reformatting. 2010-06-17 Robert Dewar <dewar@adacore.com> * exp_ch9.adb, exp_disp.adb, exp_dist.adb: Use Make_Temporary. 2010-06-17 Thomas Quinot <quinot@adacore.com> * sprint.adb (pg): Set Dump_Freeze_Null, to be consistent with -gnatdg. From-SVN: r160895
Arnaud Charlet committed -
2010-06-17 Robert Dewar <dewar@adacore.com> * exp_ch6.adb, exp_ch7.adb, exp_ch5.adb: Use Make_Temporary * tbuild.ads (Make_Temporary): More comment updates * tbuild.adb: Minor reformatting From-SVN: r160894
Robert Dewar committed -
2010-06-17 Robert Dewar <dewar@adacore.com> * checks.adb, exp_aggr.adb, exp_atag.adb, exp_attr.adb, exp_ch11.adb, exp_ch3.adb, exp_ch4.adb: Minor code reorganization. Use Make_Temporary. * tbuild.ads, tbuild.adb (Make_Temporary): Clean up, use Entity_Id instead of Node_Id. (Make_Temporary): Add more extensive documentation From-SVN: r160893
Robert Dewar committed -
2010-06-17 Robert Dewar <dewar@adacore.com> * sem_intr.adb, sem_prag.adb, sem_res.adb, sem_type.adb, sem_util.adb, sem_warn.adb, sem_eval.adb: Minor reformatting. Use Ekind_In. (Set_Slice_Subtype): Explicitly freeze the slice's itype at the point where the slice's actions are inserted. (Decompose_Expr): Account for possible rewriting of slice bounds resulting from side effects suppression caused by the above freezing, so that folding of bounds is preserved by such rewriting. 2010-06-17 Robert Dewar <dewar@adacore.com> * einfo.ads, einfo.adb (Get_Record_Representation_Clause): New function. * freeze.adb (Freeze_Record_Type): Add call to Check_Record_Representation_Clause. * sem_ch13.adb (Check_Record_Representation_Clause): New function (Analyze_Record_Representation_Clause): Split out overlap code into this new function. (Check_Component_Overlap): Moved inside Check_Record_Representation_Clause. * sem_ch13.ads (Check_Record_Representation_Clause): New function. From-SVN: r160892
Robert Dewar committed -
2010-06-17 Robert Dewar <dewar@adacore.com> * back_end.adb, sem_res.adb, switch-c.adb, sem_scil.adb: Minor reformatting. * sem_attr.adb, sem_cat.adb, sem_disp.adb, sem_elab.adb, sem_elim.adb, sem_eval.adb: Use Ekind_In 2010-06-17 Ed Schonberg <schonberg@adacore.com> * sem_ch8.adb: better error message for illegal inherited discriminant 2010-06-17 Vincent Celier <celier@adacore.com> * bindusg.adb: Remove lines for -A and -C * gnat_ugn.texi: Remove all documentation and examples of switches -A and -C for gnatbind and gnatlink. * gnatlink.adb (Usage): Remove lines for -A and -C * switch-b.adb (Scan_Binder_Switches): Issue warning when switch -C is specified. * gcc-interface/Make-lang.in: Update dependencies. From-SVN: r160891
Arnaud Charlet committed -
2010-06-17 Vincent Celier <celier@adacore.com> * back_end.adb (Scan_Compiler_Arguments): Put all arguments in new local Argument_List variable Args. * switch-c.adb (Scan_Front_End_Switches): New Argument_List argument Args. (Switch_Subsequently_Cancelled): New Argument_List argument Args. Look for subsequent switches in Args. * switch-c.ads (Scan_Front_End_Switches): New Argument_List argument Args. * gcc-interface/Make-lang.in: Update dependencies. From-SVN: r160890
Vincent Celier committed -
2010-06-17 Robert Dewar <dewar@adacore.com> * einfo.adb: Minor code fix, allow E_Class_Wide_Type for Equivalent_Type to match documentation. 2010-06-17 Robert Dewar <dewar@adacore.com> * sem_ch6.adb, sem_ch7.adb: Minor reformatting. * sem_ch3.adb, sem_ch5.adb, sem_ch9.adb, sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, sem_ch8.adb, sem_ch13.adb: Make use of Ekind_In. 2010-06-17 Thomas Quinot <quinot@adacore.com> * sem_res.adb (Set_Slice_Subtype): Always freeze the slice's itype. 2010-06-17 Thomas Quinot <quinot@adacore.com> * freeze.adb (Freeze_Expression): Short circuit operators are valid freeze node insertion points. From-SVN: r160889
Arnaud Charlet committed -
2010-06-17 Robert Dewar <dewar@adacore.com> * switch-c.ads, switch-c.adb, sem_ch13.adb: Minor reformatting. * sem_ch12.adb: Add pragmas Assert and Check to previous change. 2010-06-17 Gary Dismukes <dismukes@adacore.com> * layout.adb (Layout_Type): Broaden test for setting an array type's Component_Size to include all scalar types, not just discrete types (components of real types were missed). * sem_ch3.adb (Constrain_Index): Add missing setting of First_Literal on the itype created for an index (consistent with Make_Index and avoids possible Assert_Failures). 2010-06-17 Robert Dewar <dewar@adacore.com> * atree.ads, atree.adb: Add 6-parameter version of Ekind_In * einfo.adb: Minor code reformatting (use Ekind_In) From-SVN: r160887
Arnaud Charlet committed -
2010-06-17 Robert Dewar <dewar@adacore.com> * sem_warn.adb (Test_Ref): Abandon scan if access subprogram parameter found. 2010-06-17 Vincent Celier <celier@adacore.com> * back_end.adb: Minor comment updates * switch-c.adb: Remove dependencies on gcc C sources * gcc-interface/Make-lang.in: Add a-comlin.o to the object file list for the compiler. From-SVN: r160884
Arnaud Charlet committed -
2010-06-17 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_uninitialized.h (__uninitialized_default, __uninitialized_default_n, __uninitialized_default_a, __uninitialized_default_n_a): Add. * include/bits/stl_uninitialized.h (uninitialized_copy, uninitialized_fill, uninitialized_fill_n): Use __is_trivial instead of __is_pod. * include/bits/valarray_array.h: Likewise. * include/bits/stl_algobase.h (__copy_move_backward_a, __copy_move_a): Likewise. From-SVN: r160882
Paolo Carlini committed -
2010-06-17 Ed Schonberg <schonberg@adacore.com> * sem_ch12.adb: propagate Pragma_Enabled flag to generic. * get_scos.adb: Set C2 flag in decision entry of pragma to 'e' (enabled) * par_sco.ads, par_sco.adb (Set_SCO_Pragma_Enabled): New procedure Remove use of Node field in SCOs table (Output_Header): Set 'd' to initially disable pragma entry * put_scos.adb (Put_SCOs): New flag indicating if pragma is enabled * scos.ads, scos.adb: Remove Node field from internal SCOs table. Use C2 field of pragma decision header to indicate enabled. * sem_prag.adb: Add calls to Set_SCO_Pragma_Enabled. * gcc-interface/Make-lang.in: Update dependencies. 2010-06-17 Vincent Celier <celier@adacore.com> * back_end.adb (Next_Arg): Moved to procedure Scan_Compiler_Arguments (Scan_Compiler_Arguments): Call Scan_Front_End_Switches with Next_Arg (Switch_Subsequently_Cancelled): Function moved to the body of Switch.C * back_end.ads (Scan_Front_End_Switches): Function moved to the body of Switch.C. * switch-c.adb: Copied a number of global declarations from back_end.adb (Len_Arg): New function copied from back_end.adb (Switch_Subsequently_Cancelled): New function moved from back_end.adb (Scan_Front_End_Switches): New parameter Arg_Rank used to call Switch_Subsequently_Cancelled. * switch-c.ads (Scan_Front_End_Switches): New parameter Arg_Rank. * gcc-interface/Makefile.in: Add line so that shared libgnat is linked with -lexc on Tru64. From-SVN: r160878
Arnaud Charlet committed -
2010-06-17 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c++/44486 cp/ * error.c (dump_decl): Better wording for anonymous namespace. testsuite/ * g++.dg/pr44486.C: New. From-SVN: r160877
Manuel López-Ibáñez committed -
2010-06-17 Robert Dewar <dewar@adacore.com> * prj.ads, prj.adb: Minor reformatting From-SVN: r160876
Robert Dewar committed -
2010-06-17 Thomas Quinot <quinot@adacore.com> * put_scos.adb: Do not generate a blank line in SCOs when omitting the CP line for a disabled pragma. 2010-06-17 Emmanuel Briot <briot@adacore.com> * prj-proc.adb, prj.adb, prj.ads (Check_Or_Set_Typed_Variable): New subprogram. (Process_Declarative_Item): An invalid value in an typed variable declaration is no longer always fatal. From-SVN: r160875
Arnaud Charlet committed -
From-SVN: r160869
GCC Administrator committed
-
- 16 Jun, 2010 3 commits
-
-
* common.opt (-fstrict-volatile-bitfields): new. * doc/invoke.texi: Document it. * fold-const.c (optimize_bit_field_compare): For volatile bitfields, use the field's type to determine the mode, not the field's size. * expr.c (expand_assignment): Likewise. (get_inner_reference): Likewise. (expand_expr_real_1): Likewise. * expmed.c (store_fixed_bit_field): Likewise. (extract_bit_field_1): Likewise. (extract_fixed_bit_field): Likewise. * gcc.target/i386/volatile-bitfields-1.c: New. * gcc.target/i386/volatile-bitfields-2.c: New. From-SVN: r160865
DJ Delorie committed -
2010-06-16 Richard Guenther <rguenther@suse.de> * tree-inline.c (remap_gimple_op_r): Recurse using remap_gimple_op_r. From-SVN: r160860
Richard Guenther committed -
From-SVN: r160859
Jason Merrill committed
-