]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
13 years agoDaily bump.
GCC Administrator [Wed, 24 Aug 2011 00:17:58 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r178021

13 years agosfp-machine.h (ASM_INVALID): New define.
Uros Bizjak [Tue, 23 Aug 2011 19:49:57 +0000 (21:49 +0200)] 
sfp-machine.h (ASM_INVALID): New define.

* config/i386/64/sfp-machine.h (ASM_INVALID): New define.
(ASM_DIVZERO): Ditto.
(FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.

From-SVN: r178009

13 years agoDaily bump.
GCC Administrator [Tue, 23 Aug 2011 00:18:02 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r177980

13 years agoDaily bump.
GCC Administrator [Mon, 22 Aug 2011 00:17:48 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177947

13 years agoDaily bump.
GCC Administrator [Sun, 21 Aug 2011 00:17:16 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177936

13 years agoDaily bump.
GCC Administrator [Sat, 20 Aug 2011 00:17:21 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177920

13 years agobackport: re PR fortran/50109 (Formatted namelist read with multiple "!" fails with...
Tobias Burnus [Fri, 19 Aug 2011 09:16:03 +0000 (11:16 +0200)] 
backport: re PR fortran/50109 (Formatted namelist read with multiple "!" fails with: Cannot match namelist object name !)

2011-08-19  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2011-08-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/50109
        * io/list_read.c (eat_separator): Fix skipping over "!" lines.

2011-08-19  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2011-08-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/50109
        * gfortran.dg/namelist_73.f90: New.

From-SVN: r177893

13 years agoDaily bump.
GCC Administrator [Fri, 19 Aug 2011 00:17:43 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177887

13 years agoDaily bump.
GCC Administrator [Thu, 18 Aug 2011 00:17:32 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177841

13 years agoDaily bump.
GCC Administrator [Wed, 17 Aug 2011 00:17:56 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177818

13 years agore PR fortran/42051 ([OOP] ICE on array-valued function with CLASS formal argument)
Paul Thomas [Tue, 16 Aug 2011 21:22:31 +0000 (21:22 +0000)] 
re PR fortran/42051 ([OOP] ICE on array-valued function with CLASS formal argument)

2011-08-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/42051
PR fortran/43896
PR fortran/49962
* trans-expr.c (gfc_conv_derived_to_class): Handle array-valued
functions with CLASS formal arguments.

2011-08-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/42051
PR fortran/43896
PR fortran/49962
* gfortran.dg/class_23.f03: New test.

From-SVN: r177800

13 years agoDaily bump.
GCC Administrator [Tue, 16 Aug 2011 00:17:40 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177775

13 years agoDaily bump.
GCC Administrator [Mon, 15 Aug 2011 00:17:34 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177753

13 years agoDaily bump.
GCC Administrator [Sun, 14 Aug 2011 00:17:53 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177739

13 years agoFix formatting
Eric Botcazou [Sat, 13 Aug 2011 08:35:30 +0000 (08:35 +0000)] 
Fix formatting

From-SVN: r177733

13 years agoDaily bump.
GCC Administrator [Sat, 13 Aug 2011 00:17:42 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177726

13 years agobuiltins.c (expand_builtin_memcmp): Do not use cmpstrnsi pattern.
Nick Clifton [Fri, 12 Aug 2011 16:27:23 +0000 (16:27 +0000)] 
builtins.c (expand_builtin_memcmp): Do not use cmpstrnsi pattern.

* builtins.c (expand_builtin_memcmp): Do not use cmpstrnsi
pattern.
* doc/md.texi (cmpstrn): Note that the comparison stops if both
fetched bytes are zero.
(cmpstr): Likewise.
(cmpmem): Note that the comparison does not stop if both of the
fetched bytes are zero.

From-SVN: r177702

13 years agoDaily bump.
GCC Administrator [Fri, 12 Aug 2011 00:17:25 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177686

13 years agorx.md (movsicc): Allow register to register transfers.
Kazuhiro Inaoka [Thu, 11 Aug 2011 12:19:49 +0000 (12:19 +0000)] 
rx.md (movsicc): Allow register to register transfers.

* config/rx/rx.md (movsicc): Allow register to register
transfers.
(*movsicc): Likewise.
(*stcc): Restrict this pattern to EQ and NE compares.
(*stcc_reg): New pattern.  Works for any comparison but only for
register transfers.

From-SVN: r177663

13 years agoDaily bump.
GCC Administrator [Thu, 11 Aug 2011 00:17:44 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177640

14 years agoexpr.c (expand_expr_addr_expr_1): Detect a user request for a local frame in a naked...
Nick Clifton [Wed, 10 Aug 2011 09:05:33 +0000 (09:05 +0000)] 
expr.c (expand_expr_addr_expr_1): Detect a user request for a local frame in a naked function...

* expr.c (expand_expr_addr_expr_1): Detect a user request for
a local frame in a naked function, and produce a suitable
error for that specific case.

From-SVN: r177617

14 years agoDaily bump.
GCC Administrator [Wed, 10 Aug 2011 00:17:14 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177608

14 years agorx.c (rx_expand_builtin): Fix typo checking the setpsw builtin.
Nick Clifton [Tue, 9 Aug 2011 11:16:45 +0000 (11:16 +0000)] 
rx.c (rx_expand_builtin): Fix typo checking the setpsw builtin.

* config/rx/rx.c (rx_expand_builtin): Fix typo checking the setpsw
builtin.

From-SVN: r177587

14 years agoDaily bump.
GCC Administrator [Tue, 9 Aug 2011 00:17:34 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177577

14 years agoDaily bump.
GCC Administrator [Mon, 8 Aug 2011 00:18:30 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r177552

14 years agoFix entry
Eric Botcazou [Sun, 7 Aug 2011 17:10:10 +0000 (17:10 +0000)] 
Fix entry

From-SVN: r177549

14 years agotest-expandargv.c (writeout_test): Check result of fwrite.
Uros Bizjak [Sun, 7 Aug 2011 15:11:48 +0000 (17:11 +0200)] 
test-expandargv.c (writeout_test): Check result of fwrite.

* testsuite/test-expandargv.c (writeout_test): Check result of fwrite.

From-SVN: r177547

14 years agoDaily bump.
GCC Administrator [Sun, 7 Aug 2011 00:17:53 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177539

14 years agore PR rtl-optimization/50001 ([alpha]: ICE in reload_combine_note_use, at postreload...
Uros Bizjak [Sat, 6 Aug 2011 18:49:46 +0000 (20:49 +0200)] 
re PR rtl-optimization/50001 ([alpha]: ICE in reload_combine_note_use, at postreload.c:1538)

PR target/50001
* config/alpha/alpha.c (alpha_instantiate_decls): New function.
(TARGET_INSTANTIATE_DECLS): New define.

From-SVN: r177534

14 years agoDaily bump.
GCC Administrator [Sat, 6 Aug 2011 00:17:15 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177493

14 years agoDaily bump.
GCC Administrator [Fri, 5 Aug 2011 00:17:21 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177420

14 years agoDaily bump.
GCC Administrator [Thu, 4 Aug 2011 00:17:55 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177303

14 years agoDaily bump.
GCC Administrator [Wed, 3 Aug 2011 00:17:14 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177222

14 years agoDaily bump.
GCC Administrator [Tue, 2 Aug 2011 00:17:58 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r177078

14 years agot-lm32: fix multilib entry.
Sebastien Bourdeauducq [Mon, 1 Aug 2011 11:27:12 +0000 (11:27 +0000)] 
t-lm32: fix multilib entry.

* gcc/config/lm32/t-lm32: fix multilib entry.

From-SVN: r177013

14 years agot-lm32: add missing multilibs.
Sebastien Bourdeauducq [Mon, 1 Aug 2011 11:24:56 +0000 (11:24 +0000)] 
t-lm32: add missing multilibs.

* gcc/config/lm32/t-lm32: add missing multilibs.

From-SVN: r177012

14 years agoDaily bump.
GCC Administrator [Mon, 1 Aug 2011 00:17:52 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176992

14 years agore PR target/49920 (unable to find a register to spill in class ‘DIREG’)
Uros Bizjak [Sun, 31 Jul 2011 18:21:12 +0000 (20:21 +0200)] 
re PR target/49920 (unable to find a register to spill in class ‘DIREG’)

PR target/49920
* config/i386/i386.md (strset): Do not expand strset_singleop
when %eax or $edi are fixed.
(*strsetdi_rex_1): Disable when %eax or %edi are fixed.
(*strsetsi_1): Ditto.
(*strsetsi_rex_1): Ditto.
(*strsethi_1): Ditto.
(*strsethi_rex_1): Ditto.
(*strsetqi_1): Ditto.
(*strsetqi_rex_1): Ditto.
(*rep_stosdi_rex64): Disable when %eax, %ecx or %edi are fixed.
(*rep_stossi): Ditto.
(*rep_stossi_rex64): Ditto.
(*rep_stosqi): Ditto.
(*rep_stosqi_rex64): Ditto.
(*strlenqi_1): Ditto.
(*strlenqi_rex_1): Ditto.
(cmpstrnsi): Also fail when %ecx is fixed.
(*cmpstrnqi_nz_1): Disable when %ecx, %esi or %edi are fixed.
(*cmpstrnqi_nz_rex_1): Ditto.
(*cmpstrnqi_1): Ditto.
(*cmpstrnqi_rex_1): Ditto.
(*strmovdi_rex_1): Disable when %esi or %edi are fixed.
(*strmovsi_1): Ditto.
(*strmovsi_rex_1): Ditto.
(*strmovhi_1): Ditto.
(*strmovhi_rex_1): Ditto.
(*strmovqi_1): Ditto.
(*strmovqi_rex_1): Ditto.
(*rep_movdi_rex64): Disable when %ecx, %esi or %edi are fixed.
(*rep_movsi): Ditto.
(*rep_movsi_rex64): Ditto.
(*rep_movqi): Ditto.
(*rep_movqi_rex64): Ditto.

testsuite/ChangeLog:

PR target/49920
* gcc.target/i386/pr49920.c: New test.

From-SVN: r176982

14 years agoDaily bump.
GCC Administrator [Sun, 31 Jul 2011 00:17:06 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176965

14 years agoDaily bump.
GCC Administrator [Sat, 30 Jul 2011 00:17:43 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176954

14 years agoDaily bump.
GCC Administrator [Fri, 29 Jul 2011 00:17:35 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176908

14 years agore PR target/47364 ([x32] internal compiler error: in emit_move_insn, at expr.c:3355)
Uros Bizjak [Thu, 28 Jul 2011 16:20:06 +0000 (18:20 +0200)] 
re PR target/47364 ([x32] internal compiler error: in emit_move_insn, at expr.c:3355)

PR target/47364
* config/i386/i386.md (strlensi): Enable for !TARGET_64BIT only.
(strlendi): Enable for TARGET_64BIT only.

From-SVN: r176875

14 years agoDaily bump.
GCC Administrator [Thu, 28 Jul 2011 00:17:27 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176854

14 years agobackport: re PR libfortran/49791 (Formatted namelist reads fails with: Cannot match...
Tobias Burnus [Wed, 27 Jul 2011 21:35:08 +0000 (23:35 +0200)] 
backport: re PR libfortran/49791 (Formatted namelist reads fails with: Cannot match namelist object)

2011-07-27  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2011-07-23  Tobias Burnus  <burnus@net-b.de>

        PR fortran/49791
        * io/list_read.c (nml_parse_qualifier): Remove check to
        enabled extended read for another case.

2011-07-27  Tobias Burnus  <burnus@net-b.de>

        Backported from mainline
        2011-07-23  Tobias Burnus  <burnus@net-b.de>

        PR fortran/49791
        * gfortran.dg/namelist_72.f: New.

From-SVN: r176850

14 years agoavx-os-support.h: New.
Uros Bizjak [Wed, 27 Jul 2011 15:50:13 +0000 (17:50 +0200)] 
avx-os-support.h: New.

* gcc.target/i386/avx-os-support.h: New.
* gcc.target/i386/avx-check.h: Include avx-os-support.h
(main): Check avx_os_support before the test is run.
* gcc.target/i386/aes-avx-check.h: Ditto.
* gcc.target/i386/pclmul-avx-check.h: Ditto.

From-SVN: r176831

14 years agoDaily bump.
GCC Administrator [Wed, 27 Jul 2011 00:17:54 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176814

14 years agoDaily bump.
GCC Administrator [Tue, 26 Jul 2011 00:17:42 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176776

14 years agoDaily bump.
GCC Administrator [Mon, 25 Jul 2011 00:18:07 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r176722

14 years agobackport: re PR libstdc++/49293 (22_locale/time_get/get_weekday/char/38081-[12].cc...
Uros Bizjak [Sun, 24 Jul 2011 21:50:48 +0000 (23:50 +0200)] 
backport: re PR libstdc++/49293 (22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14)

Backport from mainline
2011-06-07  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/49293
* testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
for glibc 2.14.
* testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.

From-SVN: r176719

14 years agoDaily bump.
GCC Administrator [Sun, 24 Jul 2011 00:17:55 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176709

14 years agore PR fortran/49708 (ICE with allocate and no dimensions)
Janus Weil [Sat, 23 Jul 2011 14:44:22 +0000 (16:44 +0200)] 
re PR fortran/49708 (ICE with allocate and no dimensions)

2011-07-23  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49708
* resolve.c (resolve_allocate_expr): Fix diagnostics for pointers.

2011-07-23  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49708
* gfortran.dg/allocate_error_3.f90: New.

From-SVN: r176688

14 years agoDaily bump.
GCC Administrator [Sat, 23 Jul 2011 00:17:38 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176667

14 years agore PR debug/47393 (g++.dg/debug/dwarf2/icf.C FAILs on IRIX)
Rainer Orth [Fri, 22 Jul 2011 16:31:52 +0000 (16:31 +0000)] 
re PR debug/47393 (g++.dg/debug/dwarf2/icf.C FAILs on IRIX)

PR debug/47393
* g++.dg/debug/dwarf2/icf.C: XFAIL some scan-assembler on
mips-sgi-irix*.

From-SVN: r176640

14 years agoDaily bump.
GCC Administrator [Fri, 22 Jul 2011 00:17:52 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176608

14 years agotarget-supports.exp (check_avx_os_support_available): New.
Uros Bizjak [Thu, 21 Jul 2011 21:25:08 +0000 (23:25 +0200)] 
target-supports.exp (check_avx_os_support_available): New.

* lib/target-supports.exp (check_avx_os_support_available): New.
(check_effective_target_avx_runtime): Use it.

From-SVN: r176590

14 years agoDaily bump.
GCC Administrator [Thu, 21 Jul 2011 00:17:30 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176546

14 years agoDaily bump.
GCC Administrator [Wed, 20 Jul 2011 00:17:48 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176492

14 years agobackport: re PR target/49621 (ICE in trunc_int_for_mode, at explow.c:57)
Jakub Jelinek [Tue, 19 Jul 2011 13:09:48 +0000 (15:09 +0200)] 
backport: re PR target/49621 (ICE in trunc_int_for_mode, at explow.c:57)

Backport from mainline
2011-07-08  Jakub Jelinek  <jakub@redhat.com>

PR target/49621
* config/rs6000/rs6000.c (rs6000_emit_vector_cond_expr): Use
CONST0_RTX (dest_mode) instead of const0_rtx as second operand
of NE.
* config/rs6000/vector.md (vector_select_<mode>,
vector_select_<mode>_uns): Change second operand of NE to
CONST0_RTX (<MODE>mode) instead of const0_rtx.
* config/rs6000/altivec.md (*altivec_vsel<mode>,
*altivec_vsel<mode>_uns): Expect second operand of NE to be
zero_constant of the corresponding vector mode.
* config/rs6000/vsx.md (*vsx_xxsel<mode>, *vsx_xxsel<mode>_uns):
Likewise.

* gcc.target/powerpc/altivec-34.c: New test.

From-SVN: r176458

14 years agobackport: re PR c/49644 (post-increment of promoted operand is incorrect.)
Jakub Jelinek [Tue, 19 Jul 2011 13:08:33 +0000 (15:08 +0200)] 
backport: re PR c/49644 (post-increment of promoted operand is incorrect.)

Backport from mainline
2011-07-07  Jakub Jelinek  <jakub@redhat.com>

PR c/49644
* typeck.c (cp_build_binary_op): For MULT_EXPR and TRUNC_DIV_EXPR with
one non-complex and one complex argument, call save_expr on both
operands.

* g++.dg/torture/pr49644.C: New test.

From-SVN: r176457

14 years agobackport: re PR c/49644 (post-increment of promoted operand is incorrect.)
Jakub Jelinek [Tue, 19 Jul 2011 13:07:23 +0000 (15:07 +0200)] 
backport: re PR c/49644 (post-increment of promoted operand is incorrect.)

Backport from mainline
2011-07-07  Jakub Jelinek  <jakub@redhat.com>

PR c/49644
* c-typeck.c (build_binary_op): For MULT_EXPR and TRUNC_DIV_EXPR with
one non-complex and one complex argument, call c_save_expr on both
operands.

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

From-SVN: r176456

14 years agobackport: re PR middle-end/49640 (Internal compiler in C99 code (using variable-lengt...
Jakub Jelinek [Tue, 19 Jul 2011 13:06:00 +0000 (15:06 +0200)] 
backport: re PR middle-end/49640 (Internal compiler in C99 code (using variable-length arrays) and OpenMP)

Backport from mainline
2011-07-07  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/49640
* gimplify.c (gimplify_compound_lval): For last 2 ARRAY_*REF
operands and last COMPONENT_REF operand call gimplify_expr on it
if non-NULL.

* gcc.dg/gomp/pr49640.c: New test.

From-SVN: r176455

14 years agobackport: re PR rtl-optimization/49619 (ICE in simplify_subreg, at simplify-rtx.c...
Jakub Jelinek [Tue, 19 Jul 2011 12:58:54 +0000 (14:58 +0200)] 
backport: re PR rtl-optimization/49619 (ICE in simplify_subreg, at simplify-rtx.c:5362)

Backport from mainline
2011-07-04  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/49619
* combine.c (combine_simplify_rtx): In PLUS -> IOR simplification
pass VOIDmode as op0_mode to recursive call.

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

From-SVN: r176454

14 years agobackport: re PR c++/49165 (ICE on for-loop/throw combination)
Jakub Jelinek [Tue, 19 Jul 2011 12:56:48 +0000 (14:56 +0200)] 
backport: re PR c++/49165 (ICE on for-loop/throw combination)

Backport from mainline
2011-05-27  Jakub Jelinek  <jakub@redhat.com>

PR c++/49165
* c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
C++ don't call c_common_truthvalue_conversion on void type arms.

* g++.dg/eh/cond6.C: New test.

From-SVN: r176453

14 years agobackport: re PR c++/49165 (ICE on for-loop/throw combination)
Jakub Jelinek [Tue, 19 Jul 2011 12:54:34 +0000 (14:54 +0200)] 
backport: re PR c++/49165 (ICE on for-loop/throw combination)

Backport from mainline
2011-05-26  Jakub Jelinek  <jakub@redhat.com>

PR c++/49165
* gimplify.c (shortcut_cond_r): Don't special case
COND_EXPRs if they have void type on one of their arms.

* g++.dg/eh/cond5.C: New test.

From-SVN: r176452

14 years agobackport: re PR tree-optimization/49161 (Fix VRP on switch stmts)
Jakub Jelinek [Tue, 19 Jul 2011 12:51:29 +0000 (14:51 +0200)] 
backport: re PR tree-optimization/49161 (Fix VRP on switch stmts)

Backport from mainline
2011-05-26  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/49161
* tree-vrp.c (struct case_info): New type.
(compare_case_labels): Sort case_info structs instead of
trees, and not primarily by CASE_LABEL uids but by
label_for_block indexes.
(find_switch_asserts): Put case labels into struct case_info
array instead of TREE_VEC, adjust sorting, compare label_for_block
values instead of CASE_LABELs.

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

From-SVN: r176451

14 years agobackport: re PR c/49120 (bogus "value computed is not used" warning (variable-length...
Jakub Jelinek [Tue, 19 Jul 2011 12:48:50 +0000 (14:48 +0200)] 
backport: re PR c/49120 (bogus "value computed is not used" warning (variable-length array in compound statement))

Backport from mainline
2011-05-23  Jakub Jelinek  <jakub@redhat.com>

PR c/49120
* c-decl.c (start_decl): Convert expr to void_type_node.

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

From-SVN: r176450

14 years agobackport: re PR middle-end/48973 (Inliner bug with one-bit (1-bit) bitfield)
Jakub Jelinek [Tue, 19 Jul 2011 12:46:39 +0000 (14:46 +0200)] 
backport: re PR middle-end/48973 (Inliner bug with one-bit (1-bit) bitfield)

Backport from mainline
2011-05-23  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/48973
* expr.c (expand_expr_real_2) <case LT_EXPR>: If do_store_flag
failed and the comparison has a single bit signed type, use
constm1_rtx instead of const1_rtx for true value.
(do_store_flag): If ops->type is single bit signed type, disable
signel bit test optimization and pass -1 instead of 1 as last
parameter to emit_store_flag_force.

* gcc.c-torture/execute/pr48973-1.c: New test.
* gcc.c-torture/execute/pr48973-2.c: New test.

From-SVN: r176449

14 years agobackport: re PR c++/49039 (LLVM StringRef miscompilation with -O2)
Jakub Jelinek [Tue, 19 Jul 2011 12:44:46 +0000 (14:44 +0200)] 
backport: re PR c++/49039 (LLVM StringRef miscompilation with -O2)

Backport from mainline
2011-05-18  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/49039
* tree-vrp.c (extract_range_from_binary_expr): For
MIN_EXPR <~[a, b], ~[c, d]> and MAX_EXPR <~[a, b], ~[c, d]>
return ~[MAX_EXPR <a, c>, MIN_EXPR <b, d>].

* gcc.c-torture/execute/pr49039.c: New test.
* gcc.dg/tree-ssa/pr49039.c: New test.
* g++.dg/torture/pr49039.C: New test.

From-SVN: r176448

14 years agoDaily bump.
GCC Administrator [Tue, 19 Jul 2011 00:17:41 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176428

14 years agore PR boehm-gc/49381 (Unresolved symbols in libgcjgc.a when linking gctest)
Rainer Orth [Mon, 18 Jul 2011 14:30:14 +0000 (14:30 +0000)] 
re PR boehm-gc/49381 (Unresolved symbols in libgcjgc.a when linking gctest)

PR boehm-gc/49381
Backport from mainline:
2011-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* configure.ac (*-*-solaris2*): Add -lrt to THREADLIBS.
* configure: Regenerate.

From-SVN: r176401

14 years agoDaily bump.
GCC Administrator [Mon, 18 Jul 2011 00:17:29 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176382

14 years agore PR target/49746 (Generated PA-RISC2.0w code cannot be assembled by GNU as-2.21.1)
John David Anglin [Sun, 17 Jul 2011 21:32:56 +0000 (21:32 +0000)] 
re PR target/49746 (Generated PA-RISC2.0w code cannot be assembled by GNU as-2.21.1)

PR target/49746
Revert:
2010-12-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

* config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean
patterns.

From-SVN: r176379

14 years agoDaily bump.
GCC Administrator [Sun, 17 Jul 2011 00:17:16 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176362

14 years agoDaily bump.
GCC Administrator [Sat, 16 Jul 2011 00:17:14 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176345

14 years agore PR target/49723 (gcc.c-torture/compile/pr46934.c: ICE in do_SUBST, at combine...
John David Anglin [Fri, 15 Jul 2011 18:15:16 +0000 (18:15 +0000)] 
re PR target/49723 (gcc.c-torture/compile/pr46934.c: ICE in do_SUBST, at combine.c:707 at -O1 and above)

PR target/49723
* config/pa/pa.md (casesi): Use gen_int_mode instead of GEN_INT.

From-SVN: r176321

14 years agore PR testsuite/49643 (FAIL: g++.dg/rtti/anon-ns1.C scan-assembler "*N[^"]+1AE")
Jason Merrill [Fri, 15 Jul 2011 13:40:09 +0000 (09:40 -0400)] 
re PR testsuite/49643 (FAIL: g++.dg/rtti/anon-ns1.C scan-assembler "*N[^"]+1AE")

PR testsuite/49643
* g++.dg/rtti/anon-ns1.C: Allow for null-termination.

From-SVN: r176316

14 years agore PR ada/46350 (s-taprop.adb:891:40: warning: redundant conversion, expression is...
John David Anglin [Fri, 15 Jul 2011 02:37:23 +0000 (02:37 +0000)] 
re PR ada/46350 (s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID")

PR ada/46350
* s-taprop-hpux-dce.adb (Abort_Task): Remove unnecessary cast.

From-SVN: r176304

14 years agoDaily bump.
GCC Administrator [Fri, 15 Jul 2011 00:17:36 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176299

14 years agoDaily bump.
GCC Administrator [Thu, 14 Jul 2011 00:17:24 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176257

14 years agoDaily bump.
GCC Administrator [Wed, 13 Jul 2011 00:17:34 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176220

14 years agobackport: re PR rtl-optimization/49014 (ICE: in reset_sched_cycles_in_current_ebb...
Andrey Belevantsev [Tue, 12 Jul 2011 12:12:36 +0000 (16:12 +0400)] 
backport: re PR rtl-optimization/49014 (ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7132 with even more insane set of flags)

        Backport from mainline
        2011-05-25  Andrey Belevantsev  <abel@ispras.ru>

        PR rtl-optimization/49014
        * config/i386/athlon.md (athlon_ssecomi): Change type to ssecomi.

From-SVN: r176197

14 years agoDaily bump.
GCC Administrator [Tue, 12 Jul 2011 00:16:56 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r176190

14 years agoDaily bump.
GCC Administrator [Mon, 11 Jul 2011 00:17:55 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176131

14 years agoDaily bump.
GCC Administrator [Sun, 10 Jul 2011 00:17:15 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176113

14 years agoDaily bump.
GCC Administrator [Sat, 9 Jul 2011 00:17:09 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176068

14 years agoDaily bump.
GCC Administrator [Fri, 8 Jul 2011 00:17:05 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r176023

14 years agore PR target/49660 (64-bit gcc doesn't enable -mv8plus with -m32 on Solaris/SPARC)
Eric Botcazou [Thu, 7 Jul 2011 20:43:43 +0000 (20:43 +0000)] 
re PR target/49660 (64-bit gcc doesn't enable -mv8plus with -m32 on Solaris/SPARC)

PR target/49660
* config/sparc/sol2.h [TARGET_64BIT_DEFAULT] (TARGET_DEFAULT): Add
MASK_V8PLUS, remove commented out flag and reorder.

Backport from mainline
2011-06-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* config/sparc/sol2-64.h (TARGET_DEFAULT): Remove.
(TARGET_64BIT_DEFAULT): Define.
* config.gcc (sparc*-*-solaris2*): Move sparc/sol2-64.h to front
of tm_file.
* config/sparc/sol2.h [TARGET_64BIT_DEFAULT] (TARGET_DEFAULT): Define.

From-SVN: r176010

14 years agoDaily bump.
GCC Administrator [Thu, 7 Jul 2011 00:17:23 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175951

14 years agoDaily bump.
GCC Administrator [Wed, 6 Jul 2011 00:17:51 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175898

14 years agorun_acats (which): Extract last field from type -p, type output only if command succe...
Rainer Orth [Tue, 5 Jul 2011 10:24:59 +0000 (10:24 +0000)] 
run_acats (which): Extract last field from type -p, type output only if command succeeded.

* ada/acats/run_acats (which): Extract last field from type -p,
type output only if command succeeded.

From-SVN: r175845

14 years agoDaily bump.
GCC Administrator [Tue, 5 Jul 2011 00:17:18 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175838

14 years agobackport: re PR tree-optimization/48822 (G++ gets stucks and never finishes compilati...
Richard Guenther [Mon, 4 Jul 2011 14:24:10 +0000 (14:24 +0000)] 
backport: re PR tree-optimization/48822 (G++ gets stucks and never finishes compilation when enabling -O2/3 optimization options.)

2011-07-04  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2011-05-02  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48822
* tree-ssa-sccvn.c (set_ssa_val_to): Never go up the lattice.

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

From-SVN: r175813

14 years agobackport: re PR tree-optimization/49115 (invalid return value optimization (?) when...
Richard Guenther [Mon, 4 Jul 2011 13:25:21 +0000 (13:25 +0000)] 
backport: re PR tree-optimization/49115 (invalid return value optimization (?) when exception is thrown and caught)

2011-07-04  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2011-05-23  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49115
* tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Likewise.

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

From-SVN: r175812

14 years agore PR tree-optimization/49615 (internal compiler error: verify_stmts failed / LHS...
Richard Guenther [Mon, 4 Jul 2011 12:18:22 +0000 (12:18 +0000)] 
re PR tree-optimization/49615 (internal compiler error: verify_stmts failed / LHS in noreturn call with pointer-to-never-returning-member)

2011-07-04  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49615
* tree-cfgcleanup.c (split_bbs_on_noreturn_calls): Fix
basic-block index check.

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

From-SVN: r175805

14 years agoDaily bump.
GCC Administrator [Mon, 4 Jul 2011 00:18:10 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r175791

14 years agoDaily bump.
GCC Administrator [Sun, 3 Jul 2011 00:17:15 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175783

14 years agoDaily bump.
GCC Administrator [Sat, 2 Jul 2011 00:17:16 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175773

14 years agoDaily bump.
GCC Administrator [Fri, 1 Jul 2011 00:17:03 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r175740

14 years agore PR tree-optimization/49572 (gcc.dg/tree-ssa/20030709-2.c scan-tree-dump-times...
Eric Botcazou [Thu, 30 Jun 2011 19:37:41 +0000 (19:37 +0000)] 
re PR tree-optimization/49572 (gcc.dg/tree-ssa/20030709-2.c scan-tree-dump-times cddce2 ".rtmem" 0)

PR tree-optimization/49572
* tree-ssa-dom.c (initialize_hash_element) <GIMPLE_SINGLE_RHS>: Use the
type of the RHS instead of that of the LHS for the expression type.

From-SVN: r175723

14 years agobackport: re PR other/42333 (complex division failure on darwin10 with -lm)
Jack Howarth [Thu, 30 Jun 2011 16:31:23 +0000 (16:31 +0000)] 
backport: re PR other/42333 (complex division failure on darwin10 with -lm)

2011-06-30  Jack Howarth  <howarth@bromo.med.uc.edu>

        Backport from mainline
        2011-02-07 Mike Stump  <mikestump@comcast.net>

        PR target/42333
        Add __ieee_divdc3 entry point.
        * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3
        entry point.
        (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins.
        * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise.
        * config/darwin.c (darwin_rename_builtins): Add.
        * config/darwin-protos.h (darwin_rename_builtins): Add.

From-SVN: r175711