- 27 Jan, 2010 22 commits
-
-
From-SVN: r156300
Jason Merrill committed -
* dwarf2out.c (mem_loc_descriptor): Remove special casing of CONSTANT_POOL_ADDRESS_P SYMBOL_REFs. If for MEM recursive call on MEM's address failed, try avoid_constant_pool_reference and recurse if it returned something different. (loc_descriptor): If for MEM mem_loc_descriptor failed on the address, try avoid_constant_pool_reference and recurse if it returned something different. (dw_loc_list_1): If for MEM mem_loc_descriptor failed on the address and avoid_constant_pool_reference returned something different, don't set have_address. From-SVN: r156293
Jakub Jelinek committed -
PR debug/42861 * var-tracking.c (val_store): Add modified argument, obey it. Adjust callers. (count_uses): Move down logging of main. (compute_bb_dataflow): Use val_store for MO_VAL_USEs that don't need resolution. (emit_notes_in_bb): Likewise. From-SVN: r156292
Alexandre Oliva committed -
2010-01-27 Richard Guenther <rguenther@suse.de> PR middle-end/42878 * tree-inline.c (remap_decl): Delay remapping of SSA name default definitions until we need them. * gcc.dg/torture/pr42878-1.c: New testcase. * gcc.dg/torture/pr42878-2.c: Likewise. From-SVN: r156291
Richard Guenther committed -
2010-01-27 Richard Guenther <rguenther@suse.de> PR libstdc++/42832 * include/std/functional (function<>::swap): Perform bytewise swap of _M_functor. * include/tr1/functional (function<>::swap): Likewise. From-SVN: r156290
Richard Guenther committed -
* config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine. (rs6000_delegitimize_address): New function. From-SVN: r156289
Jakub Jelinek committed -
* config/s390/s390.c (s390_delegitimize_address): Call delegitimize_mem_from_attrs. From-SVN: r156288
Jakub Jelinek committed -
re PR middle-end/42874 (Error on correct code: sorry, unimplemented: function ‘foo’ can never be copied because it uses) PR middle-end/42874 * tree-inline.c (cannot_copy_type_1): Removed. (copy_forbidden): Don't forbid copying of functions containing records/unions with variable length fields. * gcc.dg/vla-22.c: New test. From-SVN: r156287
Jakub Jelinek committed -
From-SVN: r156286
Nick Clifton committed -
2010-01-27 Pascal Obry <obry@adacore.com> * g-awk.adb: ensure that an AWK session is reusable. From-SVN: r156285
Pascal Obry committed -
2010-01-27 Vasiliy Fofanov <fofanov@adacore.com> * g-regist.adb (For_Every_Key): Fix previous change. 2010-01-27 Thomas Quinot <quinot@adacore.com> * lib-writ.ads: Current version of spec for new N (note) ALI lines 2010-01-27 Yannick Moy <moy@adacore.com> * a-cdlili.adb (Insert): Correct exception message when cursor designates wrong list. From-SVN: r156284
Arnaud Charlet committed -
2010-01-27 Vincent Celier <celier@adacore.com> * gnatcmd.adb: When there is only one main specified, the package support Switches (<main>) and attribute Switches is specified for the main, use these switches, instead of Default_Switches ("Ada"). 2010-01-27 Robert Dewar <dewar@adacore.com> * sem_prag.adb, par-prag.adb, snames.ads-tmpl: pragma Dimension initial implementation. * exp_disp.adb: Minor reformatting From-SVN: r156283
Arnaud Charlet committed -
From-SVN: r156282
Christian Bruel committed -
2010-01-27 Matthias Klose <doko@ubuntu.com> * configure.ac (gnu-unique-object): Fix ldd version check. * configure: Regenerate. From-SVN: r156281
Matthias Klose committed -
2010-01-27 Tristan Gingold <gingold@adacore.com> * seh_init.c: Use __ImageBase instead of _ImageBase. 2010-01-27 Javier Miranda <miranda@adacore.com> * exp_disp.ads, exp_disp.adb (Expand_Interface_Thunk): Modify the profile of interface thunks. The type of the controlling formal is now the covered interface type (instead of the target tagged type). From-SVN: r156280
Arnaud Charlet committed -
2010-01-27 Sergey Rybin <rybin@adacore.com> * gnat_rm.texi, gnat_ugn.texi: Update gnatcheck doc. From-SVN: r156279
Sergey Rybin committed -
2010-01-27 Robert Dewar <dewar@adacore.com> * sinput.ads, sinput.adb (Sloc_Range): Applies to all nodes, formal changed from Expr to N. From-SVN: r156278
Robert Dewar committed -
* Fix ChangeLog typos. From-SVN: r156277
Paolo Carlini committed -
PR target/42671 * config/arm/arm.c (arm_load_pic_register): Use the same code sequence with Thumb2 as for Thumb1. * config/arm/arm.md (pic_add_dot_plus_four): Enable this pattern for all Thumb varieties. From-SVN: r156276
Wei Guozhi committed -
2010-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/abi/pre/gnu.ver: Avoid time_get pattern conflicts. From-SVN: r156275
Andreas Krebbel committed -
* config/sparc/sparc.c (sparc_elf_asm_named_section): Test for HAVE_GNU_AS value. * config/sparc/sysv4.h [HAVE_GNU_AS] (TARGET_ASM_NAMED_SECTION): Test for HAVE_GNU_AS value. From-SVN: r156272
Rainer Orth committed -
From-SVN: r156268
GCC Administrator committed
-
- 26 Jan, 2010 18 commits
-
-
2010-01-26 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Test for executability of _the first word_ of GFORTRAN. * configure: Regenerate. From-SVN: r156264
Paolo Bonzini committed -
From-SVN: r156260
Ian Lance Taylor committed -
gcc: * config.gcc (mips-sgi-irix[56]*): Set use_gcc_stdint. * config/mips/iris.h (INT8_TYPE, INT16_TYPE, INT32_TYPE, INT64_TYPE): Define. (UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, UINT64_TYPE): Define. (INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE, INT_LEAST64_TYPE): Define. (UINT_LEAST8_TYPE, UINT_LEAST16_TYPE, UINT_LEAST32_TYPE, UINT_LEAST64_TYPE): Define. (INT_FAST8_TYPE, INT_FAST16_TYPE, INT_FAST32_TYPE) INT_FAST64_TYPE): Define. (UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE, UINT_FAST64_TYPE): Define. (INTMAX_TYPE, UINTMAX_TYPE): Define. (INTPTR_TYPE, UINTPTR_TYPE): Define. (SIG_ATOMIC_TYPE): Define. fixincludes: * inclhack.def (aix_stdint_1): Add stdint-aix.h to files. (aix_stdint_2): Likewise. (aix_stdint_3): Likewise. (aix_stdint_4): Likewise. (aix_stdint_5): Likewise. (darwin_stdint_1): Add stdint-darwin.h to files. (darwin_stdint_2): Likewise. (darwin_stdint_3): Likewise. (darwin_stdint_4): Likewise. (darwin_stdint_5): Likewise. (darwin_stdint_6): Likewise. (darwin_stdint_7): Likewise. (hpux_c99_intptr): Add stdint-hpux11.h to files. (hpux_c99_inttypes): Likewise. (hpux_c99_inttypes2): Likewise. (hpux_stdint_least_fast): Likewise. (irix_stdint_c99): Renamed to irix_stdint_c99_mode. (irix_stdint_c99_types): New fix. (irix_stdint_c99_macros): New fix. (newlib_stdint_1): Add stdint-newlib.h to files. (newlib_stdint_2): Likewise. fixincl.x: Regenerate. tests/base/stdint-aix.h: New file. tests/base/stdint.h [AIX_STDINT_1_CHECK, AIX_STDINT_2_CHECK, AIX_STDINT_3_CHECK, AIX_STDINT_4_CHECK, AIX_STDINT_5_CHECK]: Moved ... tests/base/stdint-aix.h: ... here. [AIX_STDINT_3_CHECK]: Updated to match aix_stdint_3 fix. [AIX_STDINT_4_CHECK]: Updated to match aix_stdint_4 fix. [AIX_STDINT_5_CHECK]: Updated to match aix_stdint_5 fix. tests/base/stdint-darwin.h: New file. tests/base/stdint.h [DARWIN_STDINT_1_CHECK, DARWIN_STDINT_2_CHECK, DARWIN_STDINT_3_CHECK, DARWIN_STDINT_4_CHECK, DARWIN_STDINT_5_CHECK, DARWIN_STDINT_6_CHECK]: Moved ... tests/base/stdint-darwin.h: ... here. [DARWIN_STDINT_1_CHECK]: Updated to match darwin_stdint_1 fix. [DARWIN_STDINT_4_CHECK]: Updated to match darwin_stdint_4 fix. [DARWIN_STDINT_6_CHECK]: Updated to match darwin_stdint_6 fix. tests/base/stdint-hpux11.h: New file. tests/base/stdint.h [HPUX_C99_INTPTR_CHECK, HPUX_C99_INTTYPES2_CHECK, HPUX_STDINT_LEAST_FAST_CHECK]: Moved ... tests/base/stdint-hpux11.h: ... here. [HPUX_C99_INTPTR_CHECK]: Updated to match hpux_c99_intptr fix. [HPUX_C99_INTTYPES2_CHECK]: Updated to match hpux_c99_inttypes2 fix. tests/base/stdint.h [IRIX_STDINT_C99_CHECK]: Renamed guard to IRIX_STDINT_C99_MODE_CHECK. tests/base/stdint-irix65.h: New file. tests/base/stdint-newlib.h: New file. tests/base/stdint.h [NEWLIB_STDINT_1_CHECK, NEWLIB_STDINT_2_CHECK]: Moved ... tests/base/stdint-newlib.h: ... here. From-SVN: r156259
Rainer Orth committed -
2010-01-26 François Dumont <francois.cppdevs@free.fr> * doc/xml/manual/allocator.xml: Minor updates and fixes. * doc/xml/manual/containers.xml: Likewise. * doc/xml/manual/using.xml: Likewise. * doc/xml/manual/locale.xml: Likewise. * doc/xml/manual/appendix_contributing.xml: Likewise. From-SVN: r156258
François Dumont committed -
2010-01-26 Andrew Haley <aph@redhat.com> * java/lang/natClass.cc (registerClosure): Make sure closures is non NULL. From-SVN: r156257
Andrew Haley committed -
* ada/acats/run_all.sh: Make sure norun.lst is sorted using the current collation. From-SVN: r156255
Jakub Jelinek committed -
2010-01-26 Richard Guenther <rguenther@suse.de> * df-scan.c (df_scan_set_bb_info): Remove assert. (df_insn_rescan_debug_internal): Merge asserts. (df_install_ref): Likewise. (df_mark_reg): Use bitmap_set_range. (df_hard_reg_used_p): Remove assert. (df_hard_reg_used_count): Likewise. From-SVN: r156253
Richard Guenther committed -
2010-01-26 Richard Guenther <rguenther@suse.de> PR rtl-optimization/42685 * web.c (web_main): Ignore DEBUG_INSNs. * gcc.dg/pr42685.c: New testcase. * g++.dg/other/pr42685.C: Likewise. From-SVN: r156252
Richard Guenther committed -
* doc/tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments. (TARGET_RESOLVE_OVERLOADED_BUILTIN): Add loc parameter. Fix types of fndecl and arglist parameters. From-SVN: r156250
Joern Rennecke committed -
2010-01-26 Richard Guenther <rguenther@suse.de> PR middle-end/42806 * tree-eh.c (unsplit_eh): Skip debug insns. * g++.dg/other/pr42806.C: New testcase. From-SVN: r156249
Richard Guenther committed -
2010-01-26 Thomas Quinot <quinot@adacore.com> * gnat_ugn.texi: Adjust documentation of -gnatz switches. * usage.adb: Replace line for -gnatz with two lines for -gnatzc and -gnatzr. 2010-01-26 Vincent Celier <celier@adacore.com> * prj-attr.adb: Add new attribute Library_Install_Name_Option Replace attribute Run_Path_Origin_Supported with Run_Path_Origin * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process attributes Run_Path_Option and Library_Install_Name_Option. * prj.ads (Project_Configuration): Replace component Run_Path_Origin_Supported with component Run_Path_Origin. Add new component Library_Install_Name_Option. * snames.ads-tmpl: Add new standard name Library_Install_Name_Option Replace Run_Path_Origin_Supported with Run_Path_Origin 2010-01-26 Ed Schonberg <schonberg@adacore.com> * sem_ch8.adb (Use_One_Package): Within an instance, an actual package is not hidden by a homograph declared in another actual package. From-SVN: r156248
Arnaud Charlet committed -
2010-01-26 Robert Dewar <dewar@adacore.com> * par_sco.adb (Traverse_Declarations_Or_Statements): Only generate decisions for pragmas Assert, Check, Precondition, Postcondition if -gnata set. * scos.ads: Update comments. * get_scos.adb, put_scos.adb: Minor fix to code reading statement SCOs. Also remove obsolete code for CT (exit point) SCOs. 2010-01-26 Thomas Quinot <quinot@adacore.com> * switch-c.adb: Fix handling of -gnatz* From-SVN: r156247
Arnaud Charlet committed -
2010-01-26 Daniel Frey <d.frey@gmx.de> * include/std/functional: Use enable_if instead of __enable_if throughout, do not include ext/type_traits.h. (is_placeholder, is_bind_expression): Use integral_constant. From-SVN: r156246
Daniel Frey committed -
2010-01-26 Robert Dewar <dewar@adacore.com> * par_sco.adb (Traverse_Declarations_Or_Statements): Separate F/W qualifiers for FOR/WHILE loops * scos.ads: Use separate type letters F/W for for/while loops From-SVN: r156245
Robert Dewar committed -
2010-01-26 Richard Guenther <rguenther@suse.de> PR tree-optimization/42250 * ipa-type-escape.c (type_escape_execute): Do not analyze clones. * gcc.dg/pr42250.c: New testcase. From-SVN: r156244
Richard Guenther committed -
2010-01-26 Robert Dewar <dewar@adacore.com> * get_scos.adb (Get_SCOs): Implement new form of CS entries (multiple entries per line, one for each statement in the sequence). * par_sco.adb (Traverse_Declarations_Or_Statements): Increase array size from 100 to 10_000 for SC_Array to avoid any real possibility of overflow. Output decisions in for loops. Exclude labels from CS lines. * scos.ads: Clarify that label is not included in the entry point From-SVN: r156243
Robert Dewar committed -
par_sco.adb (Traverse_Declarations_Or_Statments): Implement new format of statement sequence SCO entries (one location/statement). 2010-01-26 Robert Dewar <dewar@adacore.com> * par_sco.adb (Traverse_Declarations_Or_Statments): Implement new format of statement sequence SCO entries (one location/statement). * put_scos.adb (Put_SCOs): Implement new format of CS lines * scos.ads: Update comments. * sem_eval.adb: Minor reformatting. From-SVN: r156242
Robert Dewar committed -
2010-01-26 Robert Dewar <dewar@adacore.com> * par_sco.ads, par_sco.adb (Set_Statement_Entry): New handling of exits (Extend_Statement_Sequence): New procedures (Traverse_Declarations_Or_Statements): New handling for exits. From-SVN: r156241
Robert Dewar committed
-