1. 27 Jan, 2010 5 commits
  2. 26 Jan, 2010 29 commits
    • configure.ac: Test for executability of _the first word_ of GFORTRAN. · 2122aa97
      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
    • * MAINTAINERS: Add myself as Go frontend maintainer. · 3bf714a7
      From-SVN: r156260
      Ian Lance Taylor committed
    • config.gcc (mips-sgi-irix[56]*): Set use_gcc_stdint. · dc4f0670
      	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
    • allocator.xml: Minor updates and fixes. · 8d3f5a93
      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
    • natClass.cc (registerClosure): Make sure closures is non NULL. · 31660932
      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
    • run_all.sh: Make sure norun.lst is sorted using the current collation. · d9a6fdb7
      	* ada/acats/run_all.sh: Make sure norun.lst is sorted using the
      	current collation.
      
      From-SVN: r156255
      Jakub Jelinek committed
    • df-scan.c (df_scan_set_bb_info): Remove assert. · a099f7d4
      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
    • re PR tree-optimization/42685 ("-fcompare-debug failure" with "-O1 -funroll-loops" (2)) · 0d9b0371
      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
    • tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments. · 7a241624
      	* 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
    • re PR tree-optimization/42806 ("-fcompare-debug failure (length)" at -O1 in recent builds) · 3333cd50
      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
    • [multiple changes] · c94a0b9d
      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
    • [multiple changes] · 65564d08
      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
    • functional: Use enable_if instead of __enable_if throughout, do not include ext/type_traits.h. · 2b054f63
      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
    • par_sco.adb (Traverse_Declarations_Or_Statements): Separate F/W qualifiers for FOR/WHILE loops · e0f66eea
      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
    • re PR tree-optimization/42250 (segfault in ipa-type-escape.c for several cpu2000 tests) · 7f657dde
      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
    • get_scos.adb (Get_SCOs): Implement new form of CS entries (multiple entries per line... · ec80da28
      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… · 9dbf1c3e
      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
    • par_sco.ads, [...] (Set_Statement_Entry): New handling of exits · 7ef50d41
      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
    • par_sco.adb (Traverse_Declarations_Or_Statements): Add processing for Case. · 82c7a5b1
      2010-01-26  Robert Dewar  <dewar@adacore.com>
      
      	* par_sco.adb (Traverse_Declarations_Or_Statements): Add processing for
      	Case.
      
      From-SVN: r156240
      Robert Dewar committed
    • par_sco.adb (Is_Logical_Operator): Exclude AND/OR/XOR · 55e4d23d
      2010-01-26  Robert Dewar  <dewar@adacore.com>
      
      	* par_sco.adb (Is_Logical_Operator): Exclude AND/OR/XOR
      	* scos.ads: Clarify handling of logical operators
      
      From-SVN: r156239
      Robert Dewar committed
    • [multiple changes] · 2593c3e1
      2010-01-26  Arnaud Charlet  <charlet@adacore.com>
      
      	* s-tpoben.adb: Update comments.
      
      2010-01-26  Robert Dewar  <dewar@adacore.com>
      
      	* freeze.adb (Set_Small_Size): Don't set size if alignment clause
      	present.
      
      2010-01-26  Robert Dewar  <dewar@adacore.com>
      
      	* scos.ads: Clean up documentation, remove obsolete XOR references
      
      From-SVN: r156238
      Arnaud Charlet committed
    • [multiple changes] · 1a105488
      2010-01-26  Vincent Celier  <celier@adacore.com>
      
      	* gnat_ugn.texi: Complete documentation on the restrictions for
      	combined options in -gnatxxx switches.
      	Fix typo.
      
      2010-01-26  Arnaud Charlet  <charlet@adacore.com>
      
      	* s-tpoben.adb (Initialize_Protection_Entries): If a PO is created from
      	a controlled operation, abort is already deferred at this point, so we
      	need to use Defer_Abort_Nestable.
      
      2010-01-26  Vincent Celier  <celier@adacore.com>
      
      	* prj-conf.adb (Get_Config_Switches): Check for a default language for
      	a project extending a project with no languages.
      
      From-SVN: r156237
      Arnaud Charlet committed
    • re PR fortran/42866 (ICE for REDUCTION with ALLOCATABLE array as variable on SECTIONS) · 057dd91d
      	PR fortran/42866
      	* omp-low.c (expand_omp_sections): Only use single_pred if
      	l2_bb is single_pred_p.
      
      	* testsuite/libgomp.fortran/allocatable5.f90: New test.
      
      From-SVN: r156235
      Jakub Jelinek committed
    • switch-c.adb (Scan_Front_End_Switches): Take into account options that follow -gnatef. · 667b3d84
      2010-01-26  Vincent Celier  <celier@adacore.com>
      
      	* switch-c.adb (Scan_Front_End_Switches): Take into account options
      	that follow -gnatef.
      	Allow -gnateG to be followed by other options.
      
      From-SVN: r156234
      Vincent Celier committed
    • [multiple changes] · ebd34478
      2010-01-26  Robert Dewar  <dewar@adacore.com>
      
      	* s-commun.ads, s-osprim-mingw.adb, s-stchop-vxworks.adb, sem_aggr.adb,
      	s-vxwext.adb, sem_ch10.adb, sem_eval.adb, sem_prag.adb: Minor
      	reformatting.
      
      2010-01-26  Vasiliy Fofanov  <fofanov@adacore.com>
      
      	* g-regist.adb, g-regist.ads (For_Every_Key): New generic procedure
      	that allows to iterate over all subkeys of a key.
      
      2010-01-26  Ed Falis  <falis@adacore.com>
      
      	* sysdep.c: enable NFS for VxWorks MILS
      	* env.c: enable __gnat_environ for VxWorks MILS
      	* gcc-interface/Makefile.in: Add VxWorks MILS target pairs.
      
      From-SVN: r156233
      Arnaud Charlet committed
    • configure.ac: Test for executability of GFORTRAN. · d0709b6a
      2010-01-20  Paolo Bonzini  <bonzini@gnu.org>
      
      	* configure.ac: Test for executability of GFORTRAN.
      	* configure: Regenerate.
      
      From-SVN: r156232
      Paolo Bonzini committed
    • fix PR target/42841 · 69b18163
      From-SVN: r156229
      Christian Bruel committed
    • cp-demangle.c (cplus_demangle_type): Check for invalid type after "DF". · 79b754d4
      	* cp-demangle.c (cplus_demangle_type): Check for invalid type
      	after "DF".
      	* testsuite/demangle-expected: Add test.
      
      From-SVN: r156226
      Ian Lance Taylor committed
    • Daily bump. · 77f02d09
      From-SVN: r156224
      GCC Administrator committed
  3. 25 Jan, 2010 6 commits
    • testsuite_common_types.h (has_bitwise_operators): Avoid -Wall warnings. · 024615bf
      2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/util/testsuite_common_types.h (has_bitwise_operators):
      	Avoid -Wall warnings.
      
      From-SVN: r156221
      Paolo Carlini committed
    • 6.cc: Use an int as loop variable, to avoid -Wall warnings. · 315a716e
      2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/22_locale/time_get/get_monthname/char/6.cc: Use an int
      	as loop variable, to avoid -Wall warnings.
      	* testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
      	* testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
      	* testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
      	* testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
      
      	* testsuite/20_util/reference_wrapper/24803.cc: Remove unused vars.
      	* testsuite/20_util/reference_wrapper/invoke.cc: Likewise.
      
      From-SVN: r156219
      Paolo Carlini committed
    • PR libstdc++/36101, PR libstdc++/42813 · ad1e5170
      	PR libstdc++/36101, PR libstdc++/42813
      	* configure.ac (bootstrap_target_libs): Make inclusion of
      	target-libgomp conditional on libgomb being in target_configdirs.
      	* configure: Regenerate.
      
      From-SVN: r156218
      Joern Rennecke committed
    • [multiple changes] · 89aad976
      2010-01-25  Bob Duff  <duff@adacore.com>
      
      	* sem_aggr.adb (Resolve_Array_Aggregate): Check for the case where this
      	is an internally-generated positional aggregate, and the bounds are
      	already correctly set. We don't want to overwrite those bounds with
      	bounds determined by context.
      
      2010-01-25  Robert Dewar  <dewar@adacore.com>
      
      	* g-sercom.ads, gnatcmd.adb, gnatlink.adb, a-ststio.adb, exp_ch6.adb,
      	exp_ch9.adb, g-sechas.ads: Minor reformatting.
      
      2010-01-25  Thomas Quinot  <quinot@adacore.com>
      
      	* s-commun.adb (Last_Index): Count must be converted to SEO (a signed
      	integer type) before subtracting 1, otherwise the computation may wrap
      	(because size_t is modular) and cause the conversion to fail.
      
      2010-01-25  Ed Falis  <falis@adacore.com>
      
      	* sysdep.c, init.c: Adapt to support full run-time on VxWorks MILS.
      
      2010-01-25  Vincent Celier  <celier@adacore.com>
      
      	* prj-attr.adb: New attribute Run_Path_Origin_Required
      	* prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process new
      	attribute Run_Path_Origin_Required.
      	* prj.ads (Project_Configuration): New component
      	Run_Path_Origin_Supported.
      	* snames.ads-tmpl: New standard name Run_Path_Origin_Required
      
      From-SVN: r156217
      Arnaud Charlet committed
    • * gnat.dg/array_bounds_test.adb: New test. · a4fb8087
      From-SVN: r156216
      Arnaud Charlet committed
    • [multiple changes] · 3d923671
      2010-01-25  Bob Duff  <duff@adacore.com>
      
      	* sem_aggr.adb (Resolve_Array_Aggregate): Check for the case where this
      	is an internally-generated positional aggregate, and the bounds are
      	already correctly set. We don't want to overwrite those bounds with
      	bounds determined by context.
      
      2010-01-25  Robert Dewar  <dewar@adacore.com>
      
      	* g-sercom.ads, gnatcmd.adb, gnatlink.adb, a-ststio.adb, exp_ch6.adb,
      	exp_ch9.adb, g-sechas.ads: Minor reformatting.
      
      2010-01-25  Thomas Quinot  <quinot@adacore.com>
      
      	* s-commun.adb (Last_Index): Count must be converted to SEO (a signed
      	integer type) before subtracting 1, otherwise the computation may wrap
      	(because size_t is modular) and cause the conversion to fail.
      
      2010-01-25  Ed Falis  <falis@adacore.com>
      
      	* sysdep.c, init.c: Adapt to support full run-time on VxWorks MILS.
      
      2010-01-25  Vincent Celier  <celier@adacore.com>
      
      	* prj-attr.adb: New attribute Run_Path_Origin_Required
      	* prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process new
      	attribute Run_Path_Origin_Required.
      	* prj.ads (Project_Configuration): New component
      	Run_Path_Origin_Supported.
      	* snames.ads-tmpl: New standard name Run_Path_Origin_Required
      
      From-SVN: r156215
      Arnaud Charlet committed