OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago * libjava.verify/verify.exp (gcj_verify_list_tests): Only change
tromey [Sat, 19 Jul 2003 15:43:20 +0000 (15:43 +0000)]
* libjava.verify/verify.exp (gcj_verify_list_tests): Only change
directory if new directory exists.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69590 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
ghazi [Sat, 19 Jul 2003 14:47:15 +0000 (14:47 +0000)]
* alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
genemit.c genextract.c genoutput.c genrecog.c gensupport.c
ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
postreload.c prefix.c print-tree.c protoize.c ra-build.c
ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
regmove.c regrename.c reload.c reload1.c reorg.c resource.c
sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
casts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69587 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-pragma.c (apply_pragma_weak): Don't use warning_with_decl.
gdr [Sat, 19 Jul 2003 13:10:17 +0000 (13:10 +0000)]
* c-pragma.c (apply_pragma_weak): Don't use warning_with_decl.
* toplev.h (warning): Remove attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69585 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc_release (announce_snapshot): Use ${RELEASE} instead
gerald [Sat, 19 Jul 2003 12:12:39 +0000 (12:12 +0000)]
* gcc_release (announce_snapshot): Use ${RELEASE} instead
of ${BRANCH}-${DATE} to refer to the snapshot directory.
Put README file into the snapshot directory.

(RELEASE): Define as ${BRANCH}-${DATE} for snapshots.
(FTP_PATH): Use ${RELEASE} in case of snapshots.
(TAG): Ditto.
(OLD_TARS): Adjust to new directory scheme for snapshots.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69584 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoCorrect entries information
lerdsuwa [Sat, 19 Jul 2003 12:06:07 +0000 (12:06 +0000)]
Correct entries information

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69583 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl.
gdr [Sat, 19 Jul 2003 10:19:19 +0000 (10:19 +0000)]
* c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl.
(pop_label_level): Likewise.
(duplicate_decls): Likewise.
(implicitly_declare): Likewise.
(shadow_label): Likewise.
(start_decl): Likewise.
(finish_decl): Likewise.
(grokdeclarator): Likewise.
(get_parm_info): Likewise.
(detect_field_duplicates): Likewise.
(finish_struct): Likewise.
(start_function): Likewise.
(store_parm_decls): Likewise.
(finish_function): Likewise.
(c_expand_body_1): Likewise.
(check_for_loop_decls): Likewise.
(merge_translation_unit_decls): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69582 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * common.opt: Document --param.
neil [Sat, 19 Jul 2003 08:13:58 +0000 (08:13 +0000)]
* common.opt:  Document --param.
* opts.c (columns, undocumented_msg): New.
(print_help): Get number of columns from environment.  Print
--param help.  Tweak newline handling.
(print_param_help): New.
(print_filtered_help): Better handling of duplicates.  Complain
about undocumented switches.
(print_switch): New.
(wrap_help): Improve wrapping, use COLUMNS.
* opts.sh: Ignore comments in records.
* params.def: Fix typos and remove trailing periods.
* toplev.c (display_help): Don't dump --param help.
* doc/sourcebuild.texi: Update.
java:
* lang.opt: Don't show -MD_ and -MDD_.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69581 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoAdd missing PR number.
davem [Sat, 19 Jul 2003 07:05:39 +0000 (07:05 +0000)]
Add missing PR number.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69580 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-18 Richard Henderson <rth@redhat.com>
davem [Sat, 19 Jul 2003 00:28:05 +0000 (00:28 +0000)]
2003-07-18  Richard Henderson  <rth@redhat.com>

* optabs.c (prepare_operand): Fail gracefully instead of abort
if the predicate doesn't satisfy.
(gen_cond_trap): Allow prepare_operand to fail.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69578 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Sat, 19 Jul 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69575 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-common.c: Don't undefine GCC_DIAG_STYLE.
gdr [Fri, 18 Jul 2003 23:05:53 +0000 (23:05 +0000)]
* c-common.c: Don't undefine GCC_DIAG_STYLE.
(fname_decl): Don't use xxx_with_decl.
(c_add_case_label): Likewise.
(handle_section_attribute): Likewise.
(handle_alias_attribute): Likewise.
(handle_no_instrument_function_attribute): Likewise.
(handle_no_limit_stack_attribute): Likewise.
* c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs.
* c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69573 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in (ifcvt.o): Add cfgloop.h.
rakdver [Fri, 18 Jul 2003 22:52:05 +0000 (22:52 +0000)]
* Makefile.in (ifcvt.o): Add cfgloop.h.
* basic-block.h (EDGE_LOOP_EXIT): New flag.
* cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly.
* ifcvt.c: Include cfgloop.h.
(mark_loop_exit_edges): New static function.
(if_convert): Call it.
(find_if_header): Ignore branches out of loops.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69572 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * combine.c (simplify_comparison): Don't share rtx when converting
kazu [Fri, 18 Jul 2003 21:53:04 +0000 (21:53 +0000)]
* combine.c (simplify_comparison): Don't share rtx when converting
(ne (and (not X) 1) 0) to (eq (and X 1) 0).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69571 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define.
dje [Fri, 18 Jul 2003 21:42:29 +0000 (21:42 +0000)]
* config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define.
(AGGREGATES_PAD_UPWARD_ALWAYS): Define.
(MUST_PASS_IN_STACK): Define.
(BLOCK_REG_PADDING): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69570 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p
rth [Fri, 18 Jul 2003 21:33:36 +0000 (21:33 +0000)]
    * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p
        to skip the addr_vec.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69569 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-18 Graydon Hoare <graydon@redhat.com>
graydon [Fri, 18 Jul 2003 19:27:42 +0000 (19:27 +0000)]
2003-07-18  Graydon Hoare  <graydon@redhat.com>

* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
Handle missing event cases, connect to "value-changed" signal.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69568 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago[ ChangeLog ]
graydon [Fri, 18 Jul 2003 19:20:33 +0000 (19:20 +0000)]
[ ChangeLog ]

2003-07-18  Graydon Hoare  <graydon@redhat.com>

* java/awt/geom/CubicCurve2D.java,
java/awt/geom/Line2D.java,
java/awt/geom/QuadCurve2D.java,
java/awt/geom/Rectangle2D.java:
Fix path some calculations, make path iterators follow
a consistent style.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69567 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* combine.c (combinable_i3pat): Don't forbid occurrences of
aoliva [Fri, 18 Jul 2003 18:23:30 +0000 (18:23 +0000)]
* combine.c (combinable_i3pat): Don't forbid occurrences of
i2dest or i1dest in inner_dest if inner_dest is a mem.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69566 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agochangelog for previous patch
nathan [Fri, 18 Jul 2003 17:37:00 +0000 (17:37 +0000)]
changelog for previous patch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69565 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agocp:
nathan [Fri, 18 Jul 2003 17:19:41 +0000 (17:19 +0000)]
cp:
* cp-tree.h (finish_non_static_data_member): Add object param.
* method.c (hack_identifier): Adjust.
* pt.c (tsubst_copy_and_build) <COMPONENT_REF case>: Don't search
again for a FIELD_DECL.
* semantics.c (finish_non_static_data_member): Add object
parameter. Always save the DECL in the COMPONENT_REF.
* call.c (resolve_scoped_fn_name): Adjust.
testsuite:
* g++.dg/parse/non-dependent2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69564 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-18 Mark Wielaard <mark@klomp.org>
mkoch [Fri, 18 Jul 2003 16:08:38 +0000 (16:08 +0000)]
2003-07-18  Mark Wielaard  <mark@klomp.org>

* java/util/logging/Handler.java (isLoggable): Check record level
smaller or equal.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69563 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cgraph.c (cgraph_remove_node): Clear the hash table slot.
hubicka [Fri, 18 Jul 2003 15:13:35 +0000 (15:13 +0000)]
* cgraph.c (cgraph_remove_node): Clear the hash table slot.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69562 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix last checkin to commit right version of file.
aj [Fri, 18 Jul 2003 13:24:44 +0000 (13:24 +0000)]
Fix last checkin to commit right version of file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69560 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-18 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 18 Jul 2003 13:07:22 +0000 (13:07 +0000)]
2003-07-18  Andrew Pinski  <pinskia@physics.uc.edu>

        * g++.dg/init/init-ref4.C: xfail on targets without
        weak symbols.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69558 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/11087
jakub [Fri, 18 Jul 2003 11:13:37 +0000 (11:13 +0000)]
PR target/11087
* loop.c (basic_induction_var): Check if convert_modes emitted any
instructions. Remove them and return 0 if so.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69552 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
aj [Fri, 18 Jul 2003 09:55:30 +0000 (09:55 +0000)]
* config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
* config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
* config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
* config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69550 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
aj [Fri, 18 Jul 2003 09:50:41 +0000 (09:50 +0000)]
* config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
* config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
* config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
* config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69548 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * toplev.c (rest_of_handle_addresof): Rename into
ebotcazou [Fri, 18 Jul 2003 06:53:05 +0000 (06:53 +0000)]
* toplev.c (rest_of_handle_addresof): Rename into
rest_of_handle_addressof.  Delete unreachable blocks
if dead edges were purged after the addressof pass.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69545 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in, configure, configure.in: Remove handling of
neil [Fri, 18 Jul 2003 05:32:42 +0000 (05:32 +0000)]
* Makefile.in, configure, configure.in: Remove handling of
lang-options.h and options_.h.
* toplev.c (struct lang_opt, documented_lang_options): Remove.
(display_help): Don't use documented_lang_options.
ada:
* lang-options.h: Remove.
* lang.opt: Add help text.
java:
* lang-options.h: Remove.
* lang.opt: Add help text.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69544 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-decl.c (pushdecl_function_level): Make static, return nothing.
zack [Fri, 18 Jul 2003 03:39:42 +0000 (03:39 +0000)]
* c-decl.c (pushdecl_function_level): Make static, return nothing.
(kept_level_p): Fold into poplevel.
(undeclared_variable): Moved here from c-typeck.c.  Export.
* c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines.
(undeclared_variable): Prototype here.  Don't prototype
kept_level_p nor pushdecl_function_level.
* c-parse.in: Change first argument to poplevel from
"kept_level_p()" to "KEEP_MAYBE".
* c-typeck.c (undeclared_variable): Moved to c-decl.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69540 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap
sayle [Fri, 18 Jul 2003 03:16:32 +0000 (03:16 +0000)]
* simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap
commutative operands instead of modifying the RTL in-place.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69539 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/11557
mmitchel [Fri, 18 Jul 2003 03:05:27 +0000 (03:05 +0000)]
PR optimization/11557
* calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK
unless we know which function is being called.

PR optimization/11557
* gcc.dg/20030717-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69538 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 18 Jul 2003 02:27:16 +0000 (02:27 +0000)]
2003-07-17  Benjamin Kosnik  <bkoz@redhat.com>

* config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
* config/locale/generic/messages_members.h: Tweaks.
* config/locale/generic/monetary_members.cc
(moneypunct::_M_initialize_moneypunct): Use cache.
(moneypunct::~moneypunct): Delete cache.
* config/locale/generic/time_members.cc:
(__timepunct::_M_initialize_timepunct): Use cache.
* config/locale/generic/time_members.h:
(__timepunct::~__timepunct): Delete cache.
(__timepunct::__timepunct): Set cache.
* config/locale/gnu/messages_members.h: Tweaks.
* config/locale/gnu/monetary_members.cc:
(moneypunct::_M_initialize_moneypunct): Use cache.
(moneypunct::~moneypunct): Delete cache.
* config/locale/gnu/time_members.cc:
(__timepunct::_M_initialize_timepunct): Use cache.
* config/locale/gnu/time_members.h:
(__timepunct::~__timepunct): Delete cache.
(__timepunct::__timepunct): Set cache.
* include/bits/locale_facets.h (__timepunct_cache): New.
(__moneypunct_cache): New.
* include/bits/locale_facets.tcc: Tweak.
* src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
* src/locale-inst.cc: Instantiate caches.
* src/globals.cc: Add "C" caches.
* src/localename.cc: Use external "C" caches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69535 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cse.c (fold_rtx): Use swap_commutative_operands_p to determine
sayle [Fri, 18 Jul 2003 00:28:14 +0000 (00:28 +0000)]
* cse.c (fold_rtx): Use swap_commutative_operands_p to determine
whether to reorder the operands of a commutative binary operator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69534 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * fold-const.c (const_binop): Avoid performing the FP operation at
sayle [Fri, 18 Jul 2003 00:26:51 +0000 (00:26 +0000)]
* fold-const.c (const_binop): Avoid performing the FP operation at
compile-time, if either operand is NaN and we honor signaling NaNs,
or if we're dividing by zero and either flag_trapping_math is set
or the desired mode doesn't support infinities.
(fold_initializer): New function to fold an expression ignoring any
potential run-time exceptions or traps.
* tree.h (fold_initializer): Prototype here.
* c-typeck.c (build_binary_op): Move to the end of the file so
that intializer_stack is in scope.  If constructing an initializer,
i.e. when initializer_stack is not NULL, use fold_initializer to
fold expressions.
* simplify-rtx.c (simplify_binary_operation): Likewise, avoid
performing FP operations at compile-time, if they would raise an
exception at run-time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69533 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Fri, 18 Jul 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69531 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoAndrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 17 Jul 2003 22:53:46 +0000 (22:53 +0000)]
Andrew Pinski <pinskia@physics.uc.edu>

        PR c++/10476
        * g++.dg/expr/crash-1.C: New test.

        PR c++/11027
        * g++.dg/template/init3.C: New test.

        PR c++/8222
        * g++.dg/template/non-dependent1.C: New test.

        PR c++/11070
        * g++.dg/template/non-dependent2.C: New test.

        PR c++/11071
        * g++.dg/template/non-dependent3.C: New test.

        PR c++/9907
        * g++.dg/template/sizeof5.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69529 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR 11498
geoffk [Thu, 17 Jul 2003 21:52:51 +0000 (21:52 +0000)]
PR 11498
* Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H).
(langhooks.o): Add $(GGC_H), gt-langhooks.h.
(GTFILES): Add langhooks.c.
(gt-langhooks.h): New.
* c-common.h (c_static_assembler_name): Prototype.
* c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
* objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
* c-opts.c: Include langhooks-def.h.
(c_static_assembler_name): New.
* langhooks.c: Include ggc.h.  Include gt-langhooks.h.
(var_labelno): New.
(lhd_set_decl_assembler_name): Give static objects with context
unique names.
* varasm.c (var_labelno): Delete.
(make_decl_rtl): Don't change the assembler name once it's set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69527 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-opts.c (this_input_filename): New.
geoffk [Thu, 17 Jul 2003 21:50:38 +0000 (21:50 +0000)]
* c-opts.c (this_input_filename): New.
(finish_options): Take new parameter, name of file being compiled.
Update callers.  Set this_input_filename.
(push_command_line_include): Use this_input_filename not
main_input_filename.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69526 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
zack [Thu, 17 Jul 2003 21:05:24 +0000 (21:05 +0000)]
* objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
c_write_global_declarations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69525 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in: Depend .pot generation on options.c.
neil [Thu, 17 Jul 2003 20:29:40 +0000 (20:29 +0000)]
* Makefile.in: Depend .pot generation on options.c.
* po/exgettext: Add an extra_files variable containing additional
files to scan.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69524 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-17 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 17 Jul 2003 20:26:51 +0000 (20:26 +0000)]
2003-07-17  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/peer/gtk/GtkToolkit.java:
Reworked imports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69522 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoMissed this hunk - belongs with the previous patch
zack [Thu, 17 Jul 2003 20:25:21 +0000 (20:25 +0000)]
Missed this hunk - belongs with the previous patch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69521 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-decl.c: Fix typos in several comments. Remove all
zack [Thu, 17 Jul 2003 20:12:21 +0000 (20:12 +0000)]
* c-decl.c: Fix typos in several comments.  Remove all
#if 0 blocks; reindent as needed.  Remove unused argument
to declare_parm_level; all callers changed.
* c-parse.in: Update calls to declare_parm_level.  Avoid
issuing a double warning in some circumstances.
* c-typeck.c: Update calls to declare_parm_level.
* c-tree.h: Update prototype of declare_parm_level.

* c-pragma.c (apply_pragma_weak): Don't complain about a
redundant #pragma weak.

* objc/objc-act.c (forward_declare_categories,
build_selector_reference_decl, build_class_reference_decl,
build_objc_string_decl, synth_forward_declarations,
build_protocol_reference): Set TREE_PUBLIC on synthetic
forward decl to 0, consistent with eventual definition.
Correct comments to match.

cp:
* pt.c (get_bindings): Make definition consistent with
forward declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69519 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
zack [Thu, 17 Jul 2003 18:43:37 +0000 (18:43 +0000)]
* fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
in regexp that don't form a range expression.
* fixinc/fixincl.def: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69517 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/10907
rth [Thu, 17 Jul 2003 16:33:22 +0000 (16:33 +0000)]
    PR target/10907
        * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
        even with !TARGET_CONST_GP.
        (ia64_function_ok_for_sibcall): Reject non-local functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69515 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix typo in date
lerdsuwa [Thu, 17 Jul 2003 15:49:19 +0000 (15:49 +0000)]
Fix typo in date

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69514 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/7809
lerdsuwa [Thu, 17 Jul 2003 15:47:40 +0000 (15:47 +0000)]
PR c++/7809
* friend.c (add_friend): Check access for member functions
and templates.

* g++.dg/parse/access3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69513 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-17 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 17 Jul 2003 15:31:20 +0000 (15:31 +0000)]
2003-07-17  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/guide.html:  Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69512 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-17 Steven Bosscher <steven@gcc.gnu.org>
steven [Thu, 17 Jul 2003 13:25:21 +0000 (13:25 +0000)]
2003-07-17  Steven Bosscher  <steven@gcc.gnu.org>

* c-common.c (c_estimate_num_insns_1): Don't handle
METHOD_CALL_EXPR.
* expr.c (safe_from_p): Likewise.
* gengtype.c (adjust_field_tree_exp): Likewise.
* stmt.c (warn_if_unused_value): Likewise
* tree.c (first_rtl_op): Likewise.
* tree.def: Don't define METHOD_CALL_EXPR.
* java/lang.c (java_estimate_num_insns_1): Don't handle
METHOD_CALL_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69511 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-06-17 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 17 Jul 2003 11:53:07 +0000 (11:53 +0000)]
2003-06-17  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/11384
        * g++.dg/init/init-ref4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69510 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/10668
gdr [Thu, 17 Jul 2003 11:49:02 +0000 (11:49 +0000)]
PR c++/10668
* typeck.c (build_class_member_access_expr): Improve diagnostic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69509 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR other/11466
ebotcazou [Thu, 17 Jul 2003 07:30:07 +0000 (07:30 +0000)]
PR other/11466
* doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
and its restrictions for the SPARC64 port.
Move the entry of "-mimpure-text" before that of "-mv8".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69497 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/install.texi (*-*-solaris2*): Document the step-by-step
ebotcazou [Thu, 17 Jul 2003 06:12:43 +0000 (06:12 +0000)]
* doc/install.texi (*-*-solaris2*): Document the step-by-step
procedure to bootstrap and install.
Document the preference for the legacy Sun tools in /usr/bin
over the POSIX tools in /usr/xpg4/bin for the build process.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69495 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c.opt: Document Uncodumented; use it. Document ObjC options.
neil [Thu, 17 Jul 2003 05:33:18 +0000 (05:33 +0000)]
* c.opt: Document Uncodumented; use it.  Document ObjC options.
* opts.c (print_filtered_help): Skip undocumented switches.
* opts.h (CL_UNDOCUMENTED): New.
* opts.sh: Handle Undocumented.
* toplev.c (documented_lang_options): Prevent its becoming empty.
f:
* lang-options.h: Remove.
* lang.opt: Document most options.
objc:
* lang-options.h: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69494 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/11547
mmitchel [Thu, 17 Jul 2003 04:31:42 +0000 (04:31 +0000)]
PR c++/11547
* cp-tree.h (DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P): New
macro.
(DECL_PRETTY_FUNCTION_P): Use VAR_DECL_CHECK.
* decl.c (duplicate_decls): Merge
DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P.
* parser.c (cp_parser_postfix_expression): Adjust call to
cp_parser_initializer_list and
cp_parser_parenthesized_expression_list.
(cp_parser_parenthesized_expression_list): Add non_constant_p.
(cp_parser_new_placement): Adjust call to
cp_parser_parenthesized_expression_list.
(cp_parser_direct_new_declarator): Likewise.
(cp_parser_conditional_expression): Remove.
(cp_parser_constant_expression): Parse an assignment-expression,
not a conditional-expression.
(cp_parser_simple_declaration): Resolve expression/declaration
ambiguity more quickly.
(cp_parser_mem_initializer): Adjust call to
cp_parser_parenthesized_expression_list.
(cp_parser_init_declarator): Keep track of whether or not the
initializer is a constant-expression.
(cp_parser_initializer): Add non_constant_p parameter.
(cp_parser_initializer_clause): Likewise.
(cp_parser_initializer_list): Likewise.
(cp_parser_attribute_list): Adjust call to
cp_parser_parenthesized_expression_list.
(cp_parser_functional_cast): Likewise.
* pt.c (tsubst_decl): Copy
DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P.
(tsubst_expr): Tweak use of DECL_PRETTY_FUNCTION_P.
* semantics.c (finish_id_expression): Use
DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P.

PR c++/11547
* g++.dg/parse/constant3.C: New test.
* g++.dg/parse/crash7.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69493 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 17 Jul 2003 04:01:28 +0000 (04:01 +0000)]
2003-07-16  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/pod_char_traits.h: Add state template argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69492 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 17 Jul 2003 01:54:44 +0000 (01:54 +0000)]
2003-07-16  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
(num_get::_M_convert_int): To _M_insert_int.
(num_get::_M_convert_float): To _M_insert_float.
* include/bits/locale_facets.tcc (num_get::_M_extract_float):
Use caches for ctype, num_get.
(num_get::_M_extract_int): Same.
(num_get::get(bool)): Same.
(__verify_grouping): Use size_t.
* src/locale-inst.cc: Update.
* src/locale.cc: Adjust _S_atoms_in.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69491 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * loop.c (check_ext_dependent_givs): Pass const struct loop *
uweigand [Thu, 17 Jul 2003 00:59:52 +0000 (00:59 +0000)]
* loop.c (check_ext_dependent_givs): Pass const struct loop *
instead of struct loop_info * as argument.  Accept BIVs with
increment +/- 1 provided there is a friendly exit test against
a loop-invariant value.
(strength_reduce): Adapt call to check_ext_dependent_givs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69489 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Thu, 17 Jul 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69487 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-16 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 16 Jul 2003 23:59:54 +0000 (23:59 +0000)]
2003-07-16  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/mainpage.html:  Move building/writing instructions...
* docs/doxygen/guide.html:  ...to here.  New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69485 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoprologue / epilogue / warning patches:
amylaar [Wed, 16 Jul 2003 21:41:20 +0000 (21:41 +0000)]
prologue / epilogue / warning patches:

2003-07-16  J"orn Rennecke <joern.rennecke@superh.com>
    Con Bradley <con.bradley@superh.com>

* sh-protos.h (sh_get_pr_initial_val): Declare.
* sh.c (regno_reg_class): Make its elements type enum reg_class.
(output_stack_adjust): Remove emit_fn argument.  Add epilogue_p
and live_regs_mask arguments.  Changed all callers.
(save_schedule_s): New structure.
(save_schedule): New typedef.
(scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions.
(calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p.
In interrupts handlers, also save registers that are usually
partially saved, and make sure there is at least one general purpose
register saved if a target register needs saving.
Add casts in comparisons to avoid warnings.
(sh_media_register_for_return): return -1 for interrupt handlers.
(MAX_SAVED_REGS, MAX_TEMPS): New defines.
(sh_expand_prologue): Use sh5_schedule_saves.  Check that any temp
registers used are available.
Set RTX_FRAME_RELATED_P where appropriate.
Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing.
(sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves.
(initial_elimination_offset): Likewise.
* sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4.
(LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings.
(FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO.
(XD_REGISTER_P, TARGET_REGISTER_P): Likewise.
(HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15,
and for target registers.
(RETURN_IN_MEMORY): Add parentheses to avoid warnings.
(regno_reg_class): Make its elements type enum reg_class.
(CONSTRAINT_LEN): Don't use isdigit.
(FUNCTION_ARG_REGNO_P): Add casts to avoid warnings.
(FUNCTION_ARG): Add parentheses to avoid warnings.
(RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
(RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5.
(SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings.
(EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings.
* sh.md (xordi3+1): Remove unused variable regno.
(return_media): Check that tr0 is available before using it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69480 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agofile should have been named i386-pentium4-not-mull.c, not i386-pentium4-no-mull.c.
pinskia [Wed, 16 Jul 2003 20:07:50 +0000 (20:07 +0000)]
file should have been named i386-pentium4-not-mull.c, not i386-pentium4-no-mull.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69478 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c.opt: Document more options.
neil [Wed, 16 Jul 2003 19:49:51 +0000 (19:49 +0000)]
* c.opt: Document more options.
cp:
* lang-options.h: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69477 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * combine.c (subst): Also handle (subreg (const_double ...)) case
sayle [Wed, 16 Jul 2003 19:36:38 +0000 (19:36 +0000)]
* combine.c (subst): Also handle (subreg (const_double ...)) case
if created by a substitution, by using the original inner mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69476 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons
sayle [Wed, 16 Jul 2003 19:34:50 +0000 (19:34 +0000)]
* simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons
to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined.
(simplify_rtx): Likewise.  Simplify (lo_sum (high X) X) as X.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69475 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 16 Jul 2003 19:28:43 +0000 (19:28 +0000)]
2003-07-16  Andrew Pinski <pinskia@physics.uc.edu>

* doc/install.texi (--without-headers): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69474 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-17 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 16 Jul 2003 19:05:53 +0000 (19:05 +0000)]
2003-07-17  Andrew Pinski  <pinskia@physics.uc.edu>

        Partial Fix PR/10129
        * config/darwin.c (machopic_function_base_name): Only Return "<pic base>".
        (machopic_output_function_base_name): New; print the true pic label.
        (machopic_classify_ident): Pic Base is always a defined data.
        * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label.
        * config/darwin-proto.h (machopic_output_function_base_name): Prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69472 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-02 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 16 Jul 2003 18:58:12 +0000 (18:58 +0000)]
2003-05-02 Andrew Pinski <pinskia@physics.uc.edu>

* gcse.c (gcse_constant_p): COMPARE of the same registers is a constant
if they are not floating point registers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69471 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 16 Jul 2003 18:45:56 +0000 (18:45 +0000)]
2003-07-16  Andrew Pinski  <pinskia@physics.uc.edu>
ChangeLog:
        PR c/10962
        * ggc.h: Add header guards.
        * c-decl.c (finish_struct): Sort fields if
        number greater than 15 and there are no
        anonymous structs/unions.
        * c-common.h: Include ggc.h.
        (sorted_fields_type): New struct.
        (field_decl_cmp): New prototype.
        (resort_sorted_fields): New prototype.
        (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro.
        * c-tree.h: (lang_type): Use pointer to sorted_fields_type
        as s, removing other fields.
        * c-typeck.c (lookup_field): Use s in lang_type.
        These were mostly moved from cp/class.c:
        * c-common.c (field_decl_cmp): New static function.
        (field_decl_cmp): New function.
        (resort_sorted_fields): New function.
cp/ChangeLog:
        * class.c (field_decl_cmp): Remove.
        (resort_field_decl_cmp): Remove.
        (resort_sorted_fields): Remove.
        (add_fields_to_vec): Rename to ...
        (add_fields_to_record_type): this.
        (finish_struct_1): Change to be using
        sorted_fields_type's fields.
        * cp-tree.h (lang_decl): In lang_decl_u3
        change sorted_fields to be a pointer to
        sorted_fields_type.
        (resort_sorted_fields): Remove prototype.
        * search.c (lookup_field_1): Change to be using
        sorted_fields_type's fields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69470 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 16 Jul 2003 18:23:32 +0000 (18:23 +0000)]
2003-07-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/11008
        * gcc.dg/i386-pentium4-not-mull.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69469 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/darwin.c (machopic_select_section): Use decl_readonly_section
geoffk [Wed, 16 Jul 2003 18:18:00 +0000 (18:18 +0000)]
* config/darwin.c (machopic_select_section): Use decl_readonly_section
to do most of the work.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69468 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 16 Jul 2003 18:15:22 +0000 (18:15 +0000)]
2003-07-16  Andrew Pinski  <pinskia@physics.uc.edu>

        * MAINTAINERS: Move self from Bug database only accounts
        to write-after-approval.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69467 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mmix/mmix-protos.h: Convert prototypes to ISO C90.
hp [Wed, 16 Jul 2003 17:44:59 +0000 (17:44 +0000)]
* config/mmix/mmix-protos.h: Convert prototypes to ISO C90.
* config/mmix/mmix.c: Convert functions to ISO C90.
   (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak
formatting.
(mmix_get_hard_reg_initial_val): Tweak section head comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69466 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
redi [Wed, 16 Jul 2003 17:06:36 +0000 (17:06 +0000)]
2003-07-16  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/ext/howto.html: Update URL for SGI STL docs.
* docs/html/faq/index.html: Same.
* docs/html/faq/index.txt: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69463 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agogcc:
amylaar [Wed, 16 Jul 2003 16:25:15 +0000 (16:25 +0000)]
gcc:
* c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
gcc/testsuite:
* gcc.dg/asm-names.c (ymain): Make it weak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69459 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-16 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 16 Jul 2003 16:12:47 +0000 (16:12 +0000)]
2003-07-16  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/11528
* include/bits/locale_facets.tcc (money_get::do_get):
Strip only _leading_ zeros.
* testsuite/22_locale/money_get/get/char/11528.cc: Add.
* testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69458 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/5421
lerdsuwa [Wed, 16 Jul 2003 15:42:15 +0000 (15:42 +0000)]
PR c++/5421
* decl.c (grokdeclarator): Handle TEMPLATE_ID_EXPR if friend
is a member of other class.
* friend.c (do_friend): Don't build TEMPLATE_DECL if friend
is a specialization of function template.

* g++.dg/template/friend21.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69457 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * include/ext/hash_map (class hash_multimap): Remove extra
gerald [Wed, 16 Jul 2003 14:23:08 +0000 (14:23 +0000)]
* include/ext/hash_map (class hash_multimap): Remove extra
semicolons from __glibcxx_class_requires3 entries.
* include/ext/hash_set (class hash_set): Ditto.
(class hash_multiset): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69451 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
jakub [Wed, 16 Jul 2003 11:52:55 +0000 (11:52 +0000)]
* unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
(uw_update_context_1): Use it.
* config/rs6000/rs6000.c (insn_after_throw): Remove.
(rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location
in parent frame if _Unwind_* called directly instead of through
.plt.
(rs6000_emit_eh_toc_restore): Remove.
(rs6000_emit_prologue): Update stack pointer before doing any saving
if current_function_calls_eh_return.  Generate unwind info for $r2.
(rs6000_emit_epilogue): Restore stack pointer after doing all
restoring if current_function_calls_eh_return.  Restore $r2.
* config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove.
* config/rs6000/rs6000.md (eh_return): Remove call to
rs6000_emit_eh_toc_restore.
* config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define.
* config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define.

* gcc.dg/cleanup-8.c: New test.
* gcc.dg/cleanup-9.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69450 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * expr.c (emit_block_move): Don't move anything if size is const 0.
jakub [Wed, 16 Jul 2003 11:07:54 +0000 (11:07 +0000)]
* expr.c (emit_block_move): Don't move anything if size is const 0.
(clear_storage): Test against const0_rtx instead of comparing INTVAL
against 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69441 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-15 David S. Miller <davem@redhat.com>
davem [Wed, 16 Jul 2003 08:36:27 +0000 (08:36 +0000)]
2003-07-15  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only
emit nop if the last real insn is CALL_INSN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69440 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config.if: Remove unused libc_interface determination.
neroden [Wed, 16 Jul 2003 06:34:53 +0000 (06:34 +0000)]
* config.if: Remove unused libc_interface determination.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69439 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/10903
gdr [Wed, 16 Jul 2003 01:43:26 +0000 (01:43 +0000)]
    PR c++/10903
        * pt.c (convert_nontype_argument): Fix thinko in diagnostic.
        Improve.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69435 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define
dannysmith [Wed, 16 Jul 2003 01:27:03 +0000 (01:27 +0000)]
* config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define
as "nul".
* config/i386/xm-mingw32.h: Change GNU CC to GCC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69434 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * g++.dg/ext/dll-MI1.h: New file.
dannysmith [Wed, 16 Jul 2003 01:12:19 +0000 (01:12 +0000)]
* g++.dg/ext/dll-MI1.h: New file.
* g++.dg/ext/dllexport-MI1.C: New file.
* g++.dg/ext/dllimport-MI1.C: New file.

ChangeLog: Remove 'testsuite/' from 2003-07-04 entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69432 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/i386/winnt.c (associated_type): Artificial methods are not
dannysmith [Wed, 16 Jul 2003 01:04:10 +0000 (01:04 +0000)]
* config/i386/winnt.c (associated_type): Artificial methods are not
affected by the import/export status of their class unless they are
COMDAT.
(i386_pe_dllimport_p): Do not mark artificial methods as dllimport.

* config/i386/winnt.c: Fix GCC copyright comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69431 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Wed, 16 Jul 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69429 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cp-tree.def (LOOKUP_EXPR): Remove.
mmitchel [Wed, 16 Jul 2003 00:09:45 +0000 (00:09 +0000)]
* cp-tree.def (LOOKUP_EXPR): Remove.
* cp-tree.h (cp_id_kind): Add CP_ID_KIND_UNQUALIFIED_DEPENDENT.
(LOOKUP_EXPR_GLOBAL): Remove.
(get_bindings): Remove.
(is_aggr_type_2): Remove.
* call.c (resolved_scoped_fn_name): Remove support for
LOOKUP_EXPR.
* decl.c (grokfndecl): Likewise.
(grokdeclarator): Likewise.
* error.c (dump_decl): Likewise.
(dump_expr): Likewise.
* friend.c (do_friend): Likewise.
* init.c (build_offset_ref): Likewise.
* lex.c (unqualified_fn_lookup_error): Use pedwarn.  Do not create
LOOKUP_EXPRs
* mangle.c (write_expression): Remove support for LOOKUP_EXPR.
* parser.c (cp_parser_postfix_expression): Modify Koenig lookup
test.
* pt.c (get_bindings): Give it internal linkage.
(check_explicit_specialization): Remove support for LOOKUP_EXPR.
(lookup_template_function): Likewise.
(for_each_tempalte_parm_r): Likewise.
(tsubst_decl): Likewise.
(tsubst_qualified_id): Handle template template parameters.
(tsubst_copy): Remove support for LOOKUP_EXPR.
(tsubst_copy_and_build): Likewise.
(most_general_template): Likewise.
(value_dependent_expression_p): Likewise.
(type_dependent_expression_p): Note that IDENTIFIER_NODEs are
always dependent.
* semantics.c (perform_koenig_lookup): Do not create
IDENTIFIER_NODEs.
(finish_fname): Likewise.
(finish_id_expression): Likewise.
* tree.c (is_aggr_type_2): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69427 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/11531
gdr [Tue, 15 Jul 2003 23:31:52 +0000 (23:31 +0000)]
    PR c++/11531
        * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're
        not recursing on hard error.
        (diagnostic_for_decl): Likewise.
        * diagnostic.def: Rearrange.

cp/
        * typeck.c (check_return_expr): Fix thinko in diagnostic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69425 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
amylaar [Tue, 15 Jul 2003 22:49:07 +0000 (22:49 +0000)]
2003-07-15  J"orn Rennecke <joern.rennecke@superh.com>

* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode.

2003-07-15  J"orn Rennecke <joern.rennecke@superh.com>
    Richard Henderson  <rth@redhat.com>

* unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table
to decide if to access a _Unwind_Ptr or a _Unwind_Word.
(_Unwind_SetGR): Likewise.
(_Unwind_GetPtr, _Unwind_SetSpColumn): New functions.
(Unwind_SpTmp): New typedef.
(uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr.
(uw_update_context): Use _Unwind_GetPtr.
(init_dwarf_reg_size_table): Move above uw_init_context_1.
(uw_init_context_1): Initialize dwarf_reg_size_table if necessary.
Use _Unwind_SetSpColumn.
(uw_install_context_1): Don't initialize dwarf_reg_size_table.
Use _Unwind_GetPtr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69424 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c.opt: Document more options.
neil [Tue, 15 Jul 2003 22:19:44 +0000 (22:19 +0000)]
* c.opt: Document more options.
* toplev.c (documented_lang_options): Remove all local help strings.
treelang:
* lang-options.h: Remove.
* lang.opt: Document some options.  Remove --help.
* tree1.c (treelang_handle_option): Remove OPT__help case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69423 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.c-torture/execute/string-opt-8.c (main): Remove i370 and s390,
jakub [Tue, 15 Jul 2003 21:26:36 +0000 (21:26 +0000)]
* gcc.c-torture/execute/string-opt-8.c (main): Remove i370 and s390,
it does not have cmpstrsi patterns (just cmpmemsi).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69422 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-15 Petur Runolfsson <peturr02@ru.is>
paolo [Tue, 15 Jul 2003 17:30:10 +0000 (17:30 +0000)]
2003-07-15  Petur Runolfsson  <peturr02@ru.is>

* include/bits/char_traits.h (char_traits<wchar_t>::move):
Change last parameter from int_type to size_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69415 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR debug/11473
mmitchel [Tue, 15 Jul 2003 16:56:49 +0000 (16:56 +0000)]
PR debug/11473
* dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
base classes.

PR debug/11473
* g++.dg/debug/debug8.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69414 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoRotate ChangeLog.
kazu [Tue, 15 Jul 2003 16:06:59 +0000 (16:06 +0000)]
Rotate ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69411 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/10108
lerdsuwa [Tue, 15 Jul 2003 15:28:38 +0000 (15:28 +0000)]
PR c++/10108
* pt.c (tsubst_decl) <TEMPLATE_DECL>: Add a check for
error_mark_node.

* g++.dg/template/crash7.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69409 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/10795
kazu [Tue, 15 Jul 2003 13:44:50 +0000 (13:44 +0000)]
PR target/10795
* gcc.c-torture/compile/20030708-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69408 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/10795
kazu [Tue, 15 Jul 2003 13:42:39 +0000 (13:42 +0000)]
PR target/10795
* config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
swap comparison operands if doing so would generate an
unrecognizable insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69407 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix formatting.
ebotcazou [Tue, 15 Jul 2003 13:12:18 +0000 (13:12 +0000)]
Fix formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69404 138bc75d-0d04-0410-961f-82ee72b054a4