OSDN Git Service

pf3gnuchains/gcc-fork.git
9 years agolog/syslog: Fix name of C function syslog_c.
ian [Wed, 16 May 2012 14:52:21 +0000 (14:52 +0000)]
log/syslog: Fix name of C function syslog_c.

From Rainer Orth.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187597 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-16 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 16 May 2012 13:08:33 +0000 (13:08 +0000)]
2012-05-16  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53364
* tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Properly
detect a view-conversion of the decl.

* g++.dg/torture/pr53364.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187589 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agodebug/dwarf: Fix handling of LineSetFile.
ian [Wed, 16 May 2012 05:36:46 +0000 (05:36 +0000)]
debug/dwarf: Fix handling of LineSetFile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187579 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: Fix assembler names of types defined in functions.
ian [Wed, 16 May 2012 00:26:48 +0000 (00:26 +0000)]
compiler: Fix assembler names of types defined in functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187575 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Wed, 16 May 2012 00:17:23 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187572 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: Fix taking address of constant outside of function.
ian [Tue, 15 May 2012 22:54:39 +0000 (22:54 +0000)]
compiler: Fix taking address of constant outside of function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187566 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR ada/52494
ebotcazou [Tue, 15 May 2012 22:35:33 +0000 (22:35 +0000)]
PR ada/52494
* s-taprop-dummy.adb (Specific): New package.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187564 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: Sort array constructors by index.
ian [Tue, 15 May 2012 22:30:57 +0000 (22:30 +0000)]
compiler: Sort array constructors by index.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187561 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * sem_prag.adb (Process_Atomic_Shared_Volatile): Propagate
ebotcazou [Tue, 15 May 2012 20:08:00 +0000 (20:08 +0000)]
* sem_prag.adb (Process_Atomic_Shared_Volatile): Propagate
atomicity from an object to its underlying type only if it
is composite.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187555 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: Don't try to take the address of a constant.
ian [Tue, 15 May 2012 20:00:57 +0000 (20:00 +0000)]
compiler: Don't try to take the address of a constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187554 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoruntime: Make all variables used across getcontext volatile.
ian [Tue, 15 May 2012 18:57:03 +0000 (18:57 +0000)]
runtime: Make all variables used across getcontext volatile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187550 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR target/53358
jakub [Tue, 15 May 2012 15:21:38 +0000 (15:21 +0000)]
PR target/53358
* config/i386/i386.md (*addqi_2 peephole with QImode addition): Check
that operands[2] is either immediate, or q_regs_operand.

* gcc.dg/pr53358.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187545 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoPR c++/53209
aoliva [Tue, 15 May 2012 04:25:25 +0000 (04:25 +0000)]
PR c++/53209
* pt.c (tsubst_decl): Bail out if argvec is error_mark_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187497 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport r187139 from mainline.
amker [Tue, 15 May 2012 02:14:05 +0000 (02:14 +0000)]
Backport r187139 from mainline.
2012-05-04  Bin Cheng  <bin.cheng@arm.com>

PR rtl-optimization/52804
* reload1.c (reload_reg_reaches_end_p): Check whether successor
reload with type RELOAD_FOR_INPUT_ADDRESS kills reload register
of current one with type RELOAD_FOR_INPADDR_ADDRESS.
Same stands for reloads with type RELOAD_FOR_OUTPUT_ADDRESS and
RELOAD_FOR_OUTADDR_ADDRESS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187496 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Tue, 15 May 2012 00:17:28 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187492 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agolibgo: Use -fgo-pkgpath.
ian [Mon, 14 May 2012 22:09:21 +0000 (22:09 +0000)]
libgo: Use -fgo-pkgpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187486 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR target/46098
uros [Mon, 14 May 2012 21:30:23 +0000 (21:30 +0000)]
PR target/46098
* config/i386/i386.c (ix86_expand_special_args_builtin): Always
generate target register for "load" class builtins.

Revert:
2010-10-22  Uros Bizjak  <ubizjak@gmail.com>

PR target/46098
* config/i386/sse.md (*avx_movu<ssemodesuffix><avxmodesuffix>):
Rename from avx_movu<ssemodesuffix><avxmodesuffix>.
(avx_movu<ssemodesuffix><avxmodesuffix>): New expander.
(*<sse>_movu<ssemodesuffix>): Rename from <sse>_movu<ssemodesuffix>.
(<sse>_movu<ssemodesuffix>): New expander.
(*avx_movdqu<avxmodesuffix>): Rename from avx_movdqu<avxmodesuffix>.
(avx_movdqu<avxmodesuffix>): New expander.
(*sse2_movdqu): Rename from sse2_movdqu.
(sse2_movdqu): New expander.

testsuite/ChangeLog:

* gcc.target/i386/avx256-unaligned-load-[1234].c: Update scan strings.
* gcc.target/i386/avx256-unaligned-store-[1234].c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187482 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * dwarf2out.c (dwarf2out_define, dwarf2out_undef): Treat
jakub [Mon, 14 May 2012 17:08:12 +0000 (17:08 +0000)]
* dwarf2out.c (dwarf2out_define, dwarf2out_undef): Treat
lineno 1 the same as lineno 0 before first start file directive.
(optimize_macinfo_range): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187476 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * dwarf2out.c (have_macinfo): Define.
jakub [Mon, 14 May 2012 17:06:49 +0000 (17:06 +0000)]
* dwarf2out.c (have_macinfo): Define.
(dwarf2out_finish): Don't emit DW_AT_GNU_macros or DW_AT_macro_info
attribute, don't force empty compilation unit and don't emit any
.debug_macinfo/.debug_macro section if macinfo_table is empty.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187474 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Mon, 14 May 2012 00:18:39 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187448 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport from mainline
uros [Sun, 13 May 2012 16:25:20 +0000 (16:25 +0000)]
Backport from mainline
2012-05-12  Uros Bizjak  <ubizjak@gmail.com>

* config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
ORDERED and UNORDERED conditions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187439 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sun, 13 May 2012 00:18:12 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187433 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * function.c (requires_stack_frame_p): If the function can throw
ebotcazou [Sat, 12 May 2012 21:37:23 +0000 (21:37 +0000)]
* function.c (requires_stack_frame_p): If the function can throw
non-call exceptions, return true if the insn can throw internally.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187430 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sat, 12 May 2012 00:18:14 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187422 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-12 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 11 May 2012 22:32:27 +0000 (22:32 +0000)]
2012-05-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53310
        * intrinsics/eoshift2.c (eoshift2): Do not leak
        memory by allocating it in the loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187417 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
wschmidt [Fri, 11 May 2012 14:45:09 +0000 (14:45 +0000)]
2012-05-11  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* java/typeck.c (java_type_for_size): Handle 128-bit sizes for
bitsizetype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187409 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Fri, 11 May 2012 00:18:02 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187390 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago* include/bits/random.tcc (seed_seq::generate): Cast max()
dj [Thu, 10 May 2012 21:07:04 +0000 (21:07 +0000)]
* include/bits/random.tcc (seed_seq::generate): Cast max()
operands to size_t to ensure a template match.
* include/std/bitset (_M_copy_from_ptr): Cast min() operands to
size_t to ensure a template match.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187379 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago/cp
paolo [Thu, 10 May 2012 21:06:42 +0000 (21:06 +0000)]
/cp
2012-05-10  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53301
* decl.c (check_default_argument): Fix typo (POINTER_TYPE_P
instead of TYPE_PTR_P) in zero-as-null-pointer-constant warning.

/testsuite
2012-05-10  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53301
* g++.dg/warn/Wzero-as-null-pointer-constant-6.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187378 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * gimplify.c (gimplify_decl_expr): For a TYPE_DECL, also gimplify the
ebotcazou [Thu, 10 May 2012 15:00:11 +0000 (15:00 +0000)]
* gimplify.c (gimplify_decl_expr): For a TYPE_DECL, also gimplify the
DECL_ORIGINAL_TYPE if it is present.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187370 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Thu, 10 May 2012 00:18:18 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187361 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: Add -fgo-pkgpath option.
ian [Wed, 9 May 2012 23:30:17 +0000 (23:30 +0000)]
compiler: Add -fgo-pkgpath option.

* lang.opt: Add -fgo-pkgpath.
* go-lang.c (go_pkgpath): New static variable.
(go_prefix): New static variable.
(go_langhook_init): Pass go_pkgpath and go_prefix to
go_create_gogo.
(go_langhook_handle_option): Handle -fgo-pkgpath.  Change
-fgo-prefix handling to just set go_prefix.
* go-c.h (go_set_prefix): Don't declare.
(go_create_gogo): Add pkgpath and prefix to declaration.
* go-gcc.cc (Gcc_backend::global_variable): Change unique_prefix
to pkgpath.  Don't include the package name in the asm name.
* gccgo.texi (Invoking gccgo): Document -fgo-pkgpath.  Update the
docs for -fgo-prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187357 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport from 2012-05-12 mainline r187342.
gjl [Wed, 9 May 2012 16:39:33 +0000 (16:39 +0000)]
Backport from 2012-05-12 mainline r187342.
PR target/53256
* config/avr/elf.h (ASM_DECLARE_FUNCTION_NAME): Remove.
* config/avr/avr-protos.h (avr_asm_declare_function_name): Remove.
* config/avr/avr.h (struct machine_function): Add attributes_checked_p.
* config/avr/avr.c (avr_asm_declare_function_name): Remove.
(expand_prologue): Move initialization of cfun->machine->is_naked,
is_interrupt, is_signal, is_OS_task, is_OS_main from here to...
(avr_set_current_function): ...this new static function.
(TARGET_SET_CURRENT_FUNCTION): New define.
(avr_function_ok_for_sibcall): Use cfun->machine->is_* instead of
checking attributes of current_function_decl.
(avr_regs_to_save): Ditto.
(signal_function_p): Rename to avr_signal_function_p.
(interrupt_function_p): Rename to avr_interrupt_function_p.
* doc/extend.texi (Function Attributes): Better explanation of
'interrupt' and 'signal' for AVR. Move 'ifunc' down to establish
alphabetical order.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187343 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-09 Matthias Klose <doko@ubuntu.com>
doko [Wed, 9 May 2012 16:02:34 +0000 (16:02 +0000)]
2012-05-09  Matthias Klose  <doko@ubuntu.com>

        * gcc-ar.c (main): Don't check for execute bits for the plugin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187339 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Wed, 9 May 2012 00:18:27 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187306 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR target/53272
hp [Tue, 8 May 2012 15:27:58 +0000 (15:27 +0000)]
PR target/53272
* gcc.dg/torture/pr53272-1.c, gcc.dg/torture/pr53272-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187286 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR target/53272
hp [Tue, 8 May 2012 15:27:03 +0000 (15:27 +0000)]
PR target/53272
* config/cris/cris.c (cris_normal_notice_update_cc): For TARGET_V32,
when a constant source operand matches an "I" constraint, the "no
CC0 change" applies to a register-destination only, not a
strict_low_part-destination.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187285 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-07 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
ramana [Tue, 8 May 2012 10:57:58 +0000 (10:57 +0000)]
2012-05-07  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

Backport from mainline:
2012-04-19  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

* config/arm/sync.md (sync_optab): Change ior attribute to "or".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187278 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Tue, 8 May 2012 00:17:50 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187274 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: fix an ICE when parsing 0xdie, reject token 0x123i.
ian [Mon, 7 May 2012 18:53:44 +0000 (18:53 +0000)]
compiler: fix an ICE when parsing 0xdie, reject token 0x123i.

The lexer used to incorrectly accept a token like 0x123i
and interpreted it as 123i. It also used to die when encountering
0xdie.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187267 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: fix ICE in handling of rune constants.
ian [Mon, 7 May 2012 18:37:00 +0000 (18:37 +0000)]
compiler: fix ICE in handling of rune constants.

This patch corrects an ICE in handling on constant expressions
such as

const r = ^'a'

Part of issue 9.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187265 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: reject NOT operator on integer types.
ian [Mon, 7 May 2012 18:24:32 +0000 (18:24 +0000)]
compiler: reject NOT operator on integer types.

The Go specification only accepts the NOT operator on boolean
types.

Fixes issue 10.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187263 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR tree-optimization/53239
jakub [Mon, 7 May 2012 13:33:27 +0000 (13:33 +0000)]
PR tree-optimization/53239
* tree-vrp.c (get_value_range): Set VR of
SSA_NAME_IS_DEFAULT_DEF of DECL_BY_REFERENCE RESULT_DECL
to nonnull.

* g++.dg/opt/vrp3.C: New test.
* g++.dg/opt/vrp3-aux.cc: New file.
* g++.dg/opt/vrp3.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187241 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-07 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 7 May 2012 13:00:39 +0000 (13:00 +0000)]
2012-05-07  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53195
* tree-inline.c (setup_one_parameter): Properly add referenced
vars from the parameters new known value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187237 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-07 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 7 May 2012 11:50:04 +0000 (11:50 +0000)]
2012-05-07  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline:
        2012-05-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53255
        * resolve.c (resolve_typebound_static): Fix handling
        of overridden specific to generic operator.

2012-05-07  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline:
        2012-05-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53255
        * gfortran.dg/typebound_operator_15.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187232 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Mon, 7 May 2012 00:18:16 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187222 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport from mainline:
danglin [Sun, 6 May 2012 20:50:06 +0000 (20:50 +0000)]
Backport from mainline:
2012-04-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

PR target/52999
* config/pa/pa.c (pa_legitimate_constant_p): Don't put function labels
in constant pool.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187216 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agogcc/ada/
ebotcazou [Sun, 6 May 2012 09:27:25 +0000 (09:27 +0000)]
gcc/ada/
Revert
2012-02-24  Dave Korn  <dave.korn.cygwin@gmail.com>

* gcc-interface/Makefile.in (WIN_SO_PREFIX [windows targets]): New
Windows-specific make variable.
(WIN_SO_INSTALL_DIR [windows targets]): Likewise.
(install-gnatlib): Respect the above during installation when set,
and also install any windows import library that has been built.
(gnatlib-shared-win32): Use WIN_SO_PREFIX to name output DLL and also
build a corresponding import library.
libada/
Revert
2012-02-24  Dave Korn  <dave.korn.cygwin@gmail.com>

* Makefile.in (bindir): Import from autoconf and pass down to submake.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187205 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sun, 6 May 2012 00:17:51 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187202 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-05 Tobias Burnus <burnus@net-b.de>
burnus [Sat, 5 May 2012 09:53:21 +0000 (09:53 +0000)]
2012-05-05  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline:
        2012-05-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53111
        * resolve.c (resolve_fl_derived): Fix -std=f95
        diagnostic for generic vs. DT names.

2012-05-05  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline:
        2012-05-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53111
        * gfortran.dg/constructor_7.f90: New.
        * gfortran.dg/constructor_8.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187193 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sat, 5 May 2012 00:17:56 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187187 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * tree-vect-patterns.c (vect_single_imm_use): Correct return
ian [Fri, 4 May 2012 20:59:13 +0000 (20:59 +0000)]
* tree-vect-patterns.c (vect_single_imm_use): Correct return
values from false to NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187182 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: Correct parse of for with possible composite literal.
ian [Fri, 4 May 2012 19:33:29 +0000 (19:33 +0000)]
compiler: Correct parse of for with possible composite literal.

Fixes, e.g., "for first := true; first; first = false {".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187177 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport from mainline
uros [Fri, 4 May 2012 16:58:16 +0000 (16:58 +0000)]
Backport from mainline
2012-05-04  Uros Bizjak  <ubizjak@gmail.com>

PR target/53228
* config/i386/i386.h (X86_ARCH_CMOV): Rename from X86_ARCH_CMOVE.
(TARGET_CMOV): Rename from TARGET_CMOVE.
(TARGET_CMOVE): New define.
* config/i386/i386.c (ix86_option_override_internal): Use TARGET_CMOV.
Do not set TARGET_CMOVE here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187169 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agolibgo: Update to Go 1.0.1 release.
ian [Fri, 4 May 2012 15:01:31 +0000 (15:01 +0000)]
libgo: Update to Go 1.0.1 release.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187164 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-04 Ulrich Weigand <ulrich.weigand@linaro.org>
uweigand [Fri, 4 May 2012 14:56:48 +0000 (14:56 +0000)]
2012-05-04  Ulrich Weigand  <ulrich.weigand@linaro.org>

  Backport from mainline:

  2012-05-04  Ulrich Weigand  <ulrich.weigand@linaro.org>

  PR tree-optimization/52633
  * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Swap order of
  vect_recog_widen_shift_pattern and vect_recog_over_widening_pattern.
  (vect_recog_over_widening_pattern): Remove handling of code that was
  already detected as over-widening pattern.  Remove special handling
  of "unsigned" cases.  Instead, support general case of conversion
  of the shift result to another type.

  2012-05-04  Ulrich Weigand  <ulrich.weigand@linaro.org>

  * tree-vect-patterns.c (vect_single_imm_use): New function.
  (vect_recog_widen_mult_pattern): Use it instead of open-coding loop.
  (vect_recog_over_widening_pattern): Likewise.
  (vect_recog_widen_shift_pattern): Likewise.

  2012-04-10  Ulrich Weigand  <ulrich.weigand@linaro.org>

  PR tree-optimization/52870
  * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Verify that
  presumed pattern statement is within the same loop or basic block.

2012-05-04  Ulrich Weigand  <ulrich.weigand@linaro.org>

  Backport from mainline:

  2012-05-04  Ulrich Weigand  <ulrich.weigand@linaro.org>

  PR tree-optimization/52633
  * gcc.dg/vect/vect-over-widen-1.c: Two patterns should now be
  recognized as widening shifts instead of over-widening.
  * gcc.dg/vect/vect-over-widen-1-big-array.c: Likewise.
  * gcc.dg/vect/vect-over-widen-4.c: Likewise.
  * gcc.dg/vect/vect-over-widen-4-big-array.c: Likewise.
  * gcc.target/arm/pr52633.c: New test.

  2012-04-10  Ulrich Weigand  <ulrich.weigand@linaro.org>

  PR tree-optimization/52870
  * gcc.dg/vect/pr52870.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187162 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-04 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 4 May 2012 11:34:25 +0000 (11:34 +0000)]
2012-05-04  Richard Guenther  <rguenther@suse.de>

* common.opt (flto-report): Do not mark as Optimization.

lto/
* lang.opt (fwpa): Do not mark as Optimization.
(fltrans): Likewise.

* gcc.dg/lto/pr53214_0.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187154 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR target/48496
ebotcazou [Fri, 4 May 2012 11:13:20 +0000 (11:13 +0000)]
PR target/48496
* recog.c (constrain_operands): If extra constraints are present, also
accept pseudo-registers with equivalent memory locations during reload.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187152 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoRemove svn:mergeinfo property.
jakub [Fri, 4 May 2012 06:50:44 +0000 (06:50 +0000)]
Remove svn:mergeinfo property.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187144 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: Error if importing same package twice with same name.
ian [Fri, 4 May 2012 05:24:17 +0000 (05:24 +0000)]
compiler: Error if importing same package twice with same name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187143 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago[gcc]
meissner [Fri, 4 May 2012 00:28:17 +0000 (00:28 +0000)]
[gcc]
2012-05-03  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/53199
* config/rs6000/rs6000.md (bswapdi splitters): If
-mavoid-indexed-addresses (or -mcpu=power6 which sets it by
default) is used, generate an alternate sequence that does not
depend on using indexed addressing.

[gcc/testsuite]
2012-05-03  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/53199
* gcc.target/powwerpc/pr53199.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187132 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Fri, 4 May 2012 00:17:45 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187130 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoFix long double float miscompilations on sparc 64-bit.
davem [Thu, 3 May 2012 22:34:34 +0000 (22:34 +0000)]
Fix long double float miscompilations on sparc 64-bit.

PR target/52684
* config/sparc/sparc.c (emit_soft_tfmode_libcall): If we pass a
MEM directly into a libcall, mark it's MEM_EXPR as addressable.
(sparc_emit_float_lib_cmp): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187124 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: Build import tables as needed for imported interfaces.
ian [Thu, 3 May 2012 17:42:14 +0000 (17:42 +0000)]
compiler: Build import tables as needed for imported interfaces.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187112 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-03 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 3 May 2012 17:00:32 +0000 (17:00 +0000)]
2012-05-03  Martin Jambor  <mjambor@suse.cz>

PR lto/52605
* dwarf2out.c (dwarf2out_decl): Only lookup die representing context
of a variable when the contect is a function.

* gcc/testsuite/g++.dg/lto/pr52605_0.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187109 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: Fix order of initialization bug with global var a, b = f().
ian [Thu, 3 May 2012 16:09:44 +0000 (16:09 +0000)]
compiler: Fix order of initialization bug with global var a, b = f().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187104 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago/cp
paolo [Thu, 3 May 2012 14:32:15 +0000 (14:32 +0000)]
/cp
2012-05-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53186
* call.c (build_over_call): Handle final member functions
and class types.
(build_new_method_call_1): Do not handle here.

/testsuite
2012-05-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53186
* g++.dg/other/final2.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187098 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR plugins/53126
jakub [Thu, 3 May 2012 11:09:46 +0000 (11:09 +0000)]
PR plugins/53126
* gcc-ar.c (main): If GCC_EXEC_PREFIX is set in env,
append program name to it and pass that as first argument
to make_relative_prefix.  Always pass standard_libexec_prefix
as last argument to make_relative_prefix.  If
make_relative_prefix returns NULL, fall back to
standard_libexec_prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187091 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR debug/53174
jakub [Thu, 3 May 2012 10:19:29 +0000 (10:19 +0000)]
PR debug/53174
* tree-predcom.c (remove_stmt): Call reset_debug_uses on stmts being
removed.

* gcc.dg/pr53174.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187088 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR target/53187
jakub [Thu, 3 May 2012 10:17:02 +0000 (10:17 +0000)]
PR target/53187
* config/arm/arm.c (arm_select_cc_mode): If x has MODE_CC class
mode, return that mode.

* gcc.target/arm/pr53187.c: New test.
* gcc.c-torture/compile/pr53187.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187086 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-03 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 3 May 2012 08:49:03 +0000 (08:49 +0000)]
2012-05-03  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53144
* tree-ssa-sccvn.c (vn_reference_lookup_or_insert_constant_for_pieces):
Rename to ...
(vn_reference_lookup_or_insert_for_pieces): ... this.  Properly deal
with SSA name values.
(vn_reference_lookup_3): Adjust callers.

* gcc.dg/torture/pr53144.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187080 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Thu, 3 May 2012 00:17:57 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187071 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-02 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 2 May 2012 17:16:33 +0000 (17:16 +0000)]
2012-05-02  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/53193
* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
dg-error line number.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187057 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-02 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 2 May 2012 12:51:49 +0000 (12:51 +0000)]
2012-05-02  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2012-04-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/52864
        * expr.c (gfc_check_vardef_context): Fix assignment check for
        pointer components.

2012-05-02  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2012-04-16  Tobias Burnus  <burnus@net-b.de>

        PR fortran/52864
        * gfortran.dg/pointer_intent_6.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187044 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR tree-optimization/53163
jakub [Wed, 2 May 2012 09:56:39 +0000 (09:56 +0000)]
PR tree-optimization/53163
* tree-ssa-phiopt.c (cond_if_else_store_replacement): Don't ignore
return value from compute_all_dependences.

* gcc.c-torture/compile/pr53163.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187039 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR rtl-optimization/53160
jakub [Wed, 2 May 2012 07:19:41 +0000 (07:19 +0000)]
PR rtl-optimization/53160
* ree.c (combine_reaching_defs): Handle the case where cand->insn
has been modified by ree pass already.

* gcc.c-torture/execute/pr53160.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187036 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Wed, 2 May 2012 00:17:56 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187033 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-05-01 Fran├žois Dumont <fdumont@gcc.gnu.org>
fdumont [Tue, 1 May 2012 19:38:28 +0000 (19:38 +0000)]
2012-05-01  Fran├žois Dumont  <fdumont@gcc.gnu.org>

PR libstdc++/53115
* include/bits/hashtable.h
(_Hashtable<>::_M_rehash_aux(size_type, false_type)): Fix buckets
after insertion of several equivalent elements.
* testsuite/23_containers/unordered_multiset/insert/53115.cc: New.
* testsuite/23_containers/unordered_multimap/insert/53115.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187023 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport from mainline
uros [Tue, 1 May 2012 06:23:13 +0000 (06:23 +0000)]
Backport from mainline
2012-04-30  Uros Bizjak  <ubizjak@gmail.com>

PR middle-end/53136
* ipa-prop.c (ipa_print_node_jump_functions): Wrap multiple
calls to cgraph_node_name in xstrdup.
(ipa_make_edge_direct_to_target): Ditto.
* tree-sra.c (convert_callers_for_node): Ditto.
* lto-symtab.c (lto_cgraph_replace_node): Ditto.
* ipa-cp.c (perhaps_add_new_callers): Ditto.
* cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Ditto.
(cgraph_materialize_all_clones): Ditto.
* ipa-inline.c (report_inline_failed_reason): Ditto.
(want_early_inline_function_p): Ditto.
(edge_badness): Ditto.
(update_edge_key): Ditto.
(flatten_function): Ditto.
(ipa_inline): Ditto.
(inline_always_inline_functions): Ditto.
(early_inline_small_functions): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187011 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Tue, 1 May 2012 00:18:49 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187006 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-04-30 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Mon, 30 Apr 2012 19:31:13 +0000 (19:31 +0000)]
2012-04-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/53148
Backport from trunk
* frontend-passes.c (create_var):  If the statement has a label,
put the label around the block.

2012-04-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/53148
Backport from trunk
* gfortran.dg/function_optimize_12.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186999 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-04-30 Andreas Tobler <andreast@fgznet.ch>
andreast [Mon, 30 Apr 2012 17:40:34 +0000 (17:40 +0000)]
2012-04-30  Andreas Tobler  <andreast@fgznet.ch>

Backport from mainline
2012-03-21  Andreas Tobler  <andreast@fgznet.ch>

* testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
Skip this test on powerpc64-*-freebsd*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186997 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-04-30 Andreas Tobler <andreast@fgznet.ch>
andreast [Mon, 30 Apr 2012 17:39:57 +0000 (17:39 +0000)]
2012-04-30  Andreas Tobler  <andreast@fgznet.ch>

Backport from mainline
2012-03-21  Andreas Tobler  <andreast@fgznet.ch>

* config.host: Add bits to support powerpc64-*-freebsd*.
* config/rs6000/freebsd-unwind.h: New file.
* config/rs6000/t-freebsd64: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186996 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-04-30 Andreas Tobler <andreast@fgznet.ch>
andreast [Mon, 30 Apr 2012 17:39:01 +0000 (17:39 +0000)]
2012-04-30  Andreas Tobler  <andreast@fgznet.ch>

Backport from mainline
2012-03-21  Andreas Tobler  <andreast@fgznet.ch>

* configure.ac (HAVE_LD_NO_DOT_SYMBOLS): Add powerpc64-*-freebsd*.
Introduce emul_name to select the right linker emulation for
powerpc64-*-freebsd*.
* configure: Regenerate.
* config.gcc: Add bits to support powerpc64-*-freebsd*.
* config/rs6000/freebsd.h (POWERPC_FREEBSD): Define.
* config/rs6000/freebsd64.h: New file.
* config/rs6000/rs6000.c (rs6000_option_override_internal): Use
POWERPC_FREEBSD.
(rs6000_savres_strategy): Likewise.
(rs6000_savres_routine_name): Likewise.
(rs6000_elf_file_end): Likewise.
* config/rs6000/t-freebsd64: New file.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set the
rs6000_current_abi for 64-bit FreeBSD to ABI_AIX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186995 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR go/52586
ian [Mon, 30 Apr 2012 16:04:33 +0000 (16:04 +0000)]
PR go/52586
mksysinfo, syscall: Make sure SYS_GETDENTS64 is defined.

Fixes build on MIPS GNU/Linux.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186987 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport from mainline
uros [Mon, 30 Apr 2012 08:57:41 +0000 (08:57 +0000)]
Backport from mainline
2012-04-27  Paolo Bonzini  <bonzini@gnu.org>

PR target/53138
* config/i386/i386.md (x86_mov<mode>cc_0_m1_neg): Add clobber.

testsuite/ChangeLog:

Backport from mainline
2012-04-27  Paolo Bonzini  <bonzini@gnu.org>

PR target/53138
* gcc.c-torture/execute/20120427-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186962 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * config/i386/i386.c (ix86_handle_struct_attribute): Use the proper
ebotcazou [Mon, 30 Apr 2012 08:11:57 +0000 (08:11 +0000)]
* config/i386/i386.c (ix86_handle_struct_attribute): Use the proper
predicate to discriminate types.
ada/
* gcc-interface/utils.c (finish_record_type): Force the traditional GCC
layout for bitfields on the type if it is packed or has a representation
clause and an alternate layout is available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186959 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Mon, 30 Apr 2012 00:18:16 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186951 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sun, 29 Apr 2012 00:18:26 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186937 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agolibgcc/
rsandifo [Sat, 28 Apr 2012 08:07:03 +0000 (08:07 +0000)]
libgcc/
2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>

* config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
(mips*-*-linux*): Include mips/t-tpbit when long double is
16 bytes long.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186932 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: Fix some crashes on invalid code.
ian [Sat, 28 Apr 2012 04:57:11 +0000 (04:57 +0000)]
compiler: Fix some crashes on invalid code.

Fixes issue 7.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186930 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: Use less memory for array/slice literals.
ian [Sat, 28 Apr 2012 00:29:34 +0000 (00:29 +0000)]
compiler: Use less memory for array/slice literals.

Fixes issue 8 in gofrontend issues list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186927 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sat, 28 Apr 2012 00:18:00 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186924 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR go/52358
ian [Fri, 27 Apr 2012 16:38:31 +0000 (16:38 +0000)]
PR go/52358
configure, runtime: Provide i386 long double math functions if needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186916 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR go/52358
ian [Fri, 27 Apr 2012 16:33:01 +0000 (16:33 +0000)]
PR go/52358
math: Work around bug in Solaris 9 implementation of ldexp.

The bug is that ldexp(-1, -1075) should return -0, but the
Solaris 9 implementation returns +0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186914 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoruntime: Correct syscall.Setenv for systems that don't have setenv.
ian [Fri, 27 Apr 2012 16:28:43 +0000 (16:28 +0000)]
runtime: Correct syscall.Setenv for systems that don't have setenv.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186912 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agofix typo
gjl [Fri, 27 Apr 2012 11:00:44 +0000 (11:00 +0000)]
fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186900 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c/51527
gjl [Fri, 27 Apr 2012 10:51:58 +0000 (10:51 +0000)]
PR c/51527
* convert.c (convert_to_integer): Avoid infinte recursion for
target-defined built-in types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186899 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Fri, 27 Apr 2012 00:17:48 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186891 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agomksysinfo, net: Always define syscall.SO_REUSEPORT.
ian [Thu, 26 Apr 2012 04:26:17 +0000 (04:26 +0000)]
mksysinfo, net: Always define syscall.SO_REUSEPORT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186858 138bc75d-0d04-0410-961f-82ee72b054a4