- 26 Jun, 2006 4 commits
-
-
* 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
Keith Seitz committed -
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
Richard Guenther committed -
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
Paolo Carlini committed -
From-SVN: r115001
GCC Administrator committed
-
- 25 Jun, 2006 10 commits
-
-
From-SVN: r114996
Joseph Myers committed -
PR middle-end/28151 * fold-const.c (const_binop): Be prepared for self returning zero. Simplify code handling complex values. From-SVN: r114992
Eric Botcazou committed -
From-SVN: r114990
Joseph Myers committed -
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
Paul Thomas committed -
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
Lee Millward committed -
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
Lee Millward committed -
From-SVN: r114984
Eric Botcazou committed -
* io/io.h: Move proto for unit_to_fd... * libgfortran.h: ...here. From-SVN: r114983
Francois-Xavier Coudert committed -
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
Paolo Carlini committed -
From-SVN: r114980
GCC Administrator committed
-
- 24 Jun, 2006 11 commits
-
-
From-SVN: r114973
Joseph Myers committed -
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
Francois-Xavier Coudert committed -
PR fortran/23862 * lang-specs.h (f95-cpp-input): Pass -ffree-form to f951 unless -ffixed-form is explicitly specified. From-SVN: r114970
Francois-Xavier Coudert committed -
* 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
Joseph Myers committed -
* 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
Joseph Myers committed -
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
Paul Thomas committed -
* 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
Olivier Hainque committed -
* 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
Francois-Xavier Coudert committed -
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
Francois-Xavier Coudert committed -
From-SVN: r114959
GCC Administrator committed -
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
Benjamin Kosnik committed
-
- 23 Jun, 2006 15 commits
-
-
PR c++/28114 * name-lookup.c (pushtag): Return if we have error_mark_node. From-SVN: r114953
Steve Ellcey committed -
PR c++/27019 * typeck2.c (process_init_constructor_array): Set ce->value on errors. From-SVN: r114952
Steve Ellcey committed -
* 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
Janis Johnson committed -
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
Steven G. Kargl committed -
* g++.dg/template/error22.C: Fix typo. From-SVN: r114949
Lee Millward committed -
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
Volker Reichelt committed -
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
Steve Ellcey committed -
* 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
Olivier Hainque committed -
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
Volker Reichelt committed -
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
Andrew Haley committed -
From-SVN: r114928
Andreas Schwab committed -
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
Danny Smith committed -
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
Richard Guenther committed -
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
Roger Sayle committed -
libdecnumber/ * decNumber.h (decNumberNegate): Remove. gcc/ * dfp.c (decimal_to_decnumber): Do not use decNumberNegate to negate dn -- manipulate it directly. From-SVN: r114922
Ben Elliston committed
-