summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.jakub2009-04-091443-19284/+17174
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145841 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Richard Guenther <rguenther@suse.de>rguenth2009-04-092-2/+7
| | | | | | | | PR testsuite/39696 * ssa-ccp-25.c: Adjust pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145839 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Nicolas Setton <setton@adacore.com>charlet2009-04-096-30/+49
| | | | | | | | | | | | | | | | | | | | | * s-osinte-darwin.ads: Fix wrong binding to struc timeval. * s-osinte-darwin.adb (To_Timeval): Adapt to fixed implementation of struct_timeval. 2009-04-09 Bob Duff <duff@adacore.com> * exp_ch5.adb, exp_ch9.adb: Correct miscellaneous Slocs in internally-generated nodes related to select statements to avoid confusing the debugger. 2009-04-09 Pascal Obry <obry@adacore.com> * make.adb: Ensure that all linker arguments are duplicated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145838 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Robert Dewar <dewar@adacore.com>charlet2009-04-098-25/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sem_ch5.adb: Minor reformatting 2009-04-09 Vincent Celier <celier@adacore.com> * vms_data.ads: Change GNAT CHECK qualifier /DIAGNOSIS_LIMIT to /DIAGNOSTIC_LIMIT New qualifier /LEXPAND_SOURCE=nnn for -gnatGnnn New qualifier /LXDEBUG=nnn for -gnatDnnn For H820-010 * gnat_ugn.texi: Update documentation for VMS qualifiers equivalent to -gnatGnn and -gnatDnn 2009-04-09 Nicolas Setton <setton@adacore.com> * s-osinte-darwin.ads: (Pad_Type): Make this an array of unsigned_long, to match layout of siginfo_t in sys/signal.h. * gcc-interface/Makefile.in: Add section for x86_64 darwin. 2009-04-09 Thomas Quinot <quinot@adacore.com> * g-socket.ads: (Fd_Set): Use Interfaces.C.long alignment. 2009-04-09 Nicolas Setton <setton@adacore.com> * s-oscons-tmplt.c: Allow long lines in the generated spec. Add generation of Darwin-specific constants needed when binding to the pthread library. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145837 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Robert Dewar <dewar@adacore.com>charlet2009-04-093-10/+36
| | | | | | | | | | | | | | | | | | * checks.adb: (Insert_Valid_Check): Avoid unnecessary generation of junk declaration when no invalid values exist, Avoid duplicate read of atomic variable. * cstand.adb (Build_Signed_Integer_Type): Set Is_Known_Valid (Standard_Unsigned): Set Is_Known_Valid * sem_ch3.adb (Analyze_Subtype_Declaration): Copy Is_Known_Valid on subtype declaration if no constraint. (Set_Modular_Size): Set Is_Known_Valid if appropriate (Build_Derived_Numeric_Type): Copy Is_Known_Valid if no constraint git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145836 138bc75d-0d04-0410-961f-82ee72b054a4
* Minor editing.charlet2009-04-091-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145835 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Robert Dewar <dewar@adacore.com>charlet2009-04-097-62/+98
| | | | | | | | | | | | | | | * switch-c.adb, gnat_ugn.texi, vms_data.ads, switch.adb, switch.ads: for numeric switches, an optional equal sign is always allowed. 2009-04-09 Vincent Celier <celier@adacore.com> * prj-nmsc.adb (Get_Unit): Do not consider Casing on platform where the case of file names is not significant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145834 138bc75d-0d04-0410-961f-82ee72b054a4
* New file.charlet2009-04-091-0/+266
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145833 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Vincent Celier <celier@adacore.com>charlet2009-04-0915-39/+51
| | | | | | | | | | | | | | | | | | | | | | | | * errout.adb: Remove dependency on package Style * style.ads, styleg.adb, styleg.ads (RM_Column_Check): Remove function, moved to Stylesw. * stylesw.ads, stylesw.adb (RM_Column_Check): New function, moved from Styleg. * errutil.adb, par.adb: Import Stylesw 2009-04-09 Arnaud Charlet <charlet@adacore.com> * opt.ads: Fix typos. 2009-04-09 Robert Dewar <dewar@adacore.com> * einfo.adb: Minor reformatting git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145832 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Robert Dewar <dewar@adacore.com>charlet2009-04-095-428/+97
| | | | | | | | | | | * gcc-interface/Make-lang.in, style.ads, style.adb: Reorganize style units. * styleg-c.ads, styleg-c.adb: Removed, no longer used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145831 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Robert Dewar <dewar@adacore.com>charlet2009-04-094-6/+24
| | | | | | | | | | | | | | | | | | * g-comver.adb: Minor reformatting. 2009-04-09 Thomas Quinot <quinot@adacore.com> * lib-load.ads (Load_Unit): Update documentation. 2009-04-09 Ed Schonberg <schonberg@adacore.com> * lib-load.adb (Load_Unit): When loading the parent of a child unit named in a with_clause, retain the with_clause to preserve a limited_with indication. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145829 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Paolo Bonzini <bonzini@gnu.org>bonzini2009-04-0914-276/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/i386/i386.md (cmpcc): New. * config/i386/sync.md (sync_compare_and_swap*): Set FLAGS_REG. (sync_compare_and_swap_cc*): Delete. * config/s390/s390.c (s390_compare_emitted): Remove. (s390_emit_compare): Handle MODE_CC s390_compare_op0 like s390_compare_emitted used to be handled. Assert that modes match. (s390_emit_compare_and_swap): Use s390_emit_compare, do not refer to sync_compare_and_swap_ccsi. * config/s390/s390.h (s390_compare_emitted): Remove. * config/s390/s390.md (seq): Look for MODE_CC s390_compare_op0 instead of s390_compare_emitted. (stack_protect_test, sync_compare_and_swap_cc): Set s390_compare_op0 instead of s390_compare_emitted. * config/s390/s390.md (cmpcc): New. (sync_compare_and_swapqi, sync_compare_and_swaphi): Clobber CC_REGNUM, do not pretend it's set. (sync_compare_and_swap_cc*): Delete. * config/s390/predicates.md (cc_reg_operand): New. * expr.c (sync_compare_and_swap_cc): Delete. * optabs.h (sync_compare_and_swap_cc): Delete. * optabs.c (prepare_cmp_insn): Ignore which specific CCmode is being used with can_compare_p. (emit_cmp_and_jump_insn_1): Likewise when looking in the optab. (find_cc_set): New. (expand_bool_compare_and_swap): Do not use sync_compare_and_swap_cc, look for a MODE_CC set instead. Use emit_store_flag. (expand_compare_and_swap_loop): Likewise, with some additional complication to avoid a force_reg when useless. Use emit_cmp_and_jump_insns. * genopinit.c (optabs): Delete sync_compare_and_swap_cc. * doc/md.texi (sync_compare_and_swap_cc): Merge with sync_compare_and_swap documentation. java: 2009-04-09 Paolo Bonzini <bonzini@gnu.org> * builtins.c (compareAndSwapLong_builtin, compareAndSwapInt_builtin, compareAndSwapObject_builtin, VMSupportsCS8_builtin): Do not look at sync_compare_and_swap_cc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145825 138bc75d-0d04-0410-961f-82ee72b054a4
* Minor reformatting.charlet2009-04-091-4/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145824 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Robert Dewar <dewar@adacore.com>charlet2009-04-094-43/+34
| | | | | | | | | | | * sem_ch7.adb, sem_ch10.adb, sem_prag.adb, sem_ch12.adb, sem_util.adb, exp_ch13.adb, sem_ch6.adb, exp_disp.adb, sem_ch8.adb, sem_warn.adb, sem_cat.adb: Code clean up: use Is_Package_Or_Generic_Package where possible to replace an OR of two separate tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145823 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Robert Dewar <dewar@adacore.com>charlet2009-04-0913-41/+132
| | | | | | | | | | | | | | | | | | | | | | | | * binderr.adb, errout.adb, errutil.adb: New circuitry for handling Maximum_Messages. * erroutc.adb, erroutc.ads (Warnings_Suppressed): Now tests global warning status as well. * opt.ads (Maximum_Messages): New name for Maximum_Errors. * switch-b.adb, switch-c.adb: Change name Maximum_Errors to Maximum_Messages. * bindusg.adb, usage.adb: Update line for -gnatm switch * gnat_ugn.texi: Update documentation for -gnatmnn compiler switch and -mnn binder switch. * sem_ch10.adb: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145822 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Bob Duff <duff@adacore.com>charlet2009-04-093-12/+31
| | | | | | | | | | | | | | | * exp_ch11.adb (Expand_Exception_Handlers, Prepend_Call_To_Handler): Set Sloc of generated nodes for calls to Undefer_Aborts and Save_Occurrence to No_Location, so the debugger ignores them and therefore does not jump back and forth when single stepping. 2009-04-09 Robert Dewar <dewar@adacore.com> * switch-b.adb: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145821 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Robert Dewar <dewar@adacore.com>charlet2009-04-0952-881/+926
| | | | | | | | | | | | | | | | | | * sem_aggr.adb, exp_ch5.adb, sem_ch3.adb, exp_atag.adb, layout.adb, sem_dist.adb, exp_ch7.adb, sem_ch5.adb, sem_type.adb, exp_imgv.adb, exp_util.adb, sem_aux.adb, sem_aux.ads, exp_attr.adb, exp_ch9.adb, sem_ch7.adb, inline.adb, fe.h, sem_ch9.adb, exp_code.adb, einfo.adb, einfo.ads, exp_pakd.adb, checks.adb, sem_ch12.adb, exp_smem.adb, tbuild.adb, freeze.adb, sem_util.adb, sem_res.adb, sem_attr.adb, exp_dbug.adb, sem_case.adb, exp_tss.adb, exp_ch4.adb, exp_ch6.adb, sem_smem.adb, sem_ch4.adb, sem_mech.adb, sem_ch6.adb, exp_disp.adb, sem_ch8.adb, exp_aggr.adb, sem_eval.adb, sem_cat.adb, exp_dist.adb, sem_ch13.adb, exp_strm.adb, lib-xref.adb, sem_disp.adb, exp_ch3.adb: Reorganize einfo/sem_aux, moving routines from einfo to sem_aux git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145820 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Robert Dewar <dewar@adacore.com>charlet2009-04-094-33/+52
| | | | | | | | | | | | | * exp_util.adb (Silly_Boolean_Array_Xor_Test): Simplify existing code. * atree.h: Add Elist26 * gnat_ugn.texi: Complete documentation deprecating -gnatN for non-gcc backends. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145818 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Janus Weil <janus@gcc.gnu.org>janus2009-04-0912-48/+531
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/36704 * decl.c (add_hidden_procptr_result): New function for handling procedure pointer return values by adding a hidden result variable. (variable_decl,match_procedure_decl,gfc_match_function_decl, gfc_match_subroutine,gfc_match_end,attr_decl1): Handle procedure pointer return values. * parse.c (parse_interface): Add EXTERNAL attribute only after FUNCTION/SUBROUTINE declaration is complete. * primary.c (replace_hidden_procptr_result): New function for replacing function symbol by hidden result variable. (gfc_match_rvalue,match_variable): Replace symbol by hidden result variable. * resolve.c (resolve_contained_fntype,resolve_function,resolve_variable, resolve_symbol): Allow for procedure pointer function results. (resolve_fl_procedure): Conflict detection moved here from 'check_conflict'. * symbol.c (gfc_check_function_type): Allow for procedure pointer function results. (check_conflict): Move some conflict detection to resolution stage. * trans-types.c (gfc_sym_type,gfc_get_function_type): Handle hidden result variables. 2009-04-09 Janus Weil <janus@gcc.gnu.org> PR fortran/36704 * gfortran.dg/external_procedures_1.f90: Modified. * gfortran.dg/proc_ptr_result_1.f90: New. * gfortran.dg/proc_ptr_result_2.f90: New. * gfortran.dg/proc_ptr_result_3.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145815 138bc75d-0d04-0410-961f-82ee72b054a4
* Minor reformatting.charlet2009-04-092-5/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145813 138bc75d-0d04-0410-961f-82ee72b054a4
* Minor reformatting.charlet2009-04-091-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145812 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Javier Miranda <miranda@adacore.com>charlet2009-04-098-161/+338
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * exp_disp.adb (Export_DT): Addition of a new argument (Index); used to retrieve from the Dispatch_Table_Wrappers list the external name. Addition of documentation. (Make_Secondary_DT): Addition of a new argument (Suffix_Index) that is used to export secondary dispatch tables (in the previous version of the frontend only primary dispatch tables were exported). Addition of documentation. (Import_DT): New subprogram (internal of Make_Tags). Used to import a dispatch table of a given tagged type. (Make_Tags): Modified to import secondary dispatch tables. * sem_ch3.adb (Analyze_Object_Declaration): Code cleanup. (Constant_Redeclaration): Code cleanup. * einfo.ads (Dispatch_Table_Wrapper): Renamed to Dispatch_Table_Wrappers. Update documentation. * einfo.adb (Dispatch_Table_Wrapper, Set_Dispatch_Table_Wrapper): Renamed to Dispatch_Table_Wrappers. * sem_util.adb (Collect_Interface_Components): Improve handling of private types. * atree.ads (Elist26, Set_Elist26): New subprograms * atree.adb (Elist26, Set_Elist26): New subprograms git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145811 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Javier Miranda <miranda@adacore.com>charlet2009-04-094-18/+41
| | | | | | | | | | | | | | | | * sem_ch3.adb (Build_Derived_Record_Type): Fix typo. (Derive_Progenitor_Subprograms): Handle interfaces in subtypes of tagged types. 2009-04-09 Robert Dewar <dewar@adacore.com> * s-direio.adb: Minor reformatting * exp_ch4.adb (Expand_Concatenate): Avoid overflow checks for String git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145808 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Robert Dewar <dewar@adacore.com>charlet2009-04-0915-56/+80
| | | | | | | | | | | | | | | * exp_ch4.adb (Expand_Concatenate): Improve handling of overflow cases 2009-04-09 Pascal Obry <obry@adacore.com> * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coinve.ads, s-tpoben.adb, s-tpoben.ads, s-finimp.adb, s-finimp.ads, a-convec.adb, a-convec.ads, a-finali.adb, a-finali.ads, a-filico.ads: Add some missing overriding keywords. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145807 138bc75d-0d04-0410-961f-82ee72b054a4
* * except.c (find_prev_try): Break out from ....hubicka2009-04-092-17/+149
| | | | | | | | | | | (duplicate_eh_regions): ... here; properly update prev_try pointers when duplication part of tree. (dump_eh_tree): Improve dumping. (verify_eh_region): New. (verify_eh_tree): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145805 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Pascal Obry <obry@adacore.com>charlet2009-04-0916-148/+142
| | | | | | | | | | | | | | | | | * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coorma.ads, a-cihase.adb, a-cihase.ads, a-cohama.adb, a-cohama.ads, a-coorse.adb, a-coorse.ads, a-coormu.adb, a-coormu.ads, a-cohase.adb, a-cohase.ads: Minor reformatting. 2009-04-09 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Check_Overriding_Indicator): Do not generate warning on missing overriding indicator if the new declaration is not seen as primitive. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145804 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Thomas Quinot <quinot@adacore.com>charlet2009-04-096-60/+108
| | | | | | | | | | | | | | * exp_ch4.adb (Expand_Concatenate): Add circuitry to properly handle overflows in computation of bounds. 2009-04-09 Pascal Obry <obry@adacore.com> * a-cihama.adb, a-cgcaso.adb, a-cihase.adb, a-cohase.adb: Fix some typos in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145803 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Robert Dewar <dewar@adacore.com>charlet2009-04-096-26/+73
| | | | | | | | | | | | | | | | | | | | | | | | * sem_attr.adb (Check_Stream_Attribute): Check violation of restriction No_Streams * gnat_rm.texi: Clarify No_Streams restriction * g-socket.adb: Minor reformatting. 2009-04-09 Thomas Quinot <quinot@adacore.com> * g-socket.ads: Mark Initialize and Finalize as obsolesent interfaces. 2009-04-09 Geert Bosch <bosch@adacore.com> * exp_fixd.adb (Build_Conversion): Accept new optional Trunc argument. (Set_Result): Likewise. (Expand_Convert_Float_To_Fixed): Have Set_Result truncate the conversion, as required by RM 4.6(31). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145801 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Richard Guenther <rguenther@suse.de>rguenth2009-04-0911-18/+76
| | | | | | | | | | | | | | | | | | | | * c-gimplify.c (c_gimplify_expr): Fix the invalid GENERIC &ARRAY addresses by adjusting their types and prepending a conversion. * tree-cfg.c (verify_gimple_assign_single): Verify that addresses are correct. * gcc.dg/vect/vect-54.c: Make constant input data file-scope to prevent constant propagation. * gcc.dg/vect/vect-56.c: Likewise. * gcc.dg/vect/vect-58.c: Likewise. * gcc.dg/vect/vect-60.c: Likewise. * gcc.dg/vect/no-vfa-vect-57.c: Likewise. * gcc.dg/vect/no-vfa-vect-61.c: Likewise. * gcc.dg/tree-prof/stringop-2.c: Adjust expected outcome. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145800 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-09 Richard Guenther <rguenther@suse.de>rguenth2009-04-096-3/+82
| | | | | | | | | | | | | * tree-ssa-ccp.c (maybe_fold_stmt_addition): Move non-constant indices into an array reference if possible. * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars): Fold POINTER_PLUS_EXPR statements with invariant address. * gcc.dg/tree-ssa/ssa-ccp-25.c: New testcase. * gcc.dg/tree-ssa/ssa-ccp-26.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145799 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/39634amodra2009-04-092-1/+7
| | | | | | | | * config.gcc (powerpc64-*-linux*): Always build biarch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145795 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/39613jsm282009-04-096-0/+73
| | | | | | | | | | | | * c-typeck.c (do_case): If case label is not an INTEGER_CST, fold it and pedwarn if this results in an INTEGER_CST. testsuite: * gcc.dg/case-const-1.c, gcc.dg/case-const-2.c, gcc.dg/case-const-3.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145793 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2009-04-091-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145791 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/c99-stdint-1.c: Fix cut-and-paste mistakes in test.jsm282009-04-084-6/+237
| | | | | | | * gcc.dg/c99-stdint-7.c, gcc.dg/c99-stdint-8.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145778 138bc75d-0d04-0410-961f-82ee72b054a4
* * zh_CN.po: Update.jsm282009-04-082-176/+167
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145776 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1.ghazi2009-04-082-13/+12
| | | | | | | | | | | | * configure: Regenerate. gcc: * doc/install.texi: Update minimum GMP version. Remove obsolete text in MPFR section. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145774 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/39573jakub2009-04-082-0/+12
| | | | | | | | | | * omp-low.c (expand_omp_taskreg): Finalize taskreg static local_decls variables. * libgomp.c++/pr39573.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145772 138bc75d-0d04-0410-961f-82ee72b054a4
* * trans-types.c (gfc_init_types): Ensure gfc_integer_types doesn'tjakub2009-04-082-0/+8
| | | | | | | contain TYPE_STRING_FLAG types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145771 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c (class_scope_p): New static inline.jakub2009-04-084-6/+44
| | | | | | | | | | | (class_or_namespace_scope_p): Use it. (gen_variable_die): Use DW_TAG_member tag for static data member declarations instead of DW_TAG_variable. * g++.dg/debug/dwarf2/static-data-member1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145770 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-08 Richard Guenther <rguenther@suse.de>rguenth2009-04-082-1/+9
| | | | | | | | * tree-ssa-sccvn.c (valueize_refs): Do not continue to valueize random data. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145768 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-08 Janne Blomqvist <jb@gcc.gnu.org>jb2009-04-082-1/+6
| | | | | | | | | PR fortran/39670 * invoke.texi (fdollar-ok): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145767 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-08 Robert Dewar <dewar@adacore.com>charlet2009-04-0811-64/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * checks.adb (Enable_Overflow_Check): Do not enable if overflow checks suppressed. * exp_ch4.adb (Expand_Concatenate): Make sure checks are off for all resolution steps. 2009-04-08 Robert Dewar <dewar@adacore.com> * sem_ch12.adb (Analyze_Package_Instantiation): Remove test for No_Local_Allocators restriction preventing local instantiation. 2009-04-08 Thomas Quinot <quinot@adacore.com> * sem_eval.adb: Minor comment fix 2009-04-08 Thomas Quinot <quinot@adacore.com> * g-socket.adb, g-socket.ads (GNAT.Sockets.Sockets_Library_Controller): New limited controlled type used to automate the initialization and finalization of the sockets implementation. (GNAT.Sockets.Initialize, Finalize): Make these no-ops 2009-04-08 Vincent Celier <celier@adacore.com> * prj-attr.adb: New read-only project-level attribute Project_Dir * prj-proc.adb (Add_Attributes): New parameter Project_Dir, value of read-only attribute of the same name. (Process_Declarative_Items): Call Add_Attributes with Project_Dir (Recursive_Process): Ditto * snames.adb: Add new standard name Project_Dir * snames.ads: Add new standard name Project_Dir git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145766 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-08 Daniel Franke <franke.daniel@gmail.com>dfranke2009-04-082-1/+8
| | | | | | | | | PR fortran/39670 * invoke.texi (fdollar-ok): Clarify limitations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145764 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (aix tm_file): Add aix-stdint.h.dje2009-04-083-5/+67
| | | | | | | | | (aix tm clause use_gcc_stdint): Set to wrap. * config/rs6000/aix-stdint.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145760 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-08 Richard Guenther <rguenther@suse.de>rguenth2009-04-083-7/+34
| | | | | | | | | | | | PR middle-end/36291 * tree-dfa.c (add_referenced_var): Do not recurse into global initializers. * tree-ssa-ccp.c (get_symbol_constant_value): Add newly exposed variables. (fold_const_aggregate_ref): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145757 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/25185jason2009-04-084-3/+33
| | | | | | | * error.c (dump_aggr_type): Chase template typedefs if -fno-pretty-templates. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145753 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-08 Thomas Quinot <quinot@adacore.com>charlet2009-04-084-7/+53
| | | | | | | | | | | | | | | | | | * checks.adb: Minor reformatting 2009-04-08 Vincent Celier <celier@adacore.com> * vms_data.ads: Add documentation for new style keyword OVERRIDING_INDICATORS 2009-04-08 Robert Dewar <dewar@adacore.com> * sem_ch3.adb (Check_Completion.Post_Error): Post error on spec if the spec is in the current unit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145749 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-08 Paolo Bonzini <bonzini@gnu.org>bonzini2009-04-084-1/+44
| | | | | | | | | * recog.c (ordered_comparison_operator): New. * gensupport.c (std_preds): Add it. * doc/md.texi (Machine-Independent Predicates): Document it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145748 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-eh.c (cleanup_eh): When not optimizing, do not try EH merging.hubicka2009-04-088-218/+45
| | | | | | | | | | | | | | | | | | | | * function.h (rtl_eh): Remove exception_handler_label_map. * except.c (ehl_hash, ehl_eq, add_ehl_entry, remove_exception_handler_label, for_each_eh_label_1): Remove. (rtl_remove_unreachable_regions): Remove. (convert_from_eh_region_ranges): Do not remove unreachable regions. (find_exception_handler_labels): Don't build the hashtable. (maybe_remove_eh_handler): Remove. (for_each_eh_label): Rewrite to walk the tree. (rest_of_handle_eh): Do not cleanup cfg prior EH construction. * except.h (maybe_remove_eh_handler): Remove. * passes.c (init_optimization_passes): Schedule second EH cleanup before out-of-ssa. * cfgrtl.c (rtl_delete_block, rtl_merge_blocks, cfg_layout_merge_blocks): Do not call maybe_remove_eh_handler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145747 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-08 Paolo Bonzini <bonzini@gnu.org>bonzini2009-04-084-7/+65
| | | | | | | | | | | | | | | | * genoutput.c (validate_optab_operands): New. (gen_insn, gen_expand): Call it. * genflags.c (gen_insn): Detect misused iterators. (main): Pass line_no to gen_insn, exit with status 1 on error. * genextract.c (line_no): Make global. (VEC_safe_set_locstr): Change assertion to error message. (main): Exit with status 1 on error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145746 138bc75d-0d04-0410-961f-82ee72b054a4