Commit Graph

71853 Commits

Author SHA1 Message Date
Benjamin Kosnik
797308b2d1 libstdc++.exp (check_v3_target_debug_mode): Use exe as the executable extension.
2005-11-08  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
	exe as the executable extension.

	* acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
	new.
	(GLIBCXX_ENABLE_PCH): Adjust message order.
	* configure: Regenerate.
	
	* scripts/testsuite_flags.in (query): Correct print_usagex typo.

	* include/bits/functexcept.h: Remove argument names.

	* src/mt_allocator.cc: Adjust comment.

From-SVN: r106665
2005-11-08 23:07:02 +00:00
Eric Botcazou
13bb031a24 init.c: Use the Linux-specific section for the IA-64/Linux target.
* init.c: Use the Linux-specific section for the IA-64/Linux target.
	(__gnat_adjust_context_for_raise): Add conditional code so that the
	IA-64 is also supported.

From-SVN: r106664
2005-11-08 23:00:40 +00:00
Tom Tromey
246b053811 re PR libgcj/24587 (libgcj should set gnu.classpath.version system property)
PR libgcj/24587:
	* gnu/classpath/SystemProperties.java: Set gnu.classpath.version.

From-SVN: r106659
2005-11-08 21:58:43 +00:00
Jakub Jelinek
f9918968b1 dwarf2out.c (multiple_reg_loc_descriptor): Don't assume DBX_REGISTER_NUMBER being contiguous.
* dwarf2out.c (multiple_reg_loc_descriptor): Don't assume
	DBX_REGISTER_NUMBER being contiguous.

From-SVN: r106658
2005-11-08 22:47:09 +01:00
Jakub Jelinek
31a7923695 re PR c++/19450 (__thread static class members)
PR c++/19450
	* decl.c (redeclaration_error_message): Issue diagnostics about
	olddecl and newdecl disagreement on __thread property.
	(grokdeclarator): Set DECL_TLS_MODEL on class static variables.

	* g++.dg/tls/diag-3.C: New test.
	* g++.dg/tls/diag-4.C: New test.
	* g++.dg/tls/static-1.C: New test.
	* g++.dg/tls/static-1a.cc: New file.

From-SVN: r106657
2005-11-08 22:44:58 +01:00
Diego Novillo
da11c5d226 re PR c++/23046 (ICE in set_value_range, at tree-vrp.c:191)
2005-11-08  James A. Morrison  <phython@gcc.gnu.org>
	    Diego Novillo  <dnovillo@redhat.com>

	PR 23046
	* tree-vrp.c (register_edge_assert_for): Do not register
	always-false predicates.

testsuite/

	PR 23046
	* g++.dg/tree-ssa/pr23046.C: New test.

From-SVN: r106656
2005-11-08 16:09:51 -05:00
Tom Tromey
230d8ead8c PR libgcj/23763. From aeby@graeff.com.
* java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
	before exec.

From-SVN: r106655
2005-11-08 21:00:15 +00:00
Devang Patel
90b11b9814 re PR tree-optimization/23115 (-ftree-vectorize generates wrong code)
PR tree-optimization/23115
       * tree-if-conv.c (find_phi_replacement_condition): Check domninated_by
       relation.

       * gcc.dg/tree-ssa/pr23115.c: New.

From-SVN: r106653
2005-11-08 12:21:15 -08:00
Tobias Schlüter
30c0559542 dump-parse-tree.c: Fix comment typo, add a few blank lines.
* dump-parse-tree.c: Fix comment typo, add a few blank lines.
Also, reformat previous ChangeLog entry.

From-SVN: r106652
2005-11-08 21:01:50 +01:00
Wil Mahan
1c57e8763b re PR java/23617 (Out of memory when classpath contains jar file with zip-style comment)
2005-11-08  Wil Mahan  <wmahan@gmail.com>

	PR java/23617
	* zextract.c (read_zip_archive): Fix out of memory error when
	reading jar files with zip-style comments.

From-SVN: r106648
2005-11-08 19:10:39 +00:00
Joseph Myers
a8bfea9ca9 t-fprules (MULTILIB_MATCHES_FLOAT): Include -mcpu=440.
* config/rs6000/t-fprules (MULTILIB_MATCHES_FLOAT): Include
	-mcpu=440.

From-SVN: r106646
2005-11-08 18:01:02 +00:00
Daniel Berlin
973162ec9d re PR tree-optimization/23382 (Does not remove the old HEAP virtual variables in clobbered)
2005-11-08  Daniel Berlin  <dberlin@dberlin.org>

	Fix PR tree-optimization/23382

	* tree-ssa-alias.c (compute_may_aliases): Call
	delete_old_heap_vars.
	* tree-dfa.c (referenced_var_remove): New function.
	* tree-ssa.c (delete_tree_ssa): Call delete_old_heap_vars.
	* tree-flow.h (referenced_var_remove): Add prototype.
	(delete_old_heap_vars): Ditto.
	* tree-ssa-structalias.c (heapvars): New variable.
	(oldheapvars): Ditto.
	(get_constraint_for): Put heap vars on heapvars list.
	(delete_old_heap_vars): New function.

From-SVN: r106643
2005-11-08 16:34:48 +00:00
David Edelsohn
e5f5163854 altivec-{1-13}.C: XFAIL on AIX and SPE.
* g++.dg/ext/altivec-{1-13}.C: XFAIL on AIX and SPE.
	* gcc.target/powerpc/pr16155.c: Same.
	* gcc.target/powerpc/altivec-1.c: Same.
	* gcc.target/powerpc/altivec-2.c: Same.
	* gcc.target/powerpc/altivec-3.c: Same.
	* gcc.target/powerpc/altivec-5.c: Same.
	* gcc.target/powerpc/altivec-11.c: Same.
	* gcc.target/powerpc/altivec-12.c: Same.
	* gcc.target/powerpc/altivec-14.c: Same.
	* gcc.target/powerpc/altivec-22.c: Same.
	* gcc.target/powerpc/altivec-consts.c: Same.
	* gcc.target/powerpc/altivec-pr22085.c: Same.
	* gcc.target/powerpc/altivec-splat.c: Same.
	* gcc.target/powerpc/altivec-varargs-1.c: Same.
	* gcc.target/powerpc/altivec-vec-merge.c: Same.
	* gcc.target/powerpc/darwin-longlong.c: Same.

From-SVN: r106638
2005-11-08 11:05:15 -05:00
Mark Wielaard
1578900592 * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
From-SVN: r106636
2005-11-08 14:56:42 +00:00
Jason Merrill
831d8bd741 re PR c++/21123 (ICE in cp_expr_size, at cp/cp-objcp-common.c:101)
PR c++/21123
        * cp/method.c (use_thunk): Use build_cplus_new instead of
        force_target_expr.

        * tree.h (CALL_FROM_THUNK_P): Add CALL_EXPR_CHECK.

From-SVN: r106634
2005-11-08 03:32:26 -05:00
Uros Bizjak
dfea1f6121 re PR target/19340 (Compilation SEGFAULTs with -O1 -fschedule-insns2 -fsched2-use-traces on an x86 architecture.)
PR target/19340
	* reg-stack.c (reg_to_stack): Update register liveness also
	for flag_sched2_use_traces.

testsuite/

	PR target/19340
	* gcc.dg/pr19340.c: New test.

From-SVN: r106632
2005-11-08 07:21:51 +01:00
Alan Modra
2c9c9afdba re PR target/23704 (gcc.dg/rs6000-fpint.c fails)
PR target/23704
	* config/rs6000/rs6000.c (rs6000_handle_option <OPT_m64>): Don't
	override prior explicit -mno-powerpc-gfxopt.

From-SVN: r106631
2005-11-08 13:38:43 +10:30
Terry Laurenzo
e263bc9311 Removed decompilation for non-ELF targets.
From-SVN: r106628
2005-11-08 00:21:21 +00:00
GCC Administrator
9ed5f107bb Daily bump.
From-SVN: r106625
2005-11-08 00:17:01 +00:00
Terry Laurenzo
ddb1cbea19 Added Terry Laurenzo
From-SVN: r106620
2005-11-08 00:13:58 +00:00
David Daney
d8aa672350 mauve-libgcj: Disable javax.rmi.* and java.io.InputStreamReader.getEncoding.
* mauve-libgcj: Disable javax.rmi.* and
	java.io.InputStreamReader.getEncoding.

From-SVN: r106614
2005-11-07 21:31:50 +00:00
Steven G. Kargl
7accf123b2 * Update ChangeLog with the missing entry from my previous commit.
From-SVN: r106611
2005-11-07 20:44:38 +00:00
Eric Botcazou
3ab997e838 expmed.c (extract_bit_field): Do not use insv/extv/extzv patterns if the bitsize is zero.
* expmed.c (extract_bit_field): Do not use insv/extv/extzv patterns
	if the bitsize is zero.
	* doc/md.texi (Standard Pattern Names): Document it.

	* config/ia64/ia64.c (ia64_pass_by_reference): Delete.
	(TARGET_PASS_BY_REFERENCE): Likewise.

From-SVN: r106605
2005-11-07 19:14:02 +00:00
Ian Lance Taylor
a7297856af re PR rtl-optimization/24683 (ICE in in extract_insn, at recog.c:2084)
./:	PR rtl-optimization/24683
	* config/i386/i386.c (legitimize_pic_address): If constant operand
	to PLUS is too large, put it in a register.
testsuite/:
	PR rtl-optimization/24683
	* gcc.dg/pr24683.c: New test.

From-SVN: r106601
2005-11-07 18:52:24 +00:00
Jie Zhang
6afdc7412b configure.ac: Enable checking assembler dwarf2 support for bfin target.
* configure.ac: Enable checking assembler dwarf2 support for bfin
	target.
	* configure: Regenerate.

From-SVN: r106598
2005-11-07 17:06:58 +00:00
Jie Zhang
04b2be4f31 configure.ac: Enable checking assembler dwarf2 support for bfin target.
* configure.ac: Enable checking assembler dwarf2 support for bfin
	target.
	* configure: Regenerate.

From-SVN: r106597
2005-11-07 17:03:16 +00:00
Steven G. Kargl
b3ae6c0f6b error.c: Use flag_fatal_error.
*error.c: Use flag_fatal_error.
    *invoke.texi:  Remove -Werror from list of options.

From-SVN: r106595
2005-11-07 16:37:10 +00:00
Uros Bizjak
689a90a140 pr24225.c: Add cleanup-coverage-files.
* gcc.dg/vect/pr24225.c: Add cleanup-coverage-files.
	* gcc.dg/vect/pr24300.c: Add cleanup-tree-dump.

From-SVN: r106592
2005-11-07 15:37:45 +01:00
Uros Bizjak
984774d775 pr23376: Compile with -mmmx.
* gcc.target/i386/pr23376: Compile with -mmmx.

From-SVN: r106591
2005-11-07 15:22:07 +01:00
Ulrich Weigand
f209747095 * g++.dg/abi/empty6.C (B): Align to twice pointer size.
From-SVN: r106589
2005-11-07 11:56:03 +00:00
Paolo Bonzini
66180ff3fe re PR target/24230 (ICE in extract_insn with altivec)
2005-11-07  Paolo Bonzini  <bonzini@gnu.org>

	PR target/24230

	* config/rs6000/rs6000.c (easy_vector_splat_const, easy_vector_same,
	gen_easy_vector_constant_add_self): Delete.
	(vspltis_constant, easy_altivec_constant, gen_easy_altivec_constant):
	New.
	(output_vec_const_move): Use gen_easy_altivec_constant.
	(rs6000_expand_vector_init): Do not emit a set of a VEC_DUPLICATE.
	* config/rs6000/predicates.md (easy_vector_constant): Reorganize tests.
	(easy_vector_constant_add_self): Rewritten.
	* config/rs6000/rs6000-protos.h (easy_vector_splat_const,
	easy_vector_same, gen_easy_vector_constant_add_self): Remove prototype.
	(easy_altivec_constant, gen_easy_altivec_constant): Add prototype.

testsuite:
2005-11-07  Paolo Bonzini  <bonzini@gnu.org>

	PR target/24230

        * gcc.target/powerpc/altivec-consts.c,
        gcc.target/powerpc/altivec-splat.c: New testcase.

From-SVN: r106588
2005-11-07 10:39:36 +00:00
Paolo Bonzini
d8e1f97b7e c-typeck.c (build_c_cast): Try using a shared constant...
2005-11-07  Paolo Bonzini  <bonzini@gnu.org>

        * c-typeck.c (build_c_cast): Try using a shared constant, and see
        if TREE_OVERFLOW or TREE_CONSTANT_OVERFLOW really changed.

testsuite:
2005-11-07  Paolo Bonzini  <bonzini@gnu.org>

        * gcc.dg/overflow-2.c: New testcase.

From-SVN: r106587
2005-11-07 10:34:13 +00:00
Jakub Jelinek
ab900bfa4d re PR rtl-optimization/23567 (if-conversion causes wrong code)
PR rtl-optimization/23567
	* ifcvt.c (noce_mem_write_may_trap_or_fault_p): New function.
	(noce_process_if_block): Don't do any optimizations except
	if (cond) x = x; if !set_b and write into orig_x may trap
	or fault.  Remove the MEM_READONLY_P check.

	* gcc.c-torture/execute/20051104-1.c: New test.

From-SVN: r106585
2005-11-07 09:01:54 +01:00
Richard Guenther
73a08f8717 splay-tree.c (rotate_left): New function.
2005-11-07  Richard Guenther  <rguenther@suse.de>

	* splay-tree.c (rotate_left): New function.
	(rotate_right): Likewise.
	(splay_tree_splay_helper): Remove.
	(splay_tree_splay): Re-implement.

From-SVN: r106584
2005-11-07 07:45:35 +00:00
James A. Morrison
fd159af7b3 Fix PR number.
From-SVN: r106583
2005-11-07 06:58:08 +00:00
James A. Morrison
7d4a2fb0d4 re PR ada/21952 (Annoying "attribute directive ignored" warnings)
2005-11-07  James A. Morrison  <phython@gcc.gnu.org>

        PR treelang/21952
        * treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to
        treelang_attribute_table.
        (handle_attribute): New function.
        (treelang_attribute_table): New attribute table.

From-SVN: r106582
2005-11-07 06:54:52 +00:00
Jason Merrill
96c993a890 re PR c++/17256 (undefined but used static or inline functions should be diagnosed)
PR c++/17256
        * decl2.c (cp_finish_file): Fix conditions for undefined warning.
        Set TREE_NO_WARNING instead of TREE_PUBLIC.
        * pt.c (instantiate_pending_templates): Set DECL_INITIAL to avoid
        a warning on a function we didn't instantiate because of excessive
        recursion.

Co-Authored-By: James A. Morrison <phython@gcc.gnu.org>

From-SVN: r106581
2005-11-07 01:17:47 -05:00
Mark Mitchell
c0572427ed class.c (record_subobject_offsets): Don't record offsets past biggest empty class for non-empty base classes.
* class.c (record_subobject_offsets): Don't record offsets past
	biggest empty class for non-empty base classes.
	(layout_class_type): Use TYPE_SIZE_UNIT, not TYPE_SIZE, when
	keeping track of the size of emptyclasses.

From-SVN: r106580
2005-11-07 03:47:34 +00:00
GCC Administrator
405a3684f5 Daily bump.
From-SVN: r106577
2005-11-07 00:17:30 +00:00
Janne Blomqvist
9c5141abf2 MAINTAINERS (Write After Approval): Add myself.
2005-11-06  Janne Blomqvist  <jb@gcc.gnu.org>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r106569
2005-11-06 22:31:45 +02:00
Tobias Schlüter
e52971132c Reset svn:executable property for those testcases that had it set.
From-SVN: r106568
2005-11-06 21:21:28 +01:00
Paul Thomas
4075a94ef5 re PR fortran/24534 (PUBLIC derived types with private components)
2005-11-06  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/24534
	* resolve.c (resolve_symbol): Exclude case of PRIVATE declared
	within derived type from error associated with PRIVATE type
	components within derived type.

	PR fortran/20838
	PR fortran/20840
	* gfortran.h: Add prototype for gfc_has_vector_index.
	* io.c (gfc_resolve_dt): Error if internal unit has a vector index.
	* expr.c (gfc_has_vector_index): New function to check if any of
	the array references of an expression have vector inidices.
	(gfc_check_pointer_assign): Error if internal unit has a vector index.

	PR fortran/17737
	* data.c (gfc_assign_data_value): Remove gcc_assert that caused the ICE
	and replace by a standard dependent warning/error if overwriting an
	existing initialization.
	* decl.c (gfc_data_variable): Remove old error for already initialized
	variable and the unused error check for common block variables.  Add
	error for hots associated variable and standard dependent error for
	common block variables, outside of blockdata.
	* symbol.c (check_conflict): Add constraints for DATA statement.

2005-11-06  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/24534
	gfortran.dg/private_type_2.f90: Modified to check that case with
	PRIVATE declaration within derived type is accepted.

	PR fortran/20838
	gfortran.dg/pointer_assign_1.f90: New test.

	PR fortran/20840
	* gfortran.dg/arrayio_0.f90: New test.

	PR fortran/17737
	gfortran.dg/data_initialized.f90: New test.
	gfortran.dg/data_constraints_1.f90: New test.
	gfortran.dg/data_constraints_2.f90: New test.

From-SVN: r106567
2005-11-06 20:05:12 +00:00
Mark Mitchell
c5a35c3c50 re PR c++/21308 (Very high compile time)
PR c++/21308
	* class.c (sizeof_biggest_empty_class): New variable.
	(record_subobject_offsets): Don't record offsets past biggest
	empty class for data members.  Replace vbases_p parameter with
	is_data_member parameter.
	(build_base_field): Adjust call.
	(layout_class_type): Likewise.  Maintain
	sizeof_biggest_empty_class.

From-SVN: r106566
2005-11-06 19:41:18 +00:00
Erik Edelmann
4523d51b35 MAINTAINERS (Write After Approval): Add myself.
2005-11-06  Erik Edelmann  <eedelman@gcc.gnu.org>

        * MAINTAINERS (Write After Approval): Add myself.

From-SVN: r106565
2005-11-06 19:07:17 +00:00
Joseph Myers
a39d2742be gcc_release: Further update for SVN.
* gcc_release: Further update for SVN.  Don't set EXPORTTAG or
	EXPORTDATE; always determine SVNREV the same way.  Correct message
	about what sources are being retrived.  Include branch information
	in LAST_UPDATED.
	* crontab: Don't include initial / in branch name.

From-SVN: r106564
2005-11-06 18:29:17 +00:00
Janne Blomqvist
e5ef4b3bcb gfortran ChangeLog
2005-11-06  Janne Blomqvist <jb@gcc.gnu.org>

	PR fortran/24174
	PR fortran/24305
	* fortran/trans-io.c (gfc_build_io_library_fndecls): Add kind
	argument to transfer_array.
	(transfer_array_desc): Add kind argument.

testsuite ChangeLog:

2005-11-06  Janne Blomqvist <jb@gcc.gnu.org>

	PR fortran/24174
	PR fortran/24305
	* testsuite/gfortran.dg/large_real_kind_form_io_1.f90: New file.

libgfortran Changelog:

2005-11-06  Janne Blomqvist <jb@gcc.gnu.org>

	PR fortran/24174
	PR fortran/24305
	* io/io.h: Add argument to prototypes, add prototypes for
	size_from_*_kind functions.
	* io/list_read.c (read_complex): Add size argument, use
	it. 
	(list_formatted_read): Add size argument, cleanup.
	(list_formatted_read_scalar): Add size argument.
	(nml_read_obj): Fix for padding.
	* io/transfer.c: Add argument to transfer function pointer.
	(unformatted_read): Add size argument.
	(unformatted_write): Likewise.
	(formatted_transfer_scalar): Fix for padding with complex(10).
	(formatted_transfer): Add size argument, cleanup.
	(transfer_integer): Add size argument to transfer call.
	(transfer_real): Likewise.
	(transfer_logical): Likewise.
	(transfer_character): Likewise.
	(transfer_complex): Likewise.
	(transfer_array): New kind argument, use it.
	(data_transfer_init): Add size argument to formatted_transfer
	call.
	(iolength_transfer): Add size argument, cleanup.
	* io/write.c (write_complex): Add size argument, fix for padding
	with complex(10).
	(list_formatted_write): Add size argument, cleanup.
	(list_formatted_write_scalar): Add size argument, use it.
	(nml_write_obj): Fix for size vs. kind issue.
	* io/size_from_kind.c: New file.
	* Makefile.am: Add io/size_from_kind.c.
	* configure: Regenerate.
	* Makefile.in: Regenerate.

From-SVN: r106563
2005-11-06 20:28:22 +02:00
Diego Novillo
db3d5328dd re PR tree-optimization/24670 (VRP ICE in compare_name_with_value)
PR 24670
	* tree-vrp.c (fix_equivalence_set): New.
	(extract_range_from_assert): Call it.


testsuite/

	PR 24670
	* gcc.dg/tree-ssa/pr24670.c: New test.

From-SVN: r106562
2005-11-06 09:51:16 -05:00
Paolo Carlini
3a4983938c re PR libstdc++/18174 (documentation example for std::priority_queue usage)
2005-11-06  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/18174
	* include/bits/stl_queue.h (priority_queue): Tweak a bit the
	comment describing the container.

From-SVN: r106560
2005-11-06 13:07:11 +00:00
Francois-Xavier Coudert
3505981152 intrinsic.c (add_functions): Add ctime and fdate intrinsics.
* intrinsic.c (add_functions): Add ctime and fdate intrinsics.
	(add_subroutines): Likewise.
	* intrinsic.h: Prototypes for gfc_check_ctime,
	gfc_check_ctime_sub, gfc_check_fdate_sub, gfc_resolve_ctime,
	gfc_resolve_fdate, gfc_resolve_ctime_sub, gfc_resolve_fdate_sub.
	* gfortran.h: Add GFC_ISYM_CTIME and GFC_ISYM_FDATE.
	* iresolve.c (gfc_resolve_ctime, gfc_resolve_fdate,
	gfc_resolve_ctime_sub, gfc_resolve_fdate_sub): New functions.
	* trans-decl.c (gfc_build_intrinsic_function_decls): Add
	gfor_fndecl_fdate and gfor_fndecl_ctime.
	* check.c (gfc_check_ctime, gfc_check_ctime_sub,
	gfc_check_fdate_sub): New functions.
	* trans-intrinsic.c (gfc_conv_intrinsic_ctime,
	gfc_conv_intrinsic_fdate): New functions.
	(gfc_conv_intrinsic_function): Add cases for GFC_ISYM_CTIME
	and GFC_ISYM_FDATE.
	* intrinsic.texi: Documentation for the new CTIME and FDATE
	intrinsics.
	* trans.h: Declarations for gfor_fndecl_ctime and gfor_fndecl_fdate.

	* intrinsics/ctime.c: New file.
	* configure.ac: Add check for ctime.
	* Makefile.am: Add ctime.c
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* Makefile.in: Regenerate.

From-SVN: r106558
2005-11-06 10:17:04 +00:00
Ian Lance Taylor
1f2a3c8f5e re PR target/22432 (Wrong code generation using MMX intrinsics on amd64)
./:	PR target/22432
	* combine.c (apply_distributive_law): Don't distribute across a
	vector mode subreg.
testsuite/:
	PR target/22432
	* gcc.target/i386/pr22432.c: New test.

From-SVN: r106555
2005-11-06 05:34:38 +00:00