]> git.ipfire.org Git - people/ms/gcc.git/log
people/ms/gcc.git
18 years agoDaily bump.
GCC Administrator [Thu, 25 Jan 2007 00:17:12 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r121150

18 years agotrans-intrinsic.c (gfc_conv_intrinsic_sign): Call gfc_evaluate_now to prevent re...
Roger Sayle [Wed, 24 Jan 2007 21:26:59 +0000 (21:26 +0000)] 
trans-intrinsic.c (gfc_conv_intrinsic_sign): Call gfc_evaluate_now to prevent re-evaluation of first operand.

* trans-intrinsic.c (gfc_conv_intrinsic_sign): Call gfc_evaluate_now
to prevent re-evaluation of first operand.

* gfortran.dg/intrinsic_sign_1.f90: New test case.
* gfortran.dg/intrinsic_sign_2.f90: Likewise.

Co-Authored-By: Brooks Moses <brooks.moses@codesourcery.com>
Co-Authored-By: Francois-Xavier Coudert <coudert@clipper.ens.fr>
From-SVN: r121138

18 years agore PR objc/27438 ([unit-at-a-time] '_OBJC_INSTANCE_0' defined but not used warning)
Andrew Pinski [Wed, 24 Jan 2007 06:06:07 +0000 (22:06 -0800)] 
re PR objc/27438 ([unit-at-a-time] '_OBJC_INSTANCE_0' defined but not used warning)

2007-01-23  Andrew Pinski  <pinskia@gmail.com>

        PR objc/27438
        * objc-act.c (objc_add_static_instance): Mark the decl as
        TREE_USED.

2007-01-23  Andrew Pinski  <pinskia@gmail.com>

        PR objc/27438
        * objc.dg/const-str-12.m: New test.

From-SVN: r121103

18 years agoDaily bump.
GCC Administrator [Wed, 24 Jan 2007 00:16:59 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r121095

18 years agoDaily bump.
GCC Administrator [Tue, 23 Jan 2007 00:17:08 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r121069

18 years agore PR objc/30479 (Precompiled headers don't seem to work with GNU ObjC)
Andrew Pinski [Mon, 22 Jan 2007 02:03:02 +0000 (18:03 -0800)] 
re PR objc/30479 (Precompiled headers don't seem to work with GNU ObjC)

2007-01-21  Andrew Pinski  <pinskia@gmail.com>

        PR objc/30479
        * objc-act.c (hash_interface): Use IDENTIFIER_HASH_VALUE instead
        of htab_hash_pointer.
        (lookup_interface): Likewise.
        (add_class): Likewise.

2007-01-21  Andrew Pinski  <pinskia@gmail.com>

        PR objc/30479
        * objc.dg/pch: New directory.
        * objc.dg/pch/pch.exp: New file.
        * objc.dg/pch/interface-1.m: New test.
        * objc.dg/pch/interface-1.hs: New include file.
        * lib/objc.exp (objc_target_compile): Add
        "-x objective-c-header" in front of the sources if this is
        a precompiled header being compiled.

From-SVN: r121048

18 years agoDaily bump.
GCC Administrator [Mon, 22 Jan 2007 00:17:00 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r121043

18 years agore PR rtl-optimization/29329 (internal consistency failure)
Eric Botcazou [Sun, 21 Jan 2007 22:34:57 +0000 (23:34 +0100)] 
re PR rtl-optimization/29329 (internal consistency failure)

PR rtl-optimization/29329
* combine.c (replaced_rhs_insn): Rename to i2mod.
(replaced_rhs_value): Rename to i2mod_new_rhs.
(i2mod_old_rhs): New global variable.
(combine_instructions): Adjust for above change.  Save a copy of
the old RHS into i2mod_old_rhs when the contents of a REG_EQUAL
note are substituted in the second instruction.
(distribute_notes) <REG_DEAD>: Adjust for above change.  Do not
ditch the note if it pertains to the second eliminated register
and this register is mentioned in i2mod_old_rhs.

Revert:
2006-09-12  Eric Botcazou  <ebotcazou@libertysurf.fr>

* combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
the insn to which the note was originally attached.

From-SVN: r121039

18 years agoDaily bump.
GCC Administrator [Sun, 21 Jan 2007 00:17:11 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r121016

18 years agopa.c (output_move_double): Change array size of xoperands to 4.
John David Anglin [Sat, 20 Jan 2007 16:35:36 +0000 (16:35 +0000)] 
pa.c (output_move_double): Change array size of xoperands to 4.

* pa.c (output_move_double): Change array size of xoperands to 4.

From-SVN: r121004

18 years agoDaily bump.
GCC Administrator [Sat, 20 Jan 2007 00:17:15 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120988

18 years agoDaily bump.
GCC Administrator [Fri, 19 Jan 2007 00:16:52 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r120941

18 years agoDaily bump.
GCC Administrator [Thu, 18 Jan 2007 00:17:14 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120887

18 years agosourcebuild.texi (libgcj Tests): Use sourceware.org.
Tom Tromey [Wed, 17 Jan 2007 19:57:09 +0000 (19:57 +0000)] 
sourcebuild.texi (libgcj Tests): Use sourceware.org.

* doc/sourcebuild.texi (libgcj Tests): Use sourceware.org.
* doc/install.texi (Testing): Use sourceware.org.
(Binaries): Likewise.
(Specific): Likewise.
* doc/contrib.texi (Contributors): Use sourceware.org.

From-SVN: r120871

18 years agoDaily bump.
GCC Administrator [Wed, 17 Jan 2007 00:17:09 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120840

18 years agore PR testsuite/12325 (gcc.dg/torture/builtin-attr-1.c assumes all targets support...
Kaveh R. Ghazi [Tue, 16 Jan 2007 04:13:43 +0000 (04:13 +0000)] 
re PR testsuite/12325 (gcc.dg/torture/builtin-attr-1.c assumes all targets support inf)

PR testsuite/12325
* gcc.dg/torture/builtin-attr-1.c: Handle warnings from
targets that don't support Inf.

From-SVN: r120820

18 years agoDaily bump.
GCC Administrator [Tue, 16 Jan 2007 00:16:50 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r120811

18 years agoDaily bump.
GCC Administrator [Mon, 15 Jan 2007 00:17:00 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120786

18 years agoDaily bump.
GCC Administrator [Sun, 14 Jan 2007 00:16:56 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r120762

18 years agore PR fortran/30435 (Slash at end of input not recognized according to standard)
Jerry DeLisle [Sat, 13 Jan 2007 21:03:17 +0000 (21:03 +0000)] 
re PR fortran/30435 (Slash at end of input not recognized according to standard)

2007-01-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/30435
* gfortran.dg/list_read_6.f90: New test.

From-SVN: r120759

18 years agore PR fortran/30435 (Slash at end of input not recognized according to standard)
Jerry DeLisle [Sat, 13 Jan 2007 21:00:31 +0000 (21:00 +0000)] 
re PR fortran/30435 (Slash at end of input not recognized according to standard)

2007-01-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/30435
* io/list_read.c (finish_separator): Don't call next_record.
(list_formatted_read_scalar): Clean up some comments and whitespace.
(nml_read_obj): Whitespace fix.

From-SVN: r120758

18 years agoatomicity.h (__exchange_and_add): Don't use ordered store.
John David Anglin [Sat, 13 Jan 2007 15:13:20 +0000 (15:13 +0000)] 
atomicity.h (__exchange_and_add): Don't use ordered store.

* config/cpu/hppa/atomicity.h (__exchange_and_add): Don't use ordered
store.
(__atomic_add): Likewise.

From-SVN: r120753

18 years agoDaily bump.
GCC Administrator [Sat, 13 Jan 2007 00:16:55 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r120741

18 years agopa-linux.h (ASM_OUTPUT_INTERNAL_LABEL): Undefine.
John David Anglin [Fri, 12 Jan 2007 02:23:38 +0000 (02:23 +0000)] 
pa-linux.h (ASM_OUTPUT_INTERNAL_LABEL): Undefine.

* pa-linux.h (ASM_OUTPUT_INTERNAL_LABEL): Undefine.
* pa.h (ASM_OUTPUT_LABEL): Output colon when using GAS.
(ASM_OUTPUT_INTERNAL_LABEL): Define.

From-SVN: r120703

18 years agoDaily bump.
GCC Administrator [Fri, 12 Jan 2007 00:16:53 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r120691

18 years agore PR c++/28999 (ICE on invalid use of typename)
Mark Mitchell [Thu, 11 Jan 2007 05:40:35 +0000 (05:40 +0000)] 
re PR c++/28999 (ICE on invalid use of typename)

PR c++/28999
* decl.c (make_typename_type): If the qualified name is not a
type, issue an error.
* parser.c (cp_parser_elaborated_type_specifier): Fix comment
formatting.
PR c++/28999
* g++.dg/template/typename11.C: New test.

From-SVN: r120665

18 years agoDaily bump.
GCC Administrator [Thu, 11 Jan 2007 00:17:07 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120658

18 years agoDaily bump.
GCC Administrator [Wed, 10 Jan 2007 00:17:00 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120626

18 years agore PR target/30173 (Error in ARM softfloat routine __adddf3)
Nicolas Pitre [Tue, 9 Jan 2007 10:14:54 +0000 (10:14 +0000)] 
re PR target/30173 (Error in ARM softfloat routine __adddf3)

2007-01-09  Nicolas Pitre  <nico@cam.org>

PR target/30173
* arm/ieee754-df.S (Lad_s): Also test the low word of X for zero.

From-SVN: r120615

18 years agoDaily bump.
GCC Administrator [Tue, 9 Jan 2007 00:17:20 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120601

18 years ago* config/frv/predicates.md (reg_or_0_operand): Accept CONST_DOUBLEs.
Nick Clifton [Mon, 8 Jan 2007 15:08:14 +0000 (15:08 +0000)] 
* config/frv/predicates.md (reg_or_0_operand): Accept CONST_DOUBLEs.

From-SVN: r120583

18 years agoDaily bump.
GCC Administrator [Mon, 8 Jan 2007 00:17:03 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120562

18 years agoFix nits.
Eric Botcazou [Sun, 7 Jan 2007 16:20:54 +0000 (16:20 +0000)] 
Fix nits.

From-SVN: r120548

18 years agoDaily bump.
GCC Administrator [Sun, 7 Jan 2007 00:17:20 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120538

18 years agotarget-supports.exp (check_effective_target_sync_int_long): Always return 0 for SPARC...
Eric Botcazou [Sat, 6 Jan 2007 22:41:06 +0000 (23:41 +0100)] 
target-supports.exp (check_effective_target_sync_int_long): Always return 0 for SPARC targets.

* lib/target-supports.exp (check_effective_target_sync_int_long):
Always return 0 for SPARC targets.
(check_effective_target_sync_char_short): Likewise.

From-SVN: r120534

18 years agobackport: re PR middle-end/27736 (unwind-dw2-fde.c:833: fatal error: internal consist...
Richard Sandiford [Sat, 6 Jan 2007 14:26:58 +0000 (14:26 +0000)] 
backport: re PR middle-end/27736 (unwind-dw2-fde.c:833: fatal error: internal consistency failure)

gcc/
Backport:

2006-05-23  Richard Sandiford  <richard@codesourcery.com>

PR rtl-optimization/27736
* combine.c (replaced_rhs_value): New variable.
(combine_instructions): Set it.
(distribute_notes): When distributing a note in replaced_rhs_insn,
check whether the value was used in replaced_rhs_value.

2006-05-22  Richard Sandiford  <richard@codesourcery.com>

PR rtl-optimization/25514
* combine.c (replaced_rhs_insn): New variable.
(combine_instructions): Set replaced_rhs_insn when trying to replace
a SET_SRC with a REG_EQUAL note.
(distribute_notes): Use replaced_rhs_insn when determining the live
range of a REG_DEAD register.

gcc/testsuite/
2006-05-22  Richard Sandiford  <richard@codesourcery.com>

PR rtl-optimization/25514
* gcc.c-torture/compile/pr25514.c: New test.

From-SVN: r120526

18 years agoDaily bump.
GCC Administrator [Sat, 6 Jan 2007 00:16:57 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r120515

18 years agore PR tree-optimization/30212 (C Compiler crash on loop optimization)
Richard Guenther [Fri, 5 Jan 2007 22:47:47 +0000 (22:47 +0000)] 
re PR tree-optimization/30212 (C Compiler crash on loop optimization)

2007-01-05  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/30212
        * tree-vrp.c (adjust_range_with_scev): Do not adjust invalid
ranges by using TYPE_MIN_VALUE or TYPE_MAX_VALUE.

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

From-SVN: r120507

18 years agore PR c++/27826 (ICE in copy_to_mode_reg)
Richard Guenther [Fri, 5 Jan 2007 20:59:15 +0000 (20:59 +0000)] 
re PR c++/27826 (ICE in copy_to_mode_reg)

2007-01-05  Richard Guenther  <rguenther@suse.de>

PR middle-end/27826
* tree.c (get_narrower): Do not construct COMPONENT_REFs
with mismatched types.  Instead explicitly build a
conversion NOP_EXPR.

* g++.dg/opt/pr27826.C: New testcase.

From-SVN: r120497

18 years agobackport: re PR c/25795 (Proccessing the attribute externally_visible too early)
Richard Guenther [Fri, 5 Jan 2007 19:44:10 +0000 (19:44 +0000)] 
backport: re PR c/25795 (Proccessing the attribute externally_visible too early)

2007-01-05  Richard Guenther  <rguenther@suse.de>

Backport from mainline:
2006-06-24  Jan Hubicka  <jh@suse.cz>

PR c/25795
PR c++/27369
* craph.c (cgraph_varpool_nodes): Export.
(decide_is_variable_needed): Do not worry about "used" attribute.
* cgraph.h (cgraph_varpool_nodes): Declare.
* cgraphunit.c (decide_is_function_needed): Do not worry about "used"
attribute.
(process_function_and_variable_attributes): New function.
(cgraph_finalize_compilation_unit): Call it.
* c-decl.c (finish_decl): Do not worry about used attribute.
* c-common.c (handle_externally_visible_attribute): Only validate.

* gcc.dg/pr25795.c: New testcase.
* gcc.dg/pr25795-1.c: Likewise.

From-SVN: r120495

18 years agoinstall.texi (Final install): Document the fact that the GNAT runtime should not...
Joel Brobecker [Fri, 5 Jan 2007 17:27:33 +0000 (17:27 +0000)] 
install.texi (Final install): Document the fact that the GNAT runtime should not be stripped.

        * doc/install.texi (Final install): Document the fact that
        the GNAT runtime should not be stripped.

From-SVN: r120491

18 years agore PR c++/30382 (ICE in build_enumerator, at cp/decl.c:10111)
Jakub Jelinek [Fri, 5 Jan 2007 16:53:27 +0000 (17:53 +0100)] 
re PR c++/30382 (ICE in build_enumerator, at cp/decl.c:10111)

PR c++/30382
Backported from mainline:
2006-06-29  Jason Merrill  <jason@redhat.com>
* parser.c (cp_parser_enum_specifier): Return early if
type is error_mark_node.

From-SVN: r120490

18 years agobackport: re PR c/25993 (-std= produces incorrect preprocessor output for .S)
Jakub Jelinek [Fri, 5 Jan 2007 15:55:45 +0000 (16:55 +0100)] 
backport: re PR c/25993 (-std= produces incorrect preprocessor output for .S)

Backported from mainline
2006-09-17  Steven Bosscher  <steven@gcc.gnu.org>
PR c/25993
* c-opts.c (c_common_handle_option): Ignore the -std options
if the input language is assembly.

2006-10-13  Eric Christopher  <echristo@apple.com>
* gcc.dg/pr25993.c: Skip for darwin.

2006-09-16  Steven Bosscher  <steven@gcc.gnu.org>
PR c/25993
* gcc.dg/pr25993.c: New test.

From-SVN: r120489

18 years agore PR c/30360 (Complex divide bug)
Jakub Jelinek [Fri, 5 Jan 2007 15:53:31 +0000 (16:53 +0100)] 
re PR c/30360 (Complex divide bug)

PR c/30360
* libgcc2.c (__divdc3): Compare c and d against 0.0 instead of
denom against 0.0.

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

From-SVN: r120488

18 years agore PR middle-end/28116 (ICE when building konverter with gcc-4.1 with -O3 [RSO])
Richard Guenther [Fri, 5 Jan 2007 13:53:45 +0000 (13:53 +0000)] 
re PR middle-end/28116 (ICE when building konverter with gcc-4.1 with -O3 [RSO])

2007-01-05  Richard Guenther  <rguenther@suse.de>

PR middle-end/28116
* tree-inline.c (copy_body_r): Mark argument of ADDR_EXPR
addressable.

* g++.dg/opt/pr28116.C: New testcase.

From-SVN: r120480

18 years agobackport: re PR middle-end/29241 ([non unit-at-a-time] ICE with always inline)
Richard Guenther [Fri, 5 Jan 2007 11:35:01 +0000 (11:35 +0000)] 
backport: re PR middle-end/29241 ([non unit-at-a-time] ICE with always inline)

2007-01-05  Richrad Guenther  <rguenther@suse.de>

Backport from mainline:
2006-10-15  Jan Hubicka  <jh@suse.cz>

        PR middle-end/29241
        * cgraphunit.c (cgraph_preserve_function_body_p): Preserve functions
        declared always_inline even when not inlining.

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

From-SVN: r120475

18 years agoDaily bump.
GCC Administrator [Fri, 5 Jan 2007 00:16:56 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r120461

18 years agoDaily bump.
GCC Administrator [Thu, 4 Jan 2007 00:16:52 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r120416

18 years agobackport: re PR c++/28217 (ICE in tree_int_cst_sgn)
Jakub Jelinek [Wed, 3 Jan 2007 23:56:44 +0000 (00:56 +0100)] 
backport: re PR c++/28217 (ICE in tree_int_cst_sgn)

Backported from mainline
2006-07-12  Jason Merrill  <jason@redhat.com>
PR c++/28217
* semantics.c (note_decl_for_pch): Don't premangle templates.

* g++.dg/pch/template-1.C: New test.
* g++.dg/pch/template-1.Hs: New file.

From-SVN: r120412

18 years agore PR middle-end/30286 (Segfault with -O2 -ftrapv)
Jakub Jelinek [Wed, 3 Jan 2007 08:15:24 +0000 (09:15 +0100)] 
re PR middle-end/30286 (Segfault with -O2 -ftrapv)

PR middle-end/30286
* fold-const.c (negate_expr): Don't call fold_build1
for INTEGER_CST or REAL_CST.

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

From-SVN: r120393

18 years agore PR c++/29535 (ICE in instantiate_class_template, at cp/pt.c:5728)
Jakub Jelinek [Wed, 3 Jan 2007 08:13:50 +0000 (09:13 +0100)] 
re PR c++/29535 (ICE in instantiate_class_template, at cp/pt.c:5728)

PR c++/29535
Backported from mainline
2006-10-17  Mark Mitchell  <mark@codesourcery.com>
PR c++/28261
* parser.c (cp_lexer_next_token_is_decl_specifier_keyword): New
function.
(cp_parser_constructor_declarator_p): Use it.
(cp_parser_check_type_definition): Return a value indicating
whether or not the definition is valid.
(cp_parser_enum_specifier): Skip invalid enum definitions.

PR c++/28261
* g++.dg/parse/enum3.C: New test.

PR c++/29535
* g++.dg/template/crash66.C: New test.

From-SVN: r120392

18 years agore PR c++/29054 (ICE on friend template specialization)
Jakub Jelinek [Wed, 3 Jan 2007 08:11:02 +0000 (09:11 +0100)] 
re PR c++/29054 (ICE on friend template specialization)

PR c++/29054
* decl.c (revert_static_member_fn): Don't remove first
argument without checking it is "this".

* g++.dg/template/friend49.C: New test.

From-SVN: r120391

18 years agoDaily bump.
GCC Administrator [Wed, 3 Jan 2007 00:17:00 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120366

18 years agoDaily bump.
GCC Administrator [Tue, 2 Jan 2007 00:16:59 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r120325

18 years agoDaily bump.
GCC Administrator [Mon, 1 Jan 2007 00:16:43 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r120304

18 years agoDaily bump.
GCC Administrator [Sun, 31 Dec 2006 00:16:49 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r120291

18 years agoDaily bump.
GCC Administrator [Sat, 30 Dec 2006 00:17:08 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120277

18 years agore PR preprocessor/29612 (gcc --save-temps does not give "multi-character character...
Jakub Jelinek [Fri, 29 Dec 2006 08:17:43 +0000 (09:17 +0100)] 
re PR preprocessor/29612 (gcc --save-temps does not give "multi-character character constant" error)

PR preprocessor/29612
* directives.c (do_linemarker): Set pfile->buffer->sysp always, not
only when new_sysp is non-zero.

* gcc.dg/cpp/pr29612-1.c: New test.
* gcc.dg/cpp/pr29612-2.c: New test.

From-SVN: r120259

18 years agoDaily bump.
GCC Administrator [Fri, 29 Dec 2006 00:17:05 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120249

18 years agoDaily bump.
GCC Administrator [Thu, 28 Dec 2006 00:16:49 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r120229

18 years agore PR debug/26964 (Duplicate debug info for enums in namespaces)
Ian Lance Taylor [Wed, 27 Dec 2006 22:23:55 +0000 (22:23 +0000)] 
re PR debug/26964 (Duplicate debug info for enums in namespaces)

PR debug/26964
* dwarf2out.c (gen_type_die): Don't write out a DIE for
ENUMERAL_TYPE if it was already written out.

From-SVN: r120223

18 years agoDaily bump.
GCC Administrator [Wed, 27 Dec 2006 00:17:05 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120214

18 years agoDaily bump.
GCC Administrator [Tue, 26 Dec 2006 00:17:07 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120205

18 years agore PR fortran/30145 (Fortran 90: write statement fails to ignore zero-sized array...)
Jerry DeLisle [Mon, 25 Dec 2006 23:08:17 +0000 (23:08 +0000)] 
re PR fortran/30145 (Fortran 90: write statement fails to ignore zero-sized array...)

2006-12-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/30145
* gfortran.dg/write_zero_array.f90: New test.

2006-12-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/30200
* gfortran.dg/write_fmt_trim.f90: New test.

From-SVN: r120201

18 years agore PR fortran/30145 (Fortran 90: write statement fails to ignore zero-sized array...)
Jerry DeLisle [Mon, 25 Dec 2006 22:56:54 +0000 (22:56 +0000)] 
re PR fortran/30145 (Fortran 90: write statement fails to ignore zero-sized array...)

2006-12-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/30145
* io/transfer.c (transfer_array):  Check for negative extent.

From-SVN: r120200

18 years agore PR libfortran/30200 ([4.1 only] write(*,myfmt="(1X,a,'xyz')") "A" prints Az...
Jerry DeLisle [Mon, 25 Dec 2006 22:53:29 +0000 (22:53 +0000)] 
re PR libfortran/30200 ([4.1 only] write(*,myfmt="(1X,a,'xyz')") "A"  prints  Az' instead of Axyz)

2006-12-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/30200
* trans-io.c (build_dt): Move post block for format_expr to end.

From-SVN: r120199

18 years agoDaily bump.
GCC Administrator [Mon, 25 Dec 2006 00:17:10 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120194

18 years agoDaily bump.
GCC Administrator [Sun, 24 Dec 2006 00:16:59 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r120182

18 years agodwarf2out.c (dbx_reg_number): Do leaf register remapping only if the function is...
Eric Botcazou [Sat, 23 Dec 2006 17:19:19 +0000 (17:19 +0000)] 
dwarf2out.c (dbx_reg_number): Do leaf register remapping only if the function is leaf.

* dwarf2out.c (dbx_reg_number): Do leaf register remapping
only if the function is leaf.
(multiple_reg_loc_descriptor): Likewise.

Backport from mainline:
2006-05-13  Nick Clifton  <nickc@redhat.com>

* dwarf2out.c (dbx_reg_number): Check return value from
LEAF_REG_REMAP and only use it if it is valid.
(multiple_reg_loc_descriptor): Likewise.

From-SVN: r120172

18 years agoDaily bump.
GCC Administrator [Sat, 23 Dec 2006 00:17:09 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120160

18 years agoDaily bump.
GCC Administrator [Fri, 22 Dec 2006 00:17:00 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120128

18 years agore PR target/30230 (Incorrect ia64 EH info when an EH region ends in the middle of...
Jakub Jelinek [Thu, 21 Dec 2006 13:06:37 +0000 (14:06 +0100)] 
re PR target/30230 (Incorrect ia64 EH info when an EH region ends in the middle of a bundle)

PR target/30230
* config/ia64/ia64.c (ia64_add_bundle_selector_before): New function.
(bundling): Use it.

* g++.dg/eh/ia64-2.C: New test.

From-SVN: r120105

18 years agoDaily bump.
GCC Administrator [Thu, 21 Dec 2006 00:17:14 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120093

18 years agoDaily bump.
GCC Administrator [Wed, 20 Dec 2006 00:17:13 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120062

18 years agoDaily bump.
GCC Administrator [Tue, 19 Dec 2006 00:17:00 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r120027

18 years agoDaily bump.
GCC Administrator [Mon, 18 Dec 2006 00:17:20 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r119998

18 years agore PR libstdc++/11953 (_REENTRANT defined when compiling non-threaded code.)
Matthias Klose [Sun, 17 Dec 2006 13:57:31 +0000 (13:57 +0000)] 
re PR libstdc++/11953 (_REENTRANT defined when compiling non-threaded code.)

2006-12-17  Matthias Klose  <doko@debian.org>

        PR libstdc++/11953
        * gcc/config/mips/linux.h (SUBTARGET_CPP_SPEC): Extend.

From-SVN: r119988

18 years agoDaily bump.
GCC Administrator [Sun, 17 Dec 2006 00:17:19 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r119975

18 years agore PR target/24036 ([e500] ICE in subreg_offset_representable_p, at rtlanal.c:3143)
Joseph Myers [Sat, 16 Dec 2006 19:24:56 +0000 (19:24 +0000)] 
re PR target/24036 ([e500] ICE in subreg_offset_representable_p, at rtlanal.c:3143)

2006-12-16  Joseph Myers  <joseph@codesourcery.com>
            David Edelsohn  <edelsohn@gnu.org>

PR target/24036
* doc/tm.texi (HARD_REGNO_NREGS_HAS_PADDING,
HARD_REGNO_NREGS_WITH_PADDING): Document new target macros.
* defaults.h (HARD_REGNO_NREGS_HAS_PADDING,
HARD_REGNO_NREGS_WITH_PADDING): Define.
* config/i386/i386.h (HARD_REGNO_NREGS_HAS_PADDING,
HARD_REGNO_NREGS_WITH_PADDING): Define.
* rtlanal.c (subreg_regno_offset, subreg_offset_representable_p):
Use new macros to detect modes with holes; do not look at integer
units.
(subreg_offset_representable_p): Check for and disallow cases
where the modes use different numbers of bits from registers.
* config/rs6000/rs6000.c (rs6000_emit_move): Handle TFmode
constant for soft-float.
(rs6000_hard_regno_nregs): Use UNITS_PER_FP_WORD for e500 GPRs
containing doubles.
(rs6000_split_multireg_move): Use DFmode reg_mode for TFmode moves
in E500 double case.
* config/rs6000/rs6000.md (movtf): Allow soft-float.
(movtf_softfloat): New.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r119967

18 years agoDaily bump.
GCC Administrator [Sat, 16 Dec 2006 00:17:04 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r119954

18 years agore PR target/30185 (ICE with struct and divide)
Jakub Jelinek [Fri, 15 Dec 2006 23:11:00 +0000 (00:11 +0100)] 
re PR target/30185 (ICE with struct and divide)

PR target/30185
* config/rs6000/rs6000.md (div<mode>3): Use correct mode in
force_reg call.

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

From-SVN: r119949

18 years agoDaily bump.
GCC Administrator [Fri, 15 Dec 2006 00:16:54 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r119872

18 years agoDaily bump.
GCC Administrator [Thu, 14 Dec 2006 00:17:16 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r119849

18 years ago2006-12-13 Steven G. Kargl <kargl@gcc.gnu.org>
Steven G. Kargl [Wed, 13 Dec 2006 22:37:21 +0000 (22:37 +0000)] 
2006-12-13  Steven G. Kargl  <kargl@gcc.gnu.org>

        Revert Paul Thomas' commit from 2006-12-09

From-SVN: r119846

18 years agoPR c++27316
Lee Millward [Wed, 13 Dec 2006 14:28:47 +0000 (14:28 +0000)] 
PR c++27316

PR c++27316
* g++.dg/inherit/error3.C: New test.

PR c++/28740
* g++.dg/inherit/error4.C: New test.

From-SVN: r119833

18 years agoDaily bump.
GCC Administrator [Wed, 13 Dec 2006 00:17:06 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r119810

18 years agogcc-dg.exp (${tool}_load): Fix invocation of saved_${tool}_load.
Richard Sandiford [Tue, 12 Dec 2006 21:12:11 +0000 (21:12 +0000)] 
gcc-dg.exp (${tool}_load): Fix invocation of saved_${tool}_load.

gcc/testsuite/
* lib/gcc-dg.exp (${tool}_load): Fix invocation of
saved_${tool}_load.

From-SVN: r119799

18 years agore PR libstdc++/11953 (_REENTRANT defined when compiling non-threaded code.)
Jakub Jelinek [Tue, 12 Dec 2006 15:24:07 +0000 (16:24 +0100)] 
re PR libstdc++/11953 (_REENTRANT defined when compiling non-threaded code.)

PR libstdc++/11953
* gthr-posix.h (_REENTRANT): Only define if __osf__ is defined.

* config/ia64/linux.h (CPP_SPEC): Define.
* config/s390/linux.h (CPP_SPEC): Define.

From-SVN: r119790

18 years agore PR rtl-optimization/27761 (combine miscompiles)
James E Wilson [Tue, 12 Dec 2006 15:07:23 +0000 (16:07 +0100)] 
re PR rtl-optimization/27761 (combine miscompiles)

PR rtl-optimization/27761
* combine.c (try_combine): Don't create a useless garbage SET
if PATTERN (i2) is a PARALLEL.  If added_sets_1, save
PATTERN (i1) resp. SET from i1src to i1dest in i1pat
and use it to prevent accidental modification of i1src.

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

18 years agore PR libstdc++/28265 (iconv-related errors while building a cross-compiler for MinGW)
Benjamin Kosnik [Tue, 12 Dec 2006 14:18:36 +0000 (14:18 +0000)] 
re PR libstdc++/28265 (iconv-related errors while building a cross-compiler for MinGW)

2006-12-12  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/28265
        * crossconfig.m4: Remove GLIBCXX_CHECK_ICONV_SUPPORT call for
        mingw crosses.
        * configure: Regenerate.

From-SVN: r119783

18 years agore PR libstdc++/26497 (libstdc++-v3: configure: test: -lt: unary operator expected)
Benjamin Kosnik [Tue, 12 Dec 2006 13:13:21 +0000 (13:13 +0000)] 
re PR libstdc++/26497 (libstdc++-v3: configure: test: -lt: unary operator expected)

2006-12-12  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/26497
* crossconfig.m4: Add GLIBCXX_CHECK_LINKER_FEATURES for Solaris.
* acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Set
glibcxx_gnu_ld_version only when with GNU ld confirmed.
* configure: Regenerate.

From-SVN: r119781

18 years agore PR libstdc++/28125 (Cannot build cross compiler for Solaris: configure: error...
Benjamin Kosnik [Tue, 12 Dec 2006 11:23:56 +0000 (11:23 +0000)] 
re PR libstdc++/28125 (Cannot build cross compiler for Solaris: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES)

2006-12-11  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/28125
        * acinclude.m4 (GLIBCXX_CHECK_ICONV_SUPPORT): Remove link test, ie
        AC_CHECK_LIB for libiconv. Instead, use bits of AM_ICONV.
* configure: Regenerate.
* scripts/testsuite_flags.in (cxxldflags): Add LIBICONV bits.

From-SVN: r119775

18 years agoDaily bump.
GCC Administrator [Tue, 12 Dec 2006 00:17:20 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r119755

18 years agoDaily bump.
GCC Administrator [Mon, 11 Dec 2006 00:17:16 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r119722

18 years agore PR c++/29732 (ICE on invalid friend declaration)
Mark Mitchell [Sun, 10 Dec 2006 23:48:13 +0000 (23:48 +0000)] 
re PR c++/29732 (ICE on invalid friend declaration)

PR c++/29732
* cp-tree.h (DECL_USE_TEMPLATE): Mention partial specializations.
(explicit_class_specialization_p): Declare.
* pt.c (explicit_class_specialization_p): New function.
* parser.c (cp_parser_init_declarator): Check correct number of
template parameters for in-class function definitions.
(cp_parser_check_declarator_template_parameters): Stop looking for
template classes when we find an explicit specialization.

PR c++/29732
* g++.dg/template/crash65.C: New test.
* g++.dg/template/spec16.C: Tweak error markers.

PR c++/29732
* testsuite/ext/pb_assoc/example/mapping_level_neg.cc: Tweak error
markers.

From-SVN: r119719

18 years agoDaily bump.
GCC Administrator [Sun, 10 Dec 2006 00:17:34 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r119700

18 years agoBackport PRs 29820, 29821, 29912, 29916, 30003
Paul Thomas [Sat, 9 Dec 2006 17:47:45 +0000 (17:47 +0000)] 
Backport PRs 29820, 29821, 29912, 29916, 30003

2006-12-09  Paul Thomas  <pault@gcc.gnu.org>

Backports from trunk

PR fortran/29821
* resolve.c (resolve_operator): Only return result of
gfc_simplify_expr if expression is constant.

PR fortran/29912
* trans-expr.c (gfc_trans_arrayfunc_assign): Return NULL if the
lhs and rhs character lengths are not constant and equal for
character array valued functions.

PR fortran/29916
* resolve.c (resolve_symbol): Allow host-associated variables
in the specification expression of an array-valued function.
* expr.c (check_restricted): Accept host-associated dummy
array indices.

PR fortran/30003
* trans-array.c (gfc_trans_create_temp_array): Set the section
ends to zero.
(gfc_conv_section_startstride): Declare an expression for end,
set it from a the array reference and evaluate it for the info
structure. Zero the ends in the ss structure and set end, used
in the bounds check, from the info structure.
trans.h: Add and end array to the gfc_ss_info structure.

PR fortran/29820
* trans-array.c (gfc_get_derived_type): Once done, spread the
backend_decl to all identical derived types in all sibling
namespaces.

2006-12-09  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29821
* gfortran.dg/parameter_array_section_1.f90: New test.

PR fortran/29912
* gfortran.dg/char_result_12.f90: New test.

PR fortran/29916
* gfortran.dg/host_dummy_index_1.f90: Added additional test.

PR fortran/30003
* gfortran.dg/allocatable_function_1.f90: Increase the number
of expected calls of free to 10; the lhs section reference is
now evaluated so there is another call to bar.  Change the
comment appropriately.
* gfortran.dg/array_section_1.f90: New test.

PR fortran/29820
* gfortran.dg/used_types_13.f90: New test.

From-SVN: r119694

18 years agore PR target/30039 (HPPA: Incorrect code generated on 64bit host)
John David Anglin [Sat, 9 Dec 2006 03:19:05 +0000 (03:19 +0000)] 
re PR target/30039 (HPPA: Incorrect code generated on 64bit host)

PR target/30039
* pa.md (high:DI and lo_sum:DI): Handle 64-bit CONST_INTs in 32-bit
patterns.  Correct length of high:DI instruction sequence.

From-SVN: r119684

18 years agoDaily bump.
GCC Administrator [Sat, 9 Dec 2006 00:17:23 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r119674

18 years agotestsuite_hooks.cc (set_memory_limits): Don't set RLIMIT_AS below 16MB on x86_64...
Jakub Jelinek [Fri, 8 Dec 2006 10:11:00 +0000 (11:11 +0100)] 
testsuite_hooks.cc (set_memory_limits): Don't set RLIMIT_AS below 16MB on x86_64-linux.

* testsuite/testsuite_hooks.cc (set_memory_limits): Don't set
RLIMIT_AS below 16MB on x86_64-linux.

From-SVN: r119654