]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
16 years agore PR fortran/39295 (Too strict interface conformance check)
Paul Thomas [Sat, 7 Mar 2009 15:58:49 +0000 (15:58 +0000)] 
re PR fortran/39295 (Too strict interface conformance check)

2009-03-07  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/39295
* interface.c (compare_type_rank_if): Return 1 if the symbols
are the same and deal with external procedures where one is
identified to be a function or subroutine by usage but the
other is not.

2009-03-07  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/39295
* gfortran.dg/interface_25.f90: New test.
* gfortran.dg/interface_26.f90: New test.

From-SVN: r144695

16 years agore PR fortran/39292 (ICE in gfc_conv_array_initializer, at fortran/trans-array.c...
Paul Thomas [Sat, 7 Mar 2009 15:56:37 +0000 (15:56 +0000)] 
re PR fortran/39292 (ICE in gfc_conv_array_initializer, at fortran/trans-array.c:3884)

2009-03-07  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/39292
* trans-array.c (gfc_conv_array_initializer): Convert all
expressions rather than ICEing.

2009-03-07  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/39292
* gfortran.dg/initialization_22.f90: New test.

From-SVN: r144694

16 years agoDaily bump.
GCC Administrator [Sat, 7 Mar 2009 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144689

16 years agoDaily bump.
GCC Administrator [Fri, 6 Mar 2009 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144655

16 years agoDaily bump.
GCC Administrator [Thu, 5 Mar 2009 00:16:36 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144632

16 years agore PR c++/9634 ([DR224] Injected class name as qualifier should not make the name...
Jason Merrill [Wed, 4 Mar 2009 19:37:43 +0000 (14:37 -0500)] 
re PR c++/9634 ([DR224] Injected class name as qualifier should not make the name dependent)

        PR c++/9634
        PR c++/29469
        PR c++/29607
        Implement DR 224.
        * decl.c (make_typename_type): Do look inside currently open classes.
        * parser.c (cp_parser_lookup_name): Likewise.
        (cp_parser_template_name): Likewise.
        * pt.c (dependent_scope_p): New function.
        * cp-tree.h: Declare it.
        * class.c (currently_open_class): Return fast if T isn't a class.

Co-Authored-By: Giovanni Bajo <giovannibajo@gcc.gnu.org>
From-SVN: r144621

16 years agoDaily bump.
GCC Administrator [Wed, 4 Mar 2009 00:16:36 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144593

16 years agoDaily bump.
GCC Administrator [Tue, 3 Mar 2009 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144559

16 years agomips.c (mips_mdebug_abi_name): Fix the handling of ABI_64.
Richard Sandiford [Mon, 2 Mar 2009 20:42:24 +0000 (20:42 +0000)] 
mips.c (mips_mdebug_abi_name): Fix the handling of ABI_64.

gcc/
* config/mips/mips.c (mips_mdebug_abi_name): Fix the handling
of ABI_64.

From-SVN: r144553

16 years agospu.c (TARGET_SECTION_TYPE_FLAGS): Define.
Ulrich Weigand [Mon, 2 Mar 2009 19:38:26 +0000 (19:38 +0000)] 
spu.c (TARGET_SECTION_TYPE_FLAGS): Define.

* config/spu/spu.c (TARGET_SECTION_TYPE_FLAGS): Define.
(spu_section_type_flags): New function.

From-SVN: r144551

16 years agoDaily bump.
GCC Administrator [Mon, 2 Mar 2009 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144537

16 years agoFix latest entry.
Eric Botcazou [Sun, 1 Mar 2009 23:05:14 +0000 (23:05 +0000)] 
Fix latest entry.

From-SVN: r144535

16 years agoDaily bump.
GCC Administrator [Sun, 1 Mar 2009 00:16:39 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144500

16 years agobackport: re PR middle-end/37861 (Bogus array bounds warning)
Martin Jambor [Sat, 28 Feb 2009 18:33:27 +0000 (19:33 +0100)] 
backport: re PR middle-end/37861 (Bogus array bounds warning)

2009-02-28  Martin Jambor  <mjambor@suse.cz>

Backport from mainline:
2008-12-02  Martin Jambor  <mjambor@suse.cz>

PR middle-end/37861
* tree-ssa-forwprop.c
(forward_propagate_addr_into_variable_array_index): Check that the
offset is not computed from a MULT_EXPR if element size is one.

From-SVN: r144491

16 years agoMakefile.in (cygwin/mingw): Revert accidental EH_MECHANISM change in r130816.
Eric Botcazou [Sat, 28 Feb 2009 17:30:26 +0000 (17:30 +0000)] 
Makefile.in (cygwin/mingw): Revert accidental EH_MECHANISM change in r130816.

* Makefile.in (cygwin/mingw): Revert accidental EH_MECHANISM change
in r130816.

From-SVN: r144489

16 years agobackport: alpha.h (alpha_expand_mov): Return false if force_const_mem returns NULL_RTX.
Uros Bizjak [Sat, 28 Feb 2009 17:22:52 +0000 (18:22 +0100)] 
backport: alpha.h (alpha_expand_mov): Return false if force_const_mem returns NULL_RTX.

Backport from mainline:
2009-02-26  Uros Bizjak  <ubizjak@gmail.com>

* config/alpha/alpha.h (alpha_expand_mov): Return false if
force_const_mem returns NULL_RTX.

From-SVN: r144487

16 years agoDaily bump.
GCC Administrator [Sat, 28 Feb 2009 00:16:41 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144478

16 years agoDaily bump.
GCC Administrator [Fri, 27 Feb 2009 00:16:29 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144459

16 years agobackport: re PR inline-asm/39058 (ICE with double in inline-asm)
Uros Bizjak [Thu, 26 Feb 2009 07:06:48 +0000 (08:06 +0100)] 
backport: re PR inline-asm/39058 (ICE with double in inline-asm)

Backport from mainline:
2009-02-02  Jakub Jelinek  <jakub@redhat.com>

PR inline-asm/39058
* recog.h (asm_operand_ok): Add constraints argument.
* recog.c (asm_operand_ok): Likewise.  If it is set, for digits
recurse on matching constraint.
(check_asm_operands): Pass constraints as 3rd argument to
asm_operand_ok.  Don't look up matching constraint here.
* stmt.c (expand_asm_operands): Pass NULL as 3rd argument
to asm_operand_ok.

testsuite/ChangeLog:

Backport from mainline:
2009-02-02  Jakub Jelinek  <jakub@redhat.com>

PR inline-asm/39058
* gcc.target/i386/pr39058.c: New test.

From-SVN: r144445

16 years agoDaily bump.
GCC Administrator [Thu, 26 Feb 2009 00:16:43 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144441

16 years agobackport: re PR middle-end/36578 (cast to long double not taken into account when...
Janis Johnson [Wed, 25 Feb 2009 22:08:55 +0000 (22:08 +0000)] 
backport: re PR middle-end/36578 (cast to long double not taken into account when result stored to a double)

2009-02-25  Janis Johnson  <janis187@us.ibm.com>

gcc/
Backport from mainline:
2008-10-29  Joseph Myers  <joseph@codesourcery.com>

PR middle-end/36578
* convert.c (convert_to_real): Do not optimize conversions of
binary arithmetic operations between binary and decimal
floating-point types.  Consider mode of target type in determining
decimal type for arithmetic.  Unless
flag_unsafe_math_optimizations, do not optimize binary conversions
where this may change rounding behavior.
* real.c (real_can_shorten_arithmetic): New.
* real.h (real_can_shorten_arithmetic): Declare.

gcc/testsuite/
Backport from mainline:
2008-10-29  Joseph Myers  <joseph@codesourcery.com>

PR middle-end/36578
* gcc.dg/dfp/convert-bfp-13.c, gcc.dg/dfp/convert-bfp-14.c,
gcc.dg/dfp/convert-dfp-fold-2.c, gcc.target/i386/pr36578-1.c,
gcc.target/i386/pr36578-2.c: New tests.

From-SVN: r144436

16 years agobackport: re PR rtl-optimization/39241 (ICE in subreg_get_info, at rtlanal.c:3104)
H.J. Lu [Wed, 25 Feb 2009 18:55:14 +0000 (18:55 +0000)] 
backport: re PR rtl-optimization/39241 (ICE in subreg_get_info, at rtlanal.c:3104)

2009-02-25  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline:
2008-02-25  H.J. Lu  <hongjiu.lu@intel.com>

PR rtl-optimization/39241
* gcc.dg/torture/pr39241.c: New.

From-SVN: r144431

16 years agoDaily bump.
GCC Administrator [Wed, 25 Feb 2009 00:16:51 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144420

16 years agoDaily bump.
GCC Administrator [Tue, 24 Feb 2009 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144398

16 years agoDaily bump.
GCC Administrator [Mon, 23 Feb 2009 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144378

16 years agoDaily bump.
GCC Administrator [Sun, 22 Feb 2009 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144364

16 years agopr39228.x: New.
Kaz Kojima [Sat, 21 Feb 2009 13:04:37 +0000 (13:04 +0000)] 
pr39228.x: New.

* gcc.c-torture/execute/pr39228.x: New.

From-SVN: r144354

16 years agobackport: calls.c (emit_library_call_value_1): Use slot_offset instead of offset...
Uros Bizjak [Sat, 21 Feb 2009 11:08:24 +0000 (12:08 +0100)] 
backport: calls.c (emit_library_call_value_1): Use slot_offset instead of offset when calculating bounds for indexing...

Backport from mainline:
2009-02-20  Jaka Mocnik  <jaka@xlab.si>

* calls.c (emit_library_call_value_1): Use slot_offset instead of
offset when calculating bounds for indexing stack_usage_map.  Fixes
a buffer overflow with certain target setups.

From-SVN: r144350

16 years agoDaily bump.
GCC Administrator [Sat, 21 Feb 2009 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144340

16 years agore PR target/38056 (Missed tail calls on ia64)
Steve Ellcey [Fri, 20 Feb 2009 17:18:20 +0000 (17:18 +0000)] 
re PR target/38056 (Missed tail calls on ia64)

PR target/38056
* config/ia64/ia64.c (ia64_function_ok_for_sibcall): Check
TARGET_CONST_GP.
* gcc.target/ia64/sibcall-opt-1.c: New test.
* gcc.target/ia64/sibcall-opt-2.c: New test.

From-SVN: r144329

16 years agore PR c++/39225 (ICE if destructor doen't match class name)
Jason Merrill [Fri, 20 Feb 2009 15:21:51 +0000 (10:21 -0500)] 
re PR c++/39225 (ICE if destructor doen't match class name)

        PR c++/39225
        * decl.c (grokdeclarator): Handle ~identifier.

From-SVN: r144325

16 years agoDaily bump.
GCC Administrator [Fri, 20 Feb 2009 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144310

16 years agore PR target/39228 (387 optimised __builtin_isinf() gives incorrect result)
Uros Bizjak [Thu, 19 Feb 2009 12:44:40 +0000 (13:44 +0100)] 
re PR target/39228 (387 optimised __builtin_isinf() gives incorrect result)

PR target/39228
* config/i386/i386.md (isinfxf2): Split from isinf<mode>2.
(UNSPEC_FXAM_MEM): New unspec.
(fxam<mode>2_i387_with_temp): New insn and split pattern.
(isinf<mode>2): Use MODEF mode iterator.  Force operand[1] through
memory using fxam<mode>2_i387_with_temp to remove excess precision.

testsuite/ChangeLog:

PR target/39228
* gcc.c-torture/execute/pr39228.c: New test.

From-SVN: r144295

16 years agore PR fortran/38852 ([4.3] UBOUND fails for negative stride triplets)
Paul Thomas [Thu, 19 Feb 2009 06:43:15 +0000 (06:43 +0000)] 
re PR fortran/38852 ([4.3] UBOUND fails for negative stride triplets)

2009-02-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38852
PR fortran/39006
* trans-intrinsic.c (gfc_conv_intrinsic_bound): Use the array
descriptor ubound for UBOUND, when the array lbound == 1.

2009-02-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38852
PR fortran/39006
* gfortran.dg/bound_6.f90: New test.

From-SVN: r144286

16 years agoDaily bump.
GCC Administrator [Thu, 19 Feb 2009 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144281

16 years agoDaily bump.
GCC Administrator [Wed, 18 Feb 2009 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144253

16 years agore PR c++/38950 (ICE: deducing function template arguments for array type.)
Jason Merrill [Tue, 17 Feb 2009 18:27:32 +0000 (13:27 -0500)] 
re PR c++/38950 (ICE: deducing function template arguments for array type.)

        PR c++/38950
        * pt.c (unify)[TEMPLATE_PARM_INDEX]: Convert to the tsubsted type.

From-SVN: r144239

16 years agodouble.h: Update from glibc CVS.
Uros Bizjak [Tue, 17 Feb 2009 13:54:43 +0000 (14:54 +0100)] 
double.h: Update from glibc CVS.

* config/soft-fp/double.h: Update from glibc CVS.

From-SVN: r144230

16 years agore PR c/35446 (ICE with invalid array initializer)
Joseph Myers [Tue, 17 Feb 2009 13:00:40 +0000 (13:00 +0000)] 
re PR c/35446 (ICE with invalid array initializer)

PR c/35446
* c-parser.c (c_parser_braced_init): Call pop_init_level when
skipping until next close brace.

testsuite:
* gcc.dg/noncompile/init-5.c: New test.
* gcc.dg/init-bad-4.c: Adjust expected errors.

From-SVN: r144227

16 years agoDaily bump.
GCC Administrator [Tue, 17 Feb 2009 00:16:48 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144221

16 years agoDaily bump.
GCC Administrator [Mon, 16 Feb 2009 00:16:39 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144195

16 years agow_prof_single_str_global.c: Mask return value.
Uros Bizjak [Sun, 15 Feb 2009 08:09:49 +0000 (09:09 +0100)] 
w_prof_single_str_global.c: Mask return value.

* gcc.dg/struct/w_prof_single_str_global.c: Mask return value.

Backport from mainline:
2009-01-12  Mark Mitchell  <mark@codesourcery.com>

* gcc.dg/struct/wo_prof_single_str_global.c: Mask return value.
* gcc.dg/struct/wo_prof_single_str_local.c: Mask return value.
* gcc.dg/struct/wo_prof_single_str_pointer.c: Mask return value.

From-SVN: r144188

16 years agoDaily bump.
GCC Administrator [Sun, 15 Feb 2009 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144184

16 years agoDaily bump.
GCC Administrator [Sat, 14 Feb 2009 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144175

16 years agore PR c++/39070 (ICE with typeof() (... and __decltype))
Jason Merrill [Fri, 13 Feb 2009 21:53:38 +0000 (16:53 -0500)] 
re PR c++/39070 (ICE with typeof() (... and __decltype))

        PR c++/39070
        * semantics.c (finish_call_expr): Change koenig_p parm to int.
        If -1, don't set KOENIG_LOOKUP_P but do keep hidden candidates.
        * cp-tree.h: Adjust prototype.
        * pt.c (tsubst_copy_and_build) [CALL_EXPR]: Pass -1.

From-SVN: r144166

16 years agore PR c/35444 (ICE with invalid function declaration)
Joseph Myers [Fri, 13 Feb 2009 13:10:52 +0000 (13:10 +0000)] 
re PR c/35444 (ICE with invalid function declaration)

PR c/35444
* c-parser.c (c_parser_parms_list_declarator): Discard pending
sizes on syntax error after some arguments have been parsed.

testsuite:
* gcc.dg/noncompile/pr35444-1.c, gcc.dg/noncompile/pr35444-2.c:
New tests.

From-SVN: r144155

16 years agoDaily bump.
GCC Administrator [Fri, 13 Feb 2009 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144144

16 years agoDaily bump.
GCC Administrator [Thu, 12 Feb 2009 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144116

16 years agore PR target/39118 (x86_64 red zone violation)
Uros Bizjak [Wed, 11 Feb 2009 11:53:47 +0000 (12:53 +0100)] 
re PR target/39118 (x86_64 red zone violation)

PR target/39118
* config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant.
(memory_blockage): New expander.
(*memory_blockage): New insn pattern.
* config/i386/i386.c (ix86_expand_prologue): Use memory_blockage
instead of general blockage at the end of function prologue when
frame pointer is used to access red zone area.  Do not emit blockage
when profiling, it is emitted in generic code.
(ix86_expand_epilogue): Emit memory_blockage at the beginning of
function epilogue when frame pointer is used to access red zone area.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r144101

16 years agoDaily bump.
GCC Administrator [Wed, 11 Feb 2009 00:16:29 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144088

16 years agore PR c/39084 (ice on struct redefinition)
Steve Ellcey [Tue, 10 Feb 2009 16:45:37 +0000 (16:45 +0000)] 
re PR c/39084 (ice on struct redefinition)

PR c/39084
gcc.dg/pr39084.c: New test.

From-SVN: r144071

16 years agore PR c/39084 (ice on struct redefinition)
Steve Ellcey [Tue, 10 Feb 2009 16:43:49 +0000 (16:43 +0000)] 
re PR c/39084 (ice on struct redefinition)

PR c/39084
* c-decl.c (start_struct): Return NULL on error.

From-SVN: r144070

16 years agore PR target/39118 (x86_64 red zone violation)
Uros Bizjak [Tue, 10 Feb 2009 16:12:47 +0000 (17:12 +0100)] 
re PR target/39118 (x86_64 red zone violation)

PR target/39118
* config/i386/i386.c (expand_prologue): Emit blockage at the end
of function prologue when frame pointer is used to access
red zone area.

From-SVN: r144064

16 years agoDaily bump.
GCC Administrator [Tue, 10 Feb 2009 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144049

16 years agore PR c/39035 (if( 0.0DF ) is considered true)
Janis Johnson [Mon, 9 Feb 2009 18:51:31 +0000 (18:51 +0000)] 
re PR c/39035 (if( 0.0DF ) is considered true)

PR c/39035
* real.c (do_compare): Special-case compare of zero against
decimal float value.

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

From-SVN: r144039

16 years agobackport: algorithmfwd.h: Add parallelism default for many declarations.
Johannes Singler [Mon, 9 Feb 2009 10:08:11 +0000 (10:08 +0000)] 
backport: algorithmfwd.h: Add parallelism default for many declarations.

2009-02-09  Johannes Singler  <singler@ira.uka.de>

        Backport from mainline:
        2009-02-03  Johannes Singler  <singler@ira.uka.de>

        * include/parallel/algorithmfwd.h:
        Add parallelism default for many declarations.
        * include/parallel/numericfwd.h: Likewise.
        * include/parallel/iterator.h: Use iterator_traits as usual.
        * include/parallel/par_loop.h:
        Include equally_split.h.
        (for_each_template_random_access_ed):
        Avoid calling the Result default constructor.
        * include/parallel/numeric: Replace
        for_each_template_random_access by
        for_each_template_random_access_ed in numeric functions.

From-SVN: r144031

16 years agoDaily bump.
GCC Administrator [Mon, 9 Feb 2009 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144025

16 years agore PR c/35434 (ICE with attribute alias)
Joseph Myers [Sun, 8 Feb 2009 19:02:56 +0000 (19:02 +0000)] 
re PR c/35434 (ICE with attribute alias)

PR c/35434
* c-common.c (handle_alias_attribute): Disallow attribute for
anything not a FUNCTION_DECL or VAR_DECL.

testsuite:
* gcc.dg/attr-alias-4.c: New test.

From-SVN: r144019

16 years agore PR c/36432 (“incompatible pointer type” with pointer to array as a struct member)
Joseph Myers [Sun, 8 Feb 2009 19:01:57 +0000 (19:01 +0000)] 
re PR c/36432 (“incompatible pointer type” with pointer to array as a struct member)

PR c/36432
* c-decl.c (grokdeclarator): Don't treat [] declarators in fields
as indicating flexible array members unless the field itself is
being declarared as the incomplete array.

testsuite:
* gcc.dg/c90-flex-array-2.c, gcc.dg/c99-flex-array-6.c: New tests.

From-SVN: r144018

16 years agobackport: re PR target/38991 (SH: ICE in extract_insn at recog.c:1990)
Kaz Kojima [Sun, 8 Feb 2009 00:53:30 +0000 (00:53 +0000)] 
backport: re PR target/38991 (SH: ICE in extract_insn at recog.c:1990)

Backport from mainline:
2009-02-05  Kaz Kojima  <kkojima@gcc.gnu.org>

PR target/38991
* config/sh/predicates.md (general_movsrc_operand): Don't check
the subreg of system registers here.

From-SVN: r144013

16 years agoDaily bump.
GCC Administrator [Sun, 8 Feb 2009 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r144010

16 years agoDaily bump.
GCC Administrator [Sat, 7 Feb 2009 00:16:39 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143995

16 years agoDaily bump.
GCC Administrator [Fri, 6 Feb 2009 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143975

16 years agoMakefile.tpl (stage_last): Define $r and $s before using $(RECURSE_FLAGS_TO_PASS).
Andreas Schwab [Thu, 5 Feb 2009 15:37:38 +0000 (15:37 +0000)] 
Makefile.tpl (stage_last): Define $r and $s before using $(RECURSE_FLAGS_TO_PASS).

* Makefile.tpl (stage_last): Define $r and $s before using
$(RECURSE_FLAGS_TO_PASS).
* Makefile.in: Regenerate

From-SVN: r143968

16 years agore PR c/35435 (ICE with attribute tls_model in typedef)
Joseph Myers [Thu, 5 Feb 2009 12:13:52 +0000 (12:13 +0000)] 
re PR c/35435 (ICE with attribute tls_model in typedef)

PR c/35435
* c-common.c (handle_tls_model_attribute): Ignore attribute for
non-VAR_DECLs without checking DECL_THREAD_LOCAL_P.

testsuite:
* gcc.dg/tls/diag-6.c: New test.

From-SVN: r143963

16 years agore PR tree-optimization/39100 (-fstrict-aliasing miscompilation)
Richard Guenther [Thu, 5 Feb 2009 11:10:02 +0000 (11:10 +0000)] 
re PR tree-optimization/39100 (-fstrict-aliasing miscompilation)

2009-02-05  Daniel Berlin  <dberlin@dberlin.org>
            Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/39100
        * tree-ssa-structalias.c (do_ds_constraint): Actually do what the
        comment says and add edges.

From-SVN: r143961

16 years agoDaily bump.
GCC Administrator [Thu, 5 Feb 2009 00:16:46 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143944

16 years agore PR rtl-optimization/39076 (internal compiler error when cross-compiling flac)
Ramana Radhakrishnan [Wed, 4 Feb 2009 21:42:04 +0000 (21:42 +0000)] 
re PR rtl-optimization/39076 (internal compiler error when cross-compiling flac)

Fix for PR39076

From-SVN: r143942

16 years agore PR c/35433 (ICE with typeof and ternary operator)
Joseph Myers [Wed, 4 Feb 2009 13:07:43 +0000 (13:07 +0000)] 
re PR c/35433 (ICE with typeof and ternary operator)

PR c/35433
* c-typeck.c (composite_type): Set TYPE_SIZE and TYPE_SIZE_UNIT
for composite type involving a zero-length array type.

testsuite:
* gcc.dg/init-bad-6.c: New test.

From-SVN: r143922

16 years agoDaily bump.
GCC Administrator [Wed, 4 Feb 2009 00:16:29 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143915

16 years agore PR c++/36897 (ICE with function pointer template parameter)
Paolo Bonzini [Tue, 3 Feb 2009 15:56:05 +0000 (15:56 +0000)] 
re PR c++/36897 (ICE with function pointer template parameter)

gcc/cp:
2009-02-03  Paolo Bonzini  <bonzini@gnu.org>

PR c++/36897
* pt.c (convert_nontype_argument_function): Expect expr to be an
ADDR_EXPR.

PR c++/37314
* typeck.c (merge_types): Call resolve_typename_type if only
one type is a typename.

gcc/testsuite:
2009-02-03  Paolo Bonzini  <bonzini@gnu.org>

PR c++/36897
* g++.dg/template/func2.C: New test.

PR c++/37314
* g++.dg/template/typename15.C: New.
* g++.dg/template/typename16.C: New.

From-SVN: r143896

16 years agoDaily bump.
GCC Administrator [Tue, 3 Feb 2009 00:16:41 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143886

16 years agosde.h (SUBTARGET_ARM_SPEC): Don't assemble -fpic code as -mabicalls.
Catherine Moore [Mon, 2 Feb 2009 20:31:19 +0000 (15:31 -0500)] 
sde.h (SUBTARGET_ARM_SPEC): Don't assemble -fpic code as -mabicalls.

    * sde.h (SUBTARGET_ARM_SPEC): Don't assemble -fpic code as
    -mabicalls.

From-SVN: r143881

16 years agore PR c++/39054 (ICE with invalid pseudo-dtor in template)
Jason Merrill [Mon, 2 Feb 2009 19:57:29 +0000 (14:57 -0500)] 
re PR c++/39054 (ICE with invalid pseudo-dtor in template)

        PR c++/39054
        * parser.c (cp_parser_unqualified_id): Don't wrap error_mark_node
        in BIT_NOT_EXPR.

From-SVN: r143879

16 years agoDaily bump.
GCC Administrator [Mon, 2 Feb 2009 00:16:29 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143858

16 years agoDaily bump.
GCC Administrator [Sun, 1 Feb 2009 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143836

16 years agofptr.c: Revert license to GPL 2.
John David Anglin [Sat, 31 Jan 2009 20:05:03 +0000 (20:05 +0000)] 
fptr.c: Revert license to GPL 2.

* config/pa/fptr.c: Revert license to GPL 2.
* config/pa/milli64.S: Likewise.

From-SVN: r143832

16 years agoDaily bump.
GCC Administrator [Sat, 31 Jan 2009 00:16:31 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143814

16 years agobackport: re PR rtl-optimization/38245 (stack corruption when a call is removed but...
H.J. Lu [Fri, 30 Jan 2009 22:36:22 +0000 (22:36 +0000)] 
backport: re PR rtl-optimization/38245 (stack corruption when a call is removed but not the outgoing argument pushes)

2009-01-30  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline:
2009-01-14  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/38245
* gcc.dg/pr38245-3.c: New test.
* gcc.dg/pr38245-3.h: New file.
* gcc.dg/pr38245-4.c: New file.
* gcc.dg/pr38364.c: New test.

From-SVN: r143810

16 years agore PR tree-optimization/39041 (ICE on valid during vrp2)
Richard Guenther [Fri, 30 Jan 2009 22:14:39 +0000 (22:14 +0000)] 
re PR tree-optimization/39041 (ICE on valid during vrp2)

2009-01-30  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/39041
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
Propagate variable indices only if the types match for this stmt.

* gcc.c-torture/compile/pr39041.c: New testcase.

From-SVN: r143809

16 years agobackport: re PR tree-optimization/38789 (__builtin_constant_p appears to evaluate...
H.J. Lu [Fri, 30 Jan 2009 17:46:24 +0000 (17:46 +0000)] 
backport: re PR tree-optimization/38789 (__builtin_constant_p appears to evaluate to true for non-constant arguments.)

2009-01-30  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline:
2009-01-16  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/38789
* gcc.c-torture/compile/pr38789.c: New test.

From-SVN: r143799

16 years ago[multiple changes]
H.J. Lu [Fri, 30 Jan 2009 17:31:24 +0000 (17:31 +0000)] 
[multiple changes]

2009-01-30  H.J. Lu  <hongjiu.lu@intel.com>

2009-01-27  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38503
* g++.dg/warn/Wstrict-aliasing-bogus-placement-new.C: New testcase.

2009-01-26  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38745
* g++.dg/torture/pr38745.C: New testcase.

2009-01-26  Richard Guenther  <rguenther@suse.de>

PR middle-end/38851
* g++.dg/warn/Wuninitialized-1.C: New testcase.

2009-01-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>
    Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38747
PR tree-optimization/38748
* gcc.dg/tree-ssa/struct-aliasing-1.c: New test.
* gcc.c-torture/execute/struct-aliasing-1.c: Likewise.

From-SVN: r143798

16 years agoDaily bump.
GCC Administrator [Fri, 30 Jan 2009 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143775

16 years ago[multiple changes]
H.J. Lu [Thu, 29 Jan 2009 17:43:14 +0000 (17:43 +0000)] 
[multiple changes]

2009-01-29  H.J. Lu  <hongjiu.lu@intel.com>

2009-01-28  Richard Guenther  <rguenther@suse.de>

PR middle-end/38908
* g++.dg/warn/Wuninitialized-2.C: New testcase.

2009-01-27  Daniel Kraft  <d@domob.eu>

PR fortran/38883
* gfortran.dg/mvbits_6.f90:  New test.
* gfortran.dg/mvbits_7.f90:  New test.
* gfortran.dg/mvbits_8.f90:  New test.

2009-01-21  Daniel Kraft  <d@domob.eu>

PR fortran/38887
* gfortran.dg/mvbits_5.f90:  New test.

From-SVN: r143765

16 years agobackport: [multiple changes]
H.J. Lu [Thu, 29 Jan 2009 17:06:01 +0000 (17:06 +0000)] 
backport: [multiple changes]

2009-01-29  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline:
2009-01-29  Steve Ellcey  <sje@cup.hp.com>

PR middle-end/38857
* gcc.c-torture/compile/pr38857.c: New test.

2009-01-28  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38926
* gcc.c-torture/compile/pr38926.c: New testcase.

From-SVN: r143762

16 years agobackport: re PR target/38988 (Cannot build crtstuff.c with -mcmodel=large -fPIC -O2)
Uros Bizjak [Thu, 29 Jan 2009 10:05:17 +0000 (11:05 +0100)] 
backport: re PR target/38988 (Cannot build crtstuff.c with -mcmodel=large -fPIC -O2)

Backport from mainline:
2009-01-28  Uros Bizjak  <ubizjak@gmail.com>

PR target/38988
* gcc.target/i386/pr38988.c: New test.

2009-01-27  Uros Bizjak  <ubizjak@gmail.com>

PR middle-end/38969
* gcc.c-torture/execute/pr38969.c: New test.

testsuite/ChangeLog:

Backport from mainline:
2009-01-28  Uros Bizjak  <ubizjak@gmail.com>

PR target/38988
* config/i386/i386.md (set_rip_rex64): Wrap operand 1 in label_ref.
(set_got_offset_rex64): Ditto.

2009-01-27  Uros Bizjak  <ubizjak@gmail.com>

PR middle-end/38969
* calls.c (initialize_argument_information): Do not wrap complex
arguments in SAVE_EXPR.

From-SVN: r143752

16 years agoDaily bump.
GCC Administrator [Thu, 29 Jan 2009 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143746

16 years agoDaily bump.
GCC Administrator [Wed, 28 Jan 2009 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143715

16 years agore PR middle-end/38615 (invalid promotion to static from auto)
Steve Ellcey [Tue, 27 Jan 2009 18:45:49 +0000 (18:45 +0000)] 
re PR middle-end/38615 (invalid promotion to static from auto)

PR middle-end/38615
* gimplify.c (gimplify_init_constructor): Fix promotion of const
variables to static.
* doc/invoke.texi (-fmerge-all-constants): Update description.
* testsuite/gcc.dg/pr38615.c: New test.

From-SVN: r143708

16 years agobackport: re PR target/38706 (../../../../src/libstdc++-v3/src/strstream.cc:419:...
Uros Bizjak [Tue, 27 Jan 2009 11:39:42 +0000 (12:39 +0100)] 
backport: re PR target/38706 (../../../../src/libstdc++-v3/src/strstream.cc:419: internal compiler error: Segmentation fault)

gcc/ChangeLog:

Backport from mainline:
2009-01-13  Uros Bizjak  <ubizjak@gmail.com>

* config/alpha/alpha.c (alpha_legitimate_address_p): Explicit
relocations of local symbols wider than UNITS_PER_WORD are not valid.
(alpha_legitimize_address): Do not split local symbols wider than
UNITS_PER_WORD into HIGH/LO_SUM parts.

2009-01-07  Uros Bizjak  <ubizjak@gmail.com>

PR target/38706
* config/alpha/alpha.c (alpha_end_function): For TARGET_ABI_OSF, call
free_after_compilation when outputting a thunk.
(alpha_output_mi_thunk_osf): Assert that we are processing a thunk.
Do not call free_after_compilation here.

2008-12-22  Uros Bizjak  <ubizjak@gmail.com>

* config/alpha/elf.h (ASM_OUTPUT_EXTERNAL): New macro.

2008-12-21  Uros Bizjak  <ubizjak@gmail.com>

* config/alpha/alpha.c (alpha_pad_noreturn): New static function.
(alpha_reorg): Call alpha_pad_noreturn.

2008-12-08  Uros Bizjak  <ubizjak@gmail.com>

* config/alpha/alpha.c (alpha_set_memflags): Process memory
references in full insn sequence.

2008-12-05  Uros Bizjak  <ubizjak@gmail.com>

* config/alpha/alpha.c (alpha_fold_vector_minmax): Create
VIEW_CONVERT_EXPR to convert output to long_integer_type_node.

(alpha_emit_conditional_branch): Do not generate direct branch
for UNORDERED comparisons.

gcc/testsuite/ChangeLog:

Backport from mainline:
2009-01-07  Uros Bizjak  <ubizjak@gmail.com>

PR target/38706
* g++.dg/other/pr38706.C: New test.

libstdc++/ChangeLog:

Backport from mainline:
2009-01-13  Uros Bizjak  <ubizjak@gmail.com>

* scripts/extract_symvers: Add sed script to remove ' [<other>: xx] '
field from readelf output.

From-SVN: r143701

16 years agoDaily bump.
GCC Administrator [Tue, 27 Jan 2009 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143691

16 years agore PR c++/23287 (Explicitly invoking destructor of template class in a template and...
Jason Merrill [Mon, 26 Jan 2009 18:24:45 +0000 (13:24 -0500)] 
re PR c++/23287 (Explicitly invoking destructor of template class in a template and is dependent)

        PR c++/23287
        * parser.c (cp_parser_unqualified_id): In a template,
        accept ~identifier.
        * typeck.c (lookup_destructor): Handle IDENTIFIER_NODE.

From-SVN: r143682

16 years agobackport: re PR testsuite/36443 (HOSTCC doesn't work with installed gcc)
H.J. Lu [Mon, 26 Jan 2009 18:13:58 +0000 (10:13 -0800)] 
backport: re PR testsuite/36443 (HOSTCC doesn't work with installed gcc)

2009-01-26  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline:
2008-07-17  H.J. Lu  <hongjiu.lu@intel.com>

PR testsuite/36443
* objc.dg/gnu-encoding/gnu-encoding.exp: Temporarily unset
GCC_EXEC_PREFIX from environment when running $HOSTCC.

From-SVN: r143681

16 years agore PR middle-end/38932 (ICE in set_value_range, at tree-vrp.c:398)
Paolo Bonzini [Mon, 26 Jan 2009 15:54:18 +0000 (15:54 +0000)] 
re PR middle-end/38932 (ICE in set_value_range, at tree-vrp.c:398)

gcc:
2008-01-26  Paolo Bonzini  <bonzini@gnu.org>

PR tree-optimization/38932
* fold-const.c (fold_unary_ignore_overflow): New.
* tree.h (fold_unary_ignore_overflow): Declare.
* tree-ssa-ccp.c (ccp_fold): Use fold_unary_ignore_overflow.
* tree-ssa-sccvn.c (simplify_unary_expression): Likewise.

gcc/testsuite:
2008-01-26  Paolo Bonzini  <bonzini@gnu.org>

PR tree-optimization/38932
* gcc.dg/pr38932.c: New.

From-SVN: r143677

16 years agore PR fortran/38907 (ICE when contained function has same name as module function...
Paul Thomas [Mon, 26 Jan 2009 06:15:41 +0000 (06:15 +0000)] 
re PR fortran/38907 (ICE when contained function has same name as module function and used in expression)

2009-01-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38907
Backport from trunk
* resolve.c (check_host_association): Remove the matching to
correct an incorrect host association and use manipulation of
the expression instead.

2009-01-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38907
Backport from trunk
* gfortran.dg/host_assoc_function_7.f90: New test.

From-SVN: r143671

16 years agore PR fortran/38859 (ubound and lbound treat structure component references as whole...
Mikael Morin [Mon, 26 Jan 2009 05:43:44 +0000 (06:43 +0100)] 
re PR fortran/38859 (ubound and lbound treat structure component references as whole arrays)

2009-01-26  Mikael Morin  <mikael.morin@tele2.fr>

        PR fortran/38859
Backport from trunk
        * simplify.c (simplify_bound): Don't use array specification
        if variable or component has subsequent references.

2009-01-26  Mikael Morin  <mikael.morin@tele2.fr>

        PR fortran/38859
Backport from trunk
        * gfortran.dg/bound_5.f90: New test.

From-SVN: r143670

16 years agore PR fortran/38657 (PUBLIC/PRIVATE Common blocks)
Paul Thomas [Mon, 26 Jan 2009 05:12:03 +0000 (05:12 +0000)] 
re PR fortran/38657 (PUBLIC/PRIVATE Common blocks)

2009-01-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* module.c (write_common_0): Add argument 'this_module' and
check that non-use associated common blocks are written first.
(write_common): Call write_common_0 twice, once with true and
then with false.

2009-01-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* gfortran.dg/module_commons_3.f90: Reapply.

From-SVN: r143669

16 years agoDaily bump.
GCC Administrator [Mon, 26 Jan 2009 00:16:44 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143666

16 years agobackport: re PR target/38931 (Seg fault when getting instruction latency on a *movsi_...
Uros Bizjak [Sun, 25 Jan 2009 12:26:15 +0000 (13:26 +0100)] 
backport: re PR target/38931 (Seg fault when getting instruction latency on a *movsi_1 with an MMX target register)

Backport from mainline:
2009-01-22  Uros Bizjak  <ubizjak@gmail.com>

PR target/38931
* config/i386/i386.md (*movsi_1): Use type "mmx" for alternative 2.
(*movdi_1_rex64): Use type "mmx" for alternative 5.

2009-01-21  Uros Bizjak  <ubizjak@gmail.com>

PR rtl-optimization/38879
* alias.c (base_alias_check): Unaligned access via AND address can
alias all surrounding object types except those with sizes equal
or wider than the size of unaligned access.

testsuite/ChangeLog:

Backport from mainline:
2009-01-22  Uros Bizjak  <ubizjak@gmail.com>

PR target/38931
* gcc.target/i386/pr38931.c: New test.

From-SVN: r143663

16 years agoDaily bump.
GCC Administrator [Sun, 25 Jan 2009 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r143658