- 27 May, 2008 40 commits
-
-
* c.opt (Wenum-compare): New warning option. * doc/invoke.texi (Warning Options): Document -Wenum-compare. cp/ * call.c (build_new_op): Make warning conditional on OPT_Wenum_compare. testsuite/ * g++.dg/warn/Wenum-compare.C: New testcase. * g++.dg/warn/Wenum-compare-no.C: Ditto. From-SVN: r136035
Michael Matz committed -
PR middle-end/36326 * tree-gimple.c (is_gimple_mem_rhs): Remove work-around for non-BLKmode types. * tree-tailcall.c (find_tail_calls): Don't mark calls storing into memory as tail calls. From-SVN: r136033
Michael Matz committed -
2008-05-27 Richard Guenther <rguenther@suse.de> PR tree-optimization/36339 * tree-ssa-alias.c (set_initial_properties): Escaped pt_anything pointers cause all addressable variables to be call clobbered. * gcc.c-torture/execute/pr36339.c: New testcase. * gcc.dg/tree-ssa/loadpre8.c: XFAIL. From-SVN: r136030
Richard Guenther committed -
2008-05-27 Richard Guenther <rguenther@suse.de> PR tree-optimization/36245 * tree-ssa-address.c (add_to_parts): Deal with non-pointer bases. * gcc.c-torture/compile/pr36245.c: New testcase. From-SVN: r136029
Richard Guenther committed -
From-SVN: r136028
Arnaud Charlet committed -
2008-05-27 Robert Dewar <dewar@adacore.com> * mlib-prj.adb: Minor reformatting * prj-part.adb: Minor reformatting * prj.ads: Minor reformatting * exp_ch3.adb: Minor reformatting. * sem_ch3.ads: Minor reformatting * sem_eval.adb: Minor reformatting From-SVN: r136027
Robert Dewar committed -
exp_aggr.adb (Build_Array_Aggr_Code): If component type includes tasks and context is an object declaration. 2008-05-27 Ed Schonberg <schonberg@adacore.com> * exp_aggr.adb (Build_Array_Aggr_Code): If component type includes tasks and context is an object declaration. create master entity before expansion. From-SVN: r136026
Ed Schonberg committed -
sem_ch3.adb (Build_Incomplete_Type_Declaration): In the case of an untagged private type with a tagged full type... 2008-05-27 Bob Duff <duff@adacore.com> * sem_ch3.adb (Build_Incomplete_Type_Declaration): In the case of an untagged private type with a tagged full type, where the full type has a self reference, create the corresponding class-wide type early, in case the self reference is "access T'Class". From-SVN: r136025
Bob Duff committed -
From-SVN: r136024
Arnaud Charlet committed -
* a-ststio.adb, s-direio.adb: Further code clean up of previous change. Update comments. From-SVN: r136023
Arnaud Charlet committed -
From-SVN: r136021
Arnaud Charlet committed -
Replace heavy address clause by 'Unrestricted_Access, cleaner and more portable across GNAT targets, since this kind of address clause is not supported by VM back-ends (.NET/JGNAT). From-SVN: r136020
Arnaud Charlet committed -
* prj-part.adb: (Project_Path_Name_Of.Try_Path): Do not use Locate_Regular_File to find a project file, so that symbolic links are not resolved. From-SVN: r136019
Vincent Celier committed -
From-SVN: r136018
Arnaud Charlet committed -
2008-05-27 Bob Duff <duff@adacore.com> * gnat_rm.texi: Document the new behavior regarding trampolines. From-SVN: r136017
Bob Duff committed -
2008-05-27 Ed Schonberg <schonberg@adacore.com> * exp_aggr.adb (Expand_Array_Aggregate): If the aggregate contains tasks, create an activation chain now, before the expansion into assignments and build-in-place calls that require the presence of an activation chain. (Backend_Processing_Possible): If the component type is inherently limited, the aggregate must be expanded into individual built-in-place assignments. * sem_ch6.adb (Build_Extra_Formals): Use underlying type of result to determine whether an allocation extra parameter must be built, to handle case of a private type whose full type is a discriminated type with defaults. From-SVN: r136016
Ed Schonberg committed -
2008-05-27 Vincent Celier <celier@adacore.com> * gnatcmd.adb: <prefix>-gnat stack spawns gnatstack, not <prefix>-gnatstack From-SVN: r136015
Vincent Celier committed -
2008-05-27 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md: Replace all occurences of the 'm' constraint with 'RT'. From-SVN: r136014
Andreas Krebbel committed -
2008-05-27 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md ("cpu_facility", "enabled"): Attribute definitions added. ("*movdi_64dfp", "*movdi_64extimm", "*movdi_64"): Merged into "*movdi_64". ("*anddi3_extimm", "*anddi3"): Merged into "*anddi3". ("*iordi3_extimm", "*iordi3"): Merged into "*iordi3". ("*xordi3_extimm", "*xordi3"): Merged into "*xordi3". From-SVN: r136013
Andreas Krebbel committed -
2008-05-27 Andreas Krebbel <krebbel1@de.ibm.com> * reload.c: (find_reloads): Skip alternatives according to the "enabled" attribute. Constify the constraint variable. * recog.c (get_attr_enabled): Add default implementation. (extract_insn): Set the alternative_enabled_p array in the recog_data struct. (preprocess_constraints, constrain_operands): Skip alternatives according to the "enabled" attribute * recog.h (struct recog_data): New field alternative_enabled_p. (skip_alternative): New inline function. * regclass.c: (record_operand_costs): Check the "enabled" attribute. (record_reg_classes): Skip alternative according to the "enabled" attribute. * doc/md.texi: Add documention for the "enabled" attribute. From-SVN: r136012
Andreas Krebbel committed -
2008-05-27 Andreas Krebbel <krebbel1@de.ibm.com> * defaults.h (TARGET_MEM_CONSTRAINT): New target macro added. * postreload.c (reload_cse_simplify_operands): Replace 'm' constraint with TARGET_MEM_CONSTRAINT. * recog.c (asm_operand_ok, preprocess_constraints, constrain_operands): Likewise. * regclass.c (record_reg_classes): Likewise. * reload.c (find_reloads, alternative_allows_const_pool_ref): Likewise. * reload1.c (maybe_fix_stack_asms): Likewise. * stmt.c (parse_output_constraint, parse_input_constraint): Likewise. * recog.h: Adjust comment. * genpreds.c (generic_constraint_letters): Remove 'm' constraint. * genoutput.c (note_constraint): Don't emit error for 'm' constraint. * doc/md.texi: Add a note to description of 'm' constraint. * doc/tm.texi: Document the new TARGET_MEM_CONSTRAINT macro. From-SVN: r136011
Andreas Krebbel committed -
From-SVN: r136010
Arnaud Charlet committed -
tree-sra.c (sra_type_can_be_decomposed_p): Make sure that the bitfield is of integral type before testing its precision. * tree-sra.c (sra_type_can_be_decomposed_p) <RECORD_TYPE>: Make sure that the bitfield is of integral type before testing its precision. From-SVN: r136009
Eric Botcazou committed -
* gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, makegpr.adb, makeutl.adb, clean.adb, prj-nmsc.adb, mlib-tgt.adb, prj-env.adb, prj-env.ads: (Path_Information): New record type Use component of type Path_Information when there are two paths, one in canonical format and one in display format. Update the project manager to these new components. From-SVN: r136008
Vincent Celier committed -
* bindgen.adb: Update comments. * s-tasinf-mingw.adb: Add "with" of System.OS_Interface From-SVN: r136007
Arnaud Charlet committed -
From-SVN: r136006
Arnaud Charlet committed -
2008-05-27 Robert Dewar <dewar@adacore.com> * makeutl.adb: Minor reformatting * prj-nmsc.adb: Minor reformatting * s-stausa.adb: Minor reformatting * s-stausa.ads: Minor reformatting * sem_ch6.adb: Minor reformatting From-SVN: r136005
Robert Dewar committed -
2008-05-27 Thomas Quinot <quinot@adacore.com> * sem_res.adb: Minor comment fixes From-SVN: r136004
Thomas Quinot committed -
From-SVN: r136003
Arnaud Charlet committed -
(System.File_IO.{Close, Delete, Reset}): Change File parameter from "in out AFCB_Ptr" to "access AFCB_Ptr". 2008-05-27 Thomas Quinot <quinot@adacore.com> (System.File_IO.{Close, Delete, Reset}): Change File parameter from "in out AFCB_Ptr" to "access AFCB_Ptr". (Ada.*_IO.{Close, Delete, Reset, Set_Mode}): Pass File parameter by reference. From-SVN: r136002
Thomas Quinot committed -
* sem_ch3.adb: (Get_Discr_Value): Remove obsolete code that failed to find the value of a discriminant for an inherited task component appearing in a type extension. From-SVN: r136001
Ed Schonberg committed -
* prj-nmsc.adb: (Check_File): Make sure that a unit that replaces the same unit in a project being extended is properly processed. From-SVN: r136000
Vincent Celier committed -
2008-05-27 Quentin Ochem <ochem@adacore.com> * s-stausa.adb (Initialize): Updated result initialization, and initialization of environment stack. (Fill_Stack): Improved computation of the pattern zone, taking into account already filled at the calling point. (Get_Usage_Range): Now uses Min_Measure and Max_Measure instead of Measure and Overflow_Guard. (Report_Result): Fixed computation of the result using new fields of Stack_Analyzer. * s-stausa.ads (Initialize_Analyzer): Replaced Size / Overflow_Guard params by more explicit Stack_Size / Max_Pattern_Size params. (Stack_Analyzer): Added distinct Stack_Size & Pattern_Size fields. Added Stack_Used_When_Filling field. (Task_Result): Replaced Measure / Overflow_Guard by more explicit Min_Measure and Max_Measure fields. * s-tassta.adb (Task_Wrapper): Updated call to Initialize_Analyzer. From-SVN: r135999
Quentin Ochem committed -
From-SVN: r135998
Arnaud Charlet committed -
2008-05-27 Thomas Quinot <quinot@adacore.com> * exp_aggr.adb: Add ??? comment Fix typo From-SVN: r135997
Thomas Quinot committed -
2008-05-27 Thomas Quinot <quinot@adacore.com> * makeutl.adb: Minor code reorganization From-SVN: r135996
Thomas Quinot committed -
From-SVN: r135995
Arnaud Charlet committed -
From-SVN: r135994
Arnaud Charlet committed -
* makeutl.ads, makeutl.adb: (Set_Location): New procedure (Get_Location): New function (Update_Main): New procedure From-SVN: r135993
Vincent Celier committed -
* sem_ch6.adb: (Is_Interface_Conformant): Handle properly a primitive operation that overrides an interface function with a controlling access result. (Type_Conformance): If Skip_Controlling_Formals is true, when matching inherited and overriding operations, omit as well the conformance check on result types, to prevent spurious errors. From-SVN: r135992
Ed Schonberg committed
-