OSDN Git Service

pf3gnuchains/gcc-fork.git
17 years ago PR c/28744
jakub [Thu, 17 Aug 2006 11:52:26 +0000 (11:52 +0000)]
PR c/28744
* cgraph.h (struct cgraph_node): Remove externally_visible
bitfield.
* cgraphunit.c (process_function_and_variable_attributes): Set
local.externally_visible rather than externally_visible.

PR c/28744
* c-common.c (handle_externally_visible_attribute): First look
at TREE_CODE and only if it is function or var decl, check for
non-public objects.  Don't warn for DECL_EXTERNAL.
* cgraphunit.c (process_function_and_variable_attributes): Warn
if externally_visible attribute is used on non-public object.

* gcc.dg/attr-externally-visible-1.c: New test.
* gcc.dg/attr-externally-visible-2.c: New test.
* g++.dg/parse/attr-externally-visible-1.C: New test.
* g++.dg/parse/attr-externally-visible-2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116222 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoFix typo in previously applied patch.
hubicka [Thu, 17 Aug 2006 10:08:31 +0000 (10:08 +0000)]
Fix typo in previously applied patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116221 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR tree-optimization/27865
hubicka [Thu, 17 Aug 2006 09:44:12 +0000 (09:44 +0000)]
PR tree-optimization/27865
* reload1.c (forget_marked_reloads): New function.
(forget_old_reloads_1): When data are passed, just mark the registers
for later removal.
(reload_as_needed): Use the new mechanizm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116220 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/28606
reichelt [Thu, 17 Aug 2006 09:07:39 +0000 (09:07 +0000)]
PR c++/28606
* parser.c (cp_parser_diagnose_invalid_type_name): Handle BIT_NOT_EXPR.
Fix formatting.
(cp_parser_parse_and_diagnose_invalid_type_name): Tighten condition
for valid type-names.
(cp_parser_unqualified_id): Fix error handling for destructors.

* g++.dg/parse/dtor11.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116217 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoPR target/28146
aoliva [Thu, 17 Aug 2006 08:55:02 +0000 (08:55 +0000)]
PR target/28146
* reload.h (reg_equiv_alt_mem_list): New declaration.
* reload1.c (reg_equiv_alt_mem_list): New definition.
(reload): Initialize it and release it.
(delete_output_reload): Use it.
* reload.c (push_reg_equiv_alt_mem): New function.
(find_reloads_toplev): Call it.
(find_reloads_address, find_reloads_address_1): Likewise.
(find_reloads_subreg_address): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116215 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-17 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
mkuvyrkov [Thu, 17 Aug 2006 08:48:37 +0000 (08:48 +0000)]
2006-08-17  Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>

PR rtl-optimization/28489
* sched-ebb.c (begin_schedule_ready): Create basic block
at the right place.
(advance_target_bb): Skip empty blocks.
* haifa-sched.c (bb_note): Make global.
* sched-int.h (bb_note): Add prototype.

2006-08-17  Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>

PR rtl-optimization/28489
* gcc.c-torture/compile/pr28489.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116214 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR tree-optimization/27865
rakdver [Thu, 17 Aug 2006 08:22:05 +0000 (08:22 +0000)]
PR tree-optimization/27865
* tree-vrp.c (adjust_range_with_scev): Do not use TYPE_{MIN,MAX}_VALUE
for pointer types.
* tree-scalar-evolution.c (fold_used_pointer_cast, pointer_offset_p,
fold_used_pointer, pointer_used_p): New functions.
(analyze_scalar_evolution_1): Use fold_used_pointer.
* tree-chrec.c (convert_affine_scev): Convert no-op casts correctly.
* tree-ssa-loop-ivopts.c (generic_type_for): Return integral type
for pointers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116213 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/28710
reichelt [Thu, 17 Aug 2006 08:06:27 +0000 (08:06 +0000)]
PR c++/28710
* decl.c (xref_tag): Improve error message.  Return early on error.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116211 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/28711
reichelt [Thu, 17 Aug 2006 08:02:39 +0000 (08:02 +0000)]
PR c++/28711
* pt.c (tsubst_copy_and_build) <case CONSTRUCTOR>: Robustify.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116210 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR libgomp/28725
jakub [Thu, 17 Aug 2006 07:58:02 +0000 (07:58 +0000)]
PR libgomp/28725
* env.c: Include ctype.h.
(parse_schedule, parse_unsigned_long, parse_boolean): Allow
leading and/or trailing whitespace and compare strings case
insensitively.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116209 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-17 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 17 Aug 2006 07:02:55 +0000 (07:02 +0000)]
2006-08-17  Paolo Bonzini <bonzini@gnu.org>

PR c++/28573
* c-common.c (fold_offsetof_1): Add an argument and recurse down to it
or the INTEGER_CST.  Fail on a CALL_EXPR.
(fold_offsetof): Pass new argument to fold_offsetof_1.
* c-parser.c (c_parser_postfix_expression): Don't include a NULL
operand into an INDIRECT_REF.
* c-typeck.c (build_unary_op): Adjust call to fold_offsetof.

cp:
2006-08-17  Paolo Bonzini  <bonzini@gnu.org>

PR c++/28573
* semantics.c (finish_offsetof): Add new argument to fold_offsetof.

testsuite:
2006-08-17  Paolo Bonzini  <bonzini@gnu.org>

PR c++/28573
* g++.dg/parse/offsetof6.C: New test.
* g++.dg/parse/offsetof7.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116208 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR testsuite/28602
danglin [Thu, 17 Aug 2006 02:26:59 +0000 (02:26 +0000)]
PR testsuite/28602
* gfortran.dg/gomp/gomp.exp: Return if check_effective_target_fopenmp
is false.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116207 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * libtool-version: Updated.
tromey [Thu, 17 Aug 2006 01:57:55 +0000 (01:57 +0000)]
* libtool-version: Updated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116206 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 17 Aug 2006 01:56:47 +0000 (01:56 +0000)]
2006-08-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/28302
        * typeck.c (build_unary_op <case BIT_NOT_EXPR:>): Don't call
        perform_integral_promotions for non integral type
2006-08-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/28302
        * g++.dg/ext/vector3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116205 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agogcc/java/ChangeLog
tromey [Thu, 17 Aug 2006 01:03:21 +0000 (01:03 +0000)]
gcc/java/ChangeLog
* jvspec.c (lang_specific_driver): Add -s-bc-abi when needed.
libjava/ChangeLog
* configure, Makefile.in: Rebuilt.
* Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la.
(libgcj_bc_la_SOURCES): New variable.
(libgcj_bc_la_LDFLAGS): Likewise.
(libgcj_bc_la_LIBADD): Likewise.
(libgcj_bc_la_DEPENDENCIES): Likewise.
(libgcj_bc_la_LINK): Likewise.
(libgcj_bc_dummy_LINK): Likewise.
(libgcj_bc.la): New target.
(install-exec-hook): Likewise.
* libgcj.spec.in (*lib): Use LIBGCJ_SPEC.
* libgcj_bc.c: New file.
* configure.ac (LIBGCJ_SPEC): New subst.
* configure.host (use_libgcj_bc): New variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116204 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/28385
jason [Thu, 17 Aug 2006 00:51:37 +0000 (00:51 +0000)]
    PR c++/28385
        * pt.c (tsubst) [TEMPLATE_TYPE_PARM]: Ignore quals from template
        if arg is a function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116203 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Thu, 17 Aug 2006 00:17:17 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116201 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR gcov/profile/26570
rakdver [Thu, 17 Aug 2006 00:13:24 +0000 (00:13 +0000)]
PR gcov/profile/26570
* value-prof.c (static_values): Removed.
(tree_find_values_to_profile): Do not set static_values.
(find_values_to_profile): Do not free static_values.
* profile.c (instrument_values): Do not free the values.
(branch_prob): Free the values.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116197 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago* config/m32c/m32c_lib1.S (__mulsi3): Use only registers for dest.
dj [Thu, 17 Aug 2006 00:05:07 +0000 (00:05 +0000)]
* config/m32c/m32c_lib1.S (__mulsi3): Use only registers for dest.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116196 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c/27697
jsm28 [Wed, 16 Aug 2006 23:10:46 +0000 (23:10 +0000)]
PR c/27697
* c-typeck.c (build_component_ref): Combine qualifiers of
structure or union and field.

testsuite:
* gcc.dg/qual-component-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116194 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/28593
reichelt [Wed, 16 Aug 2006 21:35:18 +0000 (21:35 +0000)]
PR c++/28593
* init.c (build_new): Return early on invalid placement.

* g++.dg/parse/new3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116191 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR rtl-optimization/28071
rakdver [Wed, 16 Aug 2006 21:25:39 +0000 (21:25 +0000)]
PR rtl-optimization/28071
* basic-block.h (bb_dom_dfs_in, bb_dom_dfs_out): Declare.
* dominance.c (bb_dom_dfs_in, bb_dom_dfs_out): New functions.
* tree-into-ssa.c (struct dom_dfsnum): New.
(cmp_dfsnum, find_dfsnum_interval, prune_unused_phi_nodes): New
functions.
(insert_phi_nodes_for): Use prune_unused_phi_nodes instead of
compute_global_livein.
(prepare_block_for_update, prepare_use_sites_for): Mark the uses
in phi nodes in the correct blocks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116190 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR tree-optimization/28364
rakdver [Wed, 16 Aug 2006 21:14:11 +0000 (21:14 +0000)]
PR tree-optimization/28364
* tree-ssa-loop-ivopts.c (aff_combination_to_tree): Handle zero
correctly.
(fold_affine_expr): New function.
(may_eliminate_iv): Use fold_affine_expr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116189 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c/27489
reichelt [Wed, 16 Aug 2006 20:50:18 +0000 (20:50 +0000)]
PR c/27489
* c-typeck.c (c_start_case): Handle invalid orig_type correctly.
Clean up.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116188 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * doc/invoke.texi (-Wno-deprecated-declarations): Fixup use of pxref.
mrs [Wed, 16 Aug 2006 20:36:23 +0000 (20:36 +0000)]
* doc/invoke.texi (-Wno-deprecated-declarations): Fixup use of pxref.
* doc/cppopts.texi (-MD): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116187 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoOops - this should have been part of r116159, but I forgot to include it on the commi...
nickc [Wed, 16 Aug 2006 08:20:51 +0000 (08:20 +0000)]
Oops - this should have been part of r116159, but I forgot to include it on the commit command line. Doh!

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116180 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Wed, 16 Aug 2006 00:18:02 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116177 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 15 Aug 2006 23:14:03 +0000 (23:14 +0000)]
2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/25828
* gfortran.dg/streamio_1.f90: New test.
* gfortran.dg/streamio_2.f90: New test.
* gfortran.dg/streamio_3.f90: New test.
* gfortran.dg/streamio_4.f90: New test.
* gfortran.dg/streamio_5.f90: New test.
* gfortran.dg/streamio_6.f90: New test.
* gfortran.dg/streamio_7.f90: New test.
* gfortran.dg/streamio_8.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116173 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 15 Aug 2006 23:06:44 +0000 (23:06 +0000)]
2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/25828
* libgfortran.h: Rename GFC_LARGE_IO_INT to GFC_IO_INT.
* io/file_pos.c (st_backspace): Ignore if access=STREAM.
(st_rewind): Handle case of access=STREAM.
* io/open.c (access_opt): Add STREAM_ACCESS.
(edit_modes): Set current_record to zero only if not STREAM.
(new_unit): Initialize maxrec, recl, and last_record for STREAM.
* io/read.c (read_x): Advance file position for STREAM.
* io/io.h (enum unit_access): Align IOPARM flags with frontend.
Add ACCESS_STREAM. Add prototype for is_stream_io () function.
Use GFC_IO_INT.
* io/inquire.c (inquire_via_unit): Add text for access = "STREAM".
* io/unit.c (is_stream_io): New function to return true if access =
STREAM.
* io/transfer.c (file_mode): Add modes for unformatted stream and
formatted stream. (current_mode): Return appropriate file mode based
on access flags.
(read_block): Handle formatted stream reads.
(read_block_direct): Handle unformatted stream reads.
(write_block): Handle formatted stream writes.
(write_buf): Handle unformatted stream writes.
(unformatted_read): Fix up, use temporary for size.
(pre_position): Position file for STREAM access.
(data_transfer_init): Initialize for stream access, skip irrelevent
error checks.
(next_record_r),(next_record_w), and (next_record): Do nothing for
stream I/O.
(finalize_transfer): Flush when all done if stream I/O.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116172 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 15 Aug 2006 23:03:28 +0000 (23:03 +0000)]
2006-08-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/25828
* gfortran.h: Add new pointer for stream position to st_inquire.
Rename gfc_large_io_int_kind to gfc_intio_kind.
* trans-types.c (gfc_init_kinds): use gfc_intio_kind.
* io.c: Add new IO tag for file position going in and another for out.
(match_dt_element): Match new tag_spos.
(gfc_resolve_dt): Resolve new tag_spos.
(gfc_free_inquire): Free inquire->strm_pos.
(match_inquire_element): Match new tag_strm_out.
(gfc_resolve_inquire): Resolve new tag_strm_out.
* trans-io.c: Rename IOPARM_type_large_io_int to IOPARM_type_intio.
(gfc_build_st_parameter): Same.
(gfc_build_io_library_fndecls) Same. and add build pointer type pintio.
(gfc_trans_inquire): Translate strm_pos for inquire.
* ioparm.def: Reorder flags to accomodate addition of new inquire
flag for strm_pos_out and add it in.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116171 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agogcc
dannysmith [Tue, 15 Aug 2006 21:46:30 +0000 (21:46 +0000)]
gcc
PR c/28287
* c-common.c (handle_weak_attribute): Ignore and warn if
not a FUNCTION_ or VAR_DECL

testsuite

* gcc.dg/attr-invalid.c: Add tests for invalid weak attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116170 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoIncorrect date in changelog
kgallowa [Tue, 15 Aug 2006 21:10:01 +0000 (21:10 +0000)]
Incorrect date in changelog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116169 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoForgot to commit changelog with last patch.
kgallowa [Tue, 15 Aug 2006 21:04:05 +0000 (21:04 +0000)]
Forgot to commit changelog with last patch.

2006-08-15  Kyle Galloway  <kgallowa@redhat.com>

  * ChangeLog: Added entry for previous patch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116168 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-15 Kyle Galloway <kgallowa@redhat.com>
kgallowa [Tue, 15 Aug 2006 20:40:10 +0000 (20:40 +0000)]
2006-08-15  Kyle Galloway  <kgallowa@redhat.com>

  * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
  * interpret.cc: Added placeholder for debug variable type info to STORE*
  macros.
  (_Jv_InterpMethod::run_debug): New method.
  (_Jv_InterpMethod::run_sync_object_debug): New method.
  (_Jv_InterpMethod::run_sync_class_debug): New method.
  (_Jv_InterpMethod::run_normal_debug): New method.
  (_Jv_InterpMethod::run_class_debug): New method.
  (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
  versions of these functions.
  * interpret-run.cc: New file, holds contents of old
  _Jv_InterpMethod::run method.
  * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
  appropriate function for debug or normal mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116167 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c/28280
mrs [Tue, 15 Aug 2006 18:01:19 +0000 (18:01 +0000)]
PR c/28280
* c-parser.c (c_parser_typeof_specifier): Don't use
c_finish_expr_stmt, open code desired semantics instead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116163 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/28594
lmillward [Tue, 15 Aug 2006 17:21:09 +0000 (17:21 +0000)]
PR c++/28594
* pt.c (process_template_parm): Robustify.
* g++.dg/template/void6.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116160 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago* config.gcc (x86-mingw32): Add a gthr-win32.h including makefile
nickc [Tue, 15 Aug 2006 17:06:18 +0000 (17:06 +0000)]
* config.gcc (x86-mingw32): Add a gthr-win32.h including makefile
  fragment to tmake_file only if threads are enabled.
* config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Move to...
* config/i386/t-gthr-win32: New file. ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116159 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c/28649
reichelt [Tue, 15 Aug 2006 16:52:25 +0000 (16:52 +0000)]
PR c/28649
* c-parser.c (c_parser_compound_statement_nostart): Reset
parser->error after each statement.

* gcc.dg/parse-error-1.c: New test.
* gcc.dg/parse-error-2.c: New test.
* gcc.dg/cpp/digraph2.c: Add error-marker.
* gcc.dg/noncompile/920923-1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116157 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-15 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 15 Aug 2006 15:11:24 +0000 (15:11 +0000)]
2006-08-15  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (poisson_distribution<>::_M_initialize): Add.
(poisson_distribution<>::poisson_distribution(const _RealType&):
Use it.
(operator>>(std::basic_istream<>&, poisson_distribution<>&)):
Likewise.
(poisson_distribution<>::_M_large): Remove.
* include/tr1/random.tcc (poisson_distribution<>::_M_initialize):
Define.
(operator<<(std::basic_ostream<>&, const poisson_distribution<>&)):
Do not output the constants.

* include/tr1/random (operator>>(std::basic_istream<>&,
gamma_distribution&)): Minor tweak.

* include/tr1/random.tcc (poisson_distribution<>::operator()):
Minor tweak.

* include/tr1/random: Consistently, all data members private.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116155 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR middle-end/28713
jakub [Tue, 15 Aug 2006 14:57:52 +0000 (14:57 +0000)]
PR middle-end/28713
* omp-low.c (lower_omp_parallel): Convert t to
receiver_decl's type.
(expand_omp_parallel): STRIP_NOPS from the MODIFY_EXPR
source before comparison.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116154 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR middle-end/28724
jakub [Tue, 15 Aug 2006 14:56:28 +0000 (14:56 +0000)]
PR middle-end/28724
* gimplify.c (gimplify_omp_atomic_pipeline): Convert oldival
to itype in assignment to oldival2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116153 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-15 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Tue, 15 Aug 2006 09:36:39 +0000 (09:36 +0000)]
2006-08-15  Andreas Tobler  <a.tobler@schweiz.ch>

* include/ffi_common.h: Remove lint directives.
* include/ffi.h.in: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116152 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-15 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 15 Aug 2006 09:08:31 +0000 (09:08 +0000)]
2006-08-15  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random.tcc (mersenne_twister<>::operator()): Revert
last change (per gcc-patches/2006-08/msg00484.html).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116151 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-14 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 15 Aug 2006 02:28:45 +0000 (02:28 +0000)]
2006-08-14  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random (class poisson_distribution<>): Add.
* include/tr1/random.tcc (poisson_distribution<>::operator(),
operator<<(std::basic_ostream<>&, const poisson_distribution<>&),
operator>>(std::basic_istream<>&, poisson_distribution<>&,
poisson_distribution<>::poisson_distribution(const _RealType&)):
Define.
* testsuite/tr1/5_numerical_facilities/random/poisson_distribution/
requirements/typedefs.cc: New.

* include/tr1/random.tcc (mersenne_twister<>::operator()): Tweak
a bit for efficiency.

* include/tr1/random.tcc (operator<<(std::basic_ostream<>&,
const normal_distribution<>&), operator>>(std::basic_istream<>&,
normal_distribution<>&)): Do not output _M_saved unnecessarily.

* include/tr1/random: Trivial formatting fixes.
* include/tr1/cmath: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116149 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-07-14 Andrew Pinski <pinksia@physics.uc.edu>
pinskia [Tue, 15 Aug 2006 01:43:28 +0000 (01:43 +0000)]
2006-07-14  Andrew Pinski  <pinksia@physics.uc.edu>

        PR c/27490
        PR c/27489
        * c-typeck.c (build_compound_expr): If the second expression
        is an error mark, then just return an error mark instead of
        creating a COMPOUND_EXPR.
2006-08-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/27490
        * gcc.dg/sizeof-2.c: New testcase.

        PR c/27489
        * gcc.dg/switch-A.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116148 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Tue, 15 Aug 2006 00:17:23 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116146 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * Makefile.in (LIBGCC_DEPS): Don't depend on LANGUAGES.
mrs [Mon, 14 Aug 2006 23:40:41 +0000 (23:40 +0000)]
* Makefile.in (LIBGCC_DEPS): Don't depend on LANGUAGES.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116142 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/28288
sje [Mon, 14 Aug 2006 23:15:57 +0000 (23:15 +0000)]
PR c++/28288
PR c++/14556
* g++.old-deja/g++.warn/compare1.C: Delete.
* g++.dg/opt/pr7503-2.C: Delete.
* g++.dg/opt/pr7503-3.C: Delete.
* g++.dg/opt/pr7503-4.C: Delete.
* g++.dg/opt/pr7503-5.C: Delete.
* g++.dg/opt/max1.C: Delete.
* g++.dg/warn/minmax.C: Delete.
* g++.dg/expr/minmax.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116141 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/28288
sje [Mon, 14 Aug 2006 23:13:54 +0000 (23:13 +0000)]
PR c++/28288
PR c++/14556
* operators.def: Remove <?, ?>, <?=, and >?= operators.
* parser.c: Remove CPP_MIN, CPP_MAX, CPP_MIN_EQ, and CPP_MAX_EQ.
(cp_parser_warn_min_max): Remove.
* include/cpplib.h: Remove <?, >?, <?=, and >?= tokens.
(CPP_LAST_EQ): Change.
(CPP_LAST_PUNCTUATOR): Change.
* expr.c (cpp_operator): Remove MIN and MAX.
(reduce): Remove CPP_MIN and CPP_MAX.
(num_binary_op): Ditto.
* lex.c (_cpp_lex_direct): Ditto.
(cpp_avoid_paste): Remove ? as legal symbol after > or <.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116140 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-14 Mark Wielaard <mark@klomp.org>
mark [Mon, 14 Aug 2006 23:12:35 +0000 (23:12 +0000)]
2006-08-14  Mark Wielaard  <mark@klomp.org>

       Imported GNU Classpath 0.92
       * HACKING: Add more importing hints. Update automake version
       requirement.

       * configure.ac (gconf-peer): New enable AC argument.
       Add --disable-gconf-peer and --enable-default-preferences-peer
       to classpath configure when gconf is disabled.
       * scripts/makemake.tcl: Set gnu/java/util/prefs/gconf and
       gnu/java/awt/dnd/peer/gtk to bc. Classify
       gnu/java/security/Configuration.java as generated source file.

       * gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
       gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
       gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
       gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
       gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
       gnu/java/lang/management/VMThreadMXBeanImpl.java,
       gnu/java/lang/management/VMMemoryMXBeanImpl.java,
       gnu/java/lang/management/VMCompilationMXBeanImpl.java: New VM stub
       classes.
       * java/lang/management/VMManagementFactory.java: Likewise.
       * java/net/VMURLConnection.java: Likewise.
       * gnu/java/nio/VMChannel.java: Likewise.

       * java/lang/Thread.java (getState): Add stub implementation.
       * java/lang/Class.java (isEnum): Likewise.
       * java/lang/Class.h (isEnum): Likewise.

       * gnu/awt/xlib/XToolkit.java (getClasspathTextLayoutPeer): Removed.

       * javax/naming/spi/NamingManager.java: New override for StackWalker
       functionality.

       * configure, sources.am, Makefile.in, gcj/Makefile.in,
       include/Makefile.in, testsuite/Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116139 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/28559
jason [Mon, 14 Aug 2006 21:25:03 +0000 (21:25 +0000)]
    PR c++/28559
        * parser.c (cp_parser_elaborated_type_specifier): Also ignore
        attributes applied to a TYPENAME_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116137 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * c-decl.c, var-tracking.c: Fix comment typos.
kazu [Mon, 14 Aug 2006 17:55:03 +0000 (17:55 +0000)]
* c-decl.c, var-tracking.c: Fix comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116134 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-14 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 14 Aug 2006 15:05:37 +0000 (15:05 +0000)]
2006-08-14  Richard Guenther  <rguenther@suse.de>

PR testsuite/28703
* gcc.c-torture/execute/pr28651.c: Do not use argc
to avoid optimization, instead forbid inlining.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116129 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-14 Gary Benson <gbenson@redhat.com>
gary [Mon, 14 Aug 2006 14:24:52 +0000 (14:24 +0000)]
2006-08-14  Gary Benson  <gbenson@redhat.com>

* java/lang/Thread.java (accessControlState): New field.
* java/security/VMAccessControlState.java: New file.
* java/security/natVMAccessControlState.cc: Likewise.
* java/security/VMAccessController.java
(contexts, inGetContext): Removed.
(pushContext, popContext, getContext): Use VMAccessControlState.
* Makefile.am (nat_source_files): Updated.
* sources.am, Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116128 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agogcc/
rsandifo [Mon, 14 Aug 2006 11:55:52 +0000 (11:55 +0000)]
gcc/
PR rtl-optimization/28634
* reorg.c (fill_slots_from_thread): Do not assume A + X - X == A
for floating-point modes unless flag_unsafe_math_optimizations.

gcc/testsuite/
PR rtl-optimization/28634
* gcc.c-torture/execute/ieee/pr28634.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116124 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Mon, 14 Aug 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116120 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-13 Alexandre Oliva <aoliva@redhat.com>
pinskia [Sun, 13 Aug 2006 20:16:46 +0000 (20:16 +0000)]
2006-08-13  Alexandre Oliva  <aoliva@redhat.com>
            Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/27184
        * tree.c (build_array_type): Unify array types with
        unspecified index_type.
        * c-decl.c (grokdeclarator): Make sure we do not modify a
        unified incomplete array type.
        * c-typeck.c (store_init_value): Create distinct type before
        filling in the index type in an initializer from a compound
        literal.

        * c-decl.c (grokdeclarator): Remove code where we copy the
        array type over.

2006-08-13  Alexandre Oliva  <aoliva@redhat.com>

        PR c/27184
        * gcc.dg/torture/pr27184.c: New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116116 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-13 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 13 Aug 2006 16:49:24 +0000 (16:49 +0000)]
2006-08-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-pass.h (TODO_update_ssa): Fix which bit is used to take
        into account for TODO_dump_cgraph.
        (TODO_update_ssa_no_phi): Likewise.
        (TODO_update_ssa_full_phi): Likewise.
        (TODO_update_ssa_only_virtuals): Likewise.
        (TODO_remove_unused_locals): Likewise.
        (TODO_set_props): Likewise.
        (TODO_update_stmt_usage): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116111 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-13 Dirk Mueller <dmueller@suse.de>
mueller [Sun, 13 Aug 2006 15:04:41 +0000 (15:04 +0000)]
2006-08-13  Dirk Mueller  <dmueller@suse.de>

       * c-common.c (strict_aliasing_warning): Fix formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116109 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-13 Matthias Klose <doko@debian.org>
doko [Sun, 13 Aug 2006 07:27:30 +0000 (07:27 +0000)]
2006-08-13  Matthias Klose  <doko@debian.org>

        * doc/invoke.texi: Fix spelling errors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116107 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Sun, 13 Aug 2006 00:17:32 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116105 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * gcc.target/i386/pr27827.c: Only compile on ilp32 target.
jakub [Sat, 12 Aug 2006 13:39:05 +0000 (13:39 +0000)]
* gcc.target/i386/pr27827.c: Only compile on ilp32 target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116099 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * intrinsics/bessel.c: Add prototypes for all functions.
fxcoudert [Sat, 12 Aug 2006 07:30:04 +0000 (07:30 +0000)]
* intrinsics/bessel.c: Add prototypes for all functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116098 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * gfortran.dg/stat_1.f90: Make test pass when run under sudo.
fxcoudert [Sat, 12 Aug 2006 01:03:29 +0000 (01:03 +0000)]
* gfortran.dg/stat_1.f90: Make test pass when run under sudo.
* gfortran.dg/stat_2.f90: Likewise.
* gfortran.dg/chmod_1.f90: Likewise.
* gfortran.dg/chmod_2.f90: Likewise.
* gfortran.dg/chmod_3.f90: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116097 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Sat, 12 Aug 2006 00:17:06 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116095 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * gfortran.dg/direct_io_6.f90: Skip on *-*-aix*.
dje [Fri, 11 Aug 2006 20:40:52 +0000 (20:40 +0000)]
    * gfortran.dg/direct_io_6.f90: Skip on *-*-aix*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116091 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR rtl-optimization/23454
ebotcazou [Fri, 11 Aug 2006 19:01:45 +0000 (19:01 +0000)]
PR rtl-optimization/23454
* reorg.c (relax_delay_slots): Update comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116088 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-11 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 11 Aug 2006 10:39:37 +0000 (10:39 +0000)]
2006-08-11  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_bvector.h (__fill_bvector(_Bit_iterator,
_Bit_iterator, bool)): New.
(fill(_Bit_iterator, _Bit_iterator, const bool&)): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116081 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-11 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 11 Aug 2006 07:44:45 +0000 (07:44 +0000)]
2006-08-11  Richard Guenther  <rguenther@suse.de>

PR middle-end/28651
* simplify-rtx.c (simplify_const_relational_operation):
Simplify A CMP B to A - B CMP 0 only for EQ and NE comparison
codes.

* gcc.c-torture/execute/pr28651.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116079 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Fri, 11 Aug 2006 00:17:23 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116077 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoFix date of latest entry.
ebotcazou [Thu, 10 Aug 2006 22:17:15 +0000 (22:17 +0000)]
Fix date of latest entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116072 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * tree.c (build1_stat): Also propagate the TREE_CONSTANT and
ebotcazou [Thu, 10 Aug 2006 22:13:42 +0000 (22:13 +0000)]
* tree.c (build1_stat): Also propagate the TREE_CONSTANT and
TREE_INVARIANT flags for a VIEW_CONVERT_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116071 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-10 Simon Martin <simartin@users.sourceforge.net>
aph [Thu, 10 Aug 2006 19:35:07 +0000 (19:35 +0000)]
2006-08-10  Simon Martin  <simartin@users.sourceforge.net>

        PR java/8923
        * parse.y (build_incdec): Emit an error instead of an ICE if '++'
        or '--' is used with a constant operand.
        (java_complete_lhs): When processing a '++' or '--' expression,
        don't call java_complete_tree but java_complete_lhs, so that a
        static final variable operand is never replaced by its value. This
        avoids an ICE later on.
        (patch_unaryop): Fixed typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116069 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-10 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 10 Aug 2006 16:31:40 +0000 (16:31 +0000)]
2006-08-10  Paul Brook  <paul@codesourcery.com>

gcc/
* final.c (final_scan_insn): Clear current_insn_predicate before
outputting inline asm.

gcc/testsuite/
* gcc.target/arm/cond-asm.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116064 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-10 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 10 Aug 2006 14:38:11 +0000 (14:38 +0000)]
2006-08-10  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random.tcc (gamma_distribution<>::operator()): Fixes
from the Errata of Devroye's book.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116061 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR tree-optimization/26197
dorit [Thu, 10 Aug 2006 12:07:22 +0000 (12:07 +0000)]
    PR tree-optimization/26197
        * tree-ssa-alias.c (new_type_alias): Takes additional argument. Calls
        get_ref_base_and_extent and overlap_subvar to add only relevant
        subvars as may-aliases.
        (add_may_alias_for_new_tag): New function, factored out of
        new_type_alias.
        * tree-vect-transform.c (vect_create_data_ref_ptr): Call new_type_alias
        with additional argument.
        * tree-flow.h (new_type_alias): Takes additional argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116060 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-10 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 10 Aug 2006 10:35:27 +0000 (10:35 +0000)]
2006-08-10  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_bvector.h (_Bit_iterator_base::_M_incr(ptrdiff_t)):
Tidy a bit, thus reducing generated code size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116059 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-10 Gary Benson <gbenson@redhat.com>
gary [Thu, 10 Aug 2006 09:56:03 +0000 (09:56 +0000)]
2006-08-10  Gary Benson  <gbenson@redhat.com>

* include/java-stack.h (GetAccessControlStack): Change return
type.
* stacktrace.cc (accesscontrol_trace_fn): Record the number of
Java frames encountered.
(GetAccessControlStack): Return a flag indicating whether a call to
doPrivileged was encountered rather than an array of method names.
* java/security/natVMAccessController.cc (getStack): Change return
type.
* java/security/VMAccessController.java (getStack): Likewise.
(getContext): Change to reflect the above.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116058 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Thu, 10 Aug 2006 00:17:40 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116053 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-09 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 9 Aug 2006 23:39:16 +0000 (23:39 +0000)]
2006-08-09  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_bvector.h (vector<bool>::_M_copy_aligned): New.
(vector<bool>::vector(const vector&), operator=(const vector&),
reserve(size_type), _M_fill_insert(iterator, size_type, bool),
_M_insert_range(iterator, _ForwardIterator, _ForwardIterator,
std::forward_iterator_tag), _M_insert_aux(iterator, bool)): Use it.
* testsuite/performance/23_containers/copy_construct/
vector_bool.cc: New.

* testsuite/23_containers/vector/bool/cons/1.cc: New.
* testsuite/23_containers/vector/bool/cons/2.cc: Likewise.

* include/bits/stl_bvector.h (vector<bool>::_M_fill): Remove.
(fill(_Bit_iterator, _Bit_iterator, const bool&)): New.
(vector<bool>::_M_fill_insert(iterator, size_type, bool)): Adjust.

* include/bits/stl_bvector.h (_M_initialize_range(_InputIterator,
_InputIterator, std::input_iterator_tag)): Remove redundant
assignments.

* include/bits/stl_algo.h (find(istreambuf_iterator<>,
istreambuf_iterator<>, _CharT)): Adjust signature.
* include/bits/streambuf_iterator.h: Likewise.
* include/std/std_streambuf.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116049 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * gcov.c (no_data_file): New flag.
nathan [Wed, 9 Aug 2006 19:09:06 +0000 (19:09 +0000)]
* gcov.c (no_data_file): New flag.
(read_count_file): Set it if data file not present.  Assume counts
zero if not found.
(output_lines): Don't name the data file, if there wasn't one.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116045 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR classpath/28666:
tromey [Wed, 9 Aug 2006 19:00:54 +0000 (19:00 +0000)]
PR classpath/28666:
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
(Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
Create a 'short' array.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116044 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-09 Lee Millward <lee.millward@codesourcery.com>
lmillward [Wed, 9 Aug 2006 18:43:06 +0000 (18:43 +0000)]
2006-08-09  Lee Millward  <lee.millward@codesourcery.com>

       PR c++/28637
       * pt.c (coerce_template_parms): Copy across the
       invalid template arguments to the new template inner arguments.
       (retrieve_specialization): Robustify.

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

       PR c++/28638
       * pt.c (coerce_template_template_parms): Robustify.

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

       PR c++/28639
       * error.c (dump_template_parms): Robustify.

       PR c++/28640
       * pt.c (redeclare_class_template): Robustify

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

       PR c++/28641
       * pt.c (type_unification_real): Robustify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116043 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/rs6000/rs6000.c (print_operand) <D>: Fix comment and adjust.
ebotcazou [Wed, 9 Aug 2006 16:38:45 +0000 (16:38 +0000)]
* config/rs6000/rs6000.c (print_operand) <D>: Fix comment and adjust.
(rs6000_generate_compare): Tweak comments.
* config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): Fix comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116041 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-09 Gary Benson <gbenson@redhat.com>
gary [Wed, 9 Aug 2006 14:59:16 +0000 (14:59 +0000)]
2006-08-09  Gary Benson  <gbenson@redhat.com>

* stacktrace.cc (accesscontrol_trace_fn): Skip non-Java frames.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116038 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-09 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 9 Aug 2006 09:56:15 +0000 (09:56 +0000)]
2006-08-09  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algobase.h (fill(const _Deque_iterator<>&,
const _Deque_iterator<>&, const _Tp&)): Move...
* include/bits/deque.tcc: ... here.
* include/bits/stl_deque.h: Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116034 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-09 Gary Benson <gbenson@redhat.com>
gary [Wed, 9 Aug 2006 08:46:34 +0000 (08:46 +0000)]
2006-08-09  Gary Benson  <gbenson@redhat.com>

* java/lang/System.java (setSecurityManager): Javadoc fix.
* java/security/VMAccessController.java (getContext): Comment fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116033 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-09 Gary Benson <gbenson@redhat.com>
gary [Wed, 9 Aug 2006 08:38:28 +0000 (08:38 +0000)]
2006-08-09  Gary Benson  <gbenson@redhat.com>

* include/java-stack.h (accesscontrol_trace_fn): Declare.
(GetAccessControlStack): Likewise.
(GetClassMethodStack): Remove.
* stacktrace.cc (accesscontrol_trace_fn): New method.
(GetAccessControlStack): Likewise.
(GetClassMethodStack): Remove.
* java/security/natVMAccessController.cc (getStack): Use
GetAccessControlStack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116032 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago* var-tracking.c (enum micro_operation_type): Add MO_COPY.
aoliva [Wed, 9 Aug 2006 06:46:22 +0000 (06:46 +0000)]
* var-tracking.c (enum micro_operation_type): Add MO_COPY.
(var_debug_decl): New function.
(var_reg_set): Follow debug decl link.  Add location even if
reg is already known to hold some other variable.
(var_mem_set): Follow debug decl link.
(var_reg_delete_and_set, var_mem_delete_and_set): Follow debug
decl link.  Delete other known locations of the variable part
if requested.
(var_reg_delete, var_mem_delete): Delete other known locations
of the variable part if requested.
(same_variable_part_p): New function.
(add_stores): Select MO_COPY when appropriate.
(vt_initialize): Handle it.
(compute_bb_dataflow, emit_notes_in_bb): Likewise.  Delete
known locations for MO_SET and MO_CLOBBER.
(find_variable_location_part): New function.
(set_variable_part, delete_variable_part): Use it.
(clobber_variable_part): New function.
* dwarf2out.c (dwarf2out_var_location): Do not follow debug
decl link.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116031 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Wed, 9 Aug 2006 00:17:24 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116027 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * MAINTAINERS (Various Maintainers): Add self as RTL opt. maintainer.
ebotcazou [Tue, 8 Aug 2006 07:56:32 +0000 (07:56 +0000)]
* MAINTAINERS (Various Maintainers): Add self as RTL opt. maintainer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116012 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Tue, 8 Aug 2006 00:17:30 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116010 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * g++.dg/ext/visibility/class1.C (dg-require-visibility): Move
dannysmith [Mon, 7 Aug 2006 23:40:54 +0000 (23:40 +0000)]
* g++.dg/ext/visibility/class1.C (dg-require-visibility): Move
 after dg-do compile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116006 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR libgcj/28609:
tromey [Mon, 7 Aug 2006 20:37:50 +0000 (20:37 +0000)]
PR libgcj/28609:
* ltconfig: Copied from gcc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116003 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-07 Gary Benson <gbenson@redhat.com>
gary [Mon, 7 Aug 2006 14:48:59 +0000 (14:48 +0000)]
2006-08-07  Gary Benson  <gbenson@redhat.com>

PR libgcj/28340:
* java/lang/ClassLoader.java (clinit): Install a default
security manager if java.security.manager is defined.
(getParent, getSystemClassLoader): Use the correct stack
frame during security checks.
* java/net/URLClassLoader.java (findClass): Avoid calling
this.toString() during VM initialization.
(runtimeInitialized): New method.
* java/net/natURLClassLoader.cc: New file.
* Makefile.am (nat_source_files): Added the above.
* Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115999 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-07 Gary Benson <gbenson@redhat.com>
gary [Mon, 7 Aug 2006 14:42:48 +0000 (14:42 +0000)]
2006-08-07  Gary Benson  <gbenson@redhat.com>
    Casey Marshall <csm@gnu.org>

* java/lang/SecurityManager.java (getSecurityContext,
checkPermission, checkAccess, checkRead, checkConnect,
checkPackageAccess, checkPackageDefinition, checkPackageList):
Merge with Classpath.
(SecurityContext): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115998 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2006-08-07 Gary Benson <gbenson@redhat.com>
gary [Mon, 7 Aug 2006 14:14:14 +0000 (14:14 +0000)]
2006-08-07  Gary Benson  <gbenson@redhat.com>

* java/security/VMAccessController.java (pushContext, popContext,
getContext): Use Thread.currentThread() to determine when we're
bootstrapping.
(runtimeInitialized): Remove.
* java/security/natVMAccessController.cc (runtimeInitialized):
Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115996 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoChangeLog
victork [Mon, 7 Aug 2006 11:28:31 +0000 (11:28 +0000)]
ChangeLog
        PR tree-optimization/26969
        * tree-vect-analyze.c (vect_analyze_loop_form): Add check of latch
         witch an empty list of PHIs.

testsuite/Changelog:
        PR tree-optimizations/26969
        * gcc.dg/vect/vect.exp: Compile tests prefixed with
"unswitch-loops" with -funswitch-loops.
        * gcc.dg/vect/unswitch-loops-pr26969.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115995 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * objc.dg/dwarf-1.m: Skip on Solaris 2.5.1 and 2.6 too.
ebotcazou [Mon, 7 Aug 2006 08:18:53 +0000 (08:18 +0000)]
* objc.dg/dwarf-1.m: Skip on Solaris 2.5.1 and 2.6 too.
* objc.dg/dwarf-2.m: Likewise.
* obj-c++.dg/dwarf-2.mm: Likewise

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115994 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * g++.dg/other/unused1.C: Skip on Solaris 2.5.1 and 2.6 too.
ebotcazou [Mon, 7 Aug 2006 08:13:22 +0000 (08:13 +0000)]
* g++.dg/other/unused1.C: Skip on Solaris 2.5.1 and 2.6 too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115993 138bc75d-0d04-0410-961f-82ee72b054a4