Commit Graph

76585 Commits

Author SHA1 Message Date
GCC Administrator 48de786822 Daily bump.
From-SVN: r116913
2006-09-13 00:17:09 +00:00
Jan Hubicka 26eeea9405 * cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.
From-SVN: r116909
2006-09-12 22:54:38 +00:00
Eric Botcazou 7e721950cb re PR rtl-optimization/28243 (internal consistency failure when building fontforge with -O3 -fPIC -ftracer)
PR rtl-optimization/28243
	* combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
	the insn to which the note was originally attached.

From-SVN: r116906
2006-09-12 21:48:40 +00:00
Tom Tromey ff68219131 * expr.c (push_value): Always flush quick stack.
From-SVN: r116905
2006-09-12 19:51:08 +00:00
Paul Thomas 6df7764520 re PR fortran/28971 (ICE: Segmentation fault on valid code)
2006-09-12  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/28971
	gfortran.dg/pr28971.f90: New test to act as a backstop in case
	this undiagnosed regression reappears.

From-SVN: r116904
2006-09-12 19:38:48 +00:00
Andrew Pinski 66cccea671 dwarf2out.c (file_table_last_lookup): Move this GC'd declaration outside of #ifdef DWARF2_DEBUGGING_INFO to fix...
* dwarf2out.c (file_table_last_lookup): Move this GC'd declaration
	outside of #ifdef DWARF2_DEBUGGING_INFO to fix bootstrap failure
	on platforms that don't use dwarf for debug info.


Co-Authored-By: Roger Sayle <roger@eyesopen.com>

From-SVN: r116903
2006-09-12 19:31:09 +00:00
Tom Tromey f8248aaa3b re PR java/29013 (gcj generates a MetalLookAndFeel class that fails cacao's verifier)
gcc/java
	PR java/29013:
	* jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Always note
	the push of the called method's return result.
libjava
	PR java/29013:
	* testsuite/libjava.lang/PR29013.out: Likewise.
	* testsuite/libjava.lang/PR29013.java: New file.

From-SVN: r116902
2006-09-12 19:00:48 +00:00
Tom Tromey ed08fcf6fc jvspec.c (lang_specific_driver): Read spec file even if -fsyntax-only.
* jvspec.c (lang_specific_driver): Read spec file even if
	-fsyntax-only.

From-SVN: r116901
2006-09-12 18:54:36 +00:00
Jason Merrill f01194138c re PR middle-end/28493 (Wrong address of stack object used for destructor call on PPC)
PR middle-end/28493
        * builtins.c (expand_builtin_setjmp_receiver): Clobber
        hard_frame_pointer_rtx after using it to update the frame pointer.

From-SVN: r116900
2006-09-12 14:02:36 -04:00
Benjamin Kosnik c1a03f0311 eh_globals.cc: Remove __gnu_internal.
2006-09-12  Benjamin Kosnik  <bkoz@redhat.com>

	* libsupc++/eh_globals.cc: Remove __gnu_internal.
	* config/io/basic_file_stdio.cc: Same.
	* config/abi/compatibility.h: Same.
	* config/cpu/generic/atomicity_mutex/atomicity.h: Same.
	* config/cpu/sh/atomicity.h: Same.

From-SVN: r116899
2006-09-12 17:48:45 +00:00
Roger Sayle fb8cbd3cb7 target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef.
* target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef.
	(TARGET_ASM_CLOSE_PAREN): Likewise.
	* config/alpha/osf5.h (TARGET_ASM_OPEN_PAREN): Define.
	(TARGET_ASM_CLOSE_PAREN): Likewise.

From-SVN: r116898
2006-09-12 17:29:05 +00:00
Roger Sayle b598cb381a re PR target/22223 (New testsuite failure on Tru64 UNIX V5.1B: gcc.c-torture/compile/20050622-1.c)
PR target/22223
	* config/alpha/alpha.c (alpha_start_function): Don't emit stack
	frame information for frames larger than 512 Kbytes on Tru64 when
	using the native assembler.

From-SVN: r116895
2006-09-12 17:13:55 +00:00
Kazu Hirata f63fc0d933 c-torture.exp (c-torture-compile, [...]): Treat $srcdir as a literal.
* lib/c-torture.exp (c-torture-compile, c-torture-execute):
	Treat $srcdir as a literal.
	* lib/fortran-torture.exp (fortran-torture-compile,
	fortran-torture-execute): Likewise.
	* lib/objc-torture.exp (objc-torture-compile,
	objc-torture-execute): Likewise.
	* lib/profopt.exp (profopt-execute): Likewise.

From-SVN: r116894
2006-09-12 17:12:49 +00:00
David Daney b095810f1b re PR libffi/23935 ($PREFIX/include/ffi.h needs to go to a target- and -version-dependent location)
PR libffi/23935
	* include/Makefile.am: Install both ffi.h and ffitarget.h in
	$(libdir)/gcc/$(target_alias)/$(gcc_version)/include.
	* aclocal.m4: Regenerated for automake 1.9.6.
	* Makefile.in: Regenerated.
	* include/Makefile.in: Regenerated.
	* testsuite/Makefile.in: Regenerated.

From-SVN: r116893
2006-09-12 16:51:43 +00:00
Tom Tromey bbe5c0840a * testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.
From-SVN: r116892
2006-09-12 16:28:43 +00:00
Roger Sayle 4c6669c2c6 re PR middle-end/4520 (cselib.c hash_rtx incorrectly hashes based on rtx address)
PR middle-end/4520
	PR bootstrap/28784
	* cselib.c (cselib_hash_rtx): Avoid hashing on the address of labels
	and symbols.  Instead use the implementation from cse.c's hash_rtx.

From-SVN: r116891
2006-09-12 16:02:31 +00:00
Tom Tromey 4b943588d1 re PR java/28754 (java.lang.nullPointerException while accessing final static members of an interface)
PR java/28754:
	* expr.c (expand_java_field_op): Initialize field's declaring
	interface if necessary.

From-SVN: r116890
2006-09-12 15:55:07 +00:00
Tom Tromey 91da2e7c33 re PR java/28892 (assignment to static field not in class initializer)
PR java/28892:
	* expr.c (expand_java_field_op): No error for assignments not in
	class initializer or constructor.

From-SVN: r116889
2006-09-12 15:47:26 +00:00
Jan Hubicka 93c094b524 re PR middle-end/28071 (A file that can not be compiled in reasonable time/space)
PR rtl-optimization/28071
	* tree-vect-transform.c (vect_create_data_ref_ptr): Kill cast.
	(vect_transform_loop): Likewise.
	* tree-vectorizer.c (new_loop_vec_info): Likewise.
	(new_loop_vec_info): Likewise.
	(destroy_loop_vec_info): Likewise.
	* tree-dfa.c (create_var_ann): Use GCC_CNEW.
	(create_stmt_ann): Likewise.
	(create_tree_ann): Rename to ...
	(create_tree_common_ann): ... this one; allocate only the common part
	of annotations.
	* tree-vn.c (set_value_handle): Use get_tree_common_ann.
	(get_value_handle): Likewise.
	* tree-ssa-pre.c (phi_translate): Delay annotation allocation for
	get_tree_common_ann.
	* tree-vectorizer.h (set_stmt_info): Take stmt annotation.
	(vinfo_for_stmt): Use stmt annotations.
	* tree-flow.h (tree_ann_common_t): New type.
	(tree_common_ann, get_tree_common_ann, create_tree_common_ann): New.
	(tree_ann, get_tree_ann, create_tree_ann): New.
	* tree-flow-inline.h (get_function_ann): Do more type checking.
	(stmt_ann): Likewise.
	(tree_ann): Rename to ...
	(tree_common_ann): ... this one; return ony common_ann
	(get_tree_ann): Rename to ...
	(tree_common_ann): This one; return only common_ann.
	* tree-vect-patterns.c (vect_pattern_recog_1): Update call
	of set_stmt_info.

From-SVN: r116886
2006-09-12 10:11:04 +00:00
Andrew Pinski 5f86874e9f Fix some whitespace issues in the changelog.
From-SVN: r116883
2006-09-12 00:51:16 -07:00
Andrew Pinski 91c884163e Fix some whitespace issues in the changelog.
From-SVN: r116882
2006-09-12 00:49:23 -07:00
Andrew Pinski b476963b6e Fix some whitespace issues in the changelog.
From-SVN: r116881
2006-09-12 00:48:26 -07:00
Andrew Pinski f33a23a09c Fix some whitespace issues in the changelog.
From-SVN: r116880
2006-09-12 00:46:08 -07:00
Andrew Pinski 455ad79239 Fix some whitespace issues in the changelog.
From-SVN: r116879
2006-09-12 00:44:52 -07:00
Andrew Pinski 91ba215a05 Fix some whitespace issues in the changelog.
From-SVN: r116878
2006-09-12 00:44:18 -07:00
Andrew Pinski f2fb70e83d Fix some whitespace issues in the changeLog.
From-SVN: r116877
2006-09-12 00:43:23 -07:00
Andrew Pinski cc6010cd8e Fix some white space issues in the changelog.
From-SVN: r116876
2006-09-12 00:42:10 -07:00
Andrew Pinski 19ede56f15 Fix white space issues in the ChangeLog.
From-SVN: r116875
2006-09-12 00:39:10 -07:00
Geoffrey Keating 703706d7e4 config.gcc (i[34567]86-*-darwin*): Set with_arch and with_cpu by default.
* config.gcc (i[34567]86-*-darwin*): Set with_arch and
	with_cpu by default.

From-SVN: r116874
2006-09-12 06:09:05 +00:00
Geoffrey Keating d5688810fe dwarf2out.c (dwarf_file_data): New.
* dwarf2out.c (dwarf_file_data): New.
	(enum dw_val_class): Add dw_val_class_file.
	(struct dw_val_struct): Add val_file.
	(file_table): Change to a hash table.
	(file_table_emitted): Delete.
	(file_table_last_lookup_index): Delete.
	(emitcount): Delete.
	(last_emitted_file): New.
	(lookup_filename): Change prototype to return a struct dwarf_file_data.
	(init_file_table): Delete.
	(maybe_emit_file): Change prototype to take a struct dwarf_file_data.
	(AT_addr): Add comment.
	(add_AT_file): New.
	(AT_file): New.
	(get_AT_file): New.
	(print_die): Handle dw_val_class_file.
	(print_dwarf_line_table): Update for new file table structure.
	(attr_checksum): Do checksum a filename.
	(same_dw_val_p, same_attr_p): Do compare a filename.
	(size_of_die): Handle dw_val_class_file.
	(value_format): Likewise.
	(output_die): Likewise.  Also, call maybe_emit_file here.
	(struct file_info): Constify filenames.  Make file_idx a pointer
	to a struct dwarf_file_data.
	(struct dir_info): Constify directory names.  Remove 'used' field.
	(struct file_name_acquire_data): New.
	(file_name_acquire): New.
	(output_file_names): Modify to handle new file data structures.
	(add_src_coords_attributes): Use add_AT_file.
	(add_call_src_coords_attributes): Likewise.
	(dwarf2out_imported_module_or_decl): Likewise.
	(gen_subprogram_die): Modify for new file data structures.
	(gen_variable_die): Likewise.
	(file_table_eq): New.
	(file_table_hash): New.
	(file_table_last_lookup): New.
	(lookup_filename): Rewrite to handle new file data structures.
	(maybe_emit_file): Rewrite to handle new file data structures.
	(dwarf2out_source_line): Always call lookup_filename and
	maybe_emit_file.
	(dwarf2out_init): Create file_table here.
	(prune_unused_types_walk_attribs): Don't call maybe_emit_file here.
	(file_table_relative_p): New.
	(dwarf2out_finish): Change detection of relative filenames
	to work with new file data structures.  Move output_line_info call
	after debug_info output.

From-SVN: r116873
2006-09-12 05:54:00 +00:00
Jack Howarth df29fa4d8b re PR testsuite/28950 (regex wrong for testing on darwin in gcc/testsuite/gcc.target/powerpc/ppc-and-1.c)
2006-09-11  Jack Howarth  <howarth@bromo.med.uc.edu>

        PR testsuite/28950
        * gcc.target/powerpc/ppc-and-1.c: Fix regex.

From-SVN: r116867
2006-09-12 00:34:18 +00:00
GCC Administrator 893512c990 Daily bump.
From-SVN: r116865
2006-09-12 00:17:24 +00:00
Steven G. Kargl 977a9355af intrinsic.c: Update Copyright date.
2006-09-11  Steven G. Kargl  <kargl@gcc.gnu.org>

	* intrinsic.c: Update Copyright date.
	* intrinsic.h: Ditto.

From-SVN: r116861
2006-09-11 22:29:39 +00:00
H.J. Lu 1395ea397e re PR target/13685 (Building simple test application with -march=pentium3 -Os gives SIGSEGV (unaligned sse instruction))
gcc/

2006-09-11  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/13685
	PR target/27537
	PR target/28621
	* config/i386/i386.c (override_options): Always default to 16
	byte stack boundary.

gcc/testsuite/

2006-09-11  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/13685
	* gcc.target/i386/pr13685.c: New test.

From-SVN: r116860
2006-09-11 14:34:06 -07:00
Alexandre Oliva d306730315 re PR target/28672 (Gcc went into infinite loop when building libstdc++)
2006-09-11  Alexandre Oliva  <aoliva@redhat.com>

	PR target/28672
	* var-tracking.c (dump_dataflow_set): Start dumping at
	register zero.
	(clobber_variable_part): Kill only the variable part in
	registers holding it, leaving other variables alone.

From-SVN: r116859
2006-09-11 14:30:07 -07:00
Josh Triplett b7886f1470 extend.texi (Other Builtins): Actually use the macro argument in the documentation example for...
2006-09-11  Josh Triplett  <josh@freedesktop.org>

	* doc/extend.texi (Other Builtins): Actually use the macro
	argument in the documentation example for
	__builtin_types_compatible_p.

From-SVN: r116858
2006-09-11 21:25:45 +00:00
Eric Botcazou 2e9182fd4a re PR rtl-optimization/28726 (-fsched2-use-superblock produces wrong code)
PR rtl-optimization/28726
	* sched-deps.c (sched_analyze_reg): New function extracted from...
	(sched_analyze_1): ...here.  Call it to analyze references to
	registers.  Treat again writes to a stack register as writing to the
	register.
	(sched_analyze_2): ...and here.  Call it to analyze references to
	registers.  Treat again reads of a stack register as reading the
	register.

From-SVN: r116855
2006-09-11 19:28:11 +00:00
Josh Conner c2b448c655 nrv3.c: Increase size of structure.
* gcc.dg/nrv3.c: Increase size of structure.
* gcc.dg/nrv4.c: Likewise.
* gcc.dg/nrv5.c: Likewise.

From-SVN: r116854
2006-09-11 18:54:29 +00:00
David Daney 5a4ba983b8 re PR classpath/28580 (HTTP HEAD fails on chuncked encoding)
PR classpath/28580
       * gnu/java/net/protocol/http/Request.java (readResponse):  Call
       createResponseBodyStream in more cases and with new parameter.
       (createResponseBodyStream):  Added new parameter mayHaveBody. Handle
       HEAD and !mayHaveBody responses specially.

From-SVN: r116853
2006-09-11 18:15:27 +00:00
Guenter Roeck d295200882 re PR target/27287 (returning constant double)
2006-09-11  Guenter Roeck  <guenter@roeck-us.net>
            David Edelsohn  <edelsohn@gnu.org>

        PR target/27287
        * config/rs6000/spe.md (frob_df_di): Remove %H.
        (frob_di_df): Remove %H.  Change evmergelo to mr.
        (frob_di_df_2): Remove %H.  Change evldd to two loads.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>

From-SVN: r116850
2006-09-11 13:05:15 -04:00
Hideki Iwamoto 0c387be360 cpp.texi: Fix names of charset options.
gcc/
2006-09-11  Hideki Iwamoto  <h-iwamoto@kit.hi-ho.ne.jp>

	* doc/cpp.texi: Fix names of charset options.

From-SVN: r116841
2006-09-11 08:33:49 +00:00
Paul Thomas 7f39b34c7e re PR fortran/28890 (ICE on write)
2006-09-11  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/28890
	trans-expr.c (gfc_conv_function_call): Obtain the string length
	of a dummy character(*) function from the symbol if it is not
	already translated.  For a call to a character(*) function, use
	the passed, hidden string length argument, which is available
	from the backend_decl of the formal argument.
	resolve.c (resolve_function): It is an error if a function call
	to a character(*) function is other than a dummy procedure or
	an intrinsic.

2006-09-11  Paul Thomas  <pault@gcc.gnu.org>

	PR libfortran/28890
	gfortran.dg/assumed_charlen_function_5.f90: New test.

From-SVN: r116839
2006-09-11 05:02:58 +00:00
Mark Mitchell bc70af526c re PR c++/28991 (Static constructor emitted instead of initialized variable)
PR c++/28991
	* cp-objcp-common.c (cxx_staticp): New function.
	* cp-objcp-common.h (LANG_HOOOKS_STATICP): Use it.
	* cp-tree.h (cxx_staticp): New function.
	PR c++/289991
	* g++.dg/init/static3.C: New test.

From-SVN: r116838
2006-09-11 00:40:15 +00:00
GCC Administrator d35763beea Daily bump.
From-SVN: r116836
2006-09-11 00:17:28 +00:00
Andrew Pinski 96f2fafeee re PR testsuite/29007 (FAIL: gcc.dg/long-long-cst1.c execution test)
2006-09-10  Andrew Pinski  <pinskia@physics.uc.edu>

        PR testsuite/29007
        * gcc.dg/long-long-cst1.c (t): Add cast to
        __SIZE_TYPE__ before casting to int.
        (main): Return 0 on success.

From-SVN: r116832
2006-09-10 16:15:31 -07:00
Andrew Pinski 748dc0c9c2 re PR target/29009 (ice in kernel build)
2006-09-10  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/29009
        * config/i386/i386.c (override_options): Use 128-bit
        stack boundary always for 64bits.

From-SVN: r116831
2006-09-10 16:05:00 -07:00
Eric Botcazou de097a3b99 re PR rtl-optimization/28636 (Miscompiled loop)
PR rtl-optimization/28636
	* combine.c (force_to_mode): Test for side-effects before
	substituting by zero.
	(simplify_shift_const): Likewise for zero or other constants.

From-SVN: r116827
2006-09-10 21:27:36 +00:00
Steven Bosscher 4fe337f67a re PR middle-end/26983 (Missing label with builtin_setjmp/longjmp)
PR middle-end/26983

gcc/
	* builtins.c (expand_builtin_setjmp): Force next_lab to be
	preserved.

testsuite/
	* gcc.dg/pr26983.c: New test.

From-SVN: r116826
2006-09-10 20:08:58 +00:00
Richard Sandiford 9226543b67 re PR target/29006 (Incorrect zeroing of unaligned 64-bit fields on MIPS targets)
gcc/
	PR target/29006
	* config/mips/mips-protos.h (mips_mem_fits_mode_p): Declare.
	* config/mips/mips.c (mips_expand_unaligned_store): Use the mode
	returned by mode_for_size, rather than the mode of src itself,
	to choose between 32-bit and 64-bit patterns.
	(mips_mem_fits_mode_p): New function.
	* config/mips/mips.md (mov_<load>l, mov_<load>r): Use it to check
	that the size of the source matches the size of the destination.
	(mov_<store>l, mov_<store>r): Likewise.

gcc/testsuite/
	PR target/29006
	* gcc.c-torture/execute/pr29006.c: New test.

From-SVN: r116822
2006-09-10 19:28:48 +00:00
Eric Christopher ca6f2eefa4 darwin.c (machopic_select_rtx_section): Add CONST_VECTOR for literal16.
2006-09-10  Eric Christopher  <echristo@apple.com>

        * config/darwin.c (machopic_select_rtx_section): Add CONST_VECTOR
        for literal16.

From-SVN: r116821
2006-09-10 19:28:17 +00:00