]> git.ipfire.org Git - people/ms/gcc.git/log
people/ms/gcc.git
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

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

From-SVN: r119640

18 years agore PR c++/29730 (ICE on invalid declaration of template member)
Mark Mitchell [Thu, 7 Dec 2006 17:49:32 +0000 (17:49 +0000)] 
re PR c++/29730 (ICE on invalid declaration of template member)

PR c++/29730
* parser.c (cp_parser_init_declarator): Reject initialization of
functions.

PR c++/29730
* g++.dg/template/crash64.C: New test.
* g++.dg/parse/crash27.C: Adjust error markers.

From-SVN: r119631

18 years ago* ru.po: New.
Joseph Myers [Thu, 7 Dec 2006 16:47:19 +0000 (16:47 +0000)] 
* ru.po: New.

From-SVN: r119627

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

From-SVN: r119604

18 years agore PR c++/29729 (ICE with template class in template function)
Mark Mitchell [Wed, 6 Dec 2006 21:04:52 +0000 (21:04 +0000)] 
re PR c++/29729 (ICE with template class in template function)

PR c++/29729
* decl2.c (check_member_template): Move check for member
templates in local classes to ...
* parser.c (cp_parser_template_declaration_after_export):
... here.
PR c++/29729
* g++.dg/template/crash63.C: New test.

From-SVN: r119597

18 years agore PR c++/29728 (ICE on invalid initializer in template function)
Mark Mitchell [Wed, 6 Dec 2006 18:26:44 +0000 (18:26 +0000)] 
re PR c++/29728 (ICE on invalid initializer in template function)

PR c++/29728
* decl.c (check_array_designated_initializer): New function.
(maybe_deduce_size_from_array_init): Use it.
(reshape_init_array): Likewise.

PR c++/29728
* g++.dg/template/crash62.C: New test.

From-SVN: r119588

18 years agore PR libfortran/29810 (Unsatisfied symbol "fmodl" in libgfortran shared library)
Francois-Xavier Coudert [Wed, 6 Dec 2006 10:55:37 +0000 (11:55 +0100)] 
re PR libfortran/29810 (Unsatisfied symbol "fmodl" in libgfortran shared library)

PR libfortran/29810
* intrinsics/c99_functions.c (fmodf, fmodl, floorl): New functions.
* c99_protos.h (fmodf, fmodl, floorl): New prototypes.
* configure.ac: Check for fmodf, fmod and fmodl.
* configure: Regenerate.
* config.h.in: Regenerate.
* aclocal.m4: Regenerate with correct autoconf version (1.9.6).
* Makefile.in: Likewise.

From-SVN: r119577

18 years agoDaily bump.
GCC Administrator [Wed, 6 Dec 2006 00:16:56 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r119567

18 years agore PR c++/14329 ([4.1 only] badly formatted warnings for SRA replacements used uninit...
Richard Henderson [Tue, 5 Dec 2006 18:04:44 +0000 (10:04 -0800)] 
re PR c++/14329 ([4.1 only] badly formatted warnings for SRA replacements used uninitialized)

2006-12-05  Richard Henderson  <rth@redhat.com>
            Andrew Pinski  <pinskia@gmail.com>

        PR C++/14329
        * error.c (cp_printer) <'D'>: Handle DECL_DEBUG_EXPR.

2006-12-05  Richard Henderson  <rth@redhat.com>
            Andrew Pinski  <pinskia@gmail.com>

        PR C++/14329
        * g++.dg/warn/unit-1.C: New test.

Co-Authored-By: Andrew Pinski <pinskia@gmail.com>
From-SVN: r119548

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

From-SVN: r119522

18 years agore PR c++/29632 (ICE on invalid code: regenerate_decl_from_template, at cp/pt.c:10969)
Mark Mitchell [Mon, 4 Dec 2006 23:21:03 +0000 (23:21 +0000)] 
re PR c++/29632 (ICE on invalid code: regenerate_decl_from_template, at cp/pt.c:10969)

PR c++/29632
* call.c (add_builtin_candidate): Do not permit NULL pointer
constants to be compared with template parameters.
PR c++/29632
* g++.dg/template/error23.C: New test.

From-SVN: r119517

18 years agore PR c++/29733 (ICE on initialization of function type)
Mark Mitchell [Mon, 4 Dec 2006 23:19:56 +0000 (23:19 +0000)] 
re PR c++/29733 (ICE on initialization of function type)

PR c++/29733
* pt.c (tsubst_decl): Disallow variables of function type.
PR c++/29733
* g++.dg/template/crash61.C: New test.

From-SVN: r119516

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

From-SVN: r119473

18 years agoBackport:
Volker Reichelt [Sun, 3 Dec 2006 10:19:59 +0000 (10:19 +0000)] 
Backport:

2006-08-27  Simon Martin  <simartin@users.sourceforge.net>

PR c++/28284
* pt.c (fold_non_dependent_expr): Make sure expr is not dereferenced if it
is NULL.

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

From-SVN: r119462

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

From-SVN: r119457

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

From-SVN: r119431

18 years agoRemove non-ASCII characters.
Eric Botcazou [Fri, 1 Dec 2006 22:52:45 +0000 (22:52 +0000)] 
Remove non-ASCII characters.

From-SVN: r119425

18 years agore PR c++/30022 (ICE on vector operand in division)
Volker Reichelt [Fri, 1 Dec 2006 22:29:13 +0000 (22:29 +0000)] 
re PR c++/30022 (ICE on vector operand in division)

PR c++/30022
* typeck.c (type_after_usual_arithmetic_conversions):
Fix assertion for vector types.
(build_binary_op): Use temporary for inner type of vector types.

* g++.dg/ext/vector5.C: New test.

From-SVN: r119419

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

From-SVN: r119386

18 years agoDaily bump.
GCC Administrator [Thu, 30 Nov 2006 00:17:07 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r119343

18 years agore PR c++/29022 (ICE using operator int in invalid class hierarchy)
Lee Millward [Wed, 29 Nov 2006 19:01:50 +0000 (19:01 +0000)] 
re PR c++/29022 (ICE using operator int in invalid class hierarchy)

PR c++/29022
* parser.c (cp_parser_class_head): Move processing
of any base classes to...
(cp_parser_class_specifier) ...here. Take an extra
tree* parameter for any base classes. Only process
them if the opening brace was found.

* g++.dg/inherit/virtual1.C: New test.
* g++.dg/inherit/virtual2.C: Likewise.
* g++.old-deja/g++.bugs/900121_05.C: Adjust error markers.
* g++.dg/inherit/error2.C: Likewise.
* g++.dg/template/instantiate1.C: Likewise.

From-SVN: r119332

18 years agopredicates.md (gpc_reg_operand): Check invalid_e500_subreg.
Joseph Myers [Wed, 29 Nov 2006 17:36:55 +0000 (17:36 +0000)] 
predicates.md (gpc_reg_operand): Check invalid_e500_subreg.

* config/rs6000/predicates.md (gpc_reg_operand): Check
invalid_e500_subreg.
* config/rs6000/rs6000.c (invalid_e500_subreg): Don't allow any
SImode subregs of SPE vectors.
* config/rs6000/rs6000.md (insv): Fail for invalid E500 subregs.
* jump.c (true_regnum): Require subregs to satisfy
subreg_offset_representable_p.

From-SVN: r119326