]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
16 years agore PR c++/35146 (weird error in template function specialization)
Jason Merrill [Tue, 7 Apr 2009 03:50:49 +0000 (23:50 -0400)] 
re PR c++/35146 (weird error in template function specialization)

PR c++/35146
* pt.c (fn_type_unification): For DEDUCE_EXACT check that
the deduced template arguments give us the parameter types
we're looking for.

From-SVN: r145647

16 years agore PR target/39634 (powerpc64 libgcc contains useless softfp functions)
Alan Modra [Tue, 7 Apr 2009 01:15:37 +0000 (01:15 +0000)] 
re PR target/39634 (powerpc64 libgcc contains useless softfp functions)

PR target/39634
* config.gcc (powerpc-*-linux*): Include soft-fp/t-softfp after
rs6000/t-linux64.

From-SVN: r145643

16 years agoDaily bump.
GCC Administrator [Tue, 7 Apr 2009 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r145638

16 years agoDaily bump.
GCC Administrator [Mon, 6 Apr 2009 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r145576

16 years agoDaily bump.
GCC Administrator [Sun, 5 Apr 2009 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r145556

16 years agore PR fortran/39528 (repeated entries are not read when using list-directed input)
Jerry DeLisle [Sat, 4 Apr 2009 19:04:53 +0000 (19:04 +0000)] 
re PR fortran/39528 (repeated entries are not read when using list-directed input)

2009-04-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/39528
* gfortran.dg/read_repeat.f90: New test.

2009-04-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/39528
Backport from trunk.
* io/list_read.c (list_formatted_read_scalar): Move check for read
completion to just after the check for a repeated value.

From-SVN: r145548

16 years agore PR fortran/39519 (bad assignment to type with allocatable component)
Paul Thomas [Sat, 4 Apr 2009 14:47:23 +0000 (14:47 +0000)] 
re PR fortran/39519 (bad assignment to type with allocatable component)

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

PR fortran/39519
* parse.c (parse_derived): Do not break on finding pointer,
allocatable or private components.

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

PR fortran/39519
* gfortran.dg/alloc_comp_assign_9.f90: New test.

From-SVN: r145540

16 years agoDaily bump.
GCC Administrator [Sat, 4 Apr 2009 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r145528

16 years agoPR c++/38030, 38850, 39070
Jason Merrill [Fri, 3 Apr 2009 18:04:39 +0000 (14:04 -0400)] 
PR c++/38030, 38850, 39070

        PR c++/38030, 38850, 39070
        * pt.c (type_dependent_expression_p_push): New fn.
        (tsubst_copy_and_build) [CALL_EXPR]: Only do arg-dep lookup when the
        substitution makes the call non-dependent.  Preserve koenig_p.
        * parser.c (cp_parser_postfix_expression): Only do arg-dep lookup
        for non-dependent calls.
        * semantics.c (finish_call_expr): Revert earlier changes.
        * cp-tree.h: Revert change to finish_call_expr prototype.

From-SVN: r145511

16 years agorevert: re PR c++/9634 ([DR224] Injected class name as qualifier should not make...
Jason Merrill [Fri, 3 Apr 2009 17:31:38 +0000 (13:31 -0400)] 
revert: re PR c++/9634 ([DR224] Injected class name as qualifier should not make the name dependent)

Revert:
        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.

From-SVN: r145510

16 years agoDaily bump.
GCC Administrator [Fri, 3 Apr 2009 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r145485

16 years agore PR objc/18456 (ICE compiling Objective C code with protocol-qualified objects)
David Ayers [Thu, 2 Apr 2009 21:51:26 +0000 (21:51 +0000)] 
re PR objc/18456 (ICE compiling Objective C code with protocol-qualified objects)

2009-04-02  David Ayers  <ayers@fsfe.org>

PR objc/18456
* objc.dg/bad-receiver-type-2.m: New test contributed by
Alexander Mamberg.

From-SVN: r145480

16 years agore PR objc/27377 (false compiler warnings generated in Objective-C code)
David Ayers [Thu, 2 Apr 2009 12:40:48 +0000 (12:40 +0000)] 
re PR objc/27377 (false compiler warnings generated in Objective-C code)

gcc/
2009-03-29  David Ayers  <ayers@fsfe.org>

PR objc/27377
* c-typeck.c (build_conditional_expr): Emit ObjC warnings
by calling objc_compare_types and surpress warnings about
incompatible C pointers that are compatible ObjC pointers.

gcc/testsuite/
2009-03-29  David Ayers  <ayers@fsfe.org>

PR objc/27377
* objc.dg/conditional-1.m: New tests.

From-SVN: r145446

16 years agoDaily bump.
GCC Administrator [Thu, 2 Apr 2009 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r145434

16 years agore PR rtl-optimization/39588 (internal compiler error: in trunc_int_for_mode, at...
Eric Botcazou [Wed, 1 Apr 2009 20:48:33 +0000 (20:48 +0000)] 
re PR rtl-optimization/39588 (internal compiler error: in trunc_int_for_mode, at explow.c:55)

PR rtl-optimization/39588
* combine.c (merge_outer_ops): Do not set the constant when this
is not necessary.
(simplify_shift_const_1): Do not modify it either in this case.

From-SVN: r145432

16 years agoDaily bump.
GCC Administrator [Wed, 1 Apr 2009 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r145382

16 years agosystem-linux-alpha.ads (Functions_Return_By_DSP): Remove.
Eric Botcazou [Tue, 31 Mar 2009 16:18:16 +0000 (16:18 +0000)] 
system-linux-alpha.ads (Functions_Return_By_DSP): Remove.

* system-linux-alpha.ads (Functions_Return_By_DSP): Remove.
* system-linux-s390.ads (Functions_Return_By_DSP): Likewise.
* system-linux-s390x.ads (Functions_Return_By_DSP): Likewise.
* system-linux-sparc.ads (Functions_Return_By_DSP): Likewise.

From-SVN: r145363

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

From-SVN: r145324

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

From-SVN: r145266

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

From-SVN: r145217

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

From-SVN: r145148

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

From-SVN: r145099

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

From-SVN: r145082

16 years agobackport: re PR target/39175 (ICE while compiling qt-4.5.0-rc1)
Ben Elliston [Wed, 25 Mar 2009 22:05:08 +0000 (22:05 +0000)] 
backport: re PR target/39175 (ICE while compiling qt-4.5.0-rc1)

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

PR target/39175
* c-common.c (c_determine_visibility): If visibility changed and
DECL_RTL has been already set, call make_decl_rtl to update symbol
flags.

cp/
* decl2.c (determine_visibility): If visibility changed and
DECL_RTL has been already set, call make_decl_rtl to update symbol
flags.

testsuite/
* gcc.dg/visibility-20.c: New test.
* g++.dg/ext/visibility/visibility-11.C: New test.

From-SVN: r145076

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

From-SVN: r145045

16 years agot-rtems: Add m5329 multilib.
Ralf Corsepius [Tue, 24 Mar 2009 04:24:15 +0000 (05:24 +0100)] 
t-rtems: Add m5329 multilib.

2009-03-24  Ralf Corsépius <ralf.corsepius@rtems.org>

* config/m68k/t-rtems: Add m5329 multilib.

From-SVN: r145025

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

From-SVN: r145021

16 years agobackport: re PR target/39482 (ICE in inline_secondary_memory_needed, at config/i386...
Uros Bizjak [Mon, 23 Mar 2009 11:19:41 +0000 (12:19 +0100)] 
backport: re PR target/39482 (ICE in inline_secondary_memory_needed, at config/i386/i386.c:25478)

Backport from mainline:
2009-03-17  Uros Bizjak  <ubizjak@gmail.com>

PR target/39482
* config/i386/i386.md (*truncdfsf_mixed): Avoid combining registers
from different units in a single alternative.
(*truncdfsf_i387): Ditto.
(*truncxfsf2_mixed): Ditto.
(*truncxfdf2_mixed): Ditto.

testsuite/ChangLog:

Backport from mainline:
2009-03-17  Uros Bizjak  <ubizjak@gmail.com>

PR target/39482
* gcc.target/i386/pr39482.c: New test.

From-SVN: r145005

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

From-SVN: r145002

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

From-SVN: r144990

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

From-SVN: r144982

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

From-SVN: r144973

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

From-SVN: r144949

16 years agobackport: re PR c++/39425 (gcc loops after reporting template instantiation errors)
H.J. Lu [Wed, 18 Mar 2009 15:00:32 +0000 (15:00 +0000)] 
backport: re PR c++/39425 (gcc loops after reporting template instantiation errors)

gcc/cp/

2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline:
2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>

PR c++/39425
* parser.c (cp_parser_explicit_specialization): Don't skip the
rest of the specialization when begin_specialization returns
false.

gcc/testsuite/

2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline:
2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>

PR c++/39425
* g++.dg/template/pr39425.C: New.

* g++.dg/template/spec33.C: Updated.

From-SVN: r144933

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

From-SVN: r144926

16 years agobackport: re PR target/39477 (Incorrect document for regparm attribute)
H.J. Lu [Tue, 17 Mar 2009 13:11:58 +0000 (13:11 +0000)] 
backport: re PR target/39477 (Incorrect document for regparm attribute)

2009-03-17  H.J. Lu  <hongjiu.lu@intel.com>

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

PR target/39477
* doc/extend.texi: Correct register behavior for regparm on
Intel 386.

From-SVN: r144904

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

From-SVN: r144895

16 years agoconfigure.ac: Detect xulrunner-1.9.
Matthias Klose [Mon, 16 Mar 2009 12:11:32 +0000 (12:11 +0000)] 
configure.ac: Detect xulrunner-1.9.

2009-03-16  Matthias Klose  <doko@ubuntu.com>

        * configure.ac: Detect xulrunner-1.9.
        * configure: Regenerate.

From-SVN: r144880

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

From-SVN: r144877

16 years agore PR libstdc++/39405 (std::shared_ptr barfs on incomplete template class that boost...
Paolo Carlini [Sun, 15 Mar 2009 00:43:46 +0000 (00:43 +0000)] 
re PR libstdc++/39405 (std::shared_ptr barfs on incomplete template class that boost::shared_ptr accepts)

2009-03-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/39405
* include/std/type_traits (__add_lvalue_reference_helper,
__add_rvalue_reference_helper): Avoid is_function.
* testsuite/20_util/shared_ptr/cons/39405.cc: New.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/39405.cc: Likewise.

From-SVN: r144867

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

From-SVN: r144865

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

From-SVN: r144854

16 years agonatClassLoader.cc (_Jv_RegisterClassHookDefault): Clear INTERPRETED access modifier.
Andrew Haley [Fri, 13 Mar 2009 18:19:59 +0000 (18:19 +0000)] 
natClassLoader.cc (_Jv_RegisterClassHookDefault): Clear INTERPRETED access modifier.

2009-03-13  Andrew Haley  <aph@redhat.com>

* java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault): Clear
INTERPRETED access modifier.

From-SVN: r144845

16 years agobackport: re PR testsuite/39451 (Invalid x86 constraint in gcc.dg/asm-b.c)
H.J. Lu [Fri, 13 Mar 2009 13:25:50 +0000 (13:25 +0000)] 
backport: re PR testsuite/39451 (Invalid x86 constraint in gcc.dg/asm-b.c)

2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline:
2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>

PR testsuite/39451
* gcc.dg/asm-b.c: Use "Q" constraint on %b1/%h1 and "R"
constraint on (%2).

From-SVN: r144835

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

From-SVN: r144828

16 years agobackport: re PR target/39327 (Incorrect addsub/unpck patterns in sse.md)
H.J. Lu [Thu, 12 Mar 2009 17:50:02 +0000 (17:50 +0000)] 
backport: re PR target/39327 (Incorrect addsub/unpck patterns in sse.md)

2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline:
2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39327
* config/i386/sse.md (sse3_addsubv4sf3): Correct item bits.
(sse3_addsubv2df3): Likewise.

From-SVN: r144820

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

From-SVN: r144798

16 years ago* g++.old-deja/g++.jason/thunk2.C: Skip on SPU.
Ulrich Weigand [Wed, 11 Mar 2009 17:53:13 +0000 (17:53 +0000)] 
* g++.old-deja/g++.jason/thunk2.C: Skip on SPU.

From-SVN: r144786

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

From-SVN: r144767

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

From-SVN: r144737

16 years ago* config/avr/avr.md ("andsi3"): Fix wrong cc attribute.
Denis Chertykov [Mon, 9 Mar 2009 20:49:28 +0000 (20:49 +0000)] 
* config/avr/avr.md ("andsi3"): Fix wrong cc attribute.

From-SVN: r144733

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

From-SVN: r144715

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

From-SVN: r144704

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