gcc.git
18 years agoAdd SB-1 specific multilib support. Patch by Fred Fish.
Fred Fish [Mon, 26 Jun 2006 21:16:30 +0000 (21:16 +0000)]
Add SB-1 specific multilib support.  Patch by Fred Fish.

* config/mips/t-sb1: New file.
* config.gcc (mipsisa64sb1-*-elf*): Add mips/t-sb1 to
tmake_file list.

From-SVN: r115024

18 years ago[multiple changes]
DJ Delorie [Mon, 26 Jun 2006 21:10:22 +0000 (17:10 -0400)]
[multiple changes]

2006-06-26  DJ Delorie  <dj@redhat.com>

* config/m32c/m32c.c (m32c_print_operand): Fix sign-merging logic.

2006-06-26  Naveen H.S  <naveenh@kpitcummins.com>
    Jayant Sonar  <jayants@kpitcummins.com>
    Jaydeep Vipradas  <jaydeepv@kpitcummins.com>

* config/m32c/addsub.md (addsi3, addsi3_1, addsi3_2): New.
(subsi3, subsi3_1, subsi3_2): New.
* config/m32c/bitops.md (andsi3, iorsi3, xorsi3): New.
* config/m32c/mov.md (SI mov peephole): New.
* config/m32c/m32.c (m32c_immd_dbl_mov): New.
* config/m32c/m32c-protos.h (m32c_immd_dbl_mov): New.

From-SVN: r115023

18 years agofunction.c (aggregate_value_p): Honor DECL_BY_REFERENCE on a CALL_EXPR target functio...
Olivier Hainque [Mon, 26 Jun 2006 20:59:16 +0000 (20:59 +0000)]
function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on a CALL_EXPR target function declaration.

* function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on
a CALL_EXPR target function declaration.

From-SVN: r115022

18 years agotree.c (build_string): Do not waste tail padding in struct tree_string.
Richard Guenther [Mon, 26 Jun 2006 18:18:22 +0000 (18:18 +0000)]
tree.c (build_string): Do not waste tail padding in struct tree_string.

2006-06-26  Richard Guenther  <rguenther@suse.de>

* tree.c (build_string): Do not waste tail padding in
struct tree_string.

From-SVN: r115021

18 years agoposix-threads.h: Fix coding style aberrations from 2006-06-19 check-in.
Keith Seitz [Mon, 26 Jun 2006 17:59:42 +0000 (17:59 +0000)]
posix-threads.h: Fix coding style aberrations from 2006-06-19 check-in.

        * include/posix-threads.h: Fix coding style aberrations from
        2006-06-19 check-in.
        * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
        * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
        * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.

From-SVN: r115020

18 years agono-gc.h (_Jv_SuspendThread): Declare.
Keith Seitz [Mon, 26 Jun 2006 16:31:06 +0000 (16:31 +0000)]
no-gc.h (_Jv_SuspendThread): Declare.

        * include/no-gc.h (_Jv_SuspendThread): Declare.
        (_Jv_ResumeThread): Likewise.
        * include/boehm-gc.h (_Jv_SuspendThread): Declare.
        (_Jv_ResumeThread): Likewise.
        * nogc.cc (_Jv_SuspendThread): New function.
        (_Jv_ResumeThread): Likewise.
        * boehm.cc (_Jv_SuspendThread): New function.
        (_Jv_ResumeThread): Likewise.

From-SVN: r115019

18 years agoggc-page.c (init_ggc): Add missing element to size_lookup table.
Richard Guenther [Mon, 26 Jun 2006 10:32:26 +0000 (10:32 +0000)]
ggc-page.c (init_ggc): Add missing element to size_lookup table.

2006-06-26  Richard Guenther  <rguenther@suse.de>

        * ggc-page.c (init_ggc): Add missing element to size_lookup
        table.

        Revert
        2006-06-23  Richard Guenther  <rguenther@suse.de>

        * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
        sizes to MAX_ALIGNMENT.  Fix the size_lookup table to honour
        alignment requests instead.  Add verification code.
        Add struct tree_function_decl and struct tree_binfo size to
        extra_order_size_table.  Add missing element to size_lookup
        table.

From-SVN: r115007

18 years agorandom (operator<<(std::basic_ostream<>&, const linear_congruential<>&), [...]):...
Paolo Carlini [Mon, 26 Jun 2006 03:08:48 +0000 (03:08 +0000)]
random (operator<<(std::basic_ostream<>&, const linear_congruential<>&), [...]): Redo per TR1 specs; move out of line...

2006-06-25  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (operator<<(std::basic_ostream<>&,
const linear_congruential<>&), operator>>(std::basic_istream<>&,
linear_congruential<>&), operator<<(std::basic_ostream<>&,
const mersenne_twister<>&), operator>>(std::basic_istream<>&,
mersenne_twister<>&), operator<<(std::basic_ostream<>&,
const subtract_with_carry<>&), operator>>(std::basic_istream<>&,
subtract_with_carry<>&), operator<<(std::basic_ostream<>&,
const discard_block<>&), operator>>(std::basic_istream<>&,
discard_block<>&), operator<<(std::basic_ostream<>&,
const xor_combine<>&), operator>>(std::basic_istream<>&,
xor_combine<>&), operator<<(std::basic_ostream<>&,
const uniform_int<>&), operator>>(std::basic_istream<>&,
uniform_int<>&), operator<<(std::basic_ostream<>&,
const bernoulli_distribution&), operator<<(std::basic_ostream<>&,
const geometric_distribution<>&), operator<<(std::basic_ostream<>&,
const uniform_real<>&), operator>>(std::basic_istream<>&,
uniform_real<>&), operator<<(std::basic_ostream<>&,
const exponential_distribution<>&), operator<<(std::basic_ostream<>&,
const normal_distribution<>&), operator>>(std::basic_istream<>&,
normal_distribution<>&)): Redo per TR1 specs; move out of line...
* include/tr1/random.tcc: ... here.

From-SVN: r115003

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

From-SVN: r115001

18 years ago* de.po: Update.
Joseph Myers [Sun, 25 Jun 2006 23:04:28 +0000 (00:04 +0100)]
* de.po: Update.

From-SVN: r114996

18 years agore PR middle-end/28151 (ICE with complex math)
Eric Botcazou [Sun, 25 Jun 2006 17:16:25 +0000 (17:16 +0000)]
re PR middle-end/28151 (ICE with complex math)

PR middle-end/28151
* fold-const.c (const_binop): Be prepared for self returning zero.
Simplify code handling complex values.

From-SVN: r114992

18 years ago* zh_CN.po: Update.
Joseph Myers [Sun, 25 Jun 2006 17:05:49 +0000 (18:05 +0100)]
* zh_CN.po: Update.

From-SVN: r114990

18 years agore PR fortran/25056 (non-PURE function should not be a valid argument)
Paul Thomas [Sun, 25 Jun 2006 15:11:02 +0000 (15:11 +0000)]
re PR fortran/25056 (non-PURE function should not be a valid argument)

2006-06-25  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25056
* interface.c (compare_actual_formal): Signal an error if the formal
argument is a pure procedure and the actual is not pure.

PR fortran/27554
* resolve.c (resolve_actual_arglist): If the type of procedure
passed as an actual argument is not already declared, see if it is
an intrinsic.

PR fortran/25073
* resolve.c (resolve_select): Use bits 1 and 2 of a new int to
keep track of  the appearance of constant logical case expressions.
Signal an error is either value appears more than once.

PR fortran/20874
* resolve.c (resolve_fl_procedure): Signal an error if an elemental
function is not scalar valued.

PR fortran/20867
* match.c (recursive_stmt_fcn): Perform implicit typing of variables.

PR fortran/22038
* match.c (match_forall_iterator): Mark new variables as
FL_UNKNOWN if the match fails.

PR fortran/28119
* match.c (gfc_match_forall): Remove extraneous call to
gfc_match_eos.

PR fortran/25072
* resolve.c (resolve_code, resolve_function): Rework
forall_flag scheme so that it is set and has a value of
2, when the code->expr (ie. the forall mask) is resolved.
This is used to change "block" to "mask" in the non-PURE
error message.

2006-06-25  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/20867
* gfortran.dg/stfunc_3.f90: New test.

PR fortran/25056
* gfortran.dg/impure_actual_1.f90: New test.

PR fortran/20874
* gfortran.dg/elemental_result_1.f90: New test.

PR fortran/25073
* gfortran.dg/select_7.f90: New test.

PR fortran/27554
* intrinsic_actual_1.f: New test.

PR fortran/22038
PR fortran/28119
* gfortran.dg/forall_4.f90: New test.

PR fortran/25072
* gfortran.dg/forall_5.f90: New test.

From-SVN: r114987

18 years agore PR c++/28054 (ICE with friend declaration of invalid bitfield)
Lee Millward [Sun, 25 Jun 2006 11:28:01 +0000 (11:28 +0000)]
re PR c++/28054 (ICE with friend declaration of invalid bitfield)

PR c++/28054
* decl2.c (grokbitfield): Remove check for grokdeclarator
returning NULL_TREE, instead check for error_mark_node
to indicate failure.
* decl.c (grokdeclarator): Adjust block comment.

* g++.dg/other/incomplete3.C: New test.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r114986

18 years agore PR c++/28051 (ICE on invalid conversion operator)
Lee Millward [Sun, 25 Jun 2006 11:07:05 +0000 (11:07 +0000)]
re PR c++/28051 (ICE on invalid conversion operator)

PR c++/28051
* mangle.c (mangle_conv_op_name_for_type): Check for
invalid types.
*name-lookup.c (push_class_level_binding): Robustify.
(do_class_using_decl): Return early if name is error_mark_node.

From-SVN: r114985

18 years agoMove entry to proper file.
Eric Botcazou [Sun, 25 Jun 2006 10:33:10 +0000 (10:33 +0000)]
Move entry to proper file.

From-SVN: r114984

18 years agoio.h: Move proto for unit_to_fd...
Francois-Xavier Coudert [Sun, 25 Jun 2006 08:46:09 +0000 (10:46 +0200)]
io.h: Move proto for unit_to_fd...

* io/io.h: Move proto for unit_to_fd...
* libgfortran.h: ...here.

From-SVN: r114983

18 years agorandom (class normal_distribution<>): Add.
Paolo Carlini [Sun, 25 Jun 2006 01:23:17 +0000 (01:23 +0000)]
random (class normal_distribution<>): Add.

2006-06-24  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (class normal_distribution<>): Add.
* include/tr1/random.tcc (normal_distribution<>::operator()): Define.

* include/tr1/random.tcc (struct _Max): Remove, "inline" in the
only user, mersenne_twister<>::max().

* include/tr1/random.tcc (struct _Shift): Move...
* include/tr1/random: ... here.

* include/tr1/random.tcc (linear_congruential<>::
linear_congruential(unsigned long), linear_congruential<>::
linear_congruential(_Gen&), mersenne_twister<>::max())): Move inline...
* include/tr1/random: ... here.

* include/tr1/random (exponential_distribution<>::
exponential_distribution(const result_type&)): Add missing
_GLIBCXX_DEBUG_ASSERT.

* testsuite/tr1/5_numerical_facilities/random/
exponential_distribution/requirements/typedefs.cc: New.
* testsuite/tr1/5_numerical_facilities/random/
normal_distribution/requirements/typedefs.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
bernoulli_distribution/requirements/typedefs.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/
geometric_distribution/requirements/typedefs.cc: Likewise.

From-SVN: r114982

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

From-SVN: r114980

18 years ago* sv.po: Update.
Joseph Myers [Sat, 24 Jun 2006 18:34:14 +0000 (19:34 +0100)]
* sv.po: Update.

From-SVN: r114973

18 years agore PR fortran/28081 (Undue compile-time error for zero-sized substring)
Francois-Xavier Coudert [Sat, 24 Jun 2006 18:10:47 +0000 (20:10 +0200)]
re PR fortran/28081 (Undue compile-time error for zero-sized substring)

PR fortran/28081

* resolve.c (resolve_substring): Don't issue out-of-bounds
error messages when the range has zero size.

* gfortran.dg/substr_3.f: New test.
* gfortran.dg/equiv_2.f90: Update expected error message.

From-SVN: r114972

18 years agore PR fortran/23862 (Select Fortran source form appropriately for "-pipe")
Francois-Xavier Coudert [Sat, 24 Jun 2006 16:06:28 +0000 (18:06 +0200)]
re PR fortran/23862 (Select Fortran source form appropriately for "-pipe")

PR fortran/23862
* lang-specs.h (f95-cpp-input): Pass -ffree-form to f951 unless
-ffixed-form is explicitly specified.

From-SVN: r114970

18 years agobe.po, [...]: Update.
Joseph Myers [Sat, 24 Jun 2006 15:40:32 +0000 (16:40 +0100)]
be.po, [...]: Update.

* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
rw.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po: Update.

From-SVN: r114967

18 years agobe.po, [...]: Update.
Joseph Myers [Sat, 24 Jun 2006 15:39:43 +0000 (16:39 +0100)]
be.po, [...]: Update.

* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
rw.po, sv.po, tr.po, zh_CN.po, zh_TW.po: Update.

From-SVN: r114966

18 years agore PR fortran/28118 (ICE calling subroutine defined via explicit interface)
Paul Thomas [Sat, 24 Jun 2006 13:04:37 +0000 (13:04 +0000)]
re PR fortran/28118 (ICE calling subroutine defined via explicit interface)

2006-06-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28118
* trans-array.c (gfc_conv_expr_descriptor): When building temp,
use the substring reference to calculate the length if the
expression does not have a charlen.

2006-06-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28118
* gfortran.dg/actual_array_substr_1.f90: New test.

From-SVN: r114964

18 years agogimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
Olivier Hainque [Sat, 24 Jun 2006 12:47:48 +0000 (12:47 +0000)]
gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.

* gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
(gimplify_expr): Use it for tcc_comparison of operands of non BLKmode
aggregate types.

* tree-ssa-loop-im.c (for_each_index): Handle ARRAY_RANGE_REF as
ARRAY_REF, so have the callback called for the low bound expression.

* gnat.dg/scalar_mode_agg_compare_loop.adb: New test.
* gnat.dg/scalar_mode_agg_compare.adb: New test.

From-SVN: r114963

18 years agoierrno.c: Don't include "io/io.h".
Francois-Xavier Coudert [Sat, 24 Jun 2006 12:34:51 +0000 (14:34 +0200)]
ierrno.c: Don't include "io/io.h".

* intrinsics/ierrno.c: Don't include "io/io.h".
* intrinsics/sleep.c: Likewise.
* intrinsics/perror.c: Likewise.
* intrinsics/stat.c: Likewise.
* intrinsics/kill.c: Likewise.
* intrinsics/time.c: Likewise.
* intrinsics/fnum.c: Likewise.
* intrinsics/rename.c: Likewise.
* intrinsics/symlnk.c: Likewise.
* intrinsics/chdir.c: Likewise.
* intrinsics/link.c: Likewise.
* intrinsics/random.c: Don't include "io/io.h". Include <gthr.h>.
* intrinsics/rand.c: Likewise.

From-SVN: r114962

18 years agore PR fortran/28094 (Modulo of real(kind=10) variables doesn't work)
Francois-Xavier Coudert [Sat, 24 Jun 2006 08:27:32 +0000 (10:27 +0200)]
re PR fortran/28094 (Modulo of real(kind=10) variables doesn't work)

PR fortran/28094

* trans-intrinsic.c (gfc_conv_intrinsic_mod): Support cases where
there is no integer kind equal to the resulting real kind.
* intrinsic.c (add_functions): MODULO is not allowed as an actual
argument.

* Makefile.am: Add _mod_r10.F90 and _mod_r16.F90.
* Makefile.in: Regenerate.
* generated/_mod_r10.F90: New file.
* generated/_mod_r16.F90: New file.

From-SVN: r114961

18 years agoDaily bump.
GCC Administrator [Sat, 24 Jun 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r114959

18 years agore PR libstdc++/27984 (installed libstdc++ testing broken)
Benjamin Kosnik [Sat, 24 Jun 2006 00:13:08 +0000 (00:13 +0000)]
re PR libstdc++/27984 (installed libstdc++ testing broken)

2006-06-23  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/27984
* testsuite/lib/libstdc++.exp (libstdc++_init): Adjust
testing includes.
* docs/html/test.html: Adjust for testsuite changes.

From-SVN: r114955

18 years agore PR c++/28114 (ICE with struct definition in argument of template function)
Steve Ellcey [Fri, 23 Jun 2006 21:58:25 +0000 (21:58 +0000)]
re PR c++/28114 (ICE with struct definition in argument of template function)

PR c++/28114
* name-lookup.c (pushtag): Return if we have error_mark_node.

From-SVN: r114953

18 years agore PR c++/27019 (ICE with designated initializers)
Steve Ellcey [Fri, 23 Jun 2006 21:53:36 +0000 (21:53 +0000)]
re PR c++/27019 (ICE with designated initializers)

PR c++/27019
* typeck2.c (process_init_constructor_array): Set ce->value on errors.

From-SVN: r114952

18 years agotree.h (DECIMAL_FLOAT_TYPE_P): New.
Janis Johnson [Fri, 23 Jun 2006 21:17:53 +0000 (21:17 +0000)]
tree.h (DECIMAL_FLOAT_TYPE_P): New.

* tree.h (DECIMAL_FLOAT_TYPE_P): New.
* c-typeck.c (c_common_type): Disallow operations on decimal float
types and other float types.
* convert.c (convert_to_real): Don't ignore conversions involving
decimal float types.

testsuite:
* gcc.dg/dfp/usual-arith-conv-bad.c: New test.

From-SVN: r114951

18 years agore PR fortran/27981 (Strange error message for illegal integer constant)
Steven G. Kargl [Fri, 23 Jun 2006 21:05:04 +0000 (21:05 +0000)]
re PR fortran/27981 (Strange error message for illegal integer constant)

2006-06-23  Steven G. Kargl  <kargls@comcast.net>

PR fortran/27981
* match.c (gfc_match_if):  Handle errors in assignment in simple if.

2006-06-23  Steven G. Kargl  <kargls@comcast.net>

PR fortran/27981
* gfortran.dg/simpleif_2.f90: New test.

From-SVN: r114950

18 years agoerror22.C: Fix typo.
Lee Millward [Fri, 23 Jun 2006 19:37:58 +0000 (19:37 +0000)]
error22.C: Fix typo.

* g++.dg/template/error22.C: Fix typo.

From-SVN: r114949

18 years agore PR c++/28112 (ICE with invalid argument in attribute)
Volker Reichelt [Fri, 23 Jun 2006 17:02:38 +0000 (17:02 +0000)]
re PR c++/28112 (ICE with invalid argument in attribute)

PR c++/28112
* parser.c (cp_parser_attribute_list): Skip attributes with invalid
arguments.  Fix comment.

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

From-SVN: r114941

18 years agore PR target/28084 (/usr/include/errno.h:28: error: previous declaration of 'int...
Steve Ellcey [Fri, 23 Jun 2006 16:21:54 +0000 (16:21 +0000)]
re PR target/28084 (/usr/include/errno.h:28: error: previous declaration of 'int errno' with 'C++' linkage)

PR target/28084
* inclhack.def (hpux_extern_errno): New.
* fixincl.x: Regenerate.

From-SVN: r114939

18 years agotree.c (max_int_size_in_bytes): New function, inspired from code in function.c:assign...
Olivier Hainque [Fri, 23 Jun 2006 16:18:49 +0000 (16:18 +0000)]
tree.c (max_int_size_in_bytes): New function, inspired from code in function.c:assign_temp.

        * tree.c (max_int_size_in_bytes): New function, inspired from
        code in function.c:assign_temp.
        * tree.h (max_int_size_in_bytes): Declare.
        * function.c (assign_temp): Use it.
        * gimplify.c (create_tmp_var): Relax the assertions on the type
        properties, not mandating constant size any more.
        (force_constant_size): New static function.
        (gimple_add_tmp_var): Use it, forcing variable size to a
        constant upper bound if it is not constant on entry.

        * ada/misc.c (gnat_type_max_size): Look at TYPE_ADA_SIZE if we have
        not been able to get a constant upper bound from TYPE_SIZE_UNIT.

* gnat.dg/varsize_temp.adb: New test.

From-SVN: r114938

18 years agore PR c++/11468 (Deriving from CNI class java::lang::Object causing an ICE)
Volker Reichelt [Fri, 23 Jun 2006 15:59:51 +0000 (15:59 +0000)]
re PR c++/11468 (Deriving from CNI class java::lang::Object  causing an ICE)

PR c++/11468
* init.c (build_new_1): Handle error_mark_nodes returned by
build_java_class_ref.
(build_java_class_ref): Do not abort compilation, but return
error_mark_node.  Improve error message.  Fix indentation.

* g++.dg/other/java2.C: New test.

From-SVN: r114937

18 years agojava-tree.h (update_aliases): Remove
Andrew Haley [Fri, 23 Jun 2006 12:14:44 +0000 (12:14 +0000)]
java-tree.h (update_aliases): Remove

2006-06-21  Andrew Haley  <aph@redhat.com>

        * java-tree.h (update_aliases): Remove
        * expr.c (expand_iinc): Remove call to update_aliases().
        (STORE_INTERNAL): Likewise.
        * decl.c (update_aliases, initialize_local_variable)
        (maybe_pushlevels): Set DECL_VALUE_EXPR for debugging decls.

From-SVN: r114931

18 years agoRemove conflict marker.
Andreas Schwab [Fri, 23 Jun 2006 09:41:38 +0000 (09:41 +0000)]
Remove conflict marker.

From-SVN: r114928

18 years agore PR target/27789 (attribute handling fallout from DECL_INITIAL changes)
Danny Smith [Fri, 23 Jun 2006 08:25:33 +0000 (08:25 +0000)]
re PR target/27789 (attribute handling fallout from DECL_INITIAL changes)

PR target/27789
* config/i386/winnt.c (ix86_handle_selectany_attribute): Move check
for initialization and setting of one_only flag to ...
(i386_pe_encode_section_info): ...here.
(i386_pe_dllimport_p): Check for DECL_DLLIMPORT_P also.
Recheck that the symbol has not been defined.

cp
* decl.c (start_decl): Check that dllimports are not initialized.

testsuite
* g++.dg/ext/dllimport4.C. Add more tests for invalid
initialization.

From-SVN: r114927

18 years agoggc-page.c (init_ggc): Do not round up the extra_order_size_table sizes to MAX_ALIGNMENT.
Richard Guenther [Fri, 23 Jun 2006 08:22:12 +0000 (08:22 +0000)]
ggc-page.c (init_ggc): Do not round up the extra_order_size_table sizes to MAX_ALIGNMENT.

2006-06-23  Richard Guenther  <rguenther@suse.de>

* ggc-page.c (init_ggc): Do not round up the extra_order_size_table
sizes to MAX_ALIGNMENT.  Fix the size_lookup table to honour
alignment requests instead.  Add verification code.
Add struct tree_function_decl and struct tree_binfo size to
extra_order_size_table.  Add missing element to size_lookup
table.

From-SVN: r114926

18 years agore PR middle-end/28131 (FAIL: gcc.c-torture/execute/va-arg-25.c compilation (ICE))
Roger Sayle [Fri, 23 Jun 2006 02:01:30 +0000 (02:01 +0000)]
re PR middle-end/28131 (FAIL: gcc.c-torture/execute/va-arg-25.c compilation (ICE))

2006-06-22  Roger Sayle  <roger@eyesopen.com>
    John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

PR middle-end/28131
* expr.c (expand_expr_real_1) <VECTOR_CST>: Check whether the
call to lang_hooks.types.type_for_mode returned NULL_TREE.

Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
From-SVN: r114923

18 years agodecNumber.h (decNumberNegate): Remove.
Ben Elliston [Fri, 23 Jun 2006 01:46:00 +0000 (01:46 +0000)]
decNumber.h (decNumberNegate): Remove.

libdecnumber/
* decNumber.h (decNumberNegate): Remove.
gcc/
* dfp.c (decimal_to_decnumber): Do not use decNumberNegate to
negate dn -- manipulate it directly.

From-SVN: r114922

18 years agore PR target/27531 (sparc: undefined reference to .LL226 with -O2)
Roger Sayle [Fri, 23 Jun 2006 01:19:57 +0000 (01:19 +0000)]
re PR target/27531 (sparc: undefined reference to .LL226 with -O2)

2006-06-22  Roger Sayle  <roger@eyesopen.com>
    Steven Bosscher  <stevenb.gcc@gmail.com>

PR target/27531
* reload1.c (gen_reload): Call mark_jump_label on the new insns
generated by gen_move_insn to add REG_LABEL notes if necessary.

* gcc.dg/pr27531-1.c: New test case.

Co-Authored-By: Steven Bosscher <stevenb.gcc@gmail.com>
From-SVN: r114921

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

From-SVN: r114919

18 years agoMAINTAINERS (OS Port Maintainers): Add myself as hpux maintainer.
John David Anglin [Thu, 22 Jun 2006 23:36:36 +0000 (23:36 +0000)]
MAINTAINERS (OS Port Maintainers): Add myself as hpux maintainer.

* MAINTAINERS (OS Port Maintainers): Add myself as hpux maintainer.

From-SVN: r114913

18 years ago* MAINTAINERS (OS Port Maintainers): Add myself as hpux maintainer.
Steve Ellcey [Thu, 22 Jun 2006 21:38:17 +0000 (21:38 +0000)]
* MAINTAINERS (OS Port Maintainers): Add myself as hpux maintainer.

From-SVN: r114909

18 years agoFix my 2006-05-22 entry for doc/install.texi (hijacked -> gone).
Gerald Pfeifer [Thu, 22 Jun 2006 20:56:04 +0000 (20:56 +0000)]
Fix my 2006-05-22 entry for doc/install.texi (hijacked -> gone).

From-SVN: r114905

18 years agolib1funcs.asm (MIN_ESA): Delete.
Bob Wilson [Thu, 22 Jun 2006 19:41:00 +0000 (19:41 +0000)]
lib1funcs.asm (MIN_ESA): Delete.

* config/xtensa/lib1funcs.asm (MIN_ESA): Delete.
(leaf_entry): Remove use of MIN_ESA.

From-SVN: r114903

18 years agojni.exp (gcj_jni_invocation_test_one): Link against -ljvm, not -lgcj.
Thomas Fitzsimmons [Thu, 22 Jun 2006 19:22:42 +0000 (19:22 +0000)]
jni.exp (gcj_jni_invocation_test_one): Link against -ljvm, not -lgcj.

2006-06-22  Thomas Fitzsimmons  <fitzsim@redhat.com>

* testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
Link against -ljvm, not -lgcj.

From-SVN: r114902

18 years agore PR fortran/24748 (substring of implicitly typed variable not rejected)
Asher Langton [Thu, 22 Jun 2006 18:30:18 +0000 (18:30 +0000)]
re PR fortran/24748 (substring of implicitly typed variable not rejected)

PR fortran/24748
* primary.c (gfc_match_rvalue): Don't call match_substring for
implicit non-character types.

PR fortran/24748
* gfortran.dg/implicit_8.f90: New.

From-SVN: r114901

18 years agoMakefile.am (libjvm_la_LDFLAGS): Do not set -rpath to toolexeclibdir.
Thomas Fitzsimmons [Thu, 22 Jun 2006 18:24:32 +0000 (18:24 +0000)]
Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to toolexeclibdir.

2006-06-22  Thomas Fitzsimmons  <fitzsim@redhat.com>

* Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to
toolexeclibdir.
* Makefile.in: Regenerate.

From-SVN: r114900

18 years agore PR c++/27821 (ICE with invalid ptr-to-member)
Lee Millward [Thu, 22 Jun 2006 18:05:17 +0000 (18:05 +0000)]
re PR c++/27821 (ICE with invalid ptr-to-member)

PR c++/27821
* decl.c (grokdeclarator): Return error_mark_node on
invalid uses of the scope resolution operator.

From-SVN: r114899

18 years agore PR rtl-optimization/28121 (verify_flow_info failed (wrong amount of branch edges...
Zdenek Dvorak [Thu, 22 Jun 2006 17:54:45 +0000 (19:54 +0200)]
re PR rtl-optimization/28121 (verify_flow_info failed (wrong amount of branch edges after unconditional jump 2))

PR rtl-optimization/28121
* cfgexpand.c (tree_expand_cfg): Clean EDGE_EXECUTABLE flag from
the entry edge.

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

From-SVN: r114898

18 years agore PR c++/27805 (ICE with ptr-to-member of incomplete class)
Lee Millward [Thu, 22 Jun 2006 17:48:41 +0000 (17:48 +0000)]
re PR c++/27805 (ICE with ptr-to-member of incomplete class)

PR c++/27805
* typeck2.c (build_m_component_ref): Use error_operand_p.

From-SVN: r114897

18 years agonatField.cc (getAddr): Allow setting of final field when it is accessible.
Tom Tromey [Thu, 22 Jun 2006 16:59:15 +0000 (16:59 +0000)]
natField.cc (getAddr): Allow setting of final field when it is accessible.

* java/lang/reflect/natField.cc (getAddr): Allow setting of final
field when it is accessible.

From-SVN: r114896

18 years agohash_prime_size_policy_imp.hpp: Cast to size_t instead.
Jonathan Lennox [Thu, 22 Jun 2006 15:59:22 +0000 (15:59 +0000)]
hash_prime_size_policy_imp.hpp: Cast to size_t instead.

2006-06-22  Jonathan Lennox  <lennox@cs.columbia.edu>
    Paolo Carlini  <pcarlini@suse.de>

* include/ext/pb_ds/detail/resize_policy/
hash_prime_size_policy_imp.hpp: Cast to size_t instead.

Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r114894

18 years agomuldiv.md (mulhisi3_i): Only use registers for dest (TN-16C-A156A/E).
DJ Delorie [Thu, 22 Jun 2006 15:33:36 +0000 (11:33 -0400)]
muldiv.md (mulhisi3_i): Only use registers for dest (TN-16C-A156A/E).

* config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
(TN-16C-A156A/E).
(mulhisi3_r): Likewise.

From-SVN: r114891

18 years agohash_prime_size_policy_imp.hpp: Fix for 64-bit machines.
Ami Tavory [Thu, 22 Jun 2006 11:17:24 +0000 (11:17 +0000)]
hash_prime_size_policy_imp.hpp: Fix for 64-bit machines.

2006-06-22  Ami Tavory  <atavory@gmail.com>

* include/ext/pb_ds/detail/resize_policy/
hash_prime_size_policy_imp.hpp: Fix for 64-bit machines.

From-SVN: r114888

18 years agore PR c++/28111 (ICE with invalid friend in template class)
Volker Reichelt [Thu, 22 Jun 2006 09:55:42 +0000 (09:55 +0000)]
re PR c++/28111 (ICE with invalid friend in template class)

PR c++/28111
* pt.c (determine_specialization): Check for invalid decls.

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

From-SVN: r114887

18 years agore PR c++/28110 (ICE with invalid template constant parameter)
Volker Reichelt [Thu, 22 Jun 2006 09:47:51 +0000 (09:47 +0000)]
re PR c++/28110 (ICE with invalid template constant parameter)

PR c++/28110
* pt.c (unify) <case TEMPLATE_PARM_INDEX>: Check for invalid
parameters.

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

From-SVN: r114885

18 years agore PR c++/28109 (ICE with typeid of incomplete type)
Volker Reichelt [Thu, 22 Jun 2006 09:28:02 +0000 (09:28 +0000)]
re PR c++/28109 (ICE with typeid of incomplete type)

PR c++/28109
* rtti.c (get_tinfo_decl_dynamic): Robustify.

* g++.dg/rtti/incomplete1.C: New test.

From-SVN: r114882

18 years agore PR fortran/26769 (Implement transpose() and reshape() for real instead of using...
François-Xavier Coudert [Thu, 22 Jun 2006 06:05:54 +0000 (06:05 +0000)]
re PR fortran/26769 (Implement transpose() and reshape() for real instead of using integer)

PR libfortran/26769
* ChangeLog: Forgotten in the previous commit.

From-SVN: r114881

18 years agore PR fortran/26769 (Implement transpose() and reshape() for real instead of using...
Francois-Xavier Coudert [Thu, 22 Jun 2006 06:04:02 +0000 (08:04 +0200)]
re PR fortran/26769 (Implement transpose() and reshape() for real instead of using integer)

PR libfortran/26769

* iresolve.c (gfc_resolve_reshape): Call reshape_r4 and
reshape_r8 instead of reshape_4 and reshape_8.
(gfc_resolve_transpose): Likewise for transpose.

* Makefile.am: Add r4 and r8 versions of reshape and transpose.
* Makefile.in: Regenerate.
* generated/reshape_r4.c: New file.
* generated/reshape_r8.c: New file.
* generated/transpose_r4.c: New file.
* generated/transpose_r8.c: New file.

From-SVN: r114880

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

From-SVN: r114877

18 years agopostypes.h (operator==(const fpos<>&, const fpos<>&), [...]): Add.
Paolo Carlini [Wed, 21 Jun 2006 22:21:45 +0000 (22:21 +0000)]
postypes.h (operator==(const fpos<>&, const fpos<>&), [...]): Add.

2006-06-21  Paolo Carlini  <pcarlini@suse.de>

* include/bits/postypes.h (operator==(const fpos<>&, const fpos<>&),
operator!=(const fpos<>&, const fpos<>&)): Add.
* testsuite/27_io/fpos/mbstate_t/6.cc: New.

From-SVN: r114871

18 years agore PR middle-end/28034 (section anchors break -fprofile-generate)
Richard Sandiford [Wed, 21 Jun 2006 21:27:19 +0000 (21:27 +0000)]
re PR middle-end/28034 (section anchors break -fprofile-generate)

gcc/
PR middle-end/28034
* coverage.c (coverage_counter_alloc): Leave the index type
unspecified.
(coverage_counter_alloc): Use null arguments for operands 2 and 3
of the ARRAY_REF.

From-SVN: r114870

18 years agopthread_stop_world.c (GC_suspend_handler): Redirect to suspension routine if signal...
Keith Seitz [Wed, 21 Jun 2006 20:56:37 +0000 (20:56 +0000)]
pthread_stop_world.c (GC_suspend_handler): Redirect to suspension routine if signal is received and thread is flagged...

        * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
        routine if signal is received and thread is flagged SUSPENDED.
        (suspend_self): New function.
        (GC_suspend_thread): New function.
        (GC_resume_thread): New function.
        * include/gc.h (GC_suspend_thread): Declare.
        (GC_resumet_thread): Declare.
        * include/private/pthread_support.h (SUSPENDED): New GC_thread
        flag.

From-SVN: r114869

18 years agotrans-expr.c (gfc_conv_missing_dummy, [...]): Replace calls to convert on constant...
Francois-Xavier Coudert [Wed, 21 Jun 2006 20:44:31 +0000 (22:44 +0200)]
trans-expr.c (gfc_conv_missing_dummy, [...]): Replace calls to convert on constant integer nodes by build_int_cst.

* trans-expr.c (gfc_conv_missing_dummy, gfc_conv_unary_op,
gfc_conv_cst_int_power, gfc_conv_string_tmp,
gfc_conv_function_call): Replace calls to convert on constant
integer nodes by build_int_cst.
* trans-stmt.c (gfc_trans_do): Likewise.
* trans-io.c (set_internal_unit, transfer_namelist_element):
Likewise.
* trans-decl.c (build_entry_thunks): Likewise.

From-SVN: r114868

18 years ago* sv.po: Update.
Joseph Myers [Wed, 21 Jun 2006 19:45:55 +0000 (20:45 +0100)]
* sv.po: Update.

From-SVN: r114864

18 years ago2006-06-21 Andrew Pinski <pinskia@physics.uc.edu>
Andrew Pinski [Wed, 21 Jun 2006 19:32:13 +0000 (19:32 +0000)]
2006-06-21  Andrew Pinski  <pinskia@physics.uc.edu>

        * doc/invoke.texi (-fopenmp) Move to "Options Controlling C Dialect"
        section from the "Options for Code Generation Conventions".

From-SVN: r114863

18 years agore PR target/26347 (hidden weak extern functions fail regardless of existence on...
Richard Henderson [Wed, 21 Jun 2006 18:31:56 +0000 (11:31 -0700)]
re PR target/26347 (hidden weak extern functions fail regardless of existence on alpha/linux)

        PR target/26347
        PR target/27082
        * config/alpha/predicates.md (small_symbolic_operand): Deny weak
        symbols.
        (global_symbolic_operand): Allow weak symbols, even if local_p.

From-SVN: r114861

18 years agore PR tree-optimization/21274 (SSA Crash, reproducable)
Frank Ch. Eigler [Wed, 21 Jun 2006 16:35:27 +0000 (16:35 +0000)]
re PR tree-optimization/21274 (SSA Crash, reproducable)

2006-06-21  Frank Ch. Eigler  <fche@redhat.com>

PR 21274
mf-runtime.h installation based on ssp patch for PR 26473 from
Mark Mitchell  <mark@codesourcery.com>.
* configure.ac (ACX_NONCANONICAL_TARGET): Use it.
* Makefile.am (target_noncanonical): Define.
(libsubincludedir): New variable.
(nobase_libsubinclude_HEADERS): Add mf-runtime.h.
(include_HEADERS): Remove.
* configure, aclocal.m4, config.h.in: Regenerated.
* Makefile.in, testsuite/Makefile.in: Likewise.
* mf-runtime.h: Add #ifndef protection for conflicting _REENTRANT
and _THREAD_SAFE redefinition values.

From-SVN: r114855

18 years agowin32-threads.h (_Jv_ThreadDesc_t): New typedef.
Bryce McKinlay [Wed, 21 Jun 2006 16:27:14 +0000 (16:27 +0000)]
win32-threads.h (_Jv_ThreadDesc_t): New typedef.

2006-06-21  Bryce McKinlay  <mckinlay@redhat.com>

        * include/win32-threads.h (_Jv_ThreadDesc_t): New typedef.
        (_Jv_GetPlatformThreadID): New function.
        * include/posix-threads.h (_Jv_ThreadDesc_t): New typedef.
        (_Jv_GetPlatformThreadID): New function.

From-SVN: r114854

18 years agotree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.
Eric Botcazou [Wed, 21 Jun 2006 15:09:36 +0000 (15:09 +0000)]
tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.

* tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.
(find_interesting_uses_address): Punt if above function returns true.

From-SVN: r114851

18 years agoconfigure: Regenerated.
Richard Guenther [Wed, 21 Jun 2006 11:48:04 +0000 (11:48 +0000)]
configure: Regenerated.

2006-06-21  Richard Guenther  <rguenther@suse.de>

        * configure: Regenerated.

From-SVN: r114849

18 years agomips.c (function_arg): Where one part of a complex argument is in registers and the...
Joseph Myers [Wed, 21 Jun 2006 10:36:53 +0000 (11:36 +0100)]
mips.c (function_arg): Where one part of a complex argument is in registers and the other part in the...

* config/mips/mips.c (function_arg): Where one part of a
complex argument is in registers and the other part in the stack,
return a REG not a PARALLEL.

testsuite:
* gcc.c-torture/execute/complex-7.c: New.

From-SVN: r114847

18 years agoacinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): When cross-compiling, put headers in...
Mark Mitchell [Wed, 21 Jun 2006 09:16:03 +0000 (09:16 +0000)]
acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): When cross-compiling, put headers in $prefix/$target/include/c++.

* acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): When
cross-compiling, put headers in $prefix/$target/include/c++.
* configure: Regenerated.

* configure.ac: Set gcc_gxx_include_dir to $target/include/c++
when cross-compiling.  Do not substitute libstdcxx_incdir.
* configure: Regenerated.

From-SVN: r114845

18 years agocritical.c (GOMP_critical_name_start): Fix *pptr initialization when gomp_mutex_t...
Jakub Jelinek [Wed, 21 Jun 2006 08:59:44 +0000 (10:59 +0200)]
critical.c (GOMP_critical_name_start): Fix *pptr initialization when gomp_mutex_t is larger than pointer and...

* critical.c (GOMP_critical_name_start): Fix *pptr initialization
when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is
defined.

From-SVN: r114843

18 years agovarasm.c (mergeable_string_section): Check for embedded NULs and NUL termination...
Jakub Jelinek [Wed, 21 Jun 2006 08:58:44 +0000 (10:58 +0200)]
varasm.c (mergeable_string_section): Check for embedded NULs and NUL termination in the first int_size_in_bytes...

* varasm.c (mergeable_string_section): Check for embedded NULs and
NUL termination in the first int_size_in_bytes (TREE_TYPE (decl))
rather than TREE_STRING_LENGTH bytes.

* gcc.dg/merge-all-constants-1.c: New test.

From-SVN: r114842

18 years agoggc-page.c (extra_order_size_table): Add var_ann_d, tree_ssa_name, bitmap_element...
Richard Guenther [Wed, 21 Jun 2006 08:25:33 +0000 (08:25 +0000)]
ggc-page.c (extra_order_size_table): Add var_ann_d, tree_ssa_name, bitmap_element and phi_node with 4 arguments sizes.

2006-06-21  Richard Guenther  <rguenther@suse.de>

* ggc-page.c (extra_order_size_table): Add var_ann_d,
tree_ssa_name, bitmap_element and phi_node with 4 arguments
sizes.

From-SVN: r114841

18 years agotree-ssa-loop-niter.c (simplify_using_initial_conditions): Limit iteration over the...
Richard Guenther [Wed, 21 Jun 2006 08:11:28 +0000 (08:11 +0000)]
tree-ssa-loop-niter.c (simplify_using_initial_conditions): Limit iteration over the dominators.

2006-06-21  Richrad Guenther  <rguenther@suse.de>

* tree-ssa-loop-niter.c (simplify_using_initial_conditions):
Limit iteration over the dominators.

From-SVN: r114840

18 years agoDaily bump.
GCC Administrator [Wed, 21 Jun 2006 00:17:50 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r114837

18 years agoiris6.h (LIB_SPEC): Add support for -pthread.
Roger Sayle [Tue, 20 Jun 2006 23:54:05 +0000 (23:54 +0000)]
iris6.h (LIB_SPEC): Add support for -pthread.

* config/mips/iris6.h (LIB_SPEC): Add support for -pthread.
(SUBTARGET_CPP_SPEC): Define _REENTERANT if -pthread specified.

From-SVN: r114833

18 years agore PR c++/28113 (vectors initialized in ctors, not at compile time, cause altivec...
Janis Johnson [Tue, 20 Jun 2006 23:33:58 +0000 (23:33 +0000)]
re PR c++/28113 (vectors initialized in ctors, not at  compile time, cause altivec-3.C failure)

PR c++/28113
* g++.dg/ext/altivec-3.C: Remove cast from vector initializers.

From-SVN: r114832

18 years agonatSystemProperties.cc (insertSystemProperties): Bump "java.class.version" to 48.0.
Bryce McKinlay [Tue, 20 Jun 2006 21:28:30 +0000 (21:28 +0000)]
natSystemProperties.cc (insertSystemProperties): Bump "java.class.version" to 48.0.

2006-06-20  Bryce McKinlay  <mckinlay@redhat.com>

        * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
        Bump "java.class.version" to 48.0.

From-SVN: r114831

18 years agorandom.tcc (struct _Private::_Mod_w<>, [...]): Remove.
Paolo Carlini [Tue, 20 Jun 2006 19:41:51 +0000 (19:41 +0000)]
random.tcc (struct _Private::_Mod_w<>, [...]): Remove.

2006-06-20  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random.tcc (struct _Private::_Mod_w<>,
_Private::__mod_w<>): Remove.
(struct _Private::_Shift<>): New.
(struct _Private::_Max_w<>): Rename to _Max, use the latter.
(mersenne_twister<>::seed(unsigned long), seed(_Gen&, false_type),
max()): Adjust.

From-SVN: r114826

18 years agoMakefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to "$(dbexecdir)".
Thomas Fitzsimmons [Tue, 20 Jun 2006 19:25:32 +0000 (19:25 +0000)]
Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to "$(dbexecdir)".

2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>

* Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to
"$(dbexecdir)".
Build libjvm.la.
* Makefile.in: Regenerate.
* jni.cc (the_vm): Rename and export as ...
(_Jv_the_vm): New exported symbol.
(_Jv_JNI_AttachCurrentThread): Export.
(_Jv_JNI_DestroyJavaVM): Replace the_vm references with _Jv_the_vm
references.
(_Jv_GetJavaVM): Likewise.
(JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
JNI_GetCreatedJavaVMs): Move to ...
* jni-libjvm.cc: New file.

From-SVN: r114824

18 years agosimplify.c (gfc_simplify_rrspacing): Initialize and clear mpfr_t variable.
Steven G. Kargl [Tue, 20 Jun 2006 17:49:41 +0000 (17:49 +0000)]
simplify.c (gfc_simplify_rrspacing): Initialize and clear mpfr_t variable.

2006-06-20  Steven G. Kargl  <kargls@comcast.net>

        * simplify.c (gfc_simplify_rrspacing): Initialize and clear mpfr_t
        variable.

        * gfortran.dg/rrspacing_1.f90: New test.

From-SVN: r114821

18 years agoBackport Windows 9x/ME VirtualQuery() fix from GC 6.7.
Ranjit Mathew [Tue, 20 Jun 2006 17:10:19 +0000 (17:10 +0000)]
Backport Windows 9x/ME VirtualQuery() fix from GC 6.7.

* os_dep.c (GC_wnt): Define.
(GC_init_win32): Set GC_wnt.
* dyn_load.c (GC_register_dynamic_libraries): Consider MEM_PRIVATE
sections also on Windows 9x/ME.

From-SVN: r114818

18 years agoalloc-pool.h (free_alloc_pool_if_empty): Prototype new function.
Richard Guenther [Tue, 20 Jun 2006 16:19:29 +0000 (16:19 +0000)]
alloc-pool.h (free_alloc_pool_if_empty): Prototype new function.

2006-06-20  Richard Guenther  <rguenther@suse.de>
Michael Matz  <matz@suse.de>

* alloc-pool.h (free_alloc_pool_if_empty): Prototype new
function.
* alloc-pool.c (free_alloc_pool_if_empty): New function.
* et-forest.h (et_free_pools): Prototype new function.
* et-forest.c (et_free_tree_force): Free parent occurrence.
(et_free_pools): New function.
* dominance.c (free_dominance_info): Free et-forest alloc
pools.

Co-Authored-By: Michael Matz <matz@suse.de>
From-SVN: r114817

18 years agoexpr.c (expand_expr_real_1): For vector constants with integer modes...
Roger Sayle [Tue, 20 Jun 2006 15:02:05 +0000 (15:02 +0000)]
expr.c (expand_expr_real_1): For vector constants with integer modes...

* expr.c (expand_expr_real_1) <VECTOR_CST>: For vector constants with
integer modes, attempt to directly construct an integer constant.

* fold-const.c (native_encode_vector): Determine the size of each
element from the vector type instead of the first vector element.

* tree.c (build_constructor_single): Mark a CONSTRUCTOR as constant,
if all of its elements/components are constant.
(build_constructor_from_list): Likewise.

From-SVN: r114815

18 years agoeh_arm.cc (__cxa_begin_cleanup): Always return 'true'.
Vladimir Prus [Tue, 20 Jun 2006 14:08:31 +0000 (14:08 +0000)]
eh_arm.cc (__cxa_begin_cleanup): Always return 'true'.

2006-06-20  Vladimir Prus  <vladimir@codesourcery.com>

libstdc++/
* libsupc++/eh_arm.cc (__cxa_begin_cleanup): Always return 'true'.

From-SVN: r114812

18 years agore PR c++/28052 (ICE on invalid bitfield)
Volker Reichelt [Tue, 20 Jun 2006 13:02:47 +0000 (13:02 +0000)]
re PR c++/28052 (ICE on invalid bitfield)

PR c++/28052
* init.c (push_base_cleanups): Skip members with invalid types.
* typeck.c (build_class_member_access_expr): Robustify.

* g++.dg/other/bitfield2.C: New test.

From-SVN: r114811

18 years agore PR tree-optimization/27331 (segfault in fold_convert with -ftree-vectorize)
Zdenek Dvorak [Tue, 20 Jun 2006 10:26:45 +0000 (10:26 +0000)]
re PR tree-optimization/27331 (segfault in fold_convert with -ftree-vectorize)

PR tree-optimization/27331
* tree-data-ref.c (free_data_ref): New function.
(create_data_ref): Fail if the data reference has unknown access
function.
(free_data_refs): Use free_data_ref.

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

From-SVN: r114810

18 years agore PR libgomp/26175 (In gcc-4.2.0 libgomp/.../powerpc/futex.h SYS_futex undefined)
Jakub Jelinek [Tue, 20 Jun 2006 09:55:42 +0000 (11:55 +0200)]
re PR libgomp/26175 (In gcc-4.2.0 libgomp/.../powerpc/futex.h SYS_futex undefined)

PR libgomp/26175
PR libgomp/26477
* configure.ac: If neither --enable-linux-futex nor
--disable-linux-futex is passed, determine the default by checking
for compiling and/or running against NPTL.  With --enable-linux-futex,
check if SYS_gettid and SYS_futex are defined.
* configure: Rebuilt.

From-SVN: r114809

18 years agore PR bootstrap/28072 (target-boehm-gc is being build for targets that do not support it)
David Ayers [Tue, 20 Jun 2006 08:45:08 +0000 (10:45 +0200)]
re PR bootstrap/28072 (target-boehm-gc is being build for targets that do not support it)

2006-06-20  David Ayers  <d.ayers@inode.at>

PR bootstrap/28072
* configure.in: Add target-boehm-gc to noconfigdirs depending on
whether target-libjava is being configured instead of whether the
java front end is enabled.
* configure: Regenerate.

From-SVN: r114808

18 years agore PR ada/18692 (Ada should have a dg testsuite)
James A. Morrison [Tue, 20 Jun 2006 06:20:37 +0000 (06:20 +0000)]
re PR ada/18692 (Ada should have a dg testsuite)

PR ada/18692
* lib/gnat.exp: New file.
* lib/gnat-dg.exp: Likewise.
* gnat.dg: New directory.
* gnat.dg/dg.exp: New driver.
* gnat.dg/specs: New directory.
* gnat.dg/specs/specs.exp: New driver.
* gnat.dg/style: New directory.
* gnat.dg/style/style.exp: New driver.

Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r114805