summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* 2008-05-27 H.J. Lu <hongjiu.lu@intel.com>hjl2008-05-272-8/+13
| | | | | | | | * dwarf2out.c (current_fde): Change return type to dw_fde_ref. Moved to the front of file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136046 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Xuepeng Guo <xuepeng.guo@intel.com>hjl2008-05-272-12/+31
| | | | | | | | | | | | | H.J. Lu <hongjiu.lu@intel.com> * dwarf2out.c (current_fde): New. (add_cfi): Use it. (lookup_cfa:): Likewise. (dwarf2out_end_epilogue): Likewise. (dwarf2out_note_section_used): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136043 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix c++/27975.matz2008-05-278-2/+50
| | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136035 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/36326matz2008-05-273-7/+24
| | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136033 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Richard Guenther <rguenther@suse.de>rguenth2008-05-275-1/+61
| | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136030 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Richard Guenther <rguenther@suse.de>rguenth2008-05-272-3/+13
| | | | | | | | | | | PR tree-optimization/36245 * tree-ssa-address.c (add_to_parts): Deal with non-pointer bases. * gcc.c-torture/compile/pr36245.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136029 138bc75d-0d04-0410-961f-82ee72b054a4
* Resync.charlet2008-05-271-0/+37
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136028 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Robert Dewar <dewar@adacore.com>charlet2008-05-276-14/+17
| | | | | | | | | | | | | | | | | * 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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136027 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Ed Schonberg <schonberg@adacore.com>charlet2008-05-271-0/+10
| | | | | | | | | | * exp_aggr.adb (Build_Array_Aggr_Code): If component type includes tasks and context is an object declaration. create master entity before expansion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136026 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Bob Duff <duff@adacore.com>charlet2008-05-271-9/+26
| | | | | | | | | | | * 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". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136025 138bc75d-0d04-0410-961f-82ee72b054a4
* * prj-nmsc.adb: Minor reformattingcharlet2008-05-271-5/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136024 138bc75d-0d04-0410-961f-82ee72b054a4
* * a-ststio.adb, s-direio.adb: Further code clean up of previous change.charlet2008-05-272-12/+9
| | | | | | | Update comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136023 138bc75d-0d04-0410-961f-82ee72b054a4
* Resync.charlet2008-05-271-0/+43
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136021 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace heavy address clause by 'Unrestricted_Access, cleaner and more portablecharlet2008-05-274-56/+16
| | | | | | | | across GNAT targets, since this kind of address clause is not supported by VM back-ends (.NET/JGNAT). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136020 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Vincent Celier <celier@adacore.com>charlet2008-05-271-3/+54
| | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136019 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace address clause by unrestricted_access, simpler and compatible with .NET.charlet2008-05-272-24/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136018 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Bob Duff <duff@adacore.com>charlet2008-05-271-0/+12
| | | | | | | | * gnat_rm.texi: Document the new behavior regarding trampolines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136017 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Ed Schonberg <schonberg@adacore.com>charlet2008-05-272-7/+21
| | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136016 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Vincent Celier <celier@adacore.com>charlet2008-05-271-1/+3
| | | | | | | | | * gnatcmd.adb: <prefix>-gnat stack spawns gnatstack, not <prefix>-gnatstack git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136015 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Andreas Krebbel <krebbel1@de.ibm.com>krebbel2008-05-272-64/+69
| | | | | | | | | * config/s390/s390.md: Replace all occurences of the 'm' constraint with 'RT'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136014 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Andreas Krebbel <krebbel1@de.ibm.com>krebbel2008-05-272-129/+55
| | | | | | | | | | | | | | * 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". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136013 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Andreas Krebbel <krebbel1@de.ibm.com>krebbel2008-05-276-10/+213
| | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136012 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Andreas Krebbel <krebbel1@de.ibm.com>krebbel2008-05-2713-20/+64
| | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136011 138bc75d-0d04-0410-961f-82ee72b054a4
* Resync.charlet2008-05-271-0/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136010 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-sra.c (sra_type_can_be_decomposed_p) <RECORD_TYPE>: Make sureebotcazou2008-05-275-0/+46
| | | | | | | | that the bitfield is of integral type before testing its precision. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136009 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Vincent Celier <celier@adacore.com>charlet2008-05-2713-567/+603
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136008 138bc75d-0d04-0410-961f-82ee72b054a4
* * bindgen.adb: Update comments.charlet2008-05-272-3/+12
| | | | | | | | * s-tasinf-mingw.adb: Add "with" of System.OS_Interface git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136007 138bc75d-0d04-0410-961f-82ee72b054a4
* Resynccharlet2008-05-271-0/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136006 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Robert Dewar <dewar@adacore.com>charlet2008-05-275-48/+46
| | | | | | | | | | | | * makeutl.adb: Minor reformatting * prj-nmsc.adb: Minor reformatting * s-stausa.adb: Minor reformatting * s-stausa.ads: Minor reformatting * sem_ch6.adb: Minor reformatting git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136005 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Thomas Quinot <quinot@adacore.com>charlet2008-05-271-2/+2
| | | | | | | | * sem_res.adb: Minor comment fixes git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136004 138bc75d-0d04-0410-961f-82ee72b054a4
* Resync.charlet2008-05-271-0/+50
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136003 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Thomas Quinot <quinot@adacore.com>charlet2008-05-2716-48/+300
| | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136002 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Ed Schonberg <schonberg@adacore.com>charlet2008-05-271-4/+3
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136001 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Vincent Celier <celier@adacore.com>charlet2008-05-271-2/+10
| | | | | | | | | | * prj-nmsc.adb: (Check_File): Make sure that a unit that replaces the same unit in a project being extended is properly processed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136000 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Quentin Ochem <ochem@adacore.com>charlet2008-05-273-69/+94
| | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135999 138bc75d-0d04-0410-961f-82ee72b054a4
* * exp_ch6.adb: Minor reformattingcharlet2008-05-271-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135998 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Thomas Quinot <quinot@adacore.com>charlet2008-05-271-1/+3
| | | | | | | | * exp_aggr.adb: Add ??? comment Fix typo git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135997 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Thomas Quinot <quinot@adacore.com>charlet2008-05-271-4/+4
| | | | | | | * makeutl.adb: Minor code reorganization git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135996 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnat.dg/interface5.ad[sb]: New test.charlet2008-05-273-0/+17
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135995 138bc75d-0d04-0410-961f-82ee72b054a4
* Resync.charlet2008-05-271-0/+28
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135994 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Vincent Celier <celier@adacore.com>charlet2008-05-272-3/+55
| | | | | | | | | | | * makeutl.ads, makeutl.adb: (Set_Location): New procedure (Get_Location): New function (Update_Main): New procedure git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135993 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Ed Schonberg <schonberg@adacore.com>charlet2008-05-271-27/+33
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135992 138bc75d-0d04-0410-961f-82ee72b054a4
* * sem_ch3.adb: Minor reformattingcharlet2008-05-271-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135991 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Vincent Celier <celier@adacore.com>charlet2008-05-271-11/+113
| | | | | | | | | | | | * prj-nmsc.adb: (Process_Sources_In_Multi_Language_Mode): Check that there are not two sources of the same project that have the same object file name. (Find_Explicit_Sources): Always remove a source exception that was not found. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135990 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnat.dg/sync1.ad[sb]: New test.charlet2008-05-273-0/+31
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135989 138bc75d-0d04-0410-961f-82ee72b054a4
* Resync.charlet2008-05-271-0/+21
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135988 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Eric Botcazou <ebotcazou@adacore.com>charlet2008-05-2710-17/+17
| | | | | | | | | | | | | | | | | * system-darwin-ppc.ads (Always_Compatible_Rep): Set to False. * system-darwin-x86.ads (Always_Compatible_Rep): Likewise. * system-freebsd-x86.ads (Always_Compatible_Rep): Likewise. * system-linux-ppc.ads (Always_Compatible_Rep): Likewise. * system-linux-x86_64.ads (Always_Compatible_Rep): Likewise. * system-linux-x86.ads (Always_Compatible_Rep): Likewise. * system-mingw.ads (Always_Compatible_Rep): Likewise. * system-solaris-sparc.ads (Always_Compatible_Rep): Likewise. * system-solaris-sparcv9.ads (Always_Compatible_Rep): Likewise. * system-solaris-x86.ads (Always_Compatible_Rep): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135987 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Vincent Celier <celier@adacore.com>charlet2008-05-271-8/+10
| | | | | | | | | | | | * prj-nmsc.adb: (Check_Library): Allow standard project to be extended as a static library project. (Get_Mains): Do not inherit attribute Main in an extending library project. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135986 138bc75d-0d04-0410-961f-82ee72b054a4
* Resynccharlet2008-05-271-0/+52
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135985 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-27 Thomas Quinot <quinot@adacore.com>charlet2008-05-271-2/+2
| | | | | | | | * exp_dist.adb: Minor reformating git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135984 138bc75d-0d04-0410-961f-82ee72b054a4