OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years ago PR c/13519
jsm28 [Sun, 6 Jun 2004 15:21:59 +0000 (15:21 +0000)]
PR c/13519
* c-typeck.c (composite_type, common_pointer_type): New functions.
(common_type): Split parts into composite_type and
common_pointer_type.  Ensure that arithmetic operations return
unqualified types without attributes.  Don't make composite type
of signed enum and compatible integer be unsigned.
(build_conditional_expr, build_binary_op): Use
common_pointer_type.
* c-decl.c (merge_decls): Use composite_type.
* c-tree.h (composite_type): Declare.

testsuite:
* gcc.c-torture/enum-3.c, gcc.dg/pr13519-1.c: New tests.

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

18 years ago PR target/14457
ciceron [Sun, 6 Jun 2004 13:56:33 +0000 (13:56 +0000)]
PR target/14457
* config/m68hc11/m68hc11.c (splitable_operand): New predicate.
* config/m68hc11/m68hc11-protos.h (splitable_operand): Declare.
* config/m68hc11/m68hc11.h (PREDICATE_CODES): Register it.
(inhibit_libc): Must define.
* config/m68hc11/m68hc11.md ("movhi_const0"): Use splitable_operand.
("*andhi3_gen", "iorhi3", "*iorhi3_gen"): Likewise.
("xorhi3"): Likewise.

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

18 years ago * cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in
ebotcazou [Sun, 6 Jun 2004 13:03:08 +0000 (13:03 +0000)]
* cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in
always_inline pass.

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

18 years ago2004-06-05 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 6 Jun 2004 04:23:01 +0000 (04:23 +0000)]
2004-06-05  Andrew Pinski  <pinskia@physics.uc.edu>

        * Makefile.am (LIBINTL): Declare
        (makedepend_LDADD): Use LIBINTL.
        * Makefile.in: Regenerate.

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

18 years agoMissed these two in previous commit.
davem [Sun, 6 Jun 2004 03:57:35 +0000 (03:57 +0000)]
Missed these two in previous commit.

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

18 years ago2004-06-05 David S. Miller <davem@nuts.davemloft.net>
davem [Sun, 6 Jun 2004 03:56:16 +0000 (03:56 +0000)]
2004-06-05  David S. Miller  <davem@nuts.davemloft.net>

* config/sparc/linux.h (TARGET_C99_FUNCTIONS): Set.
* config/sparc/linux64.h (TARGET_C99_FUNCTIONS): Likewise.

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

18 years ago PR c++/15503
giovannibajo [Sun, 6 Jun 2004 02:08:18 +0000 (02:08 +0000)]
PR c++/15503
* parser.c (cp_parser_mem_initializer_id): Gracefully reject
'typename', and accept 'template'.

PR c++/15503
* g++.dg/template/meminit2.C: New test.

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

18 years agoDaily bump.
gccadmin [Sun, 6 Jun 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Sun, 6 Jun 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * regclass.c (init_reg_sets): Check for missing registers in target
bernie [Sat, 5 Jun 2004 21:23:06 +0000 (21:23 +0000)]
* regclass.c (init_reg_sets): Check for missing registers in target
initializer macros FIXED_REGISTERS and CALL_USED_REGISTERS.

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

18 years agolibcpp:
zack [Sat, 5 Jun 2004 20:58:06 +0000 (20:58 +0000)]
libcpp:
* Makefile.am: Add makedepend.
* Makefile.in, aclocal.m4: Regenerate.
* charset.c: Insert a space to avoid a warning.
* directives.c: Include mkdeps.h.
(_cpp_handle_directive): Reenable macro expander if appropriate.
(undefine_macros): Inline body of _cpp_free_definition for speed.
Do not call undef callback or _cpp_warn_if_unused_macro.
(cpp_get_deps): New interface.
* files.c (search_cache): Add pfile argument.  Check for file
that would be found by "" or <> search here...
(_cpp_find_file): ...not here.  Correct recorded start_dir of
files found by directory-of-current-file search that would be
found by "" or <> search.
* init.c (cpp_add_dependency_target): Delete.
* internal.h (struct lexer_state): Add discarding_output flag.
* lex.c (lex_identifier): Compute hash function while scanning.
* macro.c (cpp_scan_nooutput): Disable macro expansion outside
directives.
* makedepend.c: New file.
* mkdeps.c (struct deps): Add vpath vector.
(apply_vpath, deps_add_vpath): New function.
(deps_free): Free vpath vector.
(deps_add_dep, deps_add_target): Use apply_vpath.
* symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
(ht_lookup_with_hash): New function.
* cpplib.h, mkdeps.h: Update prototypes.
* symtab.h: Update prototypes.
(HT_HASHSTEP, HT_FINISH): New macros.

gcc:
* Makefile.in (MKDEPS_H): New shorthand.
(c-opts.o): Update dependencies.
* c-opts.c: Include mkdeps.h.
(handle_deferred_opts): Use cpp_get_deps and deps_add_target,
not cpp_add_dependency_target.

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

18 years ago * config/v850/v850.c (v850_use_dfa_pipeline_interface): New.
steven [Sat, 5 Jun 2004 16:35:55 +0000 (16:35 +0000)]
* config/v850/v850.c (v850_use_dfa_pipeline_interface): New.
* config/v850/v850.md: Convert to DFA scheduler description.

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

18 years ago2004-06-05 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 5 Jun 2004 15:19:52 +0000 (15:19 +0000)]
2004-06-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/SwingConstants.java
(NEXT): New constant.
(PREVIOUS): Likewise.

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

18 years ago2004-06-05 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 5 Jun 2004 15:16:46 +0000 (15:16 +0000)]
2004-06-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/UIManager.java
(LookAndFeel): Made public.
(LookAndFeel.getName): Likewise.
(LookAndFeel.getClassName): Likewise.

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

18 years agoPR fortran/15478
tobi [Sat, 5 Jun 2004 14:41:42 +0000 (14:41 +0000)]
PR fortran/15478
* gfortran.texi: The documentation doesn't contain infomration on
how to report bugs, and shouldn't, so remove the line which
says it does.

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

18 years agoFix date on ChangeLog entry from previous commit
tobi [Sat, 5 Jun 2004 14:39:34 +0000 (14:39 +0000)]
Fix date on ChangeLog entry from previous commit

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

18 years agoPR fortran/15478
tobi [Sat, 5 Jun 2004 14:34:56 +0000 (14:34 +0000)]
PR fortran/15478
* doc/install.texi: Document GMP as prerequisite. Document
--with-gmp and --with-gmp-dir configure options.
* fortran/gfortran.texi: Remove section 'Compiling and testing',
remove TOC reference to it.

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

18 years ago * intrinsic.c (sort_actual): Keep track of type of missing
tobi [Sat, 5 Jun 2004 11:34:52 +0000 (11:34 +0000)]
* intrinsic.c (sort_actual): Keep track of type of missing
arguments. (Missing from previous commit.)

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

18 years ago * combine.c(simplify_shift_const): Check shift amount is a
grahams [Sat, 5 Jun 2004 07:59:39 +0000 (07:59 +0000)]
* combine.c(simplify_shift_const): Check shift amount is a
CONST_INT.

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

18 years ago * toplev.c (init_asm_output): Add explicit 'b' to mode when
dannysmith [Sat, 5 Jun 2004 07:28:27 +0000 (07:28 +0000)]
    * toplev.c (init_asm_output): Add explicit 'b' to mode when
        opening asm_out_file.
        * c-pch.c (c_common_write_pch): Remove unnecessary fflush before
        reading asm_out_file. Replace fflush after reading asm_out_file
        with fseek.
        * hosthooks-def.h (HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY): Define
        default and add to HOST_HOOKS_INITIALIZER.
        * hosthooks.h (gt_pch_alloc_granularity): Declare hook function.
        * ggc-common.c (default_gt_pch_alloc_granularity): New function.
        (gt_pch_save): Use host_hooks.gt_pch_alloc_granularity
        to set mmi.offset padding.
         * config.gcc (i[34567]86-*-mingw32*): Set target_gtfiles to
        $(srcdir)/config/i386/winnt.c.
        (i[34567]86-*-pe | i[34567]86-*-cygwin*): Likewise.
        (i[34567]86-*-uwin*): Likewise.
        *i[34567]86-*-interix3*): Likewise.
        * config.host (i[34567]86-*-mingw32*): Set out_host_hook_obj.
        * config/i386/host-mingw32.c: New file.
        * config/i386/x-mingw32: Add rule for host-mingw32.o.
        * config/i386/winnt.c: (struct extern_list) Tag as GTY.
        (extern_head): Likewise.
        (struct export_list) Likewise.
        (export_head): Likewise.
        (i386_pe_record_external_function): Use ggc_alloc.
        (i386_pe_record_exported_symbol): Likewise.
        Include "gt-winnt.h" at end.
        * doc/hostconfig.texi: Document
HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY.

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

18 years ago * config/m68k/m68k.h: Remove comments copied over from tm.texi.
bernie [Sat, 5 Jun 2004 06:49:00 +0000 (06:49 +0000)]
* config/m68k/m68k.h: Remove comments copied over from tm.texi.
Rename 68000 and 68k to m68k for consistency in comments.  Remove
trailing whitespace before EOLs and before TABs.
(MAX_CODE_ALIGN): Remove unused macro.
(CALL_USED_REGISTERS): Reformat and add comments.

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

18 years agoDaily bump.
gccadmin [Sat, 5 Jun 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Sat, 5 Jun 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago2004-06-04 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 4 Jun 2004 20:13:14 +0000 (20:13 +0000)]
2004-06-04  Frank Ch. Eigler  <fche@redhat.com>

* gcc.c (MFLIB_SPEC): Remove library references, to require users
to enumerate -lmudflap* and dependencies when linking.

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

18 years ago2004-06-04 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 4 Jun 2004 20:12:01 +0000 (20:12 +0000)]
2004-06-04  Frank Ch. Eigler  <fche@redhat.com>

Portability improvements, e.g., libmudflap/15293.
* configure.in: Look for glibc extension functions.  Look for
support of -f{function,data}-sections.  Look for more headers.
Create testsuite/mfconfig.exp.  Correct more "test x.." thinkos.
* Makefile.am: Use $(SECTION_FLAGS).  Collapse piecemeal-compiled
mf-hooks* into usual single object per source.
* mf-hooks*.c: Remove all #if WRAP_foo conditionals.
* mf-hooks2.c: #include a bunch more system headers.  Define strnlen
if system doesn't provide one.
* mf-hooks3.c (struct pthread_info): Add stack_*_alloc fields.
(pthread_create): Use it to properly GC dead thread stacks.
* mf-runtime.c (__mf_violation): Correct snprintf type warning.
* testsuite/Makefile.am: Stop generating site.exp.
* testsuite/mfconfig.exp.in: New file.
* testsuite/config/default.exp: Load new mfconfig.exp.
* testsuite/lib/libmudflap.exp (libmudflap-init): Add extra libraries.
(prune_gcc_output): Add glibc static linking warnings.
* testsuite/libmudflap.*/*frags.exp: Enumerate needed -lmudflap* libs.
* testsuite/libmudflap.c/pass46-frag.c: Ditto.
* configure, Makefile, aclocal.m4, config.h.in, testsuite/Makefile.in:
Regenerated with autoconf 2.57 and automake 1.7.

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

18 years ago2004-06-04 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 4 Jun 2004 18:34:22 +0000 (18:34 +0000)]
2004-06-04  Paolo Bonzini  <bonzini@gnu.org>

PR target/15822
* gcc.c-torture/execute/compare-fp-1.c,
gcc.c-torture/execute/compare-fp-2.c,
gcc.c-torture/execute/compare-fp-3.c,
gcc.c-torture/execute/compare-fp-4.c,
gcc.c-torture/execute/compare-fp-3.x,
gcc.c-torture/execute/compare-fp-4.x: Moved...
* gcc.c-torture/execute/ieee/compare-fp-1.c,
gcc.c-torture/execute/ieee/compare-fp-2.c,
gcc.c-torture/execute/ieee/compare-fp-3.c,
gcc.c-torture/execute/ieee/compare-fp-4.c,
gcc.c-torture/execute/ieee/compare-fp-3.x,
gcc.c-torture/execute/ieee/compare-fp-4.x: ...here.

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

18 years ago * configure.in (LIBMUDFLAPTH): Fix thinko.
bothner [Fri, 4 Jun 2004 17:20:22 +0000 (17:20 +0000)]
* configure.in (LIBMUDFLAPTH):  Fix thinko.

* configure.in:  Check for more headers.
* mf-hooks2.c:  Conditionalize on HAVE_SYS_SOCKET_H etc.

* mf-runtime.c:  In two places conditionalize on SIUSR1 rather than
HAVE_SIGNAL as mingw has signal.h but not SIUSR1.

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

18 years ago2004-06-04 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 4 Jun 2004 16:29:17 +0000 (16:29 +0000)]
2004-06-04  Paolo Bonzini  <bonzini@gnu.org>

PR target/15822
* dojump.c (do_jump): Fix uninitialized variable tcode1.

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

18 years ago2004-06-04 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Fri, 4 Jun 2004 16:10:20 +0000 (16:10 +0000)]
2004-06-04  Jerry Quinn  <jlquinn@optonline.net>

* Makefile.in (insn-conditions.o): Back out removal of reload.h.
* genconditions.c (write_header): Back out removal of reload.h.

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

18 years ago Re-apply hopefully fixed patch:
hubicka [Fri, 4 Jun 2004 16:07:58 +0000 (16:07 +0000)]
Re-apply hopefully fixed patch:
* i386.md (UNSPECV_EH_RETURN): Kill.
(eh_return): Use jump_insn.
(eh_return_si, eh_return_di): Change pattern to jump instruction.

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

18 years ago * cfgrtl.c (try_redirect_by_replacing_jump): Fix return value.
law [Fri, 4 Jun 2004 15:01:49 +0000 (15:01 +0000)]
    * cfgrtl.c (try_redirect_by_replacing_jump): Fix return value.

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

18 years ago * except.c (for_each_eh_region): New function.
steven [Fri, 4 Jun 2004 12:31:26 +0000 (12:31 +0000)]
* except.c (for_each_eh_region): New function.
* except.h (for_each_eh_region): Add a prototype for it.
* tree-cfg.c (update_eh_labels): New function, callback for
for_each_eh_region.
(label_for_bb): Make global static, unfortunately.
(cleanup_dead_labels): Also update label references for
exception regions.

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

18 years agoNew ObjC testcases to make sure Protocol-isEqual: is well implemented in the
nicola [Fri, 4 Jun 2004 01:24:34 +0000 (01:24 +0000)]
New ObjC testcases to make sure Protocol-isEqual: is well implemented in the
runtime library

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

18 years agoNew testcases
nicola [Fri, 4 Jun 2004 01:23:12 +0000 (01:23 +0000)]
New testcases

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

18 years agoImproved [Protocol -isEqual:], now more correct and faster
nicola [Fri, 4 Jun 2004 01:12:20 +0000 (01:12 +0000)]
Improved [Protocol -isEqual:], now more correct and faster

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

18 years ago2004-06-03 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 4 Jun 2004 00:37:56 +0000 (00:37 +0000)]
2004-06-03  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.c (struct irix_section_align_entry): Fix
        GTY marker.

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

18 years agoDaily bump.
gccadmin [Fri, 4 Jun 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Fri, 4 Jun 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * gcc_release (maybe_build_tarfile): New function.
jsm28 [Fri, 4 Jun 2004 00:02:04 +0000 (00:02 +0000)]
* gcc_release (maybe_build_tarfile): New function.
(build_tarfiles): Use maybe_build_tarfile.

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

18 years ago2004-06-03 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 3 Jun 2004 23:45:46 +0000 (23:45 +0000)]
2004-06-03  Andrew Pinski  <pinskia@physics.uc.edu>
            Jan Hubicka  <jh@suse.cz>

        PR c++/14639
        * method.c (use_think): Do not mark thunk as referenced.

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

18 years ago * toplev.c (check_global_declarations): Don't ask for
geoffk [Thu, 3 Jun 2004 23:16:21 +0000 (23:16 +0000)]
* toplev.c (check_global_declarations): Don't ask for
DECL_ASSEMBLER_NAME unless the function really is declared
static and not defined.

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

18 years ago PR c++/15428
austern [Thu, 3 Jun 2004 23:15:01 +0000 (23:15 +0000)]
PR c++/15428
* default.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): New name
for TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY, with reversed sense.
* config/darwin.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Likewise.
* doc/tm.texi (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Rewrite
documentation to reflect the new macro name and to clarify its
meaning.
* cp/decl2.c (maybe_emit_vtables): If TARGET_WEAK_NOT_IN_ARCHIVE_TOC
is nonzero, and if we see a noninline definition of a key method,
make the vtables nonweak.

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

18 years agorevert accidental checkin
cgf [Thu, 3 Jun 2004 22:38:00 +0000 (22:38 +0000)]
revert accidental checkin

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

18 years agofortran/
tobi [Thu, 3 Jun 2004 22:35:41 +0000 (22:35 +0000)]
fortran/
* gfortran.h (gfc_actual_arglist): New field missing_arg_type.
* interface.c (compare_actual_formal): Keep type of omitted
optional arguments.
* trans-expr.c (gfc_conv_function_call): Add string length
argument for omitted string argument.

testsuite/
* gfortran.fortran-torture/execute/optstring_1.f90: New testcase.

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

18 years ago * rtl.def (VAR_LOCATION): Make RTX_EXTRA.
steven [Thu, 3 Jun 2004 22:17:20 +0000 (22:17 +0000)]
* rtl.def (VAR_LOCATION): Make RTX_EXTRA.

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

18 years ago2004-06-03 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 3 Jun 2004 22:15:08 +0000 (22:15 +0000)]
2004-06-03  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin.c (machopic_indirect_data_reference): Copy
        the SYMBOL_REF_DECL from the original RTX for the new
        non-lazy pointer RTX.

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

18 years agoOne more comment update
tobi [Thu, 3 Jun 2004 22:01:10 +0000 (22:01 +0000)]
One more comment update

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

18 years ago * trans.c (gfc_finish_block, gfc_add_expr_to_block): Build statement
pbrook [Thu, 3 Jun 2004 21:56:54 +0000 (21:56 +0000)]
* trans.c (gfc_finish_block, gfc_add_expr_to_block): Build statement
lists instead of compound expr chains.
(gfc_trans_code): Annotate statement lists.

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

18 years ago* trans-array.c: Fix spelling in comments.
tobi [Thu, 3 Jun 2004 20:25:29 +0000 (20:25 +0000)]
* trans-array.c: Fix spelling in comments.

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

18 years ago * MAINTAINERS (Write After Approval): Add myself.
mgadams [Thu, 3 Jun 2004 18:53:35 +0000 (18:53 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

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

18 years ago * tree.h: Remove include of version.h
mgadams [Thu, 3 Jun 2004 18:48:28 +0000 (18:48 +0000)]
* tree.h: Remove include of version.h
* c-cppbuiltin.c: Include version.h
* diagnostic.c: Include version.h
* dwarf2out.c: Include version.h
* toplev.c: Include version.h
* vmsdbgout.c: Include version.h
* Makefile.in: Remove dependency on version.h from TREE_H, and
add dependencies to required .o targets
* gjavah.c: Include version.h

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

18 years ago2004-06-03 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Thu, 3 Jun 2004 15:01:08 +0000 (15:01 +0000)]
2004-06-03  Jerry Quinn  <jlquinn@optonline.net>

* Makefile.in (RA_H, RESOURCE_H, SCHED_INT_H, CFGLAYOUT_H,
CFGLOOP_H, DF_H, DDG_H, TREE_SSA_LIVE_H): New.
(TARGET_H): Add insn-modes.h.
(tree-ssa.o, tree-cfg.o, tree-ssa-loop.o, toplev.o, passes.o,
loop.o, loop-doloop.o, unroll.o, cfgloop.o, cfgloopanal.o,
loop-iv.o, cfgloopmanip.o, loop-init.o, loop-unswitch.o,
loop-unroll.o, ddg.o, modulo-sched.o, predict.o,
cfglayout.o, ifcvt.o): Replace cfgloop.h with CFGLOOP_H.
(toplev.o, passes.o, cfghooks.o, cfgloopmanip.o, loop-init.o,
loop-unswitch.o, loop-unroll.o, ddg.o, modulo-sched.o,
bb-reorder.o, tracer.o, cfglayout.o): Replace cfglayout.h with
CFGLAYOUT_H.
(ra.o, ra-build.o, ra-colorize.o, ra-debug.o, ra-rewrite.o):
Replace ra.h with RA_H.
(resource.o, regrename.o, insn-conditions.o, insn-emit.o,
insn-recog.o): Replace resource.h with RESOURCE_H.
(ddg.o, modulo-sched.o, haifa-sched.o, sched-deps.o, sched-rgn.o,
sched-ebb.o, sched-vis.o, out_object_file):  Replace sched-int.h
with SCHED_INT_H.
(web.o, lcm.o, df.o, ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
ra-rewrite.o): Replace df.h with DF_H.
(ddg.o, modulo-sched.o): Replace ddf.h with DDG_H.
(tree-outof-ssa.o, tree-ssa-live.o, tree-ssa-copyrename.o):
Replace tree-ssa-live.h with TREE_SSA_LIVE_H.
(insn-conditions.o): Remove unused reload.h.
* cfglayout.h: Add include guard.  Include basic-block.h.
* cfgloop.h: Add include guard.  Include basic-block.h, rtl.h.
* ddg.h: Include sbitmap.h, basic-block.h, df.h.
* df.h: Add include guard.  Include bitmap.h, sbitmap.h,
basic-block.h.
* genconditions.c:  Remove reload.h.
* ra.h: Add include guard.  Include bitmap.h, sbitmap.h,
hard-reg-set.h, insn-modes.h.
* resource.h: Add include guard.  Include hard-reg-set.h.
* sched-int.h:  Add include guard.  Include insn-attr.h,
basic-block.h, rtl.h.
* target.h: Add include guard.  Include insn-modes.h.
* tree-ssa-live.h: Include partition.h.

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

18 years ago2004-06-03 Daniel Berlin <dberlin@dberlin.org>
dberlin [Thu, 3 Jun 2004 14:07:53 +0000 (14:07 +0000)]
2004-06-03  Daniel Berlin  <dberlin@dberlin.org>
Kenneth Zadeck <zadeck@naturalbridge.com>

* tree-ssa-ccp.c (varying_ssa_edges): New worklist.
(add_var_to_ssa_edges_worklist): Add value argument.
Update callers.
Use new worklist.
(process_ssa_edge_worklist): New function.
(tree_ssa_ccp): Move worklist processing core to
process_ssa_edge_worklist, and just call that for the two worklists.

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

18 years ago * basic-block.c (tail_recursion_label_list): Don't declare.
steven [Thu, 3 Jun 2004 12:07:47 +0000 (12:07 +0000)]
* basic-block.c (tail_recursion_label_list): Don't declare.
(CLEANUP_PRE_SIBCALL): Remove.  Renumber the other CLEANUP_*
accordingly.
* cfgbuild.c (find_label_refs): Remove.
(find_basic_blocks_1): Don't handle CALL_PLACEHOLDER insns.
* cfgcleanup.c (tail_recursion_label_p): Remove.
(merge_blocks_move): Do not check for tail recursion.
(try_optimize_cfg): Likewise.
(cleanup_cfg): Never handle CLEANUP_PRE_SIBCALL.
* cfgrtl.c (tail_recursion_label_list): Remove.
* except.c (remove_unreachable_regions): Don't handle
CALL_PLACEHOLDER insns.
(convert_from_eh_region_ranges_1, can_throw_internal,
can_throw_external): Likewise.
* function.c (free_after_compilation): Don't clear
x_tail_recursion_label.
(fixup_var_refs_insns): Don't handle CALL_PLACEHOLDER insns.
(identify_blocks_1): Don't recurse for CALL_PLACEHOLDER insns.
(reorder_blocks_1): Likewise.
* function.h (struct function): Remove x_tail_recursion_label
member.  Don't define tail_recursion_label.
* jump.c (mark_all_labels): Don't handle CALL_PLACEHOLDER insns.
* print-rtl.c (print_rtx): Likewise.
* rtl.def (CALL_PLACEHOLDER): Remove.
* rtl.h (sibcall_use_t): Remove enum.
(optimize_sibling_and_tail_recursive_calls,
replace_call_placeholder): Remove function prototypes.
* stmt.c (tail_recursion_args): Remove.
(optimize_tail_recursion): Remove.
(expand_return): Don't check for possible tail recursion.
* tree.h (optimize_tail_recursion): Remove prototype.

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

18 years ago2004-06-03 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 3 Jun 2004 10:23:12 +0000 (10:23 +0000)]
2004-06-03  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(requestFocus): Revert last changes.
(gtkRequestFocus): Removed.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
Renamed to ...
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
Reverted last patch.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
(Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
Reverted comment change.

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

18 years ago* configure.in: Fix --enable-bootstrap breakage introduced in trees without
cgf [Thu, 3 Jun 2004 04:53:00 +0000 (04:53 +0000)]
* configure.in: Fix --enable-bootstrap breakage introduced in trees without
gcc.
* configure: Regenerate.

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

18 years agoDaily bump.
gccadmin [Thu, 3 Jun 2004 00:16:16 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Thu, 3 Jun 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * tree-cfg.c (tree_find_edge_insert_loc): Allow inserting before
hubicka [Wed, 2 Jun 2004 21:13:55 +0000 (21:13 +0000)]
* tree-cfg.c (tree_find_edge_insert_loc):  Allow inserting before
return_stmt.

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

18 years agoWhen a class template is explicitly instantiated, its member should be too.
austern [Wed, 2 Jun 2004 21:12:54 +0000 (21:12 +0000)]
When a class template is explicitly instantiated, its member should be too.
* cp-tree.h (instantiate_decl): new boolean parameter,
undefined_ok. Current behavior is equivalent to its being 0.
* decl2.c (mark_used): Add new argument when calling instantiate_decl
* pt.c (mark_decl_instantiated): Unconditionally make
instantiations explicit unconditionally
(do_decl_instantiation): Don't call SET_DECL_EXPLICIT_INSTANTIATION,
since mark_decl_instantiated now does it.
(instantiate_class_member): New.  Instantiate a member of an
explicitly instantiated class template.
(do_type_instantiation): Explicitly instantiate members of an
explicitly instantiated class template.
(instantiate_decl): if undefined_ok is nonzero, and if we're
trying to explicitly instantiated a template with no definition,
change it to an implicit instantiation.
(instantiate_pending_templates): Add new argument to instantiate_decl.
* tree.c (cp_cannot_inline_tree_fn): Likewise.

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

18 years ago * include/std/std_complex.h (log): Tidy.
gdr [Wed, 2 Jun 2004 21:04:07 +0000 (21:04 +0000)]
    * include/std/std_complex.h (log): Tidy.

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

18 years ago * Makefile.in (TAGS): Don't mess with c-parse.[ch].
jason [Wed, 2 Jun 2004 20:44:48 +0000 (20:44 +0000)]
    * Makefile.in (TAGS): Don't mess with c-parse.[ch].
        Do include c-parse.in.

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

18 years ago2004-06-02 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 2 Jun 2004 20:24:30 +0000 (20:24 +0000)]
2004-06-02  Andrew Pinski  <pinskia@physics.uc.edu>

        * cp-tree.h: Fix typo.

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

18 years ago * javax/swing/JCheckBoxMenuItem.java:
rodimina [Wed, 2 Jun 2004 20:13:06 +0000 (20:13 +0000)]
* javax/swing/JCheckBoxMenuItem.java:
Removed CVS tags.
* javax/swing/JMenu.java: Likewise.
* javax/swing/JMenuBar.java: Likewise.
* javax/swing/JMenuItem.java: Likewise.
* javax/swing/JPopupMenu.java: Likewise.
* javax/swing/JRadioButtonMenuItem.java: Likewise.
* javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
* javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
* javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
* javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
* javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
* javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.

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

18 years ago[gcc/testsuite/ChangeLog]
zlaski [Wed, 2 Jun 2004 19:48:49 +0000 (19:48 +0000)]
[gcc/testsuite/ChangeLog]
2004-06-02  Ziemowit Laski  <zlaski@apple.com>

        * lib/objc.exp (objc_target_compile): When running tests on
        Darwin (Mac OS X), inform the linker about '-framework
        'Foundation'.

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

18 years ago2004-06-02 Eric Christopher <echristo@redhat.com>
echristo [Wed, 2 Jun 2004 19:46:13 +0000 (19:46 +0000)]
2004-06-02  Eric Christopher  <echristo@redhat.com>

        * c-typeck.c (common_type): Don't lose type qualifiers
        when creating new variants.

2004-06-02  Eric Christopher  <echristo@redhat.com>

        * gcc.c-torture/compile/20040602-1.c: New.

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

18 years agoAdd function name to the changelog.
pinskia [Wed, 2 Jun 2004 19:36:07 +0000 (19:36 +0000)]
Add function name to the changelog.

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

18 years ago2004-06-02 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 2 Jun 2004 19:20:03 +0000 (19:20 +0000)]
2004-06-02  Andrew Pinski  <pinskia@physics.uc.edu>

        * cp-tree.h: Include cgraph.h
        (DECL_NEEDED_P): Use cgraph_*node on the decl instead of
        TREE_SYMBOL_REFERENCED on the DECL_ASSEMBLER_NAME of the decl.

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

18 years ago2004-06-02 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 2 Jun 2004 19:10:27 +0000 (19:10 +0000)]
2004-06-02  Andrew Pinski  <pinskia@physics.uc.edu>

        * g++.dg/tree-ssa/ssa-sra-1.C: Fix comment.
        * g++.dg/tree-ssa/ssa-sra-2.C: Likewise.

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

18 years ago2004-06-02 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 2 Jun 2004 18:56:54 +0000 (18:56 +0000)]
2004-06-02  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-optimization/14736
        * g++.dg/tree-ssa/ssa-cast-1.C: New Test.

        PR tree-optimization/14042
        * g++.dg/tree-ssa/ssa-sra-1.C: New Test.

        PR tree-optimization/14729
        * g++.dg/tree-ssa/ssa-sra-2.C: New Test.

2004-06-02  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-optimization/14042
        PR tree-optimization/14729
        PR tree-optimization/14736
        * tree-ssa.c: Check the type which the pointer points to
        instead of the pointer types.

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

18 years ago PR tree-optimization/15738.
kazu [Wed, 2 Jun 2004 18:41:40 +0000 (18:41 +0000)]
PR tree-optimization/15738.
* builtins.c (fold_builtin_strchr): Transform
strrchr (s, '\0') to strchr (s, '\0').

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

18 years ago * i386.c (ix86_adjust_cost): Don't increase the cost for
steven [Wed, 2 Jun 2004 17:34:35 +0000 (17:34 +0000)]
* i386.c (ix86_adjust_cost): Don't increase the cost for
load+operation for PROCESSOR_PENTIUMPRO, it is already
modelled in the DFA description

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

18 years agofortran/
tobi [Wed, 2 Jun 2004 11:38:24 +0000 (11:38 +0000)]
fortran/
PR fortran/15557
* data.c (assign_substring_data_value): New function.
(gfc_assign_data_value): Call the new function if we're dealing
with a substring LHS.

testsuite/
PR fortran/15557
* gfortran.fortran-torture/execute/data_3.f90: New testcase.

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

18 years ago2004-06-01 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Wed, 2 Jun 2004 02:09:45 +0000 (02:09 +0000)]
2004-06-01  Jerry Quinn  <jlquinn@optonline.net>

* Makefile.in (EXPR_H): Add insn-config.h, function.h,
$(RTL_H), flags.h, $(TREE_H), $(MACHMODE_H), $(EXPR_H).
(ALIAS_H, EMIT_RTL_H): New.
(cselib.o): Replace EXPR_H with EMIT_RTL_H.
(cfgcleanup.o): Add EMIT_RTL_H.
(alias.o): Replace EXPR_H with EMIT_RTL_H and ALIAS_H.
* alias.c: Replace expr.h with emit-rtl.h and alias.h.
* attribs.c, c-lex.c, c-obj-common.c, c-semantics.c: Remove expr.h.
* cfgcleanup.c, cselib.c: Replace expr.h with emit-rtl.h.
* expr.h: Add include guard.  Include function.h, rtl.h, flags.h,
tree.h, machmode.h, insn-config.h, alias.h, emit-rtl.h.
(get_varargs_alias_set, get_frame_alias_set, record_base_value,
record_alias_subset, new_alias_set, can_address_p): Move to alias.h.
(set_mem_alias_set, set_mem_align, set_mem_expr, set_mem_offset,
set_mem_size): Move to emit-rtl.h.
* emit-rtl.h: New.
* alias.h: New.

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

18 years agoDaily bump.
gccadmin [Wed, 2 Jun 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

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

18 years agoDaily bump.
gccadmin [Wed, 2 Jun 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago PR c++/15142
jason [Tue, 1 Jun 2004 20:28:38 +0000 (20:28 +0000)]
    PR c++/15142
        * call.c (call_builtin_trap): Remove type parm.
        (convert_arg_to_ellipsis): Change a non-POD argument to integer type.
        (build_x_va_arg): Dereference a null pointer for a non-POD argument.

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

18 years ago * function.c (walk_fixup_memory_subreg): New parameter 'var'.
ebotcazou [Tue, 1 Jun 2004 19:08:01 +0000 (19:08 +0000)]
* function.c (walk_fixup_memory_subreg): New parameter 'var'.
Call fixup_memory_subreg only if the MEM is equal to 'var'.
Adjust recursive calls to self.
(fixup_var_refs_insn): Pass 'var' to walk_fixup_memory_subreg.

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

18 years ago PR c++/13092
jason [Tue, 1 Jun 2004 15:54:33 +0000 (15:54 +0000)]
    PR c++/13092
        * init.c (build_offset_ref): Build SCOPE_REF with non-null
        TREE_TYPE for non-dependent names.
        * pt.c (type_dependent_expression_p): Handle SCOPE_REF with
        unknown_type_node as its TREE_TYPE.
        * cxx-pretty_print.c (pp_cxx_unqualified_id): Handle BASELINK.
        * error.c (dump_decl) <SCOPE_REF case>: Use pp_expression.
        (dump_expr) <SCOPE_REF case>: Likewise.

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

18 years agorevert accidental checkin
jason [Tue, 1 Jun 2004 15:53:07 +0000 (15:53 +0000)]
revert accidental checkin

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

18 years ago PR c++/13092
jason [Tue, 1 Jun 2004 15:51:56 +0000 (15:51 +0000)]
    PR c++/13092
        * init.c (build_offset_ref): Build SCOPE_REF with non-null
        TREE_TYPE for non-dependent names.
        * pt.c (type_dependent_expression_p): Handle SCOPE_REF with
        unknown_type_node as its TREE_TYPE.
        * cxx-pretty_print.c (pp_cxx_unqualified_id): Handle BASELINK.
        * error.c (dump_decl) <SCOPE_REF case>: Use pp_expression.
        (dump_expr) <SCOPE_REF case>: Likewise.

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

18 years ago * c-parse.in (OFFSETOF, offsetof_member_designator): New.
rth [Tue, 1 Jun 2004 15:12:23 +0000 (15:12 +0000)]
    * c-parse.in (OFFSETOF, offsetof_member_designator): New.
        (primary): Handle offsetof.  Add error productions for faux functions.
        Move component_ref objc checking to build_component_ref.
        (reswords): Add offsetof.
        (rid_to_yy): Add offsetof.
        * c-tree.h (build_offsetof): Declare.
        * c-common.h (objc_is_public): Declare.
        * c-typeck.c (build_component_ref): Check objc_is_public.
        (build_offsetof): New.
        * stub-objc.c (objc_is_public): New.
        * objc/objc-act.c, objc/objc-act.h (objc_is_public): Rename
        from is_public.
        * ginclude/stddef.h (offsetof): Use __builtin_offsetof.
        * doc/extend.texi (Offsetof): Move from C++ section to C section
        and rewrite for __builtin_offsetof.
cp/
        * lex.c (reswords): Rename "__offsetof" to "__builtin_offsetof".
        * parser.c (struct cp_parser): Remove in_offsetof.
        (cp_parser_new): Don't set it.
        (cp_parser_unary_expression): Don't check it.
        (cp_parser_postfix_open_square_expression): Split out from ...
        (cp_parser_postfix_expression): ... here.
        (cp_parser_postfix_dot_deref_expression): Likewise.
        (cp_parser_builtin_offsetof): New.
        (cp_parser_primary_expression): Use it.
testsuite/
        * g++.dg/template/dependent-expr4.C: Use __builtin_offsetof.

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

18 years agoAlso credit Peter Jakubek for last patch.
bernie [Tue, 1 Jun 2004 14:37:14 +0000 (14:37 +0000)]
Also credit Peter Jakubek for last patch.

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

18 years ago * config/m68k/m68k.c(m68k_output_mi_thunk): For ColdFire, use %d0 as
bernie [Tue, 1 Jun 2004 13:22:04 +0000 (13:22 +0000)]
* config/m68k/m68k.c(m68k_output_mi_thunk):  For ColdFire, use %d0 as
a scratch to perform an add to memory.

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

18 years ago PR target/14018
bernie [Tue, 1 Jun 2004 12:56:49 +0000 (12:56 +0000)]
PR target/14018
* config/m68k/m68k.c (m68k_align_loops_string, m68k_align_jumps_string,
m68k_align_funcs_string, m68k_align_loops, m68k_align_jumps,
m68k_align_funcs): Remove.
(override_options): Remove code to handle -malign-* options.
* config/m68k/m68k.h (TARGET_OPTIONS): Remove -malign-* options.
(FUNCTION_BOUNDARY, LOOP_ALIGN, LOOP_ALIGN_AFTER_BARRIER): Remove.
(m68k_align_loops_string, m68k_align_jumps_string,
m68k_align_funcs_string, m68k_align_loops, m68k_align_jumps,
m68k_align_funcs): Remove definitions.

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

18 years ago2004-06-01 Tom Tromey <tromey@redhat.com>
mkoch [Tue, 1 Jun 2004 12:47:02 +0000 (12:47 +0000)]
2004-06-01  Tom Tromey  <tromey@redhat.com>

* java/io/ObjectStreamField.java: Cleaned up imports.

2004-06-01  Michael Koch  <konqueror@gmx.de>

* java/io/ObjectStreamField.java: Style and javadoc cleanup.

2004-06-01  Mark Wielaard  <mark@klomp.org>

* java/io/Writer.java (Writer(Object)): Fixed API doc.

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

18 years agoPR fortran/15477
tobi [Tue, 1 Jun 2004 12:12:58 +0000 (12:12 +0000)]
PR fortran/15477
* gfortran.h (GFC_VERSION): Remove.
* gfortran.texi (version-gfortran): Remove, replace by version-GCC
where used.

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

18 years ago2004-06-01 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 1 Jun 2004 11:57:10 +0000 (11:57 +0000)]
2004-06-01  Michael Koch  <konqueror@gmx.de>

* java/security/Security.java
(insertProviderAt): Use equals() instead of ==.
(removeProvicer): Likewise.
(getProvider): Likewise.
* java/security/Signature.java
(sign): Don't set state to UNINITIALIZED.
(verify): Likewise.

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

18 years ago PR target/15626
ebotcazou [Tue, 1 Jun 2004 11:28:50 +0000 (11:28 +0000)]
PR target/15626
* doc/install.texi (sparc-sun-solaris2*): Document messages issued
by the Sun linker in conjunction with the Sun assembler.
(sparc-sun-solaris2.7): Update revision info for Sun patch 106950.

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

18 years ago PR c++/14932
giovannibajo [Tue, 1 Jun 2004 10:22:11 +0000 (10:22 +0000)]
PR c++/14932
* parser.c (cp_parser_postfix_expression): Allow subscript
operator in offsetof.

PR c++/14932
* g++.dg/parse/offsetof4.C: New test.

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

18 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 1 Jun 2004 08:11:33 +0000 (08:11 +0000)]
2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Fix typo.
* Makefile.in: Regenerate.

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

18 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 1 Jun 2004 07:54:44 +0000 (07:54 +0000)]
2004-06-01  Paolo Bonzini <bonzini@gnu.org>

* configure.in: Remove new- prefix from toplevel
bootstrap targets.
* configure: Regenerate.

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

18 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 1 Jun 2004 07:43:25 +0000 (07:43 +0000)]
2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all.normal): Rename to all.
(all): Replace with a rule to pick the default
target from configure.
(all-gcc, configure-gcc): Use conditionals to
do nothing when toplevel bootstrap is going on.
(GCC directory bootstrap) [gcc-bootstrap]: Disable.
(Toplevel bootstrap) [gcc-no-bootstrap]: Disable.
* configure.in: Support --enable-bootstrap.

* Makefile.def: Remove new- prefix from toplevel
bootstrap targets.
* Makefile.tpl: Likewise.

* Makefile.def: Add bootstrap_stage 4.  Add bootstrap2
target.

* Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS)
$(RECURSE_FLAGS) to recursive invocation of make.

* Makefile.in: Regenerate.
* configure: Regenerate.

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

18 years ago * stmt.c (expand_decl): Be more selective about calling
law [Tue, 1 Jun 2004 07:42:35 +0000 (07:42 +0000)]
    * stmt.c (expand_decl): Be more selective about calling
        mark_reg_pointer.

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

18 years ago2004-06-01 Nicola Pero <nicola@brainstorm.co.uk>
zack [Tue, 1 Jun 2004 07:40:02 +0000 (07:40 +0000)]
2004-06-01  Nicola Pero  <nicola@brainstorm.co.uk>

  Fix PR objc/7993:
* objc-act.c (is_private): Do not emit the 'instance variable %s
is declared private' error.
(is_public): Emit the error after calling is_private.
(lookup_objc_ivar): If the instance variable is private, return 0
- the instance variable is invisible here.
testsuite:
* objc.dg/private-1.m, objc-dg/private-2.m: New testcases.

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

18 years ago * doc/invoke.texi (-static-libgcc): Explicitly mention
ebotcazou [Tue, 1 Jun 2004 07:13:51 +0000 (07:13 +0000)]
* doc/invoke.texi (-static-libgcc): Explicitly mention
non-GNU linkers.

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

18 years ago * config.h.in: Regenerated.
aj [Tue, 1 Jun 2004 05:43:27 +0000 (05:43 +0000)]
* config.h.in: Regenerated.
* testsuite/Makefile.in: Regenerated.

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

18 years ago * configure.in: Handle multilibs, support
aj [Tue, 1 Jun 2004 05:21:07 +0000 (05:21 +0000)]
* configure.in: Handle multilibs, support
--enable-version-specific-runtime-libs.
* Makefile.am (lib_LTLIBRARIES): Rename to ...
        (toolexeclib_LTLIBRARIES): this for multilib support.
* Makefile.in: Regenerated.
* configure: Regenerated.
* aclocal.m4: Regenerated.

* testsuite/lib/libmudflap.exp (libmudflap-init): Handle
multilibs, using multilib directory instead of hardcoded path.
Set LD_RUN_PATH.

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

18 years agoDaily bump.
gccadmin [Tue, 1 Jun 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago2004-06-01 Mark Wielaard <mark@klomp.org>
mkoch [Mon, 31 May 2004 23:03:01 +0000 (23:03 +0000)]
2004-06-01  Mark Wielaard  <mark@klomp.org>

* gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
Implement by calling gtkRequestFocus.
(gtkRequestFocus): New native method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
Renamed to ...
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
New function name.
(filter_expose_event_handler):
Mark static.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
(menu_pos): Mark static.

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