OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years agoDaily bump.
gccadmin [Thu, 28 Jan 2010 00:16:42 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156310 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 27 Jan 2010 20:12:41 +0000 (20:12 +0000)]
2010-01-27  Benjamin Kosnik  <bkoz@redhat.com>

PR c++/42346
* testsuite/23_containers/unordered_map/requirements/exception/: Remove
-O1 workaround.
* testsuite/23_containers/multimap/requirements/exception/: Same.
* testsuite/23_containers/map/requirements/exception: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156303 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* gcc/cp/tree.c: Tweak comment in no_linkage_check.
jason [Wed, 27 Jan 2010 19:48:34 +0000 (19:48 +0000)]
* gcc/cp/tree.c: Tweak comment in no_linkage_check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156300 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * dwarf2out.c (mem_loc_descriptor): Remove special casing of
jakub [Wed, 27 Jan 2010 16:38:58 +0000 (16:38 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156293 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR debug/42861
jakub [Wed, 27 Jan 2010 16:36:57 +0000 (16:36 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156292 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-27 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 27 Jan 2010 16:00:31 +0000 (16:00 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156291 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-27 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 27 Jan 2010 15:49:00 +0000 (15:49 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156290 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine.
jakub [Wed, 27 Jan 2010 15:14:09 +0000 (15:14 +0000)]
* config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine.
(rs6000_delegitimize_address): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156289 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/s390/s390.c (s390_delegitimize_address): Call
jakub [Wed, 27 Jan 2010 15:12:55 +0000 (15:12 +0000)]
* config/s390/s390.c (s390_delegitimize_address): Call
delegitimize_mem_from_attrs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156288 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR middle-end/42874
jakub [Wed, 27 Jan 2010 15:09:23 +0000 (15:09 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156287 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoRevert r156276
nickc [Wed, 27 Jan 2010 14:17:48 +0000 (14:17 +0000)]
Revert r156276

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156286 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-27 Pascal Obry <obry@adacore.com>
charlet [Wed, 27 Jan 2010 14:15:42 +0000 (14:15 +0000)]
2010-01-27  Pascal Obry  <obry@adacore.com>

* g-awk.adb: ensure that an AWK session is reusable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156285 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-27 Vasiliy Fofanov <fofanov@adacore.com>
charlet [Wed, 27 Jan 2010 13:39:30 +0000 (13:39 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156284 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-27 Vincent Celier <celier@adacore.com>
charlet [Wed, 27 Jan 2010 13:29:52 +0000 (13:29 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156283 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agotemporarily revert fix for PR target/42841
chrbr [Wed, 27 Jan 2010 13:24:40 +0000 (13:24 +0000)]
temporarily revert fix for PR target/42841

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156282 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-27 Matthias Klose <doko@ubuntu.com>
doko [Wed, 27 Jan 2010 13:02:50 +0000 (13:02 +0000)]
2010-01-27  Matthias Klose  <doko@ubuntu.com>

        * configure.ac (gnu-unique-object): Fix ldd version check.
        * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156281 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-27 Tristan Gingold <gingold@adacore.com>
charlet [Wed, 27 Jan 2010 12:06:07 +0000 (12:06 +0000)]
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).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156280 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-27 Sergey Rybin <rybin@adacore.com>
charlet [Wed, 27 Jan 2010 11:58:53 +0000 (11:58 +0000)]
2010-01-27  Sergey Rybin  <rybin@adacore.com>

* gnat_rm.texi, gnat_ugn.texi: Update gnatcheck doc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156279 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-27 Robert Dewar <dewar@adacore.com>
charlet [Wed, 27 Jan 2010 11:37:20 +0000 (11:37 +0000)]
2010-01-27  Robert Dewar  <dewar@adacore.com>

* sinput.ads, sinput.adb (Sloc_Range): Applies to all nodes, formal
changed from Expr to N.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156278 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-27 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 27 Jan 2010 11:28:57 +0000 (11:28 +0000)]
2010-01-27  Paolo Carlini  <paolo.carlini@oracle.com>

* Fix ChangeLog typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156277 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR target/42671
nickc [Wed, 27 Jan 2010 09:19:36 +0000 (09:19 +0000)]
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156276 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Wed, 27 Jan 2010 09:15:19 +0000 (09:15 +0000)]
2010-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/abi/pre/gnu.ver: Avoid time_get pattern conflicts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156275 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/sparc/sparc.c (sparc_elf_asm_named_section): Test for
jakub [Wed, 27 Jan 2010 08:06:04 +0000 (08:06 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156272 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Wed, 27 Jan 2010 00:16:34 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156268 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 26 Jan 2010 21:32:28 +0000 (21:32 +0000)]
2010-01-26  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Test for executability of _the first word_ of GFORTRAN.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156264 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * MAINTAINERS: Add myself as Go frontend maintainer.
ian [Tue, 26 Jan 2010 19:44:11 +0000 (19:44 +0000)]
* MAINTAINERS: Add myself as Go frontend maintainer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156260 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago gcc:
ro [Tue, 26 Jan 2010 19:24:32 +0000 (19:24 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156259 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 François Dumont <francois.cppdevs@free.fr>
bkoz [Tue, 26 Jan 2010 19:05:43 +0000 (19:05 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156258 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Andrew Haley <aph@redhat.com>
aph [Tue, 26 Jan 2010 18:59:16 +0000 (18:59 +0000)]
2010-01-26  Andrew Haley  <aph@redhat.com>

* java/lang/natClass.cc (registerClosure): Make sure closures is
non NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156257 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * ada/acats/run_all.sh: Make sure norun.lst is sorted using the
jakub [Tue, 26 Jan 2010 17:20:29 +0000 (17:20 +0000)]
* ada/acats/run_all.sh: Make sure norun.lst is sorted using the
current collation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156255 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 26 Jan 2010 16:29:00 +0000 (16:29 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156253 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 26 Jan 2010 16:27:34 +0000 (16:27 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156252 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * doc/tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments.
amylaar [Tue, 26 Jan 2010 15:21:56 +0000 (15:21 +0000)]
* doc/tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments.

(TARGET_RESOLVE_OVERLOADED_BUILTIN): Add loc parameter.
Fix types of fndecl and arglist parameters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156250 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 26 Jan 2010 15:09:43 +0000 (15:09 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156249 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Thomas Quinot <quinot@adacore.com>
charlet [Tue, 26 Jan 2010 14:02:25 +0000 (14:02 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156248 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Robert Dewar <dewar@adacore.com>
charlet [Tue, 26 Jan 2010 13:49:56 +0000 (13:49 +0000)]
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*

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156247 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Daniel Frey <d.frey@gmx.de>
paolo [Tue, 26 Jan 2010 13:33:06 +0000 (13:33 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156246 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Robert Dewar <dewar@adacore.com>
charlet [Tue, 26 Jan 2010 13:29:46 +0000 (13:29 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156245 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 26 Jan 2010 12:29:09 +0000 (12:29 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156244 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Robert Dewar <dewar@adacore.com>
charlet [Tue, 26 Jan 2010 10:55:29 +0000 (10:55 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156243 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Robert Dewar <dewar@adacore.com>
charlet [Tue, 26 Jan 2010 10:30:04 +0000 (10:30 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156242 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Robert Dewar <dewar@adacore.com>
charlet [Tue, 26 Jan 2010 10:25:52 +0000 (10:25 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156241 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Robert Dewar <dewar@adacore.com>
charlet [Tue, 26 Jan 2010 10:20:43 +0000 (10:20 +0000)]
2010-01-26  Robert Dewar  <dewar@adacore.com>

* par_sco.adb (Traverse_Declarations_Or_Statements): Add processing for
Case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156240 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Robert Dewar <dewar@adacore.com>
charlet [Tue, 26 Jan 2010 10:13:33 +0000 (10:13 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156239 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Arnaud Charlet <charlet@adacore.com>
charlet [Tue, 26 Jan 2010 10:02:11 +0000 (10:02 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156238 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Vincent Celier <celier@adacore.com>
charlet [Tue, 26 Jan 2010 09:56:25 +0000 (09:56 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156237 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR fortran/42866
jakub [Tue, 26 Jan 2010 09:47:45 +0000 (09:47 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156235 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Vincent Celier <celier@adacore.com>
charlet [Tue, 26 Jan 2010 09:46:13 +0000 (09:46 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156234 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-26 Robert Dewar <dewar@adacore.com>
charlet [Tue, 26 Jan 2010 09:42:04 +0000 (09:42 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156233 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-20 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 26 Jan 2010 07:57:21 +0000 (07:57 +0000)]
2010-01-20  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Test for executability of GFORTRAN.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156232 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agofix PR target/42841
chrbr [Tue, 26 Jan 2010 07:20:27 +0000 (07:20 +0000)]
fix PR target/42841

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156229 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * cp-demangle.c (cplus_demangle_type): Check for invalid type
ian [Tue, 26 Jan 2010 04:05:32 +0000 (04:05 +0000)]
* cp-demangle.c (cplus_demangle_type): Check for invalid type
after "DF".
* testsuite/demangle-expected: Add test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156226 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Tue, 26 Jan 2010 00:16:52 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156224 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-25 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 25 Jan 2010 23:25:48 +0000 (23:25 +0000)]
2010-01-25  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/util/testsuite_common_types.h (has_bitwise_operators):
Avoid -Wall warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156221 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-25 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 25 Jan 2010 18:02:41 +0000 (18:02 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156219 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR libstdc++/36101, PR libstdc++/42813
amylaar [Mon, 25 Jan 2010 18:01:29 +0000 (18:01 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156218 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-25 Bob Duff <duff@adacore.com>
charlet [Mon, 25 Jan 2010 16:26:27 +0000 (16:26 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156217 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gnat.dg/array_bounds_test.adb: New test.
charlet [Mon, 25 Jan 2010 16:25:29 +0000 (16:25 +0000)]
* gnat.dg/array_bounds_test.adb: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156216 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-25 Bob Duff <duff@adacore.com>
charlet [Mon, 25 Jan 2010 16:24:20 +0000 (16:24 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156215 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-25 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 25 Jan 2010 16:21:42 +0000 (16:21 +0000)]
2010-01-25  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42858
        * array.c (gfc_array_dimen_size): Fix intrinsic procedure
        check.

2010-01-25  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42858
        * gfortran.dg/generic_21.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156214 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR testsuite/41522
ro [Mon, 25 Jan 2010 14:54:15 +0000 (14:54 +0000)]
PR testsuite/41522
* gcc.c-torture/compile/pr38789.c: Change to dg-do compile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156213 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-25 Ed Schonberg <schonberg@adacore.com>
charlet [Mon, 25 Jan 2010 14:53:51 +0000 (14:53 +0000)]
2010-01-25  Ed Schonberg  <schonberg@adacore.com>

* sem_aggr.adb (Resolve_Array_Aggregate): If the bounds in a choice
have errors, do not continue resolution of the aggregate.
* sem_eval.adb (Eval_Indexed_Component): Do not attempt to evaluate if
the array type indicates an error.

2010-01-25  Bob Duff  <duff@adacore.com>

* sinfo.ads: Minor comment fixes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156212 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-25 Bob Duff <duff@adacore.com>
charlet [Mon, 25 Jan 2010 14:37:39 +0000 (14:37 +0000)]
2010-01-25  Bob Duff  <duff@adacore.com>

* exp_ch4.adb, exp_aggr.adb: Minor comment fixes and code clean up.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156211 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago(Current_Year): Update.
charlet [Mon, 25 Jan 2010 14:24:18 +0000 (14:24 +0000)]
(Current_Year): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156210 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-25 Florian Villoing <villoing@adacore.com>
charlet [Mon, 25 Jan 2010 14:21:16 +0000 (14:21 +0000)]
2010-01-25  Florian Villoing  <villoing@adacore.com>

* gnat_ugn.texi: Fix typo.

2010-01-25  Thomas Quinot  <quinot@adacore.com>

* scos.ads: Update specification.

2010-01-25  Ed Schonberg  <schonberg@adacore.com>

* sem_ch6.adb (Process_PPCs): If a postcondition is present and the
enclosing subprogram has no previous spec, attach postcondition
procedure to the defining entity for the body.

2010-01-25  Ed Schonberg  <schonberg@adacore.com>

* exp_aggr.adb (Build_Record_Aggr_Code); Do not generate call to
initialization procedure of the ancestor part of an extension aggregate
if it is an interface type.

2010-01-25  Vincent Celier  <celier@adacore.com>

* gnatlink.adb (Process_Binder_File): The directory for the shared
version of libgcc in the run path options is found in the subdirectory
indicated by __gnat_default_libgcc_subdir.
* link.c: Declare new const char * __gnat_default_libgcc_subdir for
each platform.

2010-01-25  Ed Schonberg  <schonberg@adacore.com>

* sem_prag.adb: More flexible pragma Annotate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156209 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-24 David S. Miller <davem@davemloft.net>
davem [Mon, 25 Jan 2010 10:22:04 +0000 (10:22 +0000)]
2010-01-24  David S. Miller  <davem@davemloft.net>

* gcc/config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only
define if not using GAS.
* gcc/config/sparc/sparc.c (sparc_elf_asm_named_section):
Likewise.  Delete SECTION_MERGE code, which is only applicable
when using GAS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156203 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR c++/42748
mmitchel [Mon, 25 Jan 2010 03:14:25 +0000 (03:14 +0000)]
PR c++/42748
* config/arm/arm.c (arm_mangle_type): Do not warn about changes to
mangling of va_list in system headers.

PR c++/42748
* g++.dg/abi/arm_va_list2.C: New test.
* g++.dg/abi/arm_va_list2.h: Companion header file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156202 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Mon, 25 Jan 2010 00:16:50 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156201 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * sv.po: Update.
jsm28 [Sun, 24 Jan 2010 18:38:52 +0000 (18:38 +0000)]
* sv.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156198 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-24 Paul Thomas <pault@gcc.gnu.org>
pault [Sun, 24 Jan 2010 16:59:51 +0000 (16:59 +0000)]
2010-01-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41044
PR fortran/41167
* expr.c (remove_subobject_ref): If the constructor is NULL use
the expression as the source.
(simplify_const_ref): Change the type of expression if
there are component references.  Allow for substring to be at
the end of an arbitrarily long chain of references.  If an
element is found that is not in an EXPR_ARRAY, assume that this
is scalar initialization of array. Call remove_subobject_ref in
this case with NULL second argument.

2010-01-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41044
* gfortran.dg/parameter_array_ref_2.f90 : New test.

PR fortran/41167
* gfortran.dg/char_array_arg_1.f90 : New test.

* gfortran.dg/pr25923.f90 : Remove XFAIL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156197 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-24 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 24 Jan 2010 08:10:47 +0000 (08:10 +0000)]
2010-01-24  Tobias Burnus  <burnus@net-b.de>

        PR fortran/39304
        * array.c (gfc_array_dimen_size): Use correct specific
        function in the check.

2010-01-24  Tobias Burnus  <burnus@net-b.de>

        PR fortran/39304
        * gfortran.dg/generic_20.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156195 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Sun, 24 Jan 2010 00:16:45 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156194 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoChangeLog
toon [Sat, 23 Jan 2010 14:33:26 +0000 (14:33 +0000)]
ChangeLog

* tree-predcom.c (combine_chains): Return NULL, not false.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156191 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * tree-loop-distribution.c (distribute_loop): Fix declaration and
amylaar [Sat, 23 Jan 2010 12:21:15 +0000 (12:21 +0000)]
* tree-loop-distribution.c (distribute_loop): Fix declaration and
initialization of variable res to agree with return type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156190 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR libstdc++/36101, PR libstdc++/42813
amylaar [Sat, 23 Jan 2010 11:17:30 +0000 (11:17 +0000)]
PR libstdc++/36101, PR libstdc++/42813
* configure.ac (bootstrap_target_libs): Include target-libgomp.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156189 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Sat, 23 Jan 2010 00:16:45 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156184 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-22 Steve Ellcey <sje@cup.hp.com>
sje [Fri, 22 Jan 2010 22:22:51 +0000 (22:22 +0000)]
2010-01-22  Steve Ellcey  <sje@cup.hp.com>

* Makefile.in (tree-sra.o): Add $(EXPR_H) dependency.
* tree-sra.c: Add include of expr.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156181 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc-plugin.h (plugin_init): Use "C" likage for c++.
amylaar [Fri, 22 Jan 2010 21:01:49 +0000 (21:01 +0000)]
* gcc-plugin.h (plugin_init): Use "C" likage for c++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156179 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-22 Daniel Frey <d.frey@gmx.de>
paolo [Fri, 22 Jan 2010 20:50:15 +0000 (20:50 +0000)]
2010-01-22  Daniel Frey  <d.frey@gmx.de>

* include/std/functional (_Index_tuple, _Build_index_tuple):
Simplify and speed-up.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156178 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * tree-into-ssa.c (maybe_register_def): If stmt ends the bb,
jakub [Fri, 22 Jan 2010 19:20:51 +0000 (19:20 +0000)]
* tree-into-ssa.c (maybe_register_def): If stmt ends the bb,
insert the debug stmt on the single non-EH edge from the stmt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156177 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR tree-opt/42833
rth [Fri, 22 Jan 2010 18:52:01 +0000 (18:52 +0000)]
PR tree-opt/42833
* tree-sra.c (sra_modify_assign): Delay re-gimplification of
the RHS until after generate_subtree_copies has insertted its
code before the current statement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156176 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * doc/tm.texi (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): Fix return type.
amylaar [Fri, 22 Jan 2010 17:00:27 +0000 (17:00 +0000)]
* doc/tm.texi (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): Fix return type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156175 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR libstdc++/36101, PR libstdc++/42813
amylaar [Fri, 22 Jan 2010 13:35:38 +0000 (13:35 +0000)]
PR libstdc++/36101, PR libstdc++/42813
[toplevel]:
* configure.ac (target_configdirs): Substitute.
* Makefile.def: Bootstrap target module libgomp.
Add dependency of all-target-libstdc++-v3 on configure-target-libgomp.
* Makefile.tpl (TARGET_CONFIGDIRS): New makefile variable.
(BASE_TARGET_EXPORTS): Export TARGET_CONFIGDIRS.
* configure, Makefile.in: Regenerate.
libstdc++-v3:
* acinclude.m4: (enable_parallel): Test ${TARGET_CONFIGDIRS} instead of
loking for omp.h .
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156172 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gfortran.dg/vect/fast-math-mgrid-resid.f: Limit to x86, add
matz [Fri, 22 Jan 2010 13:13:18 +0000 (13:13 +0000)]
    * gfortran.dg/vect/fast-math-mgrid-resid.f: Limit to x86, add
        -msse2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156170 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * system-linux-armel.ads (Stack_Check_Probes): Set to True.
ebotcazou [Fri, 22 Jan 2010 11:55:45 +0000 (11:55 +0000)]
* system-linux-armel.ads (Stack_Check_Probes): Set to True.
* system-linux-armeb.ads (Stack_Check_Probes): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156169 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-22 Shujing Zhao <pearly.zhao@oracle.com>
pzhao [Fri, 22 Jan 2010 02:50:44 +0000 (02:50 +0000)]
2010-01-22  Shujing Zhao  <pearly.zhao@oracle.com>

        * exgettext: Handle the functions and the macro definitions that the
        arguments are broken into more than one line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156168 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Fri, 22 Jan 2010 00:16:46 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156164 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-21 Paul Thomas <pault@gcc.gnu.org>
pault [Thu, 21 Jan 2010 20:38:51 +0000 (20:38 +0000)]
2010-01-21  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/42736
* trans-stmt.c (gfc_conv_elemental_dependencies): If temporary
is required, turn any trailing array elements after a range
into ranges so that offsets can be calculated.

2010-01-21  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/42736
* gfortran.dg/dependency_25.f90 : New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156161 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-21 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 21 Jan 2010 16:18:06 +0000 (16:18 +0000)]
2010-01-21  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42585
* tree-sra.c (struct access): New field grp_total_scalarization.
(dump_access): Dump the new field.
(should_scalarize_away_bitmap): New variable.
(cannot_scalarize_away_bitmap): Likewise.
(sra_initialize): Allocate new bitmaps.
(sra_deinitialize): Free new bitmaps.
(create_access_1): New function.
(create_access): Parts moved to create_access_1.
(type_consists_of_records_p): New function.
(completely_scalarize_record): Likewise.
(build_access_from_expr): Set bit in cannot_scalarize_away_bitmap.
(build_accesses_from_assign): Set bits in should_scalarize_away_bitmap.
(sort_and_splice_var_accesses): Hint groups with a total_scalarization
access.
(analyze_all_variable_accesses): Completely scalarize small eligible
records.

* testsuite/gcc.dg/tree-ssa/pr42585.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156156 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-21 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 21 Jan 2010 16:04:12 +0000 (16:04 +0000)]
2010-01-21  Martin Jambor  <mjambor@suse.cz>

* tree-sra.c (build_ref_for_offset_1): Allow for zero size fields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156155 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-21 Andrew Haley <aph@redhat.com>
aph [Thu, 21 Jan 2010 15:29:30 +0000 (15:29 +0000)]
2010-01-21  Andrew Haley  <aph@redhat.com>

        * gcc.c (process_command): Move lang_specific_driver before
        setting cc_libexec_prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156154 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-21 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 21 Jan 2010 12:15:40 +0000 (12:15 +0000)]
2010-01-21  Richard Guenther  <rguenther@suse.de>

PR middle-end/19988
* fold-const.c (negate_expr_p): Pretend only negative
real constants are easily negatable.

* gcc.dg/pr19988.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156152 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2010-01-20 Eric B. Weddington <eric.weddington@atmel.com>
eweddington [Thu, 21 Jan 2010 05:51:35 +0000 (05:51 +0000)]
2010-01-20  Eric B. Weddington  <eric.weddington@atmel.com>

* MAINTAINERS (CPU Port Maintainers): Add myself for avr port.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156107 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * tree.h (TYPE_TRANSPARENT_UNION): Replace with ...
jason [Thu, 21 Jan 2010 05:49:35 +0000 (05:49 +0000)]
* tree.h (TYPE_TRANSPARENT_UNION): Replace with ...
(TYPE_TRANSPARENT_AGGR): this, for union and record.
* calls.c (initialize argument_information): Handle it.
* c-common.c (handle_transparent_union_attribute): Use new name.
* c-decl.c (finish_struct): Ditto.
* c-typeck.c (type_lists_compatible_p): Ditto.
(convert_for_assignment): Use new name and also handle record.
* function.c (aggregate_value_p): Handle it.
(pass_by_reference): Ditto.
(assign_parm_data_types): Ditto.
* print-tree.c (print_node): Ditto.
* lto-streamer-in.c (unpack_ts_type_value_fields): Ditto.
* lto-streamer-out.c (pack_ts_type_value_fields): Ditto.
* tree.c (first_field): New fn.

gcc/cp/
* mangle.c (write_type): Mangle transparent record as member type.
* semantics.c (begin_class_definition): Recognize decimal classes
and set TYPE_TRANSPARENT_AGGR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156106 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR target/42818
davek [Thu, 21 Jan 2010 04:56:38 +0000 (04:56 +0000)]
PR target/42818
* config/i386/cygwin.h (CXX_WRAP_SPEC_LIST): Always apply wrappers,
even when linking statically, for now.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156105 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * MAINTAINERS: Adjust my details.
davek [Thu, 21 Jan 2010 04:34:02 +0000 (04:34 +0000)]
* MAINTAINERS: Adjust my details.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156104 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR c++/42338
jason [Thu, 21 Jan 2010 01:58:53 +0000 (01:58 +0000)]
PR c++/42338
* mangle.c (write_expression): Handle tree codes that have extra
arguments in the middle-end.
* cp-demangle.c (d_print_comp): Fix array index printing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156103 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR debug/42715
jakub [Thu, 21 Jan 2010 00:42:02 +0000 (00:42 +0000)]
PR debug/42715
* var-tracking.c (use_type): Choose MO_VAL_SET for REGs set
without a cselib val.
(count_uses): Accept MO_VAL_SET with no val on stores.
(add_stores): Likewise.

* gcc.dg/pr42715.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156102 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * var-tracking.c (check_value_val): Add a compile time assertion.
jakub [Thu, 21 Jan 2010 00:39:57 +0000 (00:39 +0000)]
* var-tracking.c (check_value_val): Add a compile time assertion.
(dv_is_decl_p): Simplify.
(dv_as_decl, dv_as_value, dv_from_decl, dv_from_value): Only use
gcc_assert if ENABLE_CHECKING.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156101 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Thu, 21 Jan 2010 00:16:45 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156100 138bc75d-0d04-0410-961f-82ee72b054a4