Commit Graph

76615 Commits

Author SHA1 Message Date
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
H.J. Lu bda91613d1 Add missing ChangeLog entry.
From-SVN: r116820
2006-09-10 10:33:17 -07:00
Paul Thomas f0e871d647 re PR fortran/28947 (Double MATMUL() uses wrong array elements)
2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

	PR libfortran/28947
	* m4/matmul.m4: For the case where the second input argument is
	transposed, ensure that the case with rank (a) == 1 is
	correctly calculated.
	* generated/matmul_r4.c: Regenerate.
	* generated/matmul_r8.c: Regenerate.
	* generated/matmul_r10.c: Regenerate.
	* generated/matmul_r16.c: Regenerate.
	* generated/matmul_c4.c: Regenerate.
	* generated/matmul_c8.c: Regenerate.
	* generated/matmul_c10.c: Regenerate.
	* generated/matmul_c16.c: Regenerate.
	* generated/matmul_i4.c: Regenerate.
	* generated/matmul_i8.c: Regenerate.
	* generated/matmul_i16.c: Regenerate.


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

	PR libfortran/28947
	gfortran.dg/matmul_4.f90: New test.

From-SVN: r116817
2006-09-10 17:21:44 +00:00
Paul Thomas 380bfbbd61 re PR fortran/28959 (ICE on derived type with host association)
2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/28959
	trans-types.c (gfc_get_derived_type): Use the parent namespace of
	the procedure if the type's own namespace does not have a parent.


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

	PR fortran/28959
	gfortran.dg/used_types_10: New test.

From-SVN: r116816
2006-09-10 17:17:57 +00:00
Paul Thomas c71d6a561e re PR fortran/28923 (Bad triplet interpretation in initialization)
2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/28923
	expr.c (find_array_section): Only use the array lower and upper
	bounds for the start and end of the sections, where the expr is
	NULL.

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

	PR libfortran/28923
	gfortran.dg/array_initializer_2.f90: Fill in missing index start value.
	gfortran.dg/array_initializer_3.f90: New test.

From-SVN: r116815
2006-09-10 17:13:29 +00:00
Joseph Myers a7819e426a * MAINTAINERS: Add self as soft-fp maintainer.
From-SVN: r116813
2006-09-10 11:51:11 +01:00
Paolo Carlini 8cfb1bca83 stl_heap.h (sort_heap): Iterator post-decrement is only required to be convertible to the iterator type.
2006-09-10  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_heap.h (sort_heap): Iterator post-decrement is
	only required to be convertible to the iterator type.

From-SVN: r116812
2006-09-10 09:23:59 +00:00
Eric Christopher 1be1e2dd0c re PR target/28995 (libgfortran build now fails on Darwin PPC)
2006-09-09  Eric Christopher  <echristo@apple.com>

        PR target/28995
        * config/darwin.c (machopic_select_rtx_section): Add TARGET_64BIT
        for literal16.

From-SVN: r116810
2006-09-10 07:09:38 +00:00
Jerry DeLisle fb366039a9 re PR fortran/28914 (Code inside loop hangs; outside loop runs normally; runs OK on other compilers)
2006-09-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/28914
	* gfortran.dg/actual_array_constructor_3.f90: New test.

From-SVN: r116809
2006-09-10 04:58:29 +00:00
Paul Thomas bfa7a1e994 re PR fortran/28914 (Code inside loop hangs; outside loop runs normally; runs OK on other compilers)
2006-09-09  Paul Thomas <pault@gcc.gnu.org>

	PR fortran/28914
	* trans-array.c (gfc_trans_array_constructor_value): Create a temporary
	loop variable to hold the current loop variable in case it is modified
	by the array constructor.

From-SVN: r116808
2006-09-10 04:53:18 +00:00
Roger Sayle 66cc73628c dwarf2out.c (convert_cfa_to_fb_loc_list): Handle DW_CFA_set_loc.
* dwarf2out.c (convert_cfa_to_fb_loc_list): Handle DW_CFA_set_loc.


Co-Authored-By: Nicolas Setton <setton@adacore.com>

From-SVN: r116807
2006-09-10 00:28:05 +00:00
GCC Administrator c7727b4a3f Daily bump.
From-SVN: r116805
2006-09-10 00:17:35 +00:00
Andreas Schwab 7a34bba92b * config/m68k/m68k.md (bungt_rev): New pattern.
From-SVN: r116801
2006-09-09 22:59:53 +00:00
Jason Merrill 05f8c2d5f6 re PR c++/28996 (ICE with statement forming unused static member function reference)
PR c++/28996
        * cvt.c (convert_to_void): Strip COMPONENT_REF to functions.

From-SVN: r116800
2006-09-09 18:26:53 -04:00
Paolo Bonzini 8b649f3f12 re PR target/26778 (GCC4 moves the result of a conditional block through inadequate registers)
gcc:
2006-09-09  Paolo Bonzini  <bonzini@gnu.org>
	    Dale Johannesen  <dalej@apple.com>

	PR target/26778
	* regclass.c (struct reg_pref): Update documentation.
	(regclass): Set prefclass to NO_REGS if memory is the best option.
	(record_reg_classes): Cope with a prefclass set to NO_REGS.

gcc/testsuite:
2006-09-09  Eric Christopher  <echristo@apple.com>

	PR target/26778
	* gcc.target/i386/pr26778.c: New testcase.


Co-Authored-By: Dale Johannesen <dalej@apple.com>

From-SVN: r116798
2006-09-09 12:43:32 +00:00
Anatoly Sokolov 827d0991fd MAINTAINERS: Add myself as avr maintainer.
* MAINTAINERS: Add myself as avr maintainer. 
	Remove Marek Michalkiewicz as avr maintainer.

From-SVN: r116797
2006-09-09 16:25:57 +04:00
Eric Christopher f728889939 config.gcc (i?86-*-darwin): Add 64-bit HWI support.
2006-09-08  Eric Christopher  <echristo@apple.com>

        * config.gcc (i?86-*-darwin): Add 64-bit HWI support.
        * config/t-slibgcc-darwin: Support x86_64 multilib.
        * config/i386/i386.h (JUMP_TABLES_IN_TEXT_SECTION):
        Return 1 for x86_64-darwin.
        * config/i386/t-darwin: Add m64 multilib.
        (LIB2_SIDITI_CONV_FUNCS): Use.
        (LIB2FUNCS_EXTRA): Ditto.
        * config/i386/darwin.h: Support x86_64.
        * config/i386/i386.c (override_options): Turn on flag_pic
        for x86_64-darwin. Disable flag_omit_pointer.
        (get_pc_thunk_name): Assert !TARGET_64BIT.
        (legitimate_address_p): Disable machopic addressing for
        x86_64.
        (legitimize_pic_address): Ditto.
        (ix86_expand_move): Ditto.
        (ix86_expand_call): Ditto.
        (machopic_output_stub): Ditto.
        * config/darwin.c (machopic_select_section): Support literal16.
        (machopic_select_rtx_section): Ditto.
        * config/darwin-sections.def: Ditto.
        * config/darwin-64.c: New.

2006-09-08  Eric Christopher  <echristo@apple.com>

        * gcc.target/i386/20060512-3.c: Run test on ilp32 only.
        * gcc.target/i386/memcpy-1.c: Ditto.
        * gcc.target/i386/asm-1.c: Ditto.
        * gcc.target/i386/20060512-4.c: Ditto.
        * gcc.target/i386/compress-float-387.c: Ditto.
        * gcc.target/i386/20060512-1.c: Ditto.
        * gcc.target/i386/compress-float-sse.c: Ditto.
        * gcc.target/i386/20060512-2.c: Ditto.
        * gcc.target/i386/compress-float-sse-pic.c: Ditto.
        * gcc.target/i386/stack-prot-kernel.c: Ditto.
        * gcc.target/i386/compress-float-387-pic.c: Ditto.
        * gcc.dg/pr26449.c: Ditto.
        * gcc.dg/attr-ms_struct-2.c: Ditto.
        * gcc.dg/attr-ms_struct-1.c: Ditto.
        * gcc.misc-tests/linkage.exp: Fix 64-bit darwin support.

2006-09-08  Eric Christopher  <echristo@apple.com>

        * configure.ac: Add 64-bit HWI support for i?86-darwin.

From-SVN: r116795
2006-09-09 00:27:47 +00:00
GCC Administrator c467c5ddd6 Daily bump.
From-SVN: r116793
2006-09-09 00:17:25 +00:00
Joseph Myers 3542a5c0f6 re PR c/28504 (ICE with variable sized array)
PR c/28504
	* c-tree.h (struct c_arg_info): Add pending_sizes.
	* c-parser.c (c_parser_parms_declarator,
	c_parser_parms_list_declarator): Initialize pending_sizes.
	* c-decl.c (get_parm_info): Initialize pending_sizes.
	(get_parm_info): Set pending_sizes.
	(grokdeclarator): Call put_pending_sizes for parameters for
	function definition only.

testsuite:
	* gcc.dg/vla-10.c: New test.

From-SVN: r116789
2006-09-09 00:41:21 +01:00
Volker Reichelt a7b9d08c35 re PR c++/28858 (Algorithm to find the end of a template parameter list is flawed)
PR c++/28858
	* parser.c (cp_parser_skip_until_found): Rename to
	cp_parser_skip_to_end_of_template_parameter_list.  Remove last two
	parameters.  Track levels of '< ... >'.  Stop at '{', '}', or ';'.
	Reorganize.  Adjust comment.
	(cp_parser_template_declaration_after_export): Adjust call.
	(cp_parser_enclosed_template_argument_list): Likewise.

	* g++.dg/parse/template20.C: New test.
	* g++.dg/template/operator8.C: Remove obsolete part.
	* g++.dg/parse/def-tmpl-arg1.C: Adjust error-markers.
	* g++.old-deja/g++.pt/crash65.C: Likewise.

From-SVN: r116788
2006-09-08 22:56:44 +00:00
Steven G. Kargl 38371be988 reduction3.f90: Change -2147483648 to -huge(i)-1 to avoid overflow.
2006-09-08  Steven G. Kargl  <kargl@gcc.gnu.org>

	* testsuite/libgomp.fortran/reduction3.f90: Change
	-2147483648 to -huge(i)-1 to avoid overflow.
	* testsuite/libgomp.fortran/reduction4.f90: Change
	Z'ffffffff' to not(0) to avoid overflow.

From-SVN: r116786
2006-09-08 20:57:55 +00:00