Commit Graph

58327 Commits

Author SHA1 Message Date
Gerald Pfeifer
60cadaea5e * crontab: Add GCC 3.5 snapshots, currenty run on Sundays.
From-SVN: r81919
2004-05-16 18:18:13 +00:00
Paul Brook
67a459f37c * arith.c (gfc_range_check): Fix logic error.
From-SVN: r81918
2004-05-16 18:01:38 +00:00
Paolo Carlini
5a4db26d01 std_bitset.h: Minor formatting fixes.
2004-05-16  Paolo Carlini  <pcarlini@suse.de>

	* include/std/std_bitset.h: Minor formatting fixes.

From-SVN: r81917
2004-05-16 17:45:29 +00:00
Paolo Carlini
08f7c2eb78 mt_allocator.h (__mt_alloc<>::deallocate): Consistently update __bin._M_free[0].
2004-05-16  Paolo Carlini  <pcarlini@suse.de>

	* include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
	Consistently update __bin._M_free[0].
	(__mt_alloc<>::allocate): When __bin._M_first[0] != NULL use
	__bin._M_free[0] to simplify the while loop (i.e., the number
	of iterations becomes known at the outset).

From-SVN: r81916
2004-05-16 17:01:40 +00:00
Janne Blomqvist
d464f8e99e write.c (write_logical): Don't print extra blank.
* io/write.c (write_logical): Don't print extra blank.
	(write_integer): Base field width on kind.
	(list_formatted_write): Output initial blank.

Co-Authored-By: Paul Brook <paul@codesourcery.com>

From-SVN: r81914
2004-05-16 14:07:58 +00:00
Janne Blomqvist
000aa32a49 io.h (flush): Add prototype.
* io/io.h (flush): Add prototype.
	* io/transfer.c (finalize_transfer): Flush partial records.
	* io/unix.c (flush): New function.

From-SVN: r81913
2004-05-16 13:27:48 +00:00
Steve Kargl
1ab106cdc4 * arith.c: Fix comment typos.
From-SVN: r81912
2004-05-16 11:26:25 +00:00
GCC Administrator
861464a0fb Daily bump.
From-SVN: r81910
2004-05-16 00:16:11 +00:00
Steven Bosscher
673fda6b48 c-gimplify.c (c_genericize): Replace calls via (*lang_hooks.foo) with lang_hooks.foo.
* c-gimplify.c (c_genericize):
	Replace calls via (*lang_hooks.foo) with lang_hooks.foo.
	* c-parse.in <expr_no_commas>: Likewise.
	<if_prefix>: Likewise.
	<select_or_iter_stmt>: Likewise.
	* expr.c (expand_var, expand_expr_real_1): Likewise.
	* expr.h (expand_expr): Make it a static inline function.
	Move prototype for expand_expr_real up before this.
	* fold-const.c (fold_relational_hi_lo, fold_relational_const):
	Likewise.
	* gimplify.c (gimple_boolify, gimplify_addr_expr,
	gimplify_asm_expr, gimplify_expr): Likewise.
	* tree-cfg.c (dump_tree_cfg, dump_cfg_stats, tree_cfg2vcg,
	dump_function_to_file): Likewise.
	* tree-dfa.c (dump_immediate_uses, dump_dfa_stats): Likewise.
	* tree-inline.c (remap_block, save_body, walk_tree): Likewise.
	* tree-into-ssa.c (dump_tree_ssa): Likewise.
	* tree-mudflap.c (mf_varname_tree, mf_file_function_line_tree):
	Likewise.
	* tree-optimize.c (execute_one_pass): Likewise.
	* tree-pretty-print.c (dump_generic_bb_buff): Likewise.
	* tree-ssa-alias.c (dump_alias_stats, dump_alias_info): Likewise.

objc/
	* objc-act.c (objc_build_try_enter_fragment,
	objc_build_try_epilogue, objc_build_catch_stmt,
	objc_build_finally_prologue): Replace calls via (*lang_hooks.foo)
	with lang_hooks.foo ().

From-SVN: r81907
2004-05-15 23:07:53 +00:00
Mark Wielaard
fb0e7ec09f * doc/cni.sgml: Removed, merged into gcj.texi.
From-SVN: r81906
2004-05-15 21:36:01 +00:00
Tobias Schlüter
909087e0cf re PR libfortran/15234 (libgfortran doesn't compile on Tru64 UNIX V4.0F)
PR fortran/15234
* io/io.h (unit_t): Rename to ...
(gfc_unit) ... this.
(unit_root, current_unit, find_file, find_unit, get_unit): Now
of type gfc_unit.
(delete_file, insert_unit, close_unit): Argument now of type
gfc_unit.
* backspace.c (st_backspace), close.c (st_close), endfile.c
(st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
(test_endfile, edit_modes, new_unit, already_open, st_open),
rewind.c (st_rewind), transfer.c (current_unit), unit.c
(internal_unit, unit_cache, rotate_left, rotate_right, insert,
insert_unit, delete_root, delete_treap, delete_unit, find_unit,
get_unit, init_units, close_unit), unix.c (find_file0,
find_file, delete_file): Replace all occurences of unit_t by
gfc_unit.

From-SVN: r81903
2004-05-15 22:44:38 +02:00
Mark Wielaard
85ff6f624e [multiple changes]
2004-05-15  Mark Wielaard  <mark@klomp.org>

       * Makefile.am (ordinary_java_source_files): Add new javax.print
       classes.
       * Makefile.in: Regenerated.

2004-05-15  Michael Koch  <konqueror@gmx.de>

       * javax/print/attribute/standard/DateTimeAtCompleted.java,
       javax/print/attribute/standard/DateTimeAtCreation.java,
       javax/print/attribute/standard/DateTimeAtProcessing.java,
       javax/print/attribute/standard/DocumentName.java,
       javax/print/attribute/standard/JobHoldUntil.java,
       javax/print/attribute/standard/JobImpressionsCompleted.java,
       javax/print/attribute/standard/JobMessageFromOperator.java,
       javax/print/attribute/standard/JobName.java,
       javax/print/attribute/standard/JobOriginatingUserName.java,
       javax/print/attribute/standard/JobPriority.java,
       javax/print/attribute/standard/JobPrioritySupported.java,
       javax/print/attribute/standard/NumberOfInterveningJobs.java,
       javax/print/attribute/standard/OutputDeviceAssigned.java,
       javax/print/attribute/standard/PrinterInfo.java,
       javax/print/attribute/standard/PrinterLocation.java,
       javax/print/attribute/standard/PrinterMakeAndModel.java,
       javax/print/attribute/standard/PrinterMessageFromOperator.java,
       javax/print/attribute/standard/PrinterName.java,
       javax/print/attribute/standard/QueuedJobCount.java,
       javax/print/attribute/standard/RequestingUserName.java:
       Fixed javadocs all over.

2004-05-15  Michael Koch  <konqueror@gmx.de>

       * javax/print/DocFlavor.java,
       javax/print/attribute/standard/ColorSupported.java,
       javax/print/attribute/standard/Compression.java,
       javax/print/attribute/standard/CopiesSupported.java,
       javax/print/attribute/standard/Fidelity.java,
       javax/print/attribute/standard/Finishings.java,
       javax/print/attribute/standard/JobImpressionsSupported.java,
       javax/print/attribute/standard/JobKOctetsSupported.java,
       javax/print/attribute/standard/JobMediaSheetsSupported.java,
       javax/print/attribute/standard/JobSheets.java,
       javax/print/attribute/standard/JobState.java,
       javax/print/attribute/standard/JobStateReason.java,
       javax/print/attribute/standard/JobStateReasons.java,
       javax/print/attribute/standard/Media.java,
       javax/print/attribute/standard/MediaSizeName.java,
       javax/print/attribute/standard/MultipleDocumentHandling.java,
       javax/print/attribute/standard/NumberUpSupported.java,
       javax/print/attribute/standard/OrientationRequested.java,
       javax/print/attribute/standard/PDLOverrideSupported.java,
       javax/print/attribute/standard/PageRanges.java,
       javax/print/attribute/standard/PresentationDirection.java,
       javax/print/attribute/standard/PrintQuality.java,
       javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
       javax/print/attribute/standard/PrinterMoreInfo.java,
       javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
       javax/print/attribute/standard/PrinterResolution.java,
       javax/print/attribute/standard/PrinterState.java,
       javax/print/attribute/standard/PrinterStateReason.java,
       javax/print/attribute/standard/PrinterStateReasons.java,
       javax/print/attribute/standard/PrinterURI.java,
       javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
       javax/print/attribute/standard/Severity.java,
       javax/print/attribute/standard/SheetCollate.java,
       javax/print/attribute/standard/Sides.java:
       Added serialVersionUID and removed final keyword where it doenst
       belong.

2004-05-15  Michael Koch  <konqueror@gmx.de>

       * javax/print/PrintServiceLookup.java: New file.

2004-05-15  Michael Koch  <konqueror@gmx.de>

       * javax/print/DocFlavor.java:
       Implemented all flavor classes.

2004-05-15  Michael Koch  <konqueror@gmx.de>

       * javax/print/attribute/standard/ColorSupported.java,
       javax/print/attribute/standard/Compression.java,
       javax/print/attribute/standard/CopiesSupported.java,
       javax/print/attribute/standard/Fidelity.java,
       javax/print/attribute/standard/Finishings.java,
       javax/print/attribute/standard/JobImpressionsSupported.java,
       javax/print/attribute/standard/JobKOctetsSupported.java,
       javax/print/attribute/standard/JobMediaSheetsSupported.java,
       javax/print/attribute/standard/JobSheets.java,
       javax/print/attribute/standard/JobState.java,
       javax/print/attribute/standard/JobStateReason.java,
       javax/print/attribute/standard/JobStateReasons.java,
       javax/print/attribute/standard/Media.java,
       javax/print/attribute/standard/MediaSizeName.java,
       javax/print/attribute/standard/MultipleDocumentHandling.java,
       javax/print/attribute/standard/NumberUpSupported.java,
       javax/print/attribute/standard/OrientationRequested.java,
       javax/print/attribute/standard/PDLOverrideSupported.java,
       javax/print/attribute/standard/PageRanges.java,
       javax/print/attribute/standard/PresentationDirection.java,
       javax/print/attribute/standard/PrintQuality.java,
       javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
       javax/print/attribute/standard/PrinterMoreInfo.java,
       javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
       javax/print/attribute/standard/PrinterResolution.java,
       javax/print/attribute/standard/PrinterState.java,
       javax/print/attribute/standard/PrinterStateReason.java,
       javax/print/attribute/standard/PrinterStateReasons.java,
       javax/print/attribute/standard/PrinterURI.java,
       javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
       javax/print/attribute/standard/Severity.java,
       javax/print/attribute/standard/SheetCollate.java,
       javax/print/attribute/standard/Sides.java: New files.

2004-05-15  Michael Koch  <konqueror@gmx.de>

       * javax/print/Doc.java
       (getPrintData): Throws IOException.
       (getReaderForText): Likewise.
       (getStreamForBytes): Likewise.
       * javax/print/DocFlavor.java:
       Fixed filename in copyright.
       (serialVersionUID): New field.
       * javax/print/ServiceUIFactory.java:
       Made all constants final.
       * javax/print/AttributeException.java
       javax/print/MultiDoc.java
       javax/print/MultiDocPrintJob.java
       javax/print/MultiDocPrintService.java
       javax/print/StreamPrintService.java
       javax/print/URIException.java: New files.
       * javax/print/Makefile.am
       (EXTRA_DIST): Added all new files.

2004-05-15  Michael Koch  <konqueror@gmx.de>

       * javax/print/attribute/standard/Copies.java,
       javax/print/attribute/standard/DateTimeAtCompleted.java,
       javax/print/attribute/standard/DateTimeAtCreation.java,
       javax/print/attribute/standard/DateTimeAtProcessing.java,
       javax/print/attribute/standard/DocumentName.java,
       javax/print/attribute/standard/JobHoldUntil.java,
       javax/print/attribute/standard/JobImpressions.java,
       javax/print/attribute/standard/JobImpressionsCompleted.java,
       javax/print/attribute/standard/JobKOctets.java,
       javax/print/attribute/standard/JobKOctetsProcessed.java,
       javax/print/attribute/standard/JobMediaSheets.java,
       javax/print/attribute/standard/JobMediaSheetsCompleted.java,
       javax/print/attribute/standard/JobMessageFromOperator.java,
       javax/print/attribute/standard/JobName.java,
       javax/print/attribute/standard/JobOriginatingUserName.java,
       javax/print/attribute/standard/JobPriority.java,
       javax/print/attribute/standard/JobPrioritySupported.java,
       javax/print/attribute/standard/NumberOfDocuments.java,
       javax/print/attribute/standard/NumberOfInterveningJobs.java,
       javax/print/attribute/standard/NumberUp.java,
       javax/print/attribute/standard/OutputDeviceAssigned.java,
       javax/print/attribute/standard/PagesPerMinute.java,
       javax/print/attribute/standard/PagesPerMinuteColor.java:
       Fixed @return tag all over.

2004-05-15  Michael Koch  <konqueror@gmx.de>

       * javax/print/attribute/AttributeSetUtilities.java
       (verifyCategoryForValue): Fixed typo in javadoc.
       * javax/print/attribute/HashAttributeSet.java
       (containsKey): Fixed @return tag.
       (comtainsValue): Likewise.
       (equals): Likewise.
       * javax/print/attribute/IntegerSyntax.java
       (equals): Likewise.
       * javax/print/attribute/ResolutionSyntax.java
       (equals): Likewise.
       (getCrossFeedResolution): Removed unused code.
       (getFeedResolution): Likewise.
       * javax/print/attribute/SetOfIntegerSyntax.java
       (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
       (equals): Fixed @return tag.
       * javax/print/attribute/TextSyntax.java
       (TextSyntax): Take locale into account.
       (hashCode): Better implementation.

2004-05-15  Michael Koch  <konqueror@gmx.de>

       * javax/print/CancelablePrintJob.java,
       javax/print/Doc.java,
       javax/print/DocFlavor.java,
       javax/print/DocPrintJob.java,
       javax/print/FlavorException.java,
       javax/print/PrintException.java,
       javax/print/PrintService.java,
       javax/print/ServiceUIFactory.java: New files.

From-SVN: r81901
2004-05-15 20:39:10 +00:00
Andrew Pinski
7cd9b02827 20040514-1.c: Add '}' that was forgotten.
2004-05-15  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/tree-ssa/20040514-1.c: Add '}' that was forgotten.

From-SVN: r81900
2004-05-15 13:35:26 -07:00
Tobias Schlüter
c8e20bd093 re PR fortran/13742 (Not Implemented: initial values for COMMON or EQUIVALENCE)
PR fortran/13742
* decl.c (add_init_expr_to_sym): Verify that COMMON variable is
not initialized in a disallowed fashion.
* match.c (gfc_match_common): Likewise.
(var_element): Verify that variable is not in the blank COMMON,
if it is in a common.

From-SVN: r81899
2004-05-15 22:29:06 +02:00
Joseph Myers
3a906f0433 be.po, [...]: Update.
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
	sv.po, tr.po: Update.

From-SVN: r81897
2004-05-15 20:13:10 +01:00
Joseph Myers
fc89798458 Make-lang.in (f95.generated-manpages): Remove.
* Make-lang.in (f95.generated-manpages): Remove.
	(f95.srcextra): New.
	(f95.info, fortran/gfortran.info, fortran/gfortran.dvi,
	f95.maintainer-clean): Generate info and dvi files in objdir/doc.
	(f95.dvi): Remove.
	(dvi): New.
	(f95.install-info): Remove.
	(install-info): New.

From-SVN: r81896
2004-05-15 20:02:24 +01:00
Bud Davis
94161cec95 re PR libfortran/15311 (Incorrect handling of A edit descriptor)
PR fortran/15311
	* io/write.c (write_a): right justify A edit output.
libgfortran/
	* gfortran.fortran-torture/execute/write_a_1.f90: New test.

From-SVN: r81895
2004-05-15 18:35:39 +00:00
Victor Leikehman
1de8a83646 * decl.c (add_init_expr_to_sym): Check for variable size arrays.
From-SVN: r81894
2004-05-15 18:20:09 +00:00
Roger Sayle
e2bb53e59a builtins.c (simplify_builtin_strcpy): Avoid use of chainon...
* builtins.c (simplify_builtin_strcpy): Avoid use of chainon, so
	that simplify_builtin doesn't destructively modify its argument.

From-SVN: r81893
2004-05-15 18:17:20 +00:00
Tobias Schlüter
feb357a336 re PR fortran/13826 (Derived types in DATA statements not PARAMETERs)
testsuite:
PR fortran/13826
PR fortran/13940
* gfortran.fortran-torture/compile/data_1.f90: New test.
(add second test)

fortran:
* primary.c (match_boz_constant): Use gfc_notify_std() for
issuing a warning or an error.

From-SVN: r81892
2004-05-15 20:10:06 +02:00
Tobias Schlüter
d663434b6c re PR fortran/13826 (Derived types in DATA statements not PARAMETERs)
fortran:
PR fortran/13826
* primary.c (match_structure_constructor): Rename ...
(gfc_match_structure_constructor): ... to this. Make non-static.
(gfc_match_rvalue): Call renamed function.
* match.h (gfc_match_structure_constructor): Declare.
* match.c (gfc_match_data_constant): Handle structure
constructor.

testsuite:
PR fortran/13826
* gfortran.fortran-torture/compile/data_1.f90: New test.

From-SVN: r81891
2004-05-15 20:02:20 +02:00
Mark Wielaard
f437e35992 CharIndexedReader.java: Removed.
* gnu/regexp/CharIndexedReader.java: Removed.
       * gnu/regexp/REFilterReader.java: Likewise.
       * gnu/regexp/RETokenLookAhead.java: Likewise.
       * Makefile.am (ordinary_java_source_files): Remove above classes.
       * Makefile.in: Regenerated.

From-SVN: r81890
2004-05-15 17:50:09 +00:00
Richard Earnshaw
dc49174251 lib1funcs.asm (_lshrdi3, [...]): Add ASM implementations for ARM and Thumb.
* arm/lib1funcs.asm (_lshrdi3, _ashrdi3, _ashldi3): Add ASM
implementations for ARM and Thumb.
* arm/t-arm-elf (LIB1ASMFUNCS): Use them.

From-SVN: r81889
2004-05-15 17:31:51 +00:00
Tobias Schlüter
d4fa05b90d re PR fortran/13702 (When preprocessing Fortran files (.F, .F90 and .F95) cpp should emit line numbers.)
PR fortran/13702
(Port from g95)
* gfortran.h (gfc_linebuf): New typedef.
(linebuf): Remove.
(gfc_file): Revamped, use new gfc_linebuf.
(locus): Revamped, use new types.
(gfc_current_file): Remove.
(gfc_current_form, gfc_source_file): New global variables.
* match.c (gfc_match_space, gfc_match_strings): Use
gfc_current_form to find source form.
* module.c (gfc_dump_module): Use gfc_source_file when printing
module header.
* error.c (show_locus, show_loci) Use new data structures to print
locus.
* scanner.c (first_file, first_duplicated_file, gfc_current_file):
Remove.
(file_head, current_file, gfc_current_form, line_head, line_tail,
gfc_current_locus1, gfc_source_file): New global variables.
(gfc_scanner_init1): Set new global variables.
(gfc_scanner_done1): Free new data structures.
(gfc_current_locus): Return pointer to gfc_current_locus1.
(gfc_set_locus): Set gfc_current_locus1.
(gfc_at_eof): Set new variables.
(gfc_at_bol, gfc_at_eol, gfc_advance_line, gfc_next_char): Adapt
to new locus structure.
(gfc_check_include): Remove.
(skip_free_comments, skip_fixed_comments): Use gfc_current_locus1.
(gfc_skip_comments): Use gfc_current_form, find locus with
gfc_current_locus1.
(gfc_next_char): Use gfc_current_form.
(gfc_peek_char, gfc_gobble_whitespace): Use gfc_current_locus1.
(load_line): Use gfc_current_form. Recognize ^Z as EOF. Fix
comment formatting.
(get_file): New function.
(preprocessor_line, include_line): New functions.
(load_file): Move down, rewrite to match new data structures.
(gfc_new_file): Rewrite to match new data structures.
* parse.c (next_statement): Remove code which is now useless. Use
gfc_source_form and gfc_source_file where appropriate.
* trans-decl.c (gfc_get_label_decl): adapt to new data structures
when determining locus of frontend code.
* trans-io.c (set_error_locus): Same.
* trans.c (gfc_get_backend_locus, gfc_set_backend_locus): Likewise.
* lang-specs.h (@f77-cpp-input, @f95-cpp-input): Remove '-P' from
preprocessor flags.
(all): Add missing initializers.

From-SVN: r81888
2004-05-15 19:31:32 +02:00
Tobias Schlüter
39ae2b013a Make-lang.in (trans-common.o): Remove redundant dependency.
* Make-lang.in (trans-common.o): Remove redundant dependency.
(data.c): Replace object file name ...
(data.o): ... by the correct one.

From-SVN: r81887
2004-05-15 19:08:04 +02:00
Roger Sayle
0682f0b80c * prefix.c: Update copyright year for previous check-in.
From-SVN: r81884
2004-05-15 15:16:44 +00:00
Thomas Quinot
428d4d7660 prefix.c (update_path): Replace PREFIX with KEY only when it matches a full directory name in PATH.
2004-05-15  Thomas Quinot  <quinot@act-europe.fr>

	* prefix.c (update_path): Replace PREFIX with KEY only
	when it matches a full directory name in PATH.

From-SVN: r81883
2004-05-15 15:14:40 +00:00
Richard Earnshaw
61f0ccffa3 arm.h (TARGET_APCS_32): Delete.
* arm.h (TARGET_APCS_32): Delete.
(TARGET_MMU_TRAPS): Delete.
(TARGET_CPU_CPP_BUILTINS): Unconditionally define __APCS_32__.  Never
define __APCS_26__.
(CPP_SPEC): Remove checking of -mapcs-{26,32}.
(ARM_FLAG_APCS_32, ARM_FLAG_MMU_TRAPS): Delete.
(TARGET_SWITCHES): Remove alignment_traps and apcs-{26,32} switches.
(prog_mode_type): Delete.
(PROMOTE_MODE): Always promote unsigned for HImode.
(SECONDARY_INPUT_RELOAD_CLASS): Simplify.
(MASK_RETURN_ADDR): Simplify.
* arm.c (arm_prgmode): Delete.
(arm_override_options, arm_gen_rotated_half_load): Simplify.
(print_multi_reg, output_return_instruction): Simplify.
(arm_output_epilogue, arm_final_prescan_insn): Simplify.
(arm_return_addr): Simplify.
* arm.md (prog_mode): Delete.
(conds): Simplify.
(zero_extendhisi2, extendhisi2, movhi, movhi_bytes): Simplify.
(rotated_loadsi, movhi_insn_littleend, movhi_insn_bigend): Delete.
(loadhi_si_bigend, loadhi_preinc, loadhi_shiftpreinc): Delete.
(loadhi_shiftpredec): Delete.
(peephole for post-increment on HImode load): Delete.
* arm/crtn.asm: (FUNC_END): Simplify.
* arm/lib1funcs.asm: Remove APCS-26 return macros.
* arm/aof.h, arm/coff.h arm/elf.h arm/linux-elf.h arm/netbsd-elf.h
* arm/netbsd.h arm/pe.h arm/semi.h arm/semiaof.h arm/unknown-elf.h
* arm/vxworks.h arm/wince-pe.h: Tidy TARGET_DEFAULTS and
MULTILIB_DEFAULTS as required.
* arm/t-arm-elf arm/t-linux arm/t-pe arm/t-semi arm/t-wince-pe
* arm/t-xscale-coff arm/t-xscale-elf arm/uclinux-elf: Tidy MULTILIB
variables as required.
* doc/invoke.texi (ARM Options): Remove obsolete flags.

From-SVN: r81881
2004-05-15 12:41:35 +00:00
Alan Modra
11c01dcc46 rs6000.c (rs6000_va_arg <ABI_V4>): Don't use UNITS_PER_WORD to calculate gpr size.
* config/rs6000/rs6000.c (rs6000_va_arg <ABI_V4>): Don't use
	UNITS_PER_WORD to calculate gpr size.  Re-instate code to set reg
	count to 8 to handle n_reg > 2.

From-SVN: r81880
2004-05-15 22:09:34 +09:30
Ulrich Weigand
9322b95bd7 const-elim-1.c: Remove XFAIL for s390*-*-*.
* gcc.dg/const-elim-1.c: Remove XFAIL for s390*-*-*.
	* gcc.dg/uninit-H.c: Define ASM for __s390__.

From-SVN: r81879
2004-05-15 12:21:24 +00:00
Paolo Carlini
5c33bb6218 std_bitset.h: Trivial formatting fixes.
2004-05-15  Paolo Carlini  <pcarlini@suse.de>

	* include/std/std_bitset.h: Trivial formatting fixes.

From-SVN: r81878
2004-05-15 11:43:03 +00:00
Joseph Myers
aaa6750272 extend.texi: Update WG14 URL.
* doc/extend.texi: Update WG14 URL.

testsuite:
	* gcc.c-torture/execute/20000603-1.c: Update WG14 URL.

From-SVN: r81876
2004-05-15 11:02:09 +01:00
Joseph Myers
e3d26d7b1f * gennews: Update for GCC 3.4.
From-SVN: r81874
2004-05-15 10:50:58 +01:00
Steven Bosscher
827c06b6cf basic-block.h (life_analysis, [...]): Update prototypes.
* basic-block.h (life_analysis, delete_noop_moves):
	Update prototypes.
	* bt-load.c (branch_target_load_optimize): Don't take the
	insns stream as an argument.  Update the life_analysis calls.
	* combine.c (combine_instructions): Update delete_noop_moves
	calls.
	* flow.c (notice_stack_pointer_modification): Don't take the
	insns stream as an argument.  Work on the flow graph.
	(life_analysis): Likewise.
	(delete_noop_moves): Likewise.
	* passes.c (rest_of_handle_stack_regs): Update reg_to_stack call.
	(rest_of_handle_life): Update life_analysis call.
	(rest_of_compilation): Likewise, and also update
	branch_target_load_optimize call.
	* ra.c (reg_alloc): Update life_analysis call.
	* reg-stack.c (reg_to_stack): Likewise.  Also, don't take
	the insns stream as an argument.
	* regrename.c (copyprop_hardreg_forward): Update delete_noop_moves
	call.
	* rtl.c (branch_target_load_optimize, reg_to_stack): Update
	prototypes.
	* value-profile.c (branch_prob): Update life_analysis call.
	* web.c (web_main): Work on the CFG, not on the insns stream.

	* config/ip2k/ip2k.c (ip2k_reorg): Update life_analysis calls.
	* config/m68hc11/m68hc11.c (m68hc11_reorg): Likewise.
	* config/sh/sh.c (sh_output_mi_thunk): Likewise.

From-SVN: r81873
2004-05-15 09:39:30 +00:00
Jeff Law
91cde0c3f5 tree-ssa-dom.c (redirect_edges_and_update_ssa_graph): Don't even bother marking bypassed virtuals for out-of-ssa.
* tree-ssa-dom.c (redirect_edges_and_update_ssa_graph): Don't even
        bother marking bypassed virtuals for out-of-ssa.  Instead merge
        bypassed virtuals into vars_to_rename just before into-ssa pass.

From-SVN: r81872
2004-05-15 00:21:34 -06:00
Joseph Myers
e9a757769b re PR c/15444 (Bad warning message in printf format checking)
PR c/15444
	* c-format.c (avoid_dollar_number): New function.
	(check_format_info_main): Call avoid_dollar_number when operand
	numbers might occur but has_operand_number == 0.

testsuite:
	* gcc.dg/format/xopen-1.c: Adjust expected message.
	* gcc.dg/format/xopen-3.c: New test.

From-SVN: r81871
2004-05-15 01:44:02 +01:00
GCC Administrator
5c3be6fdb0 Daily bump.
From-SVN: r81869
2004-05-15 00:16:13 +00:00
Tobias Schlüter
fb89e8bd06 dump-parse-tree.c (gfc_show_array_ref): Print colon only for ranges when dumping array references.
* dump-parse-tree.c (gfc_show_array_ref): Print colon only
for ranges when dumping array references.

From-SVN: r81866
2004-05-15 01:11:46 +02:00
Victor Leikehman
cb44ab824b decl.c (variable_decl): Always apply default initializer.
fortran/
	* decl.c (variable_decl): Always apply default initializer.
libgfortran/
	* gfortran.fortran-torture/execute/def_init_3.f90: New test.

From-SVN: r81865
2004-05-14 22:52:04 +00:00
Geoffrey Keating
15f8ac7f08 name-lookup.c (struct scope_binding): New.
* name-lookup.c (struct scope_binding): New.
	(EMPTY_SCOPE_BINDING): New.
	(lookup_using_namespace): Take a scope_binding instead of a
	cxx_binding.
	(qualified_lookup_using_namespace): Likewise.
	(cxx_binding_clear): Delete.
	(do_nonmember_using_decl): Use a scope_binding instead of a
	cxx_binding.
	(lookup_tag): Don't call select_decl.
	(ambiguous_decl): Don't return anything (and change callers to match).
	Take a scope_binding as the second parameter.
	(lookup_namespace_name): Use a scope_binding instead of a
	cxx_binding.
	(unqualified_namespace_lookup): Likewise.
	(lookup_qualified_name): Likewise.
	(select_decl): Take a scope_binding instead of a cxx_binding.
	Use macros rather than hand-coding tests for type-ness.

From-SVN: r81864
2004-05-14 22:33:28 +00:00
Tom Tromey
ae0d0d592f XGraphics.java (drawImage): Use XOffScreenImage', not XGraphicsConfiguration.XOffScreenImage'.
* gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
	not `XGraphicsConfiguration.XOffScreenImage'.

From-SVN: r81863
2004-05-14 22:17:44 +00:00
Joseph Myers
b1b51268b8 * gcc.pot: Regenerate.
From-SVN: r81862
2004-05-14 23:09:45 +01:00
Richard Earnshaw
3053b100f9 arm.md (all peephole2 patterns): Use predicates that validate register classes as appropriate.
* arm.md (all peephole2 patterns): Use predicates that validate
register classes as appropriate.

From-SVN: r81860
2004-05-14 21:45:59 +00:00
Scott Gilbertson
1cd29ad235 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
From-SVN: r81859
2004-05-14 21:36:47 +00:00
Steven Bosscher
b89e96acc4 re PR rtl-optimization/14472 ([tree-ssa] [regression] no sib calling for enum to int functions)
PR opt/14472
	* tree-tailcall.c (process_assignment): Use STRIP_NOPS to
	ignore type conversions that do not inhibit tail calling.
	(find_tail_calls): Likewise.

From-SVN: r81855
2004-05-14 18:29:09 +00:00
Jeff Law
14bc8dc280 tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Reorganize so that it picks up more opportunities to eliminate ABS expressions...
* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Reorganize
        so that it picks up more opportunities to eliminate ABS expressions
        or turn them into negations.

        * gcc.dg/tree-ssa/20040514-2.c: New test.

From-SVN: r81853
2004-05-14 11:51:05 -06:00
Paolo Carlini
394ef95eaf re PR libstdc++/15361 (bitset<>::_Find_next fails)
2004-05-14  Paolo Carlini  <pcarlini@suse.de>
	    Ivan Godard  <igodard@pacbell.net>

	PR libstdc++/15361
	* include/std/std_bitset.h (_Base_bitset<_Nw>::_M_do_find_next): Fix.
	* testsuite/23_containers/bitset/ext/15361.cc: New.

Co-Authored-By: Ivan Godard <igodard@pacbell.net>

From-SVN: r81852
2004-05-14 17:01:49 +00:00
Steven Augart
a01a235c76 jni.h (_Jv_func): Removed.
2004-05-14  Steven Augart  <augart@watson.ibm.com>

	* include/jni.h (_Jv_func): Removed.
	(struct JNINativeInterface): Use `void *' for reserved slots.
	(struct JNIInvokeInterface): Likewise.

From-SVN: r81851
2004-05-14 16:35:07 +00:00
Tobias Schlüter
7b08cf9291 noncontinuation_1.f90: Rename this ...
* gfortran.fortran-torture/compile/noncontinuation_1.f90: Rename
this ...
* gfortran.fortran-torture/compile/noncontinuation_1.f: ... to
this.

(Correcting previous mistake)

From-SVN: r81850
2004-05-14 17:38:08 +02:00
Steven Bosscher
e83f48010b passes.c (rest_of_handle_null_pointer): Remove.
* passes.c (rest_of_handle_null_pointer): Remove.
	(rest_of_handle_cse): Don't call rest_of_handle_null_pointer.
	(rest_of_compilation): Likewise.
	* rtl.h (delete_null_pointer_checks): Remove prototype.
	* gcse.c (rd_kill, rd_gen, reaching_defs, rd_out, ae_in, ae_out):
	Remove declarations.
	(get_bitmap_width, alloc_rd_mem, free_rd_mem, handle_rd_kill_set,
	compute_kill_rd, compute_rd, alloc_avail_expr_mem,
	free_avail_expr_mem, compute_ae_gen, expr_killed_p, compute_ae_kill,
	expr_reaches_here_p, computing_insn, def_reaches_here_p,
	can_disregard_other_sets, handle_avail_expr, classic_gcse,
	one_classic_gcse_pass, invalidate_nonnull_info,
	delete_null_pointer_checks_1, delete_null_pointer_checks,
	expr_reached_here_p_work): Remove.
	(gcse_main): Do not perform classic GCSE when optimizing for size.
	(alloc_pre_mem, free_pre_mem): Don't touch ae_in and ae_out, they
	are never used.

From-SVN: r81849
2004-05-14 15:35:11 +00:00