]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:11:59 +0000 (14:11 +0000)] 
Mark ChangeLog

From-SVN: r173106

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:11:53 +0000 (14:11 +0000)] 
Mark ChangeLog

From-SVN: r173105

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:11:47 +0000 (14:11 +0000)] 
Mark ChangeLog

From-SVN: r173104

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:11:39 +0000 (14:11 +0000)] 
Mark ChangeLog

From-SVN: r173103

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:11:33 +0000 (14:11 +0000)] 
Mark ChangeLog

From-SVN: r173102

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:11:26 +0000 (14:11 +0000)] 
Mark ChangeLog

From-SVN: r173101

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:11:21 +0000 (14:11 +0000)] 
Mark ChangeLog

From-SVN: r173100

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:11:15 +0000 (14:11 +0000)] 
Mark ChangeLog

From-SVN: r173099

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:11:09 +0000 (14:11 +0000)] 
Mark ChangeLog

From-SVN: r173098

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:11:02 +0000 (14:11 +0000)] 
Mark ChangeLog

From-SVN: r173097

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:10:57 +0000 (14:10 +0000)] 
Mark ChangeLog

From-SVN: r173096

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:10:51 +0000 (14:10 +0000)] 
Mark ChangeLog

From-SVN: r173095

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:10:44 +0000 (14:10 +0000)] 
Mark ChangeLog

From-SVN: r173094

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:10:37 +0000 (14:10 +0000)] 
Mark ChangeLog

From-SVN: r173093

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:10:31 +0000 (14:10 +0000)] 
Mark ChangeLog

From-SVN: r173092

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:10:25 +0000 (14:10 +0000)] 
Mark ChangeLog

From-SVN: r173091

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:10:19 +0000 (14:10 +0000)] 
Mark ChangeLog

From-SVN: r173090

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:10:13 +0000 (14:10 +0000)] 
Mark ChangeLog

From-SVN: r173089

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:10:07 +0000 (14:10 +0000)] 
Mark ChangeLog

From-SVN: r173088

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:10:01 +0000 (14:10 +0000)] 
Mark ChangeLog

From-SVN: r173087

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:09:54 +0000 (14:09 +0000)] 
Mark ChangeLog

From-SVN: r173086

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:09:48 +0000 (14:09 +0000)] 
Mark ChangeLog

From-SVN: r173085

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:09:41 +0000 (14:09 +0000)] 
Mark ChangeLog

From-SVN: r173084

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:09:36 +0000 (14:09 +0000)] 
Mark ChangeLog

From-SVN: r173083

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:09:30 +0000 (14:09 +0000)] 
Mark ChangeLog

From-SVN: r173082

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:09:24 +0000 (14:09 +0000)] 
Mark ChangeLog

From-SVN: r173081

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:09:18 +0000 (14:09 +0000)] 
Mark ChangeLog

From-SVN: r173080

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:09:12 +0000 (14:09 +0000)] 
Mark ChangeLog

From-SVN: r173079

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:09:08 +0000 (14:09 +0000)] 
Mark ChangeLog

From-SVN: r173078

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:09:02 +0000 (14:09 +0000)] 
Mark ChangeLog

From-SVN: r173077

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:08:55 +0000 (14:08 +0000)] 
Mark ChangeLog

From-SVN: r173076

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:08:49 +0000 (14:08 +0000)] 
Mark ChangeLog

From-SVN: r173075

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:08:43 +0000 (14:08 +0000)] 
Mark ChangeLog

From-SVN: r173074

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:08:38 +0000 (14:08 +0000)] 
Mark ChangeLog

From-SVN: r173073

14 years agoMark ChangeLog
Richard Biener [Thu, 28 Apr 2011 14:08:32 +0000 (14:08 +0000)] 
Mark ChangeLog

From-SVN: r173072

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

From-SVN: r173052

14 years agoBackport fix for PRs c++/46824, c++/42260, c++/45383
Dodji Seketeli [Wed, 27 Apr 2011 12:07:34 +0000 (12:07 +0000)] 
Backport fix for PRs c++/46824, c++/42260, c++/45383

gcc/cp

* call.c (add_builtin_candidate)<case INDIRECT_REF>: The type of
the argument of the indirection operator should not be dependent.
Fix the comment.

gcc/testsuite

* g++.dg/conversion/cast2.C: New test.
* g++.dg/conversion/cast3.C: Likewise.
* g++.dg/conversion/cond4.C: Likewise.

From-SVN: r173025

14 years agoRevert "Fix PR c++/42260"
Dodji Seketeli [Wed, 27 Apr 2011 12:07:16 +0000 (14:07 +0200)] 
Revert "Fix PR c++/42260"

gcc/cp

* cp-tree.h (lookup_conversions): Revert adding new bool
parameter to declaration.
* search.c (lookup_conversions): Revert using new bool parameter
in definition.
* call.c (add_builtin_candidates): Revert "Don't lookup
template conversion".
(convert_class_to_reference, build_user_type_conversion_1)
(build_op_call): Revert Adjustment.
* cvt.c (build_expr_type_conversion): Likewise.

gcc/testsuite

* g++.dg/conversion/cast2.C: Remove file.

From-SVN: r173024

14 years agore PR c++/42687 (The prevention of ADL with the help of parentheses doesn't work)
Jason Merrill [Wed, 27 Apr 2011 05:20:46 +0000 (01:20 -0400)] 
re PR c++/42687 (The prevention of ADL with the help of parentheses doesn't work)

PR c++/42687
* parser.c (cp_parser_primary_expression): Set *idk to
CP_ID_KIND_NONE for a parenthesized identifier.

From-SVN: r173010

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

From-SVN: r173000

14 years agobackport: re PR preprocessor/48740 (Raw C++0x strings and trigraphs mix badly)
Jakub Jelinek [Tue, 26 Apr 2011 10:04:18 +0000 (12:04 +0200)] 
backport: re PR preprocessor/48740 (Raw C++0x strings and trigraphs mix badly)

2011-04-26  Jakub Jelinek  <jakub@redhat.com>

Backported from mainline
2011-04-24  Jakub Jelinek  <jakub@redhat.com>

PR preprocessor/48740
* lex.c (lex_raw_string): When raw string ends with
??) followed by raw prefix and ", ensure it is preprocessed
with ??) rather than ??].

* c-c++-common/raw-string-11.c: New test.

From-SVN: r172956

14 years agoDaily bump.
GCC Administrator [Tue, 26 Apr 2011 00:18:25 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r172948

14 years agoDaily bump.
GCC Administrator [Mon, 25 Apr 2011 00:17:39 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r172927

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

From-SVN: r172907

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

From-SVN: r172887

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

From-SVN: r172851

14 years agore PR middle-end/48712 (ICE in dfs_enumerate_from, at cfganal.c:1207, with -O3)
Richard Guenther [Thu, 21 Apr 2011 15:51:39 +0000 (15:51 +0000)] 
re PR middle-end/48712 (ICE in dfs_enumerate_from, at cfganal.c:1207, with -O3)

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

PR middle-end/48712
Backport from 4.6 branch
2011-03-07  Zdenek Dvorak  <ook@ucw.cz>

PR bootstrap/48000
* cfgloopmanip.c (fix_bb_placements): Return immediately
if FROM is BASE_LOOP's header.

From-SVN: r172833

14 years agore PR c++/48594 (Rejects valid with pointer-to-member in template)
Jason Merrill [Thu, 21 Apr 2011 02:56:39 +0000 (22:56 -0400)] 
re PR c++/48594 (Rejects valid with pointer-to-member in template)

PR c++/48594
* decl2.c (build_offset_ref_call_from_tree): Fix calling a functor
or pointer to (non-member) function.

From-SVN: r172803

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

From-SVN: r172800

14 years agobackport: re PR middle-end/47976 (Recent gfortran.dg/actual_array_constructor_3.f90...
Richard Guenther [Wed, 20 Apr 2011 11:05:09 +0000 (11:05 +0000)] 
backport: re PR middle-end/47976 (Recent gfortran.dg/actual_array_constructor_3.f90 regression on arm-linux-gnueabi)

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

        Backport from 4.6 branch
        2011-04-19  Bernd Schmidt  <bernds@codesourcery.com>

PR fortran/47976
* reload1.c (inc_for_reload): Return void. All callers changed.
(emit_input_reload_insns): Don't try to delete previous output
reloads to a register, or record spill_reg_store for autoincs.

From-SVN: r172766

14 years agore PR c++/46304 (g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770)
Jason Merrill [Wed, 20 Apr 2011 06:31:07 +0000 (02:31 -0400)] 
re PR c++/46304 (g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770)

PR c++/46304
* typeck.c (cp_build_binary_op): Fold COMPLEX_EXPR.

From-SVN: r172755

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

From-SVN: r172748

14 years agore PR c++/45267 (inlining fails with -m32)
Jason Merrill [Wed, 20 Apr 2011 00:06:19 +0000 (20:06 -0400)] 
re PR c++/45267 (inlining fails with -m32)

PR c++/45267
* decl.c (duplicate_decls): Keep always_inline attribute
in sync with DECL_DISREGARD_INLINE_LIMITS.

From-SVN: r172745

14 years agobackport: [multiple changes]
Richard Guenther [Tue, 19 Apr 2011 09:19:33 +0000 (09:19 +0000)] 
backport: [multiple changes]

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

Backported from 4.6 branch
2011-03-29  Jakub Jelinek  <jakub@redhat.com>

PR preprocessor/48248
* c-ppoutput.c (print): Add src_file field.
(init_pp_output): Initialize it.
(maybe_print_line): Don't optimize by adding up to 8 newlines
if map->to_file and print.src_file are different file.
(print_line): Update print.src_file.

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

PR preprocessor/48248
* c-ppoutput.c (maybe_print_line): Avoid changing -P behavior.

From-SVN: r172703

14 years agore PR tree-optimization/46188 (-fipa-cp removes destructor call)
Richard Guenther [Tue, 19 Apr 2011 08:59:45 +0000 (08:59 +0000)] 
re PR tree-optimization/46188 (-fipa-cp removes destructor call)

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

PR tree-optimization/46188
Backported from 4.6 branch
2010-05-26  Jan Hubicka  <jh@suse.cz>

* cgraphunit.c (clone_of_p): Remove.
(verify_cgraph_node): Do not verify clones.
(cgraph_materialize_all_clones): Do no redirection here.
* ipa-inline.c (inline_transform): Do redirection here.

From-SVN: r172698

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

From-SVN: r172687

14 years ago* dwarf2out.c (is_redundant_typedef): Add 'inline' to prototype.
Eric Botcazou [Mon, 18 Apr 2011 17:38:13 +0000 (17:38 +0000)] 
* dwarf2out.c (is_redundant_typedef): Add 'inline' to prototype.

From-SVN: r172662

14 years agobackport: [multiple changes]
Richard Guenther [Mon, 18 Apr 2011 15:25:17 +0000 (15:25 +0000)] 
backport: [multiple changes]

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

Backported from 4.6 branch
2011-01-19  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/47290
* tree-eh.c (infinite_empty_loop_p): New function.
(cleanup_empty_eh): Use it.

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

2010-05-29  Jan Hubicka  <jh@suse.cz>

PR tree-optimization/46364
* cgraphunit.c (cgraph_materialize_clone): Only remove calles, refs
and body;
not the whole node for masters of materialized clones.

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

From-SVN: r172653

14 years agobackport: [multiple changes]
Richard Biener [Mon, 18 Apr 2011 14:37:08 +0000 (14:37 +0000)] 
backport: [multiple changes]

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

    Backported from 4.6 branch
    2011-03-11  Jakub Jelinek  <jakub@redhat.com>

    PR c++/48035
    * init.c (build_zero_init_1): Extracted from build_zero_init.
    Add FIELD_SIZE argument, if non-NULL and field bit_position
    as not smaller than that, don't add that field's initializer.
    Pass DECL_SIZE as last argument to build_zero_init_1
    for DECL_FIELD_IS_BASE fields.
    (build_zero_init): Use build_zero_init_1.

    * g++.dg/inherit/virtual8.C: New test.

    2011-03-05  Zdenek Dvorak  <ook@ucw.cz>

    PR rtl-optimization/47899
    * cfgloopmanip.c (fix_bb_placements): Fix first argument
    to flow_loop_nested_p when moving the loop upward.

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

    2011-03-15  Richard Guenther  <rguenther@suse.de>

    PR middle-end/48031
    * fold-const.c (fold_indirect_ref_1): Do not create new variable-sized
    or variable-indexed array accesses when in gimple form.

From-SVN: r172652

14 years agobackport: [multiple changes]
Richard Guenther [Mon, 18 Apr 2011 14:02:22 +0000 (14:02 +0000)] 
backport: [multiple changes]

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

Backported from 4.6 branch
2011-03-11  Jakub Jelinek  <jakub@redhat.com>

PR c++/48035
* init.c (build_zero_init_1): Extracted from build_zero_init.
Add FIELD_SIZE argument, if non-NULL and field bit_position
as not smaller than that, don't add that field's initializer.
Pass DECL_SIZE as last argument to build_zero_init_1
for DECL_FIELD_IS_BASE fields.
(build_zero_init): Use build_zero_init_1.

* g++.dg/inherit/virtual8.C: New test.

2011-03-05  Zdenek Dvorak  <ook@ucw.cz>

PR rtl-optimization/47899
* cfgloopmanip.c (fix_bb_placements): Fix first argument
to flow_loop_nested_p when moving the loop upward.

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

2011-03-15  Richard Guenther  <rguenther@suse.de>

PR middle-end/48031
* fold-const.c (fold_indirect_ref_1): Do not create new variable-sized
or variable-indexed array accesses when in gimple form.

From-SVN: r172647

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

From-SVN: r172628

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

From-SVN: r172600

14 years agopa.c (pa_secondary_reload): Fix last commit.
John David Anglin [Sat, 16 Apr 2011 18:09:58 +0000 (18:09 +0000)] 
pa.c (pa_secondary_reload): Fix last commit.

* pa.c (pa_secondary_reload): Fix last commit.

From-SVN: r172591

14 years agore PR target/48366 (ICE in extract_constrain_insn_cached, at recog.c:2024)
John David Anglin [Sat, 16 Apr 2011 17:10:29 +0000 (17:10 +0000)] 
re PR target/48366 (ICE in extract_constrain_insn_cached, at recog.c:2024)

* config/pa/pa.h (REGISTER_MOVE_COST): Increase to 18 cost of
move from floating point to shift amount register.

Backport from mainline:
2011-04-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

PR target/48366
* config/pa/pa.c (emit_move_sequence): Remove secondary reload
support for floating point to shift amount amount register copies.
(pa_secondary_reload): Return GENERAL_REGS for floating point/shift
amount register copies.
* config/pa/pa32-regs.h (HARD_REGNO_MODE_OK): For shift amount
register, return false if mode isn't a scalar integer mode.
* config/pa/pa64-regs.h (HARD_REGNO_MODE_OK): Likewise.

From-SVN: r172589

14 years agobackport: re PR target/48605 (gcc.target/i386/sse4_1-insertps-2.c FAILs with -mtune...
Jakub Jelinek [Sat, 16 Apr 2011 07:53:39 +0000 (09:53 +0200)] 
backport: re PR target/48605 (gcc.target/i386/sse4_1-insertps-2.c FAILs with -mtune=geode - instruction insertps with memory operands behaves differently)

Backported from 4.6 branch
2011-04-15  Jakub Jelinek  <jakub@redhat.com>

PR target/48605
* config/i386/sse.md (avx_insertps, sse4_1_insertps): If operands[2]
is a MEM, offset it as needed based on top 2 bits in operands[3],
change MEM mode to SFmode and mask those 2 bits away from operands[3].

* gcc.target/i386/sse4_1-insertps-3.c: New test.
* gcc.target/i386/sse4_1-insertps-4.c: New test.
* gcc.target/i386/avx-insertps-3.c: New test.
* gcc.target/i386/avx-insertps-4.c: New test.

From-SVN: r172538

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

From-SVN: r172528

14 years agojni.exp (gcj_jni_get_cxxflags_invocation): Add $libiconv to cxxflags for alpha*-dec...
Rainer Orth [Fri, 15 Apr 2011 17:20:43 +0000 (17:20 +0000)] 
jni.exp (gcj_jni_get_cxxflags_invocation): Add $libiconv to cxxflags for alpha*-dec-osf*.

* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
Add $libiconv to cxxflags for alpha*-dec-osf*.

From-SVN: r172509

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

From-SVN: r172464

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

From-SVN: r172406

14 years agorx.md (movmemsi): Do not use this pattern when volatile pointers are involved.
Nick Clifton [Wed, 13 Apr 2011 11:30:48 +0000 (11:30 +0000)] 
rx.md (movmemsi): Do not use this pattern when volatile pointers are involved.

* config/rx/rx.md (movmemsi): Do not use this pattern when
volatile pointers are involved.

From-SVN: r172367

14 years agoDaily bump.
GCC Administrator [Wed, 13 Apr 2011 00:18:08 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r172351

14 years agogcc:
Rainer Orth [Tue, 12 Apr 2011 16:37:04 +0000 (16:37 +0000)] 
gcc:

Backport from mainline:
2011-02-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

PR testsuite/47400
* doc/sourcebuild.texi (Require Support): Document
dg-require-ascii-locale.

gcc/testsuite:
Backport from mainline:
2011-02-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

PR testsuite/47400
* lib/target-supports.exp (check_ascii_locale_available): New proc.
* lib/target-supports-dg.exp (dg-require-ascii-locale): New proc.
* gcc.dg/attr-alias-5.c: Use dg-require-ascii-locale.
* gcc.dg/ucnid-10.c: Likewise.
* gcc.dg/ucnid-13.c: Likewise.
* gcc.dg/ucnid-7.c: Likewise.
* gcc.dg/ucnid-8.c: Likewise.
Adapt dg-warning line number.

From-SVN: r172326

14 years agore PR target/48090 (gcc 4.5.2 miscompilation when building on arm)
Ramana Radhakrishnan [Tue, 12 Apr 2011 13:52:46 +0000 (13:52 +0000)] 
re PR target/48090 (gcc 4.5.2 miscompilation when building on arm)

Fix PR target/48090

From-SVN: r172320

14 years agobackport: osf.h (MAX_OFILE_ALIGNMENT): Define.
Rainer Orth [Tue, 12 Apr 2011 13:05:40 +0000 (13:05 +0000)] 
backport: osf.h (MAX_OFILE_ALIGNMENT): Define.

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

* config/alpha/osf.h (MAX_OFILE_ALIGNMENT): Define.

From-SVN: r172317

14 years agoDaily bump.
GCC Administrator [Tue, 12 Apr 2011 00:18:09 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r172290

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

From-SVN: r172250

14 years agoDaily bump.
GCC Administrator [Sun, 10 Apr 2011 00:18:01 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r172234

14 years agoBail out rather than crashing in array_type_nelts if TYPE_MAX_VALUE is null.
Duncan Sands [Sat, 9 Apr 2011 16:21:20 +0000 (18:21 +0200)] 
Bail out rather than crashing in array_type_nelts if TYPE_MAX_VALUE is null.

From-SVN: r172228

14 years agoDaily bump.
GCC Administrator [Sat, 9 Apr 2011 00:18:01 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r172222

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

From-SVN: r172153

14 years agosse.md (avx_cmps<ssemodesuffixf2c><mode>3): Add missing output register constraint.
Uros Bizjak [Thu, 7 Apr 2011 21:50:05 +0000 (23:50 +0200)] 
sse.md (avx_cmps<ssemodesuffixf2c><mode>3): Add missing output register constraint.

* config/i386/sse.md (avx_cmps<ssemodesuffixf2c><mode>3): Add
missing output register constraint.
(*vec_concatv2sf_avx): Fix wrong register constraint in
alternative 3 of operand 1.
(*vec_set<mode>_0_avx): Avoid combining registers from different
units in a single alternative.
(*vec_set<mode>_0_sse4_1): Ditto.
(*vec_set<mode>_0_sse2): Ditto.
(vec_set<mode>_0): Ditto.
(sse2_storehpd): Ditto.
(sse2_loadhpd): Ditto.
(sse4_1_insertps): Use nonimmediate_operand for operand 2.
* config/i386/predicates.md (sse_comparison_operator): Do not
define as special predicate.

From-SVN: r172150

14 years agore PR fortran/48117 (ICE: OpenMP; in build_int_cst_wide, at tree.c:1178)
Jakub Jelinek [Thu, 7 Apr 2011 18:34:14 +0000 (20:34 +0200)] 
re PR fortran/48117 (ICE: OpenMP; in build_int_cst_wide, at tree.c:1178)

PR fortran/48117
* gfortran.dg/gomp/pr48117.f90: New test.

From-SVN: r172121

14 years agobackport: re PR debug/48466 (Wrong variable locations at -O0 on i686)
Jakub Jelinek [Thu, 7 Apr 2011 18:30:36 +0000 (20:30 +0200)] 
backport: re PR debug/48466 (Wrong variable locations at -O0 on i686)

Backported from mainline
2011-04-06  Jakub Jelinek  <jakub@redhat.com>

PR debug/48466
* dwarf2out.c (based_loc_descr): If drap_reg is INVALID_REGNUM, use
as base_reg whatever register reg has been eliminated to, instead
of hardcoding STACK_POINTER_REGNUM.

* gcc.dg/guality/pr36977.c: New test.
* gcc.dg/guality/pr48466.c: New test.

From-SVN: r172118

14 years agobackport: re PR debug/48204 (ICE: in decimal_to_decnumber, at dfp.c:115 with -fno...
Jakub Jelinek [Thu, 7 Apr 2011 18:29:28 +0000 (20:29 +0200)] 
backport: re PR debug/48204 (ICE: in decimal_to_decnumber, at dfp.c:115 with -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-fre -g)

Backported from mainline
2011-03-24  Jakub Jelinek  <jakub@redhat.com>

PR debug/48204
* simplify-rtx.c (simplify_const_unary_operation): Call
real_convert when changing mode class with FLOAT_EXTEND.

* gcc.dg/dfp/pr48204.c: New test.

From-SVN: r172117

14 years agobackport: re PR rtl-optimization/48141 (DSE compile time hog)
Jakub Jelinek [Thu, 7 Apr 2011 18:28:29 +0000 (20:28 +0200)] 
backport: re PR rtl-optimization/48141 (DSE compile time hog)

Backported from mainline
2011-03-17  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/48141
* dse.c (record_store): If no positions are needed in an insn
that cannot be deleted, at least unchain it from active_local_stores.

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

From-SVN: r172116

14 years agobackport: re PR c/47963 (ICE: tree check: expected tree that contains 'decl common...
Jakub Jelinek [Thu, 7 Apr 2011 18:27:20 +0000 (20:27 +0200)] 
backport: re PR c/47963 (ICE: tree check: expected tree that contains 'decl common' structure, have 'integer_cst' in is_global_var, at tree-flow-inline.h:599 on invalid code with -fopenmp)

Backported from mainline
2011-03-03  Jakub Jelinek  <jakub@redhat.com>

PR c/47963
* gimplify.c (omp_add_variable): Only call omp_notice_variable
on TYPE_SIZE_UNIT if it is a DECL.

* gcc.dg/gomp/pr47963.c: New test.
* g++.dg/gomp/pr47963.C: New test.

From-SVN: r172115

14 years agobackport: re PR c/47809 (ICE in gimplify_expr, at gimplify.c:7291)
Jakub Jelinek [Thu, 7 Apr 2011 18:25:50 +0000 (20:25 +0200)] 
backport: re PR c/47809 (ICE in gimplify_expr, at gimplify.c:7291)

Backported from mainline
2011-02-19  Jakub Jelinek  <jakub@redhat.com>

PR c/47809
* c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.

* gcc.target/i386/pr47809.c: New test.

From-SVN: r172114

14 years agobackport: re PR c/47473 (Incorrect computation with complex numbers when using -std...
Jakub Jelinek [Thu, 7 Apr 2011 18:24:43 +0000 (20:24 +0200)] 
backport: re PR c/47473 (Incorrect computation with complex numbers when using -std=c99)

Backported from mainline
2011-01-26  Jakub Jelinek  <jakub@redhat.com>

PR c/47473
* c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
REAL_TYPE.

* gcc.dg/torture/pr47473.c: New test.

From-SVN: r172113

14 years agore PR tree-optimization/47391 (read from const volatile incorrectly eliminated)
Jakub Jelinek [Thu, 7 Apr 2011 18:22:50 +0000 (20:22 +0200)] 
re PR tree-optimization/47391 (read from const volatile incorrectly eliminated)

PR tree-optimization/47391
* tree-ssa-ccp.c (get_symbol_constant_value): Don't optimize
if sym is volatile.

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

PR tree-optimization/47391
* gcc.dg/pr47391.c: New test.

From-SVN: r172112

14 years agobackport: omp-low.c (scan_omp_1_op): Don't change type of INTEGER_CSTs directly.
Jakub Jelinek [Thu, 7 Apr 2011 18:21:10 +0000 (20:21 +0200)] 
backport: omp-low.c (scan_omp_1_op): Don't change type of INTEGER_CSTs directly.

Backported from mainline
2010-07-01  Richard Guenther  <rguenther@suse.de>

* omp-low.c (scan_omp_1_op): Don't change type of INTEGER_CSTs
directly.

From-SVN: r172111

14 years agobackport: re PR rtl-optimization/48144 (ICE: in code_motion_path_driver, at sel-sched...
Andrey Belevantsev [Thu, 7 Apr 2011 07:05:16 +0000 (11:05 +0400)] 
backport: re PR rtl-optimization/48144 (ICE: in code_motion_path_driver, at sel-sched.c:6575 with -fselective-scheduling2 and custom flags)

        Backport from mainline
        2011-03-26  Andrey Belevantsev  <abel@ispras.ru>

        PR rtl-optimization/48144
        * sel-sched-ir.c (merge_history_vect): Factor out from ...
        (merge_expr_data): ... here.
        (av_set_intersect): Rename to av_set_code_motion_filter.
        Update all callers.  Call merge_history_vect when an expression
        is found in both sets.
        * sel-sched-ir.h (av_set_code_motion_filter): Add prototype.

From-SVN: r172089

14 years agobackport: re PR rtl-optimization/45352 (ICE: in reset_sched_cycles_in_current_ebb...
Andrey Belevantsev [Thu, 7 Apr 2011 07:04:02 +0000 (11:04 +0400)] 
backport: re PR rtl-optimization/45352 (ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7058)

        Backport from mainline
        2011-01-13  Andrey Belevantsev  <abel@ispras.ru>

        PR rtl-optimization/45352
        * sel-sched.c: Update copyright years.
        (reset_sched_cycles_in_current_ebb): Also recheck the DFA state
        in the advancing loop when we have issued issue_rate insns.

        Backport from mainline
        2010-12-22  Andrey Belevantsev  <abel@ispras.ru>

        PR rtl-optimization/45352
        PR rtl-optimization/46521
        PR rtl-optimization/46522
        * sel-sched.c (reset_sched_cycles_in_current_ebb): Recheck the DFA state
        on the last iteration of the advancing loop.
        (sel_sched_region_1): Propagate the rescheduling bit to the next block
        also for empty blocks.

        Backport from mainline
        2010-11-08  Andrey Belevantsev  <abel@ispras.ru>

        PR rtl-optimization/45352
        * sel-sched.c (find_best_expr): Do not set pneed_stall when
        the variable_issue hook is not implemented.
        (fill_insns): Remove dead variable stall_iterations.
        (init_seqno_1): Force EBB start for resetting sched cycles on any
        successor blocks of the rescheduled region.
        (sel_sched_region_1): Use bitmap_bit_p instead of bitmap_clear_bit.
        (reset_sched_cycles_in_current_ebb): Add debug printing.
        New variable issued_insns.  Advance state when we have issued
        issue_rate insns.

From-SVN: r172088

14 years agobackport: re PR rtl-optimization/47036 (ICE: in move_cond_jump, at sel-sched.c:4901...
Andrey Belevantsev [Thu, 7 Apr 2011 07:02:34 +0000 (11:02 +0400)] 
backport: re PR rtl-optimization/47036 (ICE: in move_cond_jump, at sel-sched.c:4901 with -fschedule-insns -fselective-scheduling -fno-dce)

        Backport from mainline
        2010-12-24  Alexander Monakov  <amonakov@ispras.ru>

        PR rtl-optimization/47036
        * sel-sched-ir.c (fallthru_bb_of_jump): Remove special support for
        unconditional jumps.
        * sel-sched.c (moveup_expr): Ditto.

From-SVN: r172087

14 years agobackport: re PR rtl-optimization/46649 (ICE: in move_bb_info, at sel-sched-ir.c:5080...
Andrey Belevantsev [Thu, 7 Apr 2011 07:01:25 +0000 (11:01 +0400)] 
backport: re PR rtl-optimization/46649 (ICE: in move_bb_info, at sel-sched-ir.c:5080 with -fschedule-insns -fselective-scheduling)

        Backport from mainline
        2010-12-15  Alexander Monakov  <amonakov@ispras.ru>

        PR rtl-optimization/46649
        * sel-sched-ir.c (purge_empty_blocks): Unconditionally skip the first
        basic block in the region.

From-SVN: r172086

14 years agobackport: re PR rtl-optimization/46875 (ICE: verify_flow_info failed: too many outgoi...
Andrey Belevantsev [Thu, 7 Apr 2011 07:00:10 +0000 (11:00 +0400)] 
backport: re PR rtl-optimization/46875 (ICE: verify_flow_info failed: too many outgoing branch edges from bb 3 with -Os -fselective-scheduling2)

        Backport from mainline
        2010-12-14  Alexander Monakov  <amonakov@ispras.ru>

        PR rtl-optimization/46875
        * sched-vis.c (print_pattern): Dump "sequence" for ADDR_VECs.
        * sel-sched-ir.c (bb_has_removable_jump_to_p): Forbid table jumps.

From-SVN: r172085

14 years agobackport: re PR target/43603 (gcc-4.4.3 ICE on ia64 with -O3)
Andrey Belevantsev [Thu, 7 Apr 2011 06:59:19 +0000 (10:59 +0400)] 
backport: re PR target/43603 (gcc-4.4.3 ICE on ia64 with -O3)

        Backport from mainline
        2010-12-07  Andrey Belevantsev  <abel@ispras.ru>
        PR target/43603
        * haifa-sched.c (sched_create_recovery_edges): Update
        dominator info.
        * sel-sched-ir.c (maybe_tidy_empty_bb): Update dominator info
        after deleting an empty block.
        (tidy_control_flow): Also verify dominators.
        (sel_remove_bb): Update dominator info after removing a block.
        (sel_redirect_edge_and_branch_force): Assert that no unreachable
        blocks will be created. Update dominator info.
        (sel_redirect_edge_and_branch): Update dominator info when
        basic blocks do not become unreachable.
        (sel_remove_loop_preheader): Update dominator info.

        2010-10-14  Andrey Belevantsev  <abel@ispras.ru>

        * sel-sched-ir.c (maybe_tidy_empty_bb): Simplify comment.
        (tidy_control_flow): Tidy vertical space.
        (sel_remove_bb): New variable idx.  Use it to remember the basic
        block index before deleting the block.
        (sel_remove_empty_bb): Remove dead code, simplify and insert to ...
        (sel_merge_blocks): ... here.
        * sel-sched-ir.h (sel_remove_empty_bb): Remove prototype.

From-SVN: r172084

14 years agobackport: re PR rtl-optimization/45354 (ICE with -fselective-scheduling and -freorder...
Andrey Belevantsev [Thu, 7 Apr 2011 06:58:29 +0000 (10:58 +0400)] 
backport: re PR rtl-optimization/45354 (ICE with -fselective-scheduling and -freorder-blocks-and-partition)

        Backport from mainline
        2010-12-03  Alexander Monakov  <amonakov@ispras.ru>

        PR rtl-optimization/45354
        * sel-sched-ir.c (jump_leads_only_to_bb_p): Rename to ...
        (bb_has_removable_jump_to_p): This.  Update all callers. Make static.
        Allow BBs ending with a conditional jump.  Forbid EDGE_CROSSING jumps.
        * sel-sched-ir.h (jump_leads_only_to_bb_p): Delete prototype.

From-SVN: r172083

14 years agobackport: re PR rtl-optimization/46585 (ICE: SIGSEGV in vinsn_create (sel-sched-ir...
Andrey Belevantsev [Thu, 7 Apr 2011 06:56:47 +0000 (10:56 +0400)] 
backport: re PR rtl-optimization/46585 (ICE: SIGSEGV in vinsn_create (sel-sched-ir.c:1189) with -fno-dce -fschedule-insns -fselective-scheduling)

        Backport from mainline
        2010-11-25  Alexander Monakov  <amonakov@ispras.ru>

        PR rtl-optimization/46585
        * sel-sched-ir.c (return_regset_to_pool): Verify that RS is not NULL.
        (vinsn_init): Skip computation of dependencies for local NOPs.
        (vinsn_delete): Don't try to free regsets for local NOPs.
        (setup_nop_and_exit_insns): Change definition of nop_pattern.

From-SVN: r172082

14 years agobackport: re PR rtl-optimization/46602 (gcc.dg/pr42245-2.c ICE on ia64)
Andrey Belevantsev [Thu, 7 Apr 2011 06:54:23 +0000 (10:54 +0400)] 
backport: re PR rtl-optimization/46602 (gcc.dg/pr42245-2.c ICE on ia64)

        Backport from mainline
        2010-11-25  Alexander Monakov  <amonakov@ispras.ru>

        PR rtl-optimization/46602
        * sel-sched-ir.c (maybe_tidy_empty_bb): Move checking ...
        (tidy_control_flow): Here.

From-SVN: r172081

14 years agobackport: re PR rtl-optimization/45652 (gcc.dg/compat/scalar-by-value-3 FAILs with...
Andrey Belevantsev [Thu, 7 Apr 2011 06:53:44 +0000 (10:53 +0400)] 
backport: re PR rtl-optimization/45652 (gcc.dg/compat/scalar-by-value-3 FAILs with -O2 -fselective-scheduling2)

        Backport from mainline
        2010-11-22  Alexander Monakov  <amonakov@ispras.ru>

        PR rtl-optimization/45652
        * alias.c (get_reg_base_value): New.
        * rtl.h (get_reg_base_value): Add prototype.
        * sel-sched.c (init_regs_for_mode): Use it.  Don't use registers with
        non-null REG_BASE_VALUE for renaming.

From-SVN: r172080