GCC Administrator [Mon, 17 May 2004 00:16:46 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r81930
Richard Earnshaw [Sun, 16 May 2004 22:22:49 +0000 (22:22 +0000)]
re PR target/10982 ([arm] poor optimisation of "if (var & const)")
PR target/10982
* arm.md (ne_zeroextractsi): Convert to insn-and-split.
(ne_zeroextractsi_shifted): New pattern.
(ite_ne_zeroextractsi): New pattern.
(ite_ne_zeroextractsi_shifted): New pattern.
From-SVN: r81926
Paul Brook [Sun, 16 May 2004 21:10:24 +0000 (21:10 +0000)]
* options.c (gfc_handle_module_path_options): Fix buffer overrun.
From-SVN: r81925
Paul Brook [Sun, 16 May 2004 20:17:04 +0000 (20:17 +0000)]
* io/format.c (write_real): Don't include padding in format.
From-SVN: r81922
Mark Wielaard [Sun, 16 May 2004 18:35:37 +0000 (18:35 +0000)]
* java/io/Writer.java (Writer(Object)): Check for null lock object.
From-SVN: r81921
Paul Brook [Sun, 16 May 2004 18:21:42 +0000 (18:21 +0000)]
* io/format.c (format_lex): Make c an int.
From-SVN: r81920
Gerald Pfeifer [Sun, 16 May 2004 18:18:13 +0000 (18:18 +0000)]
* crontab: Add GCC 3.5 snapshots, currenty run on Sundays.
From-SVN: r81919
Paul Brook [Sun, 16 May 2004 18:01:38 +0000 (18:01 +0000)]
* arith.c (gfc_range_check): Fix logic error.
From-SVN: r81918
Paolo Carlini [Sun, 16 May 2004 17:45:29 +0000 (17:45 +0000)]
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
Paolo Carlini [Sun, 16 May 2004 17:01:40 +0000 (17:01 +0000)]
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
Janne Blomqvist [Sun, 16 May 2004 14:07:58 +0000 (17:07 +0300)]
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
Janne Blomqvist [Sun, 16 May 2004 13:27:48 +0000 (16:27 +0300)]
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
Steve Kargl [Sun, 16 May 2004 11:26:25 +0000 (11:26 +0000)]
* arith.c: Fix comment typos.
From-SVN: r81912
GCC Administrator [Sun, 16 May 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r81910
Steven Bosscher [Sat, 15 May 2004 23:07:53 +0000 (23:07 +0000)]
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
Mark Wielaard [Sat, 15 May 2004 21:36:01 +0000 (21:36 +0000)]
* doc/cni.sgml: Removed, merged into gcj.texi.
From-SVN: r81906
Tobias Schlüter [Sat, 15 May 2004 20:44:38 +0000 (22:44 +0200)]
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
Mark Wielaard [Sat, 15 May 2004 20:39:10 +0000 (20:39 +0000)]
[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
Andrew Pinski [Sat, 15 May 2004 20:35:26 +0000 (20:35 +0000)]
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
Tobias Schlüter [Sat, 15 May 2004 20:29:06 +0000 (22:29 +0200)]
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
Joseph Myers [Sat, 15 May 2004 19:13:10 +0000 (20:13 +0100)]
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
Joseph Myers [Sat, 15 May 2004 19:02:24 +0000 (20:02 +0100)]
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
Bud Davis [Sat, 15 May 2004 18:35:39 +0000 (18:35 +0000)]
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
Victor Leikehman [Sat, 15 May 2004 18:20:09 +0000 (21:20 +0300)]
* decl.c (add_init_expr_to_sym): Check for variable size arrays.
From-SVN: r81894
Roger Sayle [Sat, 15 May 2004 18:17:20 +0000 (18:17 +0000)]
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
Tobias Schlüter [Sat, 15 May 2004 18:10:06 +0000 (20:10 +0200)]
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
Tobias Schlüter [Sat, 15 May 2004 18:02:20 +0000 (20:02 +0200)]
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
Mark Wielaard [Sat, 15 May 2004 17:50:09 +0000 (17:50 +0000)]
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
Richard Earnshaw [Sat, 15 May 2004 17:31:51 +0000 (17:31 +0000)]
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
Tobias Schlüter [Sat, 15 May 2004 17:31:32 +0000 (19:31 +0200)]
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
Tobias Schlüter [Sat, 15 May 2004 17:08:04 +0000 (19:08 +0200)]
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
Roger Sayle [Sat, 15 May 2004 15:16:44 +0000 (15:16 +0000)]
* prefix.c: Update copyright year for previous check-in.
From-SVN: r81884
Thomas Quinot [Sat, 15 May 2004 15:14:40 +0000 (17:14 +0200)]
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
Richard Earnshaw [Sat, 15 May 2004 12:41:35 +0000 (12:41 +0000)]
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
Alan Modra [Sat, 15 May 2004 12:39:34 +0000 (12:39 +0000)]
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
Ulrich Weigand [Sat, 15 May 2004 12:21:24 +0000 (12:21 +0000)]
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
Paolo Carlini [Sat, 15 May 2004 11:43:03 +0000 (11:43 +0000)]
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
Joseph Myers [Sat, 15 May 2004 10:02:09 +0000 (11:02 +0100)]
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
Joseph Myers [Sat, 15 May 2004 09:50:58 +0000 (10:50 +0100)]
* gennews: Update for GCC 3.4.
From-SVN: r81874
Steven Bosscher [Sat, 15 May 2004 09:39:30 +0000 (09:39 +0000)]
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
Jeff Law [Sat, 15 May 2004 06:21:34 +0000 (00:21 -0600)]
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
Joseph Myers [Sat, 15 May 2004 00:44:02 +0000 (01:44 +0100)]
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
GCC Administrator [Sat, 15 May 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r81869
Tobias Schlüter [Fri, 14 May 2004 23:11:46 +0000 (01:11 +0200)]
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
Victor Leikehman [Fri, 14 May 2004 22:52:04 +0000 (01:52 +0300)]
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
Geoffrey Keating [Fri, 14 May 2004 22:33:28 +0000 (22:33 +0000)]
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
Tom Tromey [Fri, 14 May 2004 22:17:44 +0000 (22:17 +0000)]
XGraphics.java (drawImage): Use `XOffScreenImage', not `XGraphicsConfiguration.XOffScreenImage'.
* gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
not `XGraphicsConfiguration.XOffScreenImage'.
From-SVN: r81863
Joseph Myers [Fri, 14 May 2004 22:09:45 +0000 (23:09 +0100)]
* gcc.pot: Regenerate.
From-SVN: r81862
Richard Earnshaw [Fri, 14 May 2004 21:45:59 +0000 (21:45 +0000)]
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
Scott Gilbertson [Fri, 14 May 2004 21:36:47 +0000 (21:36 +0000)]
* gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
From-SVN: r81859
Steven Bosscher [Fri, 14 May 2004 18:29:09 +0000 (18:29 +0000)]
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
Jeff Law [Fri, 14 May 2004 17:51:05 +0000 (11:51 -0600)]
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
Paolo Carlini [Fri, 14 May 2004 17:01:49 +0000 (17:01 +0000)]
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
Steven Augart [Fri, 14 May 2004 16:35:07 +0000 (16:35 +0000)]
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
Tobias Schlüter [Fri, 14 May 2004 15:38:08 +0000 (17:38 +0200)]
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
Steven Bosscher [Fri, 14 May 2004 15:35:11 +0000 (15:35 +0000)]
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
Tobias Schlüter [Fri, 14 May 2004 15:32:01 +0000 (17:32 +0200)]
re PR fortran/15206 (RRSPACING intrinsics returns wrong result for 0.0)
PR fortran/15206
* trans-intrinsic.c (gfc_conv_intrinsic_rrspacing): Fixed to
handle zero correctly.
From-SVN: r81848
Andrew Pinski [Fri, 14 May 2004 15:27:37 +0000 (15:27 +0000)]
re PR tree-optimization/14466 (missed PHI optimization (different types))
2004-05-14 Andrew Pinski <pinskia@physics.uc.edu>
PR optimization/14466
* tree-complex.c (make_temp): Remove.
(gimplify_val): Replace make_temp with make_rename_temp
and add NULL as the second argument.
(expand_complex_div_wide): Likewise.
* tree-dfa.c (make_rename_temp): New function.
* tree-flow.h (make_rename_temp): Declare.
* tree-sra.c (make_temp): Remove.
(lookup_scalar): Replace make_temp with make_rename_temp.
(create_scalar_copies): Likewise.
* tree-ssa-phiopt.c (conditional_replacement): When we
get non gimple create a temporary variable to hold the
casted expression.
2004-05-14 Andrew Pinski <pinskia@physics.uc.edu>
PR optimization/14466
* gcc.dg/tree-ssa/
20040514-1.c: New test.
From-SVN: r81847
Tobias Schlüter [Fri, 14 May 2004 14:07:13 +0000 (16:07 +0200)]
* match.c (gfc_match): Eliminate dead code.
From-SVN: r81846
Tobias Schlüter [Fri, 14 May 2004 14:04:36 +0000 (16:04 +0200)]
parse.c (gfc_statement_next_fixed): (Change from Andy's tree) Detect bad continuation line in fixed form sources.
fortran:
* parse.c (gfc_statement_next_fixed): (Change from Andy's tree)
Detect bad continuation line in fixed form sources.
testsuite:
* gfortran.fortran-torture/compile/noncontinuation_1.f90: New
test.
From-SVN: r81845
Arnaud Charlet [Fri, 14 May 2004 13:55:12 +0000 (15:55 +0200)]
[multiple changes]
2004-05-14 Robert Dewar <dewar@gnat.com>
* gnat_ugn.texi: Minor change to -gnatS documentation
* sprint.adb: Remove some instances of Assert (False) and for this
purpose replace them by output of a ??? string.
* checks.adb, exp_aggr.adb, sem_elim.adb: Remove useless pragma
Assert (False).
* lib-writ.adb, lib-load.adb, lib.ads, lib.adb: Remove Dependent_Unit
flag processing. This was suppressing required dependencies in
No_Run_Time mode and is not needed since the binder does not generate
references for things in libgnat anyway.
* sem_ch3.adb (Access_Type_Declaration): Reorganize code to avoid GCC
warning.
2004-05-14 Thomas Quinot <quinot@act-europe.fr>
* gnat_ugn.texi: Document AIX-specific issue with initialization of
resolver library.
* exp_ch4.adb (Insert_Dereference_Action): Do not generate dereference
action for the case of an actual parameter in an init proc call.
2004-05-14 Ed Schonberg <schonberg@gnat.com>
* sem_ch4.adb (Analyze_Selected_Component): If prefix is a protected
subtype, check visible entities in base type.
* exp_ch7.adb (Clean_Simple_Protected_Objects): Do not generate cleanup
actions if the object is a renaming.
* sem_ch12.adb (Same_Instantiated_Entity): Predicate for
Check_Formal_Package_Instance, to determine more precisely when the
formal and the actual denote the same entity.
2004-05-14 Javier Miranda <miranda@gnat.com>
* par-ch10.adb (P_Context_Clause): Complete documentation on AI-262
* sem_ch10.adb (Analyze_With_Clause): After analyzed, the entity
corresponding to a private_with must be removed from visibility; it
will be made visible later, just before we analyze the private part of
the package.
(Check_Private_Child_Unit): Allow private_with clauses in public
siblings.
(Install_Siblings): Make visible the private entities of private-withed
siblings.
(Install_Withed_Unit): Do not install the private withed unit if we
are compiling a package declaration and the Private_With_OK flag was
not set by the caller. These declarations will be installed later,
just before we analyze the private part of the package.
* sem_ch3.adb (Analyze_Object_Declaration): In case of errors detected
during the evaluation of the expression that initializes the object,
decorate it with the expected type to avoid cascade errors.
Code cleanup.
* sem_ch6.adb (Analyze_Subprogram_Body): If we are compiling a library
subprogram we have to install the private_with clauses after its
specification has been analyzed (as documented in AI-262.TXT).
* sem_ch8.adb (Has_Private_With): New function. Determines if the
current compilation unit has a private with on a given entity.
(Find_Direct_Name): Detect the Beaujolais problem described in
AI-262.TXT
* sem_utils.ads, sem_util.adb (Is_Ancestor_Package): New function. It
provides the functionality of the function Is_Ancestor that was
previously available in sem_ch10. It has been renamed to avoid
overloading.
* sprint.adb (Sprint_Node_Actual): Print limited_with clauses
2004-05-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* utils.c (build_vms_descriptor): Use SImode pointers.
2004-05-14 Vasiliy Fofanov <fofanov@act-europe.fr>
* gnat_ugn.texi: Revised chapter "GNAT and Libraries".
2004-05-14 GNAT Script <nobody@gnat.com>
* Make-lang.in: Makefile automatically updated
From-SVN: r81844
Tobias Schlüter [Fri, 14 May 2004 13:51:27 +0000 (15:51 +0200)]
re PR fortran/15205 (NEAREST intrinsic returns wrong value in DOUBLE PRECISION)
PR fortran/15205
* iresolve.c (gfc_resolve_nearest): Add new function.
* intrinsic.h: ... declare it here.
* intrinsic.c (add_functions): ... add it as resolving function
for NEAREST.
From-SVN: r81843
Tobias Schlüter [Fri, 14 May 2004 13:46:05 +0000 (15:46 +0200)]
re PR fortran/14066 (Infinite DO loops not recognized.)
fortran:
PR fortran/14066
* match.c (gfc_match_do): Allow infinite loops with
label-do-stmt. Do not enforce space after comma.
testsuite:
PR fortran/14066
* gfortran.fortran-torture/compile/do_1.f90: New test.
Also fixed date on previous ChangeLog entries.
From-SVN: r81842
Tobias Schlüter [Fri, 14 May 2004 13:26:03 +0000 (15:26 +0200)]
re PR fortran/15051 (Incorrect error for empty interface block)
testsuite:
PR fortran/15051
* gfortran.fortran-torture/compile/empty_interface_1.f90: New
test.
fortran:
PR fortran/15051
* parse.c (parse_interface): Allow empty INTERFACE, remove
seen_body.
Also added ChangeLog entry missing from previous commit, removed umlaut from ChangeLog, and fixed previous entry to use tabs.
From-SVN: r81841
Tobias Schlüter [Fri, 14 May 2004 13:00:04 +0000 (15:00 +0200)]
Make-lang.in, [...]: Update copyright years and boilerplate.
* Make-lang.in, arith.c, arith.h, array.c, bbt.c, check.c,
decl.c, dependency.c, dependency.h, dump-parse-tree.c, error.c,
expr.c, f95-lang.c, gfortran.h, interface.c, intrinsic.c,
intrinsic.h, io.c, iresolve.c, lang-specs.h, match.c, match.h,
matchexp.c, misc.c, module.c, options.c, parse.c, parse.h,
primary.c, resolve.c, scanner.c, simplify.c, st.c, symbol.c,
trans-array.c, trans-array.h, trans-common.c, trans-const.c,
trans-const.h, trans-decl.c, trans-expr.c, trans-intrinsic.c,
trans-io.c, trans-stmt.c, trans-stmt.h, trans-types.c,
trans-types.h, trans.c, trans.h: Update copyright years and
boilerplate.
* data.c: Likewise, also removed two whitespace-only lines.
* gfortranspec.c, lang.opt: Update copyright years.
From-SVN: r81839
Paul Brook [Fri, 14 May 2004 12:53:11 +0000 (12:53 +0000)]
stor-layout.c (update_alignment_for_field): Use targetm.align_anon_bitfield.
* stor-layout.c (update_alignment_for_field): Use
targetm.align_anon_bitfield.
* target-def.h (TARGET_ALIGN_ANON_BITFIELD): Define.
(TARGET_INITIALIZER): Use it.
* target.h (struct gcc_target): Add align_anon_bitfield.
* config/arm/arm.c (arm_align_anon_bitfield): New function.
(TARGET_ALIGN_ANON_BITFIELD): Define.
* doc/tm.texi: Document TARGET_ALIGN_ANON_BITFIELD.
From-SVN: r81838
Tobias Schlüter [Fri, 14 May 2004 12:44:40 +0000 (14:44 +0200)]
re PR fortran/14568 (should not warn about unused variables in common blocks)
PR fortran/14568
* trans-decl.c (generate_local_decl): Don't warn for unused
variables which are in common blocks.
From-SVN: r81837
Bud Davis [Fri, 14 May 2004 12:21:22 +0000 (12:21 +0000)]
re PR libfortran/15149 (problem computing Pi)
PR fortran/15149
* gfortran.fortran-torture/execute/random_init.f90: New test.
* libgfortan.h,intrinsics/random.c: Made random_seed visible.
* runtime/main.c(init): Call random_seed as part of MAIN init.
From-SVN: r81836
Arnaud Charlet [Fri, 14 May 2004 10:02:00 +0000 (12:02 +0200)]
Renaming of target specific files for clarity
* Makefile.in: Rename GNAT target specific files.
* 31soccon.ads, 31soliop.ads 35soccon.ads, 3asoccon.ads,
3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3psoccon.ads,
3ssoccon.ads, 3ssoliop.ads, 3veacodu.adb, 3vexpect.adb,
3vsoccon.ads, 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb,
3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, 3wsoliop.ads,
3zsoccon.ads, 3zsocthi.adb, 3zsocthi.ads, 41intnam.ads,
42intnam.ads, 45intnam.ads, 4aintnam.ads, 4cintnam.ads,
4gintnam.ads, 4hexcpol.adb, 4hintnam.ads, 4lintnam.ads,
4nintnam.ads, 4ointnam.ads, 4onumaux.ads, 4pintnam.ads,
4sintnam.ads, 4vcaldel.adb, 4vcalend.adb, 4vcalend.ads,
4vintnam.ads, 4wcalend.adb, 4wexcpol.adb, 4wintnam.ads,
4zintnam.ads, 4znumaux.ads, 4zsytaco.adb, 4zsytaco.ads,
51osinte.adb, 51osinte.ads, 51system.ads,
52osinte.adb, 52osinte.ads, 53osinte.ads, 54osinte.ads,
55osinte.adb, 55osinte.ads, 55system.ads, 56osinte.adb,
56osinte.ads, 56system.ads, 56taprop.adb, 56taspri.ads,
56tpopsp.adb, 57system.ads, 58system.ads,
5amastop.adb, 5aml-tgt.adb, 5aosinte.adb, 5aosinte.ads,
5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
5atpopsp.adb, 5avxwork.ads, 5bml-tgt.adb, 5bosinte.adb,
5bosinte.ads, 5bsystem.ads, 5cosinte.ads, 5csystem.ads,
5dsystem.ads, 5esystem.ads, 5fintman.adb, 5fosinte.adb,
5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gml-tgt.adb,
5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
5hml-tgt.adb, 5hosinte.adb, 5hosinte.ads, 5hparame.ads,
5hsystem.ads, 5htaprop.adb, 5htaspri.ads, 5htraceb.adb,
5iosinte.adb, 5iosinte.ads, 5itaprop.adb, 5itaspri.ads,
5ksystem.ads, 5kvxwork.ads, 5lml-tgt.adb, 5losinte.ads,
5lparame.adb, 5lsystem.ads, 5msystem.ads, 5mvxwork.ads,
5ninmaop.adb, 5nintman.adb, 5nosinte.ads, 5nsystem.ads,
5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
5posprim.adb, 5psystem.ads, 5pvxwork.ads, 5sintman.adb,
5sml-tgt.adb, 5sosinte.adb, 5sosinte.ads, 5sosprim.adb,
5sparame.adb, 5ssystem.ads, 5staprop.adb, 5stasinf.adb,
5stasinf.ads, 5staspri.ads, 5stpopsp.adb, 5svxwork.ads,
5tosinte.ads, 5usystem.ads, 5vasthan.adb, 5vdirval.adb,
5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
5vmastop.adb, 5vml-tgt.adb, 5vosinte.adb, 5vosinte.ads,
5vosprim.adb, 5vosprim.ads, 5vparame.ads, 5vsymbol.adb,
5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
5vtpopde.ads, 5vtraent.adb, 5vtraent.ads, 5vvaflop.adb,
5wdirval.adb, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
5wml-tgt.adb, 5wosinte.ads, 5wosprim.adb, 5wsystem.ads,
5wtaprop.adb, 5wtaspri.ads, 5xparame.ads, 5xsystem.ads,
5xvxwork.ads, 5yparame.ads, 5ysystem.ads, 5zinterr.adb,
5zintman.adb, 5zintman.ads, 5zml-tgt.adb, 5zosinte.adb,
5zosinte.ads, 5zosprim.adb, 5zparame.ads, 5zstchop.adb,
5zsystem.ads, 5ztaprop.adb, 5ztaspri.ads, 5ztfsetr.adb,
5ztpopsp.adb, 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads,
7sinmaop.adb, 7sintman.adb, 7sosinte.adb, 7sosprim.adb,
7staprop.adb, 7staspri.ads, 7stfsetr.adb, 7stpopsp.adb,
7straceb.adb, 7straces.adb, 7strafor.adb, 7strafor.ads,
7stratas.adb, 86numaux.adb, 86numaux.ads: Replaced by files below.
* a-caldel-vms.adb, a-calend-mingw.adb, a-calend-vms.adb,
a-calend-vms.ads, a-dirval-mingw.adb, a-dirval-vms.adb,
a-excpol-abort.adb, a-excpol-interix.adb, a-intnam-aix.ads,
a-intnam-dummy.ads, a-intnam-freebsd.ads, a-intnam-hpux.ads,
a-intnam-interix.ads, a-intnam-irix.ads, a-intnam-linux.ads,
a-intnam-lynxos.ads, a-intnam-mingw.ads, a-intnam-os2.ads,
a-intnam-solaris.ads, a-intnam-tru64.ads, a-intnam-unixware.ads,
a-intnam-vms.ads, a-intnam-vxworks.ads, a-numaux-libc-x86.ads,
a-numaux-vxworks.ads, a-numaux-x86.adb, a-numaux-x86.ads,
a-sytaco-vxworks.adb, a-sytaco-vxworks.ads, g-eacodu-vms.adb,
g-expect-vms.adb, g-soccon-aix.ads, g-soccon-freebsd.ads,
g-soccon-hpux.ads, g-soccon-interix.ads, g-soccon-irix.ads,
g-soccon-mingw.ads, g-soccon-solaris.ads, g-soccon-tru64.ads,
g-soccon-unixware.ads, g-soccon-vms.adb, g-soccon-vxworks.ads,
g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi-vms.adb,
g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads,
g-soliop-mingw.ads, g-soliop-solaris.ads, g-soliop-unixware.ads,
g-trasym-vms.adb, i-cpp-vms.adb, i-cstrea-vms.adb,
interfac-vms.ads, mlib-tgt-aix.adb, mlib-tgt-hpux.adb,
mlib-tgt-irix.adb, mlib-tgt-linux.adb, mlib-tgt-mingw.adb,
mlib-tgt-solaris.adb, mlib-tgt-tru64.adb, mlib-tgt-vms.adb,
mlib-tgt-vxworks.adb, s-asthan-vms.adb, s-gloloc-mingw.adb,
s-inmaop-dummy.adb, s-inmaop-posix.adb, s-inmaop-vms.adb,
s-interr-dummy.adb, s-interr-sigaction.adb, s-interr-vms.adb,
s-interr-vxworks.adb, s-intman-dummy.adb, s-intman-irix.adb,
s-intman-irix-athread.adb, s-intman-mingw.adb, s-intman-posix.adb,
s-intman-solaris.adb, s-intman-vms.adb, s-intman-vms.ads,
s-intman-vxworks.adb, s-intman-vxworks.ads, s-mastop-irix.adb,
s-mastop-tru64.adb, s-mastop-vms.adb, s-mastop-x86.adb,
s-memory-mingw.adb, s-osinte-aix.adb, s-osinte-aix.ads,
s-osinte-aix-fsu.ads, s-osinte-dummy.ads, s-osinte-freebsd.adb,
s-osinte-freebsd.ads, s-osinte-fsu.adb, s-osinte-hpux.ads,
s-osinte-hpux-dce.adb, s-osinte-hpux-dce.ads, s-osinte-interix.ads,
s-osinte-irix.adb, s-osinte-irix.ads, s-osinte-irix-athread.ads,
s-osinte-linux.ads, s-osinte-linux-fsu.ads, s-osinte-linux-ia64.ads,
s-osinte-lynxos-3.adb, s-osinte-lynxos-3.ads, s-osinte-lynxos.adb,
s-osinte-lynxos.ads, s-osinte-mingw.ads, s-osinte-os2.adb,
s-osinte-os2.ads, s-osinte-posix.adb, s-osinte-solaris.adb,
s-osinte-solaris.ads, s-osinte-solaris-fsu.ads,
s-osinte-solaris-posix.ads, s-osinte-tru64.adb, s-osinte-tru64.ads,
s-osinte-unixware.adb, s-osinte-unixware.ads, s-osinte-vms.adb,
s-osinte-vms.ads, s-osinte-vxworks.adb,
s-osinte-vxworks.ads, s-osprim-mingw.adb,
s-osprim-os2.adb, s-osprim-posix.adb, s-osprim-solaris.adb,
s-osprim-unix.adb, s-osprim-vms.adb, s-osprim-vms.ads,
s-osprim-vxworks.adb, s-parame-ae653.ads, s-parame-hpux.ads,
s-parame-linux.adb, s-parame-os2.adb, s-parame-solaris.adb,
s-parame-vms.ads, s-parame-vms-restrict.ads, s-parame-vxworks.ads,
s-proinf-irix-athread.adb, s-proinf-irix-athread.ads,
s-stchop-vxworks.adb, s-taprop-dummy.adb,
s-taprop-hpux-dce.adb, s-taprop-irix.adb,
s-taprop-irix-athread.adb, s-taprop-linux.adb, s-taprop-lynxos.adb,
s-taprop-mingw.adb, s-taprop-os2.adb, s-taprop-posix.adb,
s-taprop-solaris.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
s-taprop-vxworks.adb, s-tasinf-irix.ads, s-tasinf-irix-athread.adb,
s-tasinf-irix-athread.ads, s-tasinf-solaris.adb, s-tasinf-solaris.ads,
s-tasinf-tru64.ads, s-taspri-dummy.ads, s-taspri-hpux-dce.ads,
s-taspri-linux.ads, s-taspri-lynxos.ads, s-taspri-mingw.ads,
s-taspri-os2.ads, s-taspri-posix.ads, s-taspri-solaris.ads,
s-taspri-tru64.ads, s-taspri-vms.ads, s-taspri-vxworks.ads,
s-tfsetr-default.adb, s-tfsetr-vxworks.adb, s-tpopde-vms.adb,
s-tpopde-vms.ads, s-tpopsp-lynxos.adb, s-tpopsp-posix.adb,
s-tpopsp-posix-foreign.adb, s-tpopsp-solaris.adb, s-tpopsp-vxworks.adb,
s-traceb-hpux.adb, s-traceb-mastop.adb, s-traces-default.adb,
s-traent-vms.adb, s-traent-vms.ads, s-trafor-default.adb,
s-trafor-default.ads, s-tratas-default.adb, s-vaflop-vms.adb,
s-vxwork-alpha.ads, s-vxwork-m68k.ads, s-vxwork-mips.ads,
s-vxwork-ppc.ads, s-vxwork-sparcv9.ads, s-vxwork-xscale.ads,
symbols-vms.adb, system-aix.ads, system-freebsd-x86.ads,
system-hpux.ads, system-interix.ads, system-irix-n32.ads,
system-irix-o32.ads, system-linux-x86_64.ads,
system-linux-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads,
system-mingw.ads, system-os2.ads, system-solaris-sparc.ads,
system-solaris-sparcv9.ads, system-solaris-x86.ads, system-tru64.ads,
system-unixware.ads, system-vms.ads, system-vms-zcx.ads,
system-vxworks-alpha.ads, system-vxworks-m68k.ads,
system-vxworks-mips.ads, system-vxworks-ppc.ads,
system-vxworks-sparcv9.ads, system-vxworks-xscale.ads: Replace files
above.
From-SVN: r81834
Jeff Law [Fri, 14 May 2004 05:08:55 +0000 (23:08 -0600)]
tree-ssa-live.c (calculate_live_on_entry): Ignore virtual variables.
* tree-ssa-live.c (calculate_live_on_entry): Ignore virtual
variables. Simplify slightly by using USE_OP/DEF_OP instead
of USE_OP_PTR/DEF_OP_PTR and dereferencing the result.
From-SVN: r81832
Zack Weinberg [Fri, 14 May 2004 02:33:00 +0000 (02:33 +0000)]
tree.def (documentation): Remove mention of class 'b'.
* tree.def (documentation): Remove mention of class 'b'.
(BLOCK): Now in class 'x'.
* c-common.c (verify_tree): Remove case 'b'.
* c-typeck.c (same_translation_unit_p): Change 'b' to 'x'.
* calls.c (calls_function_1): Control cannot get past the switch
when exp is a BLOCK.
* print-tree.c (print_node): Move code for class 'b' to the class
'c'/'x' switch, as case BLOCK.
* tree.c (tree_size, make_node_stat, tree_node_structure): Likewise.
(unsafe_for_reeval, substitute_placeholder_in_expr)
(stabilize_reference_1): Remove case 'b'.
* tree-browser.c (browse_tree): Change all tests for TREE_CODE_CLASS
of something being 'b' to tests for TREE_CODE of something being
BLOCK.
* tree-ssa-operands.c (get_expr_operands): Likewise.
ada:
* trans.c (gnat_stabilize_reference_1): Remove case 'b'.
From-SVN: r81831
Diego Novillo [Fri, 14 May 2004 02:29:32 +0000 (02:29 +0000)]
tree-gimple.c: Rename from tree-simple.c.
* tree-gimple.c: Rename from tree-simple.c.
* tree-gimple.h: Rename from tree-simple.h.
* c-gimplify.c: Rename from c-simplify.c
* Makefile.in, c-decl.c, gimple-low.c, gimplify.c,
langhooks.c, tree-alias-ander.c, tree-alias-common.c,
tree-complex.c, tree-dfa.c, tree-flow.h, tree-inline.c,
tree-into-ssa.c, tree-iterator.c, tree-mudflap.c,
tree-nested.c, tree-nomudflap.c, tree-outof-ssa.c, tree-sra.c,
tree-ssa-alias.c, tree-ssa-ccp.c, tree-ssa-copyrename.c,
tree-ssa-dce.c, tree-ssa-live.c, tree-ssa-pre.c, tree-ssa.c:
Update.
cp/ChangeLog
* cp-gimplify.c: Rename from cp-simplify.c.
* Make-lang.in, optimize.c: Update.
fortran/ChangeLog
* Make-lang.in, f95-lang.c, trans-array.c, trans-decl.c,
trans-expr.c, trans-intrinsic.c, trans-io.c, trans-stmt.c,
trans.c: Rename tree-simple.[ch] to tree-gimple.[ch].
java/ChangeLog
* Make-lang.in, expr.c, java-gimplify.c: Rename
tree-simple.[ch] to tree-gimple.[ch].
From-SVN: r81829
Ranjit Mathew [Fri, 14 May 2004 02:02:37 +0000 (02:02 +0000)]
* java-gimplify.c (java_gimplify_expr): Correct minor typos.
From-SVN: r81825
Ranjit Mathew [Fri, 14 May 2004 01:49:45 +0000 (01:49 +0000)]
* doc/sourcebuild.texi: Mention libbanshee and libmudflap.
From-SVN: r81824
GCC Administrator [Fri, 14 May 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r81822
Tobias Schlüter [Thu, 13 May 2004 23:36:16 +0000 (23:36 +0000)]
format.c: (parse_format_list): No comma is required after P descriptor.
* io/format.c: (parse_format_list): No comma is required after
P descriptor.
From-SVN: r81819
Paul Brook [Thu, 13 May 2004 23:22:13 +0000 (23:22 +0000)]
re PR fortran/15314 (ICE caused by array initializer in derived type definition)
PR fortran/15314
* gfortran.fortran-torture/execute/der_init_s.f90: New test.
From-SVN: r81818
Andrew Pinski [Thu, 13 May 2004 23:13:14 +0000 (23:13 +0000)]
tree-ssa.c (delete_tree_ssa): XFREE bitmaps allocated with BITMAP_XMALLOC.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa.c (delete_tree_ssa): XFREE
bitmaps allocated with BITMAP_XMALLOC.
From-SVN: r81817
Paul Brook [Thu, 13 May 2004 23:11:47 +0000 (23:11 +0000)]
re PR fortran/15314 (ICE caused by array initializer in derived type definition)
PR fortran/15314
* trans-expr.c (gfc_conv_structure): Use field type, not expr type.
From-SVN: r81816
Andrew Pinski [Thu, 13 May 2004 23:10:34 +0000 (23:10 +0000)]
tree-ssa-pre.c (execute_pre): Free ephi_use_pool and idfs_cache at the end of the function.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa-pre.c (execute_pre): Free ephi_use_pool and
idfs_cache at the end of the function.
From-SVN: r81815
Andrew Pinski [Thu, 13 May 2004 23:06:03 +0000 (23:06 +0000)]
tree-ssa-live (calculate_live_on_entry): Free saw_def at the end of the function.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa-live (calculate_live_on_entry): Free saw_def
at the end of the function.
From-SVN: r81814
Andrew Pinski [Thu, 13 May 2004 23:01:52 +0000 (23:01 +0000)]
tree-ssa-dce.c (perform_tree_ssa_dce): Free el at the end of the function.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa-dce.c (perform_tree_ssa_dce): Free
el at the end of the function.
From-SVN: r81813
Andrew Pinski [Thu, 13 May 2004 22:56:28 +0000 (22:56 +0000)]
uninit-H.c: Test for __PPC__ and __ppc__ for the powerpc case.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/uninit-H.c: Test for __PPC__ and __ppc__
for the powerpc case.
From-SVN: r81812
Jeff Law [Thu, 13 May 2004 22:46:19 +0000 (16:46 -0600)]
tree-into-ssa.c (compute_global_livein): Use EXECUTE_IF_SET_IN_BITMAP rather than iterating through the blocks testing...
* tree-into-ssa.c (compute_global_livein): Use EXECUTE_IF_SET_IN_BITMAP
rather than iterating through the blocks testing each bit in
livein to initialize the worklist.
(mark_def_sites): Remove useless checks of KILLS for virtual
operands.
From-SVN: r81811
Andrew Pinski [Thu, 13 May 2004 22:41:37 +0000 (15:41 -0700)]
Fix format in (and bug number):
2004-05-13 Bud Davis <bdavis9659@comcast.net>
PR fortran/15204
* io/intrinsic/string_intrinsics.c (adjustr): rework logic.
From-SVN: r81810
Andrew Pinski [Thu, 13 May 2004 22:10:43 +0000 (22:10 +0000)]
tree-into-ssa.c (insert_phi_nodes_for): XFREE bitmaps allocated with BITMAP_XMALLOC.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-into-ssa.c (insert_phi_nodes_for): XFREE
bitmaps allocated with BITMAP_XMALLOC.
From-SVN: r81809
Andrew Pinski [Thu, 13 May 2004 22:02:16 +0000 (22:02 +0000)]
loop-unswitch.c (unswitch_single_loop): Free bbs at the end.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* loop-unswitch.c (unswitch_single_loop): Free bbs at
the end.
From-SVN: r81808
Andrew Pinski [Thu, 13 May 2004 21:52:34 +0000 (21:52 +0000)]
final.c (shorten_branches): Free uid_shuid before reallocating it.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* final.c (shorten_branches): Free uid_shuid before
reallocating it.
From-SVN: r81807
Andrew Pinski [Thu, 13 May 2004 21:44:20 +0000 (21:44 +0000)]
bb-reoder.c (connect_traces): Free cold_traces at the end.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* bb-reoder.c (connect_traces): Free cold_traces at the end.
From-SVN: r81806
Jeff Law [Thu, 13 May 2004 20:55:06 +0000 (14:55 -0600)]
tree-ssa-forwprop.c (record_single_argument_cond_exprs): Accept new parameters for the statement and variable worklist as well as a...
* tree-ssa-forwprop.c (record_single_argument_cond_exprs): Accept
new parameters for the statement and variable worklist as well
as a bitmap of interesting SSA_NAMEs. Walk over the statement
worklist recording interesting variables in the variable worklist
and bitmap. Handle casts between integral and boolean types.
(substitute_single_use_vars): Accept new parameters for the statement
and variable worklist. When a substitution is made add a new
entry to the statement worklist. Handle casts between integral
and boolean types.
(tree_ssa_forward_propagate_single_use_vars): Rework to pass
worklists to children. Iterate until the statement worklist
is empty.
* gcc.dg/tree-ssa/
20040513-1.c: New test.
* gcc.dg/tree-ssa/
20040513-2.c: New test.
From-SVN: r81803
Andrew Pinski [Thu, 13 May 2004 19:06:56 +0000 (19:06 +0000)]
btest-gcc.sh: Remove g77.sum from TESTLOGS.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* btest-gcc.sh: Remove g77.sum from TESTLOGS.
From-SVN: r81799
Andrew Pinski [Thu, 13 May 2004 19:01:04 +0000 (19:01 +0000)]
archive.c (objc_read_class): Initialize class_name.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* archive.c (objc_read_class): Initialize class_name.
(objc_read_selector): Initialize selector_name.
From-SVN: r81798
Benjamin Kosnik [Thu, 13 May 2004 17:49:42 +0000 (17:49 +0000)]
re PR libstdc++/15046 (Math functions misdetected by cross configuration)
2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15046
* crossconfig.m4: Add C99 math bits for linux crosses.
* configure: Regenerate.
From-SVN: r81797
Paul Brook [Thu, 13 May 2004 17:20:10 +0000 (17:20 +0000)]
20030808-1.c: Force enum size.
* gcc.dg/tree-ssa/
20030808-1.c: Force enum size.
* gcc.dg/tree-ssa/
20030714-1.c: Ditto.
* gcc.dg/tree-ssa/
20030708-1.c: Ditto.
From-SVN: r81796
Simon Marshall [Thu, 13 May 2004 16:29:39 +0000 (16:29 +0000)]
re PR libstdc++/15090 (-fno-for-scope vs. libstdc++)
2004-05-13 Simon Marshall <simon.marshall@misys.com>
Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15090
* include/bits/locale_facets.h: Fix for -fno-for-scope.
* include/debug/safe_sequence.h: Same.
* include/debug/safe_iterator.tcc: Same.
* src/debug.cc: Same.
* src/locale.cc: Same.
* src/locale_init.cc: Same.
* src/localename.cc: Same.
* config/locale/gnu/ctype_members.cc: Same.
* config/locale/gnu/numeric_members.cc: Same.
* testsuite/testsuite_abi.cc: Same.
* testsuite/testsuite_hooks.cc: Same.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r81795
Jonathan Wakely [Thu, 13 May 2004 15:50:02 +0000 (16:50 +0100)]
abi.html: Document effect of -fabi-version on value of __GXX_ABI_VERSION...
2004-05-13 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/abi.html: Document effect of -fabi-version on value
of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c.
Fix markup.
From-SVN: r81794
Andrew Pinski [Thu, 13 May 2004 15:28:07 +0000 (15:28 +0000)]
tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at the end of the block.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at
the end of the block.
From-SVN: r81793
Andrew Pinski [Thu, 13 May 2004 15:26:33 +0000 (15:26 +0000)]
tree-into-ssa.c (def_blocks_free): XFREE bitmaps allocated with BITMAP_XMALLOC.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-into-ssa.c (def_blocks_free): XFREE bitmaps allocated
with BITMAP_XMALLOC.
From-SVN: r81791
Andrew Pinski [Thu, 13 May 2004 15:24:47 +0000 (15:24 +0000)]
tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated with BITMAP_XMALLOC.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated
with BITMAP_XMALLOC.
From-SVN: r81789
Andrew Pinski [Thu, 13 May 2004 15:21:53 +0000 (15:21 +0000)]
tree-ssa-dom.c (tree_ssa_dominator_optimize): Free nonzero_vars at the end of the function.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa-dom.c (tree_ssa_dominator_optimize):
Free nonzero_vars at the end of the function.
From-SVN: r81788