]> gcc.gnu.org Git - gcc.git/log
gcc.git
20 years agoobjc-act.c (build_objc_string_object): Mark the address expression as constant.
Andrew Pinski [Thu, 5 Aug 2004 18:06:23 +0000 (18:06 +0000)]
objc-act.c (build_objc_string_object): Mark the address expression as constant.

2004-08-05  Andrew Pinski  <apinski@apple.com>

        * objc/objc-act.c (build_objc_string_object): Mark the address
        expression as constant.

From-SVN: r85609

20 years agoBasicPermission.java: Don't check wildcards.
Andrew Haley [Thu, 5 Aug 2004 17:51:11 +0000 (17:51 +0000)]
BasicPermission.java: Don't check wildcards.

2004-08-04  Andrew Haley  <aph@redhat.com>

        * java/security/BasicPermission.java: Don't check wildcards.

From-SVN: r85608

20 years ago* gcc.dg/sh4a-fprun.c: Fix dg-do typo.
David Edelsohn [Thu, 5 Aug 2004 17:37:02 +0000 (17:37 +0000)]
* gcc.dg/sh4a-fprun.c: Fix dg-do typo.

From-SVN: r85605

20 years agors6000.c (rs6000_rtx_costs): Fix mask_operand and mask64_operand thinkos.
David Edelsohn [Thu, 5 Aug 2004 17:05:48 +0000 (13:05 -0400)]
rs6000.c (rs6000_rtx_costs): Fix mask_operand and mask64_operand thinkos.

* config/rs6000/rs6000.c (rs6000_rtx_costs): Fix mask_operand
and mask64_operand thinkos.  Handle ZERO_EXTRACT.  Handle
SIGN_EXTEND / ZERO_EXTEND of MEM.  Handle rlwinm patterns.

From-SVN: r85604

20 years agolinux.h, [...]: Remove definitions conditioned on USE_GNULIBC_1 or conditioned out...
Joseph Myers [Thu, 5 Aug 2004 09:12:12 +0000 (10:12 +0100)]
linux.h, [...]: Remove definitions conditioned on USE_GNULIBC_1 or conditioned out...

* config/linux.h, config/i386/linux.h, config/sparc/linux.h:
Remove definitions conditioned on USE_GNULIBC_1 or conditioned
out, and associated obsolete comments.

From-SVN: r85600

20 years agotree.h (force_fit_type): Return a tree, take three flags.
Nathan Sidwell [Thu, 5 Aug 2004 09:03:42 +0000 (09:03 +0000)]
tree.h (force_fit_type): Return a tree, take three flags.

* tree.h (force_fit_type): Return a tree, take three flags.
* fold-const.c (force_fit_type): Set TREE_OVERFLOW and
TREE_CONSTANT_OVERFLOW here.
(int_const_binop, const_binop): Adjust.
(size_int_type): Do sign extension here.
(fold_convert_const, optimize_bit_field_compare,
decode_field_reference, all_ones_mask_p, fold_div_compare, fold,
fold_negate_const, fold_abs_const, fold_not_const): Adjust.
* tree.c (size_in_bytes, int_fits_type_p): Adjust.

* cp/cvt.c (cp_convert_to_pointer): Adjust force_fit_type call.

* java/jcf-parse.c (get_constant): Adjust force_fit_type call.
* java/lex.h (SET_LVAL_NODE_TYPE): Remove.
* java/lex.c (java_perform_atof): Use SET_LVAL_NODE directly.
(do_java_lex): Likewise. Adjust force_fit_type call.

From-SVN: r85599

20 years agore PR tree-optimization/16864 (Segmentation fault during tree tail call elimination)
Zdenek Dvorak [Thu, 5 Aug 2004 08:41:57 +0000 (10:41 +0200)]
re PR tree-optimization/16864 (Segmentation fault during tree tail call elimination)

PR tree-optimization/16864
* tree-tailcall.c (eliminate_tail_call): Do not create phi nodes
for ssa names without default_def.

From-SVN: r85597

20 years agoCommit for Victor Leikehman <lei@il.ibm.com>
Victor Leikehman [Thu, 5 Aug 2004 08:37:42 +0000 (08:37 +0000)]
Commit for Victor Leikehman  <lei@il.ibm.com>

PR libgfortran/16704
* io/read.c (read_radix): Understand letters f and F as hex digits.

From-SVN: r85596

20 years agoi386.c (ix86_expand_prologue): If the function uses a frame pointer, restore eax...
Richard Sandiford [Thu, 5 Aug 2004 07:13:56 +0000 (07:13 +0000)]
i386.c (ix86_expand_prologue): If the function uses a frame pointer, restore eax with an ebp-relative address.

* config/i386/i386.c (ix86_expand_prologue): If the function uses a
frame pointer, restore eax with an ebp-relative address.

From-SVN: r85595

20 years ago20020118-1.c: Declare abort.
Andrew Pinski [Thu, 5 Aug 2004 06:06:49 +0000 (06:06 +0000)]
20020118-1.c: Declare abort.

2004-08-04  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/20020118-1.c: Declare abort.
        * gcc.dg/altivec_check.h: Likewise.
        * gcc.dg/iftrap-2.c: Likewise.
        * gcc.dg/pragma-darwin.c: Likewise.
        * gcc.dg/rs6000-ldouble-1.c: Declare abort and exit.

From-SVN: r85594

20 years agore PR c/14516 (-fleading-underscore does not work correctly for file static variables)
Geoffrey Keating [Thu, 5 Aug 2004 05:52:01 +0000 (05:52 +0000)]
re PR c/14516 (-fleading-underscore does not work correctly for file static variables)

2004-08-04  Geoffrey Keating  <geoffk@apple.com>

PR 14516
* c-common.c (c_expand_decl): Don't special-case static VAR_DECLs.
* c-common.h (make_rtl_for_local_static): Delete.
* c-decl.c (shadow_tag_warned): Clean up comment.
(finish_decl): Clean up spacing.  Use set_user_assembler_name when
appropriate.  Don't pass asmspec to rest_of_decl_compilation.
* c-semantics.c (make_rtl_for_local_static): Delete.
* expr.c (init_block_move_fn): Use set_user_assembler_name.
(init_block_clear_fn): Likewise.
* passes.c (rest_of_decl_compilation): Remove asmspec parameter,
expect it to be in DECL_ASSEMBLER_NAME.  Update callers in many files.
* toplev.h (rest_of_decl_compilation): Remove asmspec parameter.
* tree.h (make_decl_rtl): Remove second parameter.
(set_user_assembler_name): New.
* varasm.c (set_user_assembler_name): New.
(make_decl_rtl): Remove second parameter.  Update callers in many
files.

Index: cp/ChangeLog
2004-08-04  Geoffrey Keating  <geoffk@apple.com>

* decl.c (make_rtl_for_nonlocal_decl): Set DECL_ASSEMBLER_NAME rather
than passing it as a parameter to rest_of_decl_compilation.
* decl2.c (grokfield): Use set_user_assembler_name.

From-SVN: r85593

20 years ago* g++.dg/ext/altivec_check.h: Declare exit as extern "C".
Geoffrey Keating [Thu, 5 Aug 2004 05:31:30 +0000 (05:31 +0000)]
* g++.dg/ext/altivec_check.h: Declare exit as extern "C".

From-SVN: r85592

20 years agoconfig.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0.
Adam Nemet [Thu, 5 Aug 2004 04:55:37 +0000 (04:55 +0000)]
config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0.

* config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0.
(case rs6000-*-lynxos*): Rename it to powerpc-*-lynxos*.  Update
to LynxOS 4.0.
* gthr-lynx.h: New file.
* config/lynx-ng.h: Remove file.
* config/lynx.h: Update to LynxOS 4.0.
* config/t-lynx: New file.
* config/i386/lynx-ng.h: Remove file.
* config/i386/lynx.h: Update to LynxOS 4.0.
* config/rs6000/lynxbase.h: Remove file.
* config/rs6000/lynx.h: Update to LynxOS 4.0.
* config/rs6000/t-lynx: New file.
* doc/install.texi (Options specification): Remove reference to
LynxOS from systems where --with-gnu-as makes a difference.

From-SVN: r85591

20 years agoc-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and __UINTMAX_TYPE__.
Joseph Myers [Thu, 5 Aug 2004 00:38:31 +0000 (01:38 +0100)]
c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and __UINTMAX_TYPE__.

* c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and
__UINTMAX_TYPE__.
* c-cppbuiltin.c (builtin_define_stdint_macros): New.  Define
__INTMAX_MAX__.
(c_cpp_builtins): Call it.
* doc/cpp.texi: Update.

testsuite:
* gcc.c-torture/execute/builtins/abs-2.c,
gcc.c-torture/execute/builtins/abs-3.c,
gcc.c-torture/execute/builtins/lib/abs.c, gcc.dg/format/format.h,
gcc.dg/torture/builtin-attr-1.c: Use predefined macros for
intmax_t, uintmax_t and their limits.
* gcc.dg/intmax_t-1.c: New test.

From-SVN: r85588

20 years agoDaily bump.
GCC Administrator [Thu, 5 Aug 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r85585

20 years agors6000.c (rs6000_rtx_costs): LABEL_REFs are zero cost.
David Edelsohn [Wed, 4 Aug 2004 23:38:34 +0000 (19:38 -0400)]
rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero cost.

        * config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero
        cost.

From-SVN: r85582

20 years ago* g++.dg/tc1/dr147.C: Add reference to PR.
Giovanni Bajo [Wed, 4 Aug 2004 23:36:53 +0000 (23:36 +0000)]
* g++.dg/tc1/dr147.C: Add reference to PR.

From-SVN: r85581

20 years agobasic-block.h (profile_staus): New global variable.
Jan Hubicka [Wed, 4 Aug 2004 21:37:06 +0000 (23:37 +0200)]
basic-block.h (profile_staus): New global variable.

* basic-block.h (profile_staus): New global variable.
* cfg.c (profile_status): Declare.
(check_bb_profile): Break out from ....; use profile_status
(dump_flow_info): ... here.
* cfgbuild.c (find_basic_blocks): Set profile_status.
* cfgexpand.c (tree_expand_cfg): Likewise.
* predict.c (estimate_probability): Likewise.
* profile.c (branch_prob): Likewise.
* tree-cfg.c (build_tree_cfg): Likewise.
(dump_function_to_file): Use check_bb_profile.
* tree-pretty-print (dump_bb_header): Likewise.
* tree-profile.c (do_tree_profiling): Cleanup.

From-SVN: r85579

20 years agofix typo
Jason Merrill [Wed, 4 Aug 2004 21:13:16 +0000 (17:13 -0400)]
fix typo

From-SVN: r85575

20 years agoMakefile.in (RTL_BASE_H, RTL_H): Correct.
Zack Weinberg [Wed, 4 Aug 2004 20:55:08 +0000 (20:55 +0000)]
Makefile.in (RTL_BASE_H, RTL_H): Correct.

* Makefile.in (RTL_BASE_H, RTL_H): Correct.
(BUILD_RTL): Remove $(BUILD_PREFIX) from ggc-none.o.
(genobjs): Add errors.o, ggc-none.o, and min-insn-modes.o.
(read-rtl.o, gensupport.o, genconfig.o, genflags.o, gencodes.o)
(genconstants.o, genemit.o, genopinit.o, genrecog.o, genextract.o)
(genpeep.o, genattr.o, genattrtab.o, genautomata.o, genoutput.o)
(genconditions.o): Depend on $(RTL_BASE_H) not $(RTL_H).
(ggc-none.o, errors.o): Move rule to generators section;
correct dependencies.
(min-insn-modes.o): Move rule to generators section; remove
unnecessary explicit command; correct dependencies.
(print-rtl.o, print-rtl1.o): Correct dependencies.
($(BUILD_PREFIX_1)errors.o. $(BUILD_PREFIX_1)ggc-none.o): Delete rule.
(mostlyclean): Update.

* errors.c: Include bconfig.h not config.h.  Correct comment.
* gengtype.c, genpreds.c: Don't define NO_GENRTL_H.
* ggc-none.c: Include bconfig.h; not config.h or tm.h.
* print-rtl.c: Don't include tm_p.h.

* rtl.h: Move forward-decl of struct function down where it's
needed.  Include genrtl.h #ifndef GENERATOR_FILE, not
#ifndef NO_GENRTL_H.  Remove unnecessary #ifdef BUFSIZ statements.

From-SVN: r85574

20 years agotree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.
Zdenek Dvorak [Wed, 4 Aug 2004 20:37:38 +0000 (22:37 +0200)]
tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.

* tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.
* tree-flow.h (rewrite_ssa_into_ssa): Declaration changed.
* tree-into-ssa.c (rewrite_ssa_into_ssa): Use new interface to
manipulate the duplicated ssa names.
* tree-ssanames.c (ssa_names_to_rewrite): New variable.
(marked_for_rewrite_p, any_marked_for_rewrite_p, mark_for_rewrite,
unmark_all_for_rewrite, marked_ssa_names, release_ssa_name_force):
New functions.
(release_ssa_name): Do not release ssa names that may have multiple
definitions.
* tree.h (release_ssa_name_force, mark_for_rewrite,
unmark_all_for_rewrite, marked_for_rewrite_p, any_marked_for_rewrite_p,
marked_ssa_names): Declare.
* tree-ssa-loop-ch.c (mark_defs_for_rewrite): Remove.
(duplicate_blocks): Remove call to mark_defs_for_rewrite.
Update call to rewrite_ssa_into_ssa.

Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r85572

20 years agodefaults.h (TARGET_DECLSPEC): New macro.
Mark Mitchell [Wed, 4 Aug 2004 19:37:19 +0000 (19:37 +0000)]
defaults.h (TARGET_DECLSPEC): New macro.

* defaults.h (TARGET_DECLSPEC): New macro.
* c-cppbuiltin.c (c_cpp_builtins): Handle TARGET_DECLSPEC.
* config/arm/pe.h (SUBTARGET_CPP_SPEC): Remove __declspec support.
* config/arm/symbian. (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
* config/i386/beof-elf.h (TARGET_OS_CPP_BUILTINS): Remove
__declspec support.
(TARGET_DECLSPEC): Define.
* config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Remove
__declspec support.
* config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): Remove
__declspec support.
(TARGET_DECLSPEC): Define.
* config/mcore/mcore.h (TARGET_CPU_CPP_BUILTINS): Remove
__declspec support.
* config/sh/symbian-pre.h (SUBTARGET_CPP_SPEC): Remove __declspec
support.
* doc/tm.texi (TARGET_DECLSPEC): Document.

* doc/extend.texi: Fix typo in comment.

From-SVN: r85571

20 years agoAdd missing ChangeLog entry
Mark Mitchell [Wed, 4 Aug 2004 19:32:34 +0000 (19:32 +0000)]
Add missing ChangeLog entry

From-SVN: r85570

20 years agoacinclude.m4: Correctly quote PKG_CHECK_MODULES.
Thomas Fitzsimmons [Wed, 4 Aug 2004 19:30:13 +0000 (19:30 +0000)]
acinclude.m4: Correctly quote PKG_CHECK_MODULES.

2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
    Michael Koch  <konqueror@gmx.de>

* acinclude.m4: Correctly quote PKG_CHECK_MODULES.
* configure.in: Replaced all usages of AC_LINK_FILES by
AC_CONFIG_LINKS.
* aclocal.m4,
configure: Regenerated.

Co-Authored-By: Michael Koch <konqueror@gmx.de>
From-SVN: r85569

20 years agomips-args-[23].c: Declare abort() and exit().
Richard Sandiford [Wed, 4 Aug 2004 19:12:58 +0000 (19:12 +0000)]
mips-args-[23].c: Declare abort() and exit().

* gcc.dg/mips-args-[23].c: Declare abort() and exit().
* gcc.dg/torture/mips-hilo-[12].c: Likewise.

From-SVN: r85567

20 years agoacconfig.h: Removed.
Thomas Fitzsimmons [Wed, 4 Aug 2004 18:02:00 +0000 (18:02 +0000)]
acconfig.h: Removed.

2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
    Michael Koch  <konqueror@gmx.de>

* acconfig.h: Removed.
* Makefile.am: Rename variables for xlib peer to include xlib and
gtk_c_headers to gtk_jni_headers.
* Makefile.in: Regenerated.

Co-Authored-By: Michael Koch <konqueror@gmx.de>
From-SVN: r85566

20 years agolibjava.exp (bytecompile_file): Byte compile with debugging.
Andrew Haley [Wed, 4 Aug 2004 16:49:21 +0000 (16:49 +0000)]
libjava.exp (bytecompile_file): Byte compile with debugging.

2004-08-04  Andrew Haley  <aph@redhat.com>

        * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
        debugging.

From-SVN: r85565

20 years agoFix typo.
Paul Brook [Wed, 4 Aug 2004 16:19:14 +0000 (16:19 +0000)]
Fix typo.

From-SVN: r85564

20 years agoconfigure.in (arm*-*-symbianelf*): Add ${libgcj} and target-libiberty to noconfigdirs.
Mark Mitchell [Wed, 4 Aug 2004 16:11:12 +0000 (16:11 +0000)]
configure.in (arm*-*-symbianelf*): Add ${libgcj} and target-libiberty to noconfigdirs.

* configure.in (arm*-*-symbianelf*): Add ${libgcj} and
target-libiberty to noconfigdirs.

From-SVN: r85563

20 years agodecl.c (complete_array_type): Don't gratuitously copy maxindex.
Nathan Sidwell [Wed, 4 Aug 2004 15:59:37 +0000 (15:59 +0000)]
decl.c (complete_array_type): Don't gratuitously copy maxindex.

* decl.c (complete_array_type): Don't gratuitously copy
maxindex. Its type is always set.

From-SVN: r85562

20 years agotarget-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define.
Paul Brook [Wed, 4 Aug 2004 15:33:51 +0000 (15:33 +0000)]
target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define.

gcc/
* target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define.
(TARGET_CXX): Use it.
* target.h (struct gcc_target): Add cdtor_returns_this.
* config/arm/arm.c (arm_cxx_cdtor_returns_this): New function.
(TARGET_CXX_CDTOR_RETURNS_THIS): Define.
* doc/tm.texi: Document TARGET_CXX_CDTOR_RETURNS_THIS.
gcc/cp/
* Make-lang.in (cp/semantics.o, cp/optimize.o): Depend on TARGET_H.
* cp-tree.h (struct language_function): Rename x_dtor_label to
x_cdtor_label.
(dtor_label): Rename ...
(cdtor_label): ... to this.
* decl.c (begin_constructor_body): Remove.
(check_special_function_return_type): Maybe change the return type.
(grokdeclarator): Pass the class type.
(start_preparsed_function): Constructors may need a return label.
(finish_constructor_body, finish_destructor_body): Set the return
value.
(begin_function_body): Don't call begin_constructor_body.
(finish_function): Don't warn for constructors or destructors.
(implicitly_declare_fn): Maybe change the return type.
* optimize.c: Include target.h.
(maybe_clone_body): Remap the function result.
* semantics.c: Include target.h.
(finish_return_stmt): Maybe jump to return label for constructors.

From-SVN: r85561

20 years agoconfigopts.html: Emphasize that options change.
Phil Edwards [Wed, 4 Aug 2004 14:40:48 +0000 (14:40 +0000)]
configopts.html: Emphasize that options change.

2004-08-04  Phil Edwards  <phil@codesourcery.com>

* docs/html/configopts.html:  Emphasize that options change.
* docs/html/17_intro/configury.html:  Update links.

From-SVN: r85560

20 years agoc-lex.c (narrowest_unsigned_type, [...]): Take low/high pair.
Nathan Sidwell [Wed, 4 Aug 2004 14:38:27 +0000 (14:38 +0000)]
c-lex.c (narrowest_unsigned_type, [...]): Take low/high pair.

* c-lex.c (narrowest_unsigned_type, narrowest_signed_type): Take
low/high pair. Do range checking directly.
(interpret_integer): Adjust.

From-SVN: r85559

20 years ago* libgfortran.h (array_t, size0) New declarations.
Victor Leikehman [Wed, 4 Aug 2004 14:30:46 +0000 (14:30 +0000)]
* libgfortran.h (array_t, size0) New declarations.

* m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
space if return value descriptor has NULL in its data field,
and initialize bounds and stride.
* intrinsics/size.c (array_t, size0): Declarations moved to
libgfortran.h.
* generated/*.c: Regenerate.

From-SVN: r85558

20 years agoconfig/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the GCC ABI.
Nick Clifton [Wed, 4 Aug 2004 13:54:51 +0000 (13:54 +0000)]
config/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the GCC ABI.

doc/invoke.texi: Document this new switch and also the -mrenesas switch.

From-SVN: r85557

20 years agogcc_update: libjava/configure.ac -> configure.in.
Paolo Bonzini [Wed, 4 Aug 2004 12:08:09 +0000 (12:08 +0000)]
gcc_update: libjava/configure.ac -> configure.in.

2004-08-04  Paolo Bonzini  <gcc@gcc.gnu.org>

* gcc_update: libjava/configure.ac -> configure.in.  Automake
1.4 does not handle configure.ac properly.

From-SVN: r85556

20 years agoReverted renaming of configure.in to configure.ac, has to wait
Paolo Bonzini [Wed, 4 Aug 2004 12:05:07 +0000 (12:05 +0000)]
Reverted renaming of configure.in to configure.ac, has to wait
for updating of automake.

From-SVN: r85555

20 years agocfglayout.c (insn_locators_initialize): Update the current location before initializi...
Nathan Sidwell [Wed, 4 Aug 2004 11:30:31 +0000 (11:30 +0000)]
cfglayout.c (insn_locators_initialize): Update the current location before initializing a location.

* cfglayout.c (insn_locators_initialize): Update the current
location before initializing a location.

From-SVN: r85554

20 years agotypeck.c (convert_ieee_real_to_integer): Call fold on the range checking trees as...
Roger Sayle [Wed, 4 Aug 2004 11:13:07 +0000 (11:13 +0000)]
typeck.c (convert_ieee_real_to_integer): Call fold on the range checking trees as they're being built.

2004-08-04  Roger Sayle  <roger@eyesopen.com>
            Andrew Haley  <aph@redhat.com>

        * typeck.c (convert_ieee_real_to_integer): Call fold on the range
        checking trees as they're being built.
        (convert): Call convert_ieee_real_to_integer if we're
        converting a constant, even if we're writing a class file.

Co-Authored-By: Andrew Haley <aph@redhat.com>
From-SVN: r85553

20 years ago* gcc_update: libjava/configure.in -> configure.ac.
Andreas Schwab [Wed, 4 Aug 2004 11:01:10 +0000 (11:01 +0000)]
* gcc_update: libjava/configure.in -> configure.ac.

From-SVN: r85552

20 years agoconfigure.ac: New name of...
Paolo Bonzini [Wed, 4 Aug 2004 09:57:09 +0000 (09:57 +0000)]
configure.ac: New name of...

2004-08-04  Paolo Bonzini  <bonzini@gnu.org>

        * configure.ac: New name of...
* configure.in: ... this file.

From-SVN: r85551

20 years agoCorrect PR numbers
Zack Weinberg [Wed, 4 Aug 2004 07:25:19 +0000 (07:25 +0000)]
Correct PR numbers

From-SVN: r85547

20 years agodbxout.c (dbxout_function_decl): Always call dbxout_function_end.
Zack Weinberg [Wed, 4 Aug 2004 07:23:14 +0000 (07:23 +0000)]
dbxout.c (dbxout_function_decl): Always call dbxout_function_end.

* dbxout.c (dbxout_function_decl): Always call dbxout_function_end.
(dbxout_function_end): Return after emitting the "Lscope" symbol
under the same conditions that this function formerly wasn't called.
Add explanatory comments.

From-SVN: r85546

20 years agore PR target/14680 (reload_cse_simplify_operands triggers internal error on sparc64...
Zack Weinberg [Wed, 4 Aug 2004 06:33:07 +0000 (06:33 +0000)]
re PR target/14680 (reload_cse_simplify_operands triggers internal error on sparc64 when compiling netpbm)

PR 14680
* c-decl.c (record_builtin_type): Call debug_hooks->type_decl
on the new decl.

From-SVN: r85545

20 years agore PR c++/13596 (value of __cplusplus)
Zack Weinberg [Wed, 4 Aug 2004 06:32:01 +0000 (06:32 +0000)]
re PR c++/13596 (value of __cplusplus)

PR 13596
* dbxout.c (dbx_output_lbrac, dbx_output_rbrac): New
functions, broken out of dbxout_block.
(dbxout_block): The block at depth 0 should get LBRAC/RBRAC
stabs too, if it contains symbols.  Use the begin_label and
the Lscope label (emitted by dbxout_function_end) for the
range of this block.

From-SVN: r85544

20 years agoclass.c (build_vtable): Do not set DECL_VISIBILITY here.
Mark Mitchell [Wed, 4 Aug 2004 05:27:52 +0000 (05:27 +0000)]
class.c (build_vtable): Do not set DECL_VISIBILITY here.

* class.c (build_vtable): Do not set DECL_VISIBILITY here.
(check_field_decls): Or here.
(check_methods): Or here.
(initialize_array): Don't mess with DECL_CONTEXT.
* cp-tree.h (start_decl): Adjust prototype.
(determine_visibility): New function.
* decl.c (duplicate_decls): Remove checks for hidden "operator
new".
(build_library_fn_1): Give all library functions default
visibility.
(start_decl): Add pop_scope_p parameter.  Tidy.
(cp_finish_decl): Do not pop scopes here.  Call
determine_visibility for variable definitions.
(start_preparsed_function): Call determine_visibility.
* decl2.c (determine_visibility): New function.
* method.c (use_thunk): Fix formatting.
* parser.c (cp_parser_condition): Adjust calls to start_decl.
(cp_parser_init_declarator): Likewise.
* pt.c (instantiate_decl): Always call pop_nested_class.
* rtti.c (get_tinfo_decl): Do not set DECL_VISIBILITY.
(tinfo_base_init): Likewise.

* g++.dg/ext/visibility/assign1.C: New test.
* g++.dg/ext/visibility/new1.C: Likewise.

From-SVN: r85543

20 years agoconfigure.in: Eliminate uses of changequote (mostly by quoting []).
Nathanael Nerode [Wed, 4 Aug 2004 02:52:53 +0000 (02:52 +0000)]
configure.in: Eliminate uses of changequote (mostly by quoting []).

* configure.in: Eliminate uses of changequote (mostly by quoting []).
Replace most top level 'dnl' comments with '#' comments, conforming
to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
help strings.
* configure: Rebuilt.

From-SVN: r85540

20 years ago* gcc.dg/compat/struct-layout-1.exp: Fix error message typo.
David Edelsohn [Wed, 4 Aug 2004 01:43:30 +0000 (01:43 +0000)]
* gcc.dg/compat/struct-layout-1.exp: Fix error message typo.

From-SVN: r85538

20 years ago* doc/install.texi: Update autoconf version requirements.
Nathanael Nerode [Wed, 4 Aug 2004 00:19:30 +0000 (00:19 +0000)]
* doc/install.texi: Update autoconf version requirements.

From-SVN: r85536

20 years agoDaily bump.
GCC Administrator [Wed, 4 Aug 2004 00:16:44 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r85534

20 years agodefaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition.
Zack Weinberg [Tue, 3 Aug 2004 23:37:34 +0000 (23:37 +0000)]
defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition.

* defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition.
* recog.c (general_operand, immediate_operand, nonmemory_operand)
(asm_operand_ok): Remove #ifdefs on LEGITIMATE_PICOPERAND_P.
* regclass.c (record_reg_classes): Likewise.
* reload.c (find_reloads): Likewise.
* reload1.c (reload): Likewise.

From-SVN: r85512

20 years agogensupport.c (init_md_reader_args_cb): Renamed from init_md_reader_args.
Zack Weinberg [Tue, 3 Aug 2004 23:30:45 +0000 (23:30 +0000)]
gensupport.c (init_md_reader_args_cb): Renamed from init_md_reader_args.

* gensupport.c (init_md_reader_args_cb): Renamed from
init_md_reader_args.  Add third option, callback function for
parsing program-specific options.  Add diagnosis of incorrect
number of input files.
(init_md_reader): Fold into init_md_reader_args_cb.
(init_md_reader_args): Now a thin wrapper around
init_md_reader_args_cb.
* gensupport.h: Update prototypes.

* genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c
* genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c
* genrecog.c: No need to diagnose lack of an input file;
init_md_reader_args will handle it.
* genconditions.c: Likewise, and use init_md_reader_args.
* genconstants.c: Likewise, and no need to call read_md_rtx.

From-SVN: r85511

20 years agoc-decl.c (implicitly_declare): Diagnose incompatible implicit declarations.
Joseph Myers [Tue, 3 Aug 2004 22:09:13 +0000 (23:09 +0100)]
c-decl.c (implicitly_declare): Diagnose incompatible implicit declarations.

* c-decl.c (implicitly_declare): Diagnose incompatible implicit
declarations.

testsuite:
* gcc.dg/redecl-5.c: New test.
* gcc.dg/format/attr-6.c: Expect warning for implicit declaration
of scanf.

From-SVN: r85509

20 years agomaintainer-scripts (snapshot_print): New function.
Kelley Cook [Tue, 3 Aug 2004 21:42:18 +0000 (21:42 +0000)]
maintainer-scripts (snapshot_print): New function.

2004-08-03 Kelley Cook  <kcook@gcc.gnu.org>

* maintainer-scripts (snapshot_print): New function.
(announce_snapshot): Generate announcment on the fly.
Use a directory link for LATEST.
* snapshot-README: Delete.
* snapshot-index.html: Delete.

From-SVN: r85508

20 years agodarwin-c.c: Don't search in "/Local/Library/Frameworks" for frameworks.
Mike Stump [Tue, 3 Aug 2004 21:26:16 +0000 (21:26 +0000)]
darwin-c.c: Don't search in "/Local/Library/Frameworks" for frameworks.

* config/darwin-c.c: Don't search in "/Local/Library/Frameworks"
for frameworks.
* doc/invoke.texi (Darwin Options): Update to reflect above.

From-SVN: r85507

20 years agore PR middle-end/16790 (Integer down cast ignored in larger expression)
Roger Sayle [Tue, 3 Aug 2004 21:24:32 +0000 (21:24 +0000)]
re PR middle-end/16790 (Integer down cast ignored in larger expression)

PR middle-end/16790
* fold-const.c (extract_muldiv_1) <NOP_EXPR>: Disallow local
truncations, not just global truncations.

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

From-SVN: r85506

20 years agosymbian1.c: New test.
Mark Mitchell [Tue, 3 Aug 2004 21:20:36 +0000 (21:20 +0000)]
symbian1.c: New test.

* gcc.dg/symbian1.c: New test.
* gcc.dg/symbian2.c: Likewise.

From-SVN: r85505

20 years agore PR bootstrap/16865 (False alarm about use of uninitialized variable breaks bootstr...
Andrew Pinski [Tue, 3 Aug 2004 21:13:15 +0000 (14:13 -0700)]
re PR bootstrap/16865 (False alarm about use of uninitialized variable breaks bootstrap at -O3)

2004-08-03  Andrew Pinski  <apinski@apple.com>

        PR bootstrap/16865
        * loop-iv.c (simplify_using_assignment): Initialize lhs.

From-SVN: r85504

20 years agoconfigure.in: Check for MPFR as well as GMP.
Paul Brook [Tue, 3 Aug 2004 21:11:29 +0000 (21:11 +0000)]
configure.in: Check for MPFR as well as GMP.

* configure.in: Check for MPFR as well as GMP.
* configure: Regenerate.
* gcc/doc/install.texi: Document MPFR requirement.

From-SVN: r85503

20 years agoRevert bogus portion of previous commit
Nathanael Nerode [Tue, 3 Aug 2004 20:52:01 +0000 (20:52 +0000)]
Revert bogus portion of previous commit

From-SVN: r85502

20 years agoconfigure.in: Turn mt-linux into mt-gnu.
Robert Millan [Tue, 3 Aug 2004 20:48:48 +0000 (20:48 +0000)]
configure.in: Turn mt-linux into mt-gnu.

ChangeLog:

2004-08-01  Robert Millan  <robertmh@gnu.org>

* configure.in: Turn mt-linux into mt-gnu. Use mt-gnu and enable
libmudflap for all GNU-based systems (with Glibc).
* configure: Regenerate.

config/ChangeLog:

2004-08-01  Robert Millan  <robertmh@gnu.org>

* mt-linux: Rename to ...
* mt-gnu: ... this.

libffi/ChangeLog:

2004-08-01  Robert Millan  <robertmh@gnu.org>

* configure.ac: Detect knetbsd-gnu and kfreebsd-gnu.
* configure: Regenerate.

From-SVN: r85501

20 years agoacinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap() explicitly...
Maciej W. Rozycki [Tue, 3 Aug 2004 20:36:23 +0000 (20:36 +0000)]
acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap() explicitly instead of relying on preset...

2004-07-30  Maciej W. Rozycki  <macro@linux-mips.org>

* acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
and mmap() explicitly instead of relying on preset autoconf cache
variables.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r85500

20 years agoRemove spurious conflict marker
Nathanael Nerode [Tue, 3 Aug 2004 20:33:52 +0000 (20:33 +0000)]
Remove spurious conflict marker

From-SVN: r85499

20 years agoaclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap() explicitly...
Maciej W. Rozycki [Tue, 3 Aug 2004 20:33:23 +0000 (20:33 +0000)]
aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap() explicitly instead of relying on preset...

2004-07-30  Maciej W. Rozycki  <macro@linux-mips.org>

* aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
and mmap() explicitly instead of relying on preset autoconf cache
variables.
* configure: Regenerate.

From-SVN: r85498

20 years agore PR target/16570 (missing _mm_malloc and _mm_free functions in xmmintrin.h)
H.J. Lu [Tue, 3 Aug 2004 19:52:52 +0000 (12:52 -0700)]
re PR target/16570 (missing _mm_malloc and _mm_free functions in xmmintrin.h)

gcc/

2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>

PR target/16570
* config.gcc (i[34567]86-*-* | x86_64-*-*): Add i386/t-gmm_malloc
to tmake_file.
(i[34567]86-*-linux*aout* | i[34567]86-*-linux*libc1): Likewise.
(i[34567]86-*-linux* | x86_64-*-linux*): Add i386/t-pmm_malloc
to tmake_file.

* config/i386/t-gmm_malloc: New file.
* config/i386/t-pmm_malloc: Likewise.

* config/i386/xmmintrin.h: Include <mm_malloc.h>.

2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>
    Tanguy Fautr�  <tfautre@pandora.be>

* config/i386/pmm_malloc.h: New file.

2004-08-03  Danny Smith  <dannysmith@users.sourceforge.net>

* config/i386/gmm_malloc.h: New file.

gcc/testsuite/

2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>

PR target/16570
* gcc.dg/i386-sse-9.c: New test.

From-SVN: r85496

20 years agoacinclude.m4: Include no-executables.m4.
Nathanael Nerode [Tue, 3 Aug 2004 19:40:56 +0000 (19:40 +0000)]
acinclude.m4: Include no-executables.m4.

* acinclude.m4: Include no-executables.m4.
* aclocal.m4: Rebuild.
* configure.in: Convert to the autoconf 2.59 version of
of the no-executables hack, and also of the nonstandard CXX
hack and the multilibbed CC and CXX hack.  Change prerequisite
to autoconf 2.59.
* configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
* Makefile.in, gcj/Makefile.in, include/Makefile.in,
testsuite/Makefile.in: Regenerate.

From-SVN: r85495

20 years agors6000.c (machopic_output_stub): Align Darwin stubs.
Dale Johannesen [Tue, 3 Aug 2004 18:23:35 +0000 (18:23 +0000)]
rs6000.c (machopic_output_stub): Align Darwin stubs.

2004-08-03  Dale Johannesen  <dalej@apple.com>

* config/rs6000/rs6000.c (machopic_output_stub):  Align Darwin stubs.
* c-common.c: Include opts.h.
(c_common_get_alias_set): Fix check for a single input file.
* toplev.c: Remove current_file_decl.
* tree.h: Ditto.

From-SVN: r85492

20 years ago* jni.cc: Reindented.
Tom Tromey [Tue, 3 Aug 2004 17:38:30 +0000 (17:38 +0000)]
* jni.cc: Reindented.

From-SVN: r85491

20 years agoconfig.gcc (arm*-*-symbianelf*): New target.
Mark Mitchell [Tue, 3 Aug 2004 17:38:09 +0000 (17:38 +0000)]
config.gcc (arm*-*-symbianelf*): New target.

* config.gcc (arm*-*-symbianelf*): New target.
* config/arm/symbian.h: New file.

From-SVN: r85490

20 years agogthr-gnat.c: Add visibility #pragmas.
Mark Mitchell [Tue, 3 Aug 2004 16:57:40 +0000 (16:57 +0000)]
gthr-gnat.c: Add visibility #pragmas.

* gthr-gnat.c: Add visibility #pragmas.
* gthr-gnat.h : Likewise.
* gthr.h: Likewise.
* libgcc2.c (__ffsSI2): Move prototype to libgcc2.h.
(__ffsDI2): Likewise.
(__clzSI2): Likewise.
(__ctzSI2): Likewise.
(__ctzDI2): Likewise.
(__popcountSI2): Likewise.
(__popcountDI2): Likewise.
(__paritySI2): Likewise.
(__parityDI2): Likewise.
* libgcc2.h: Add visibility #pragmas.
(__clzDI2): Add prototype.
(__clzSI2): Likewise.
(__ctzSI2): Likewise.
(__ffsDI2): Likewise.
(__ffsSI2): Likewise.
(__ctzDI2): Likewise.
(__popcountSI2): Likewise.
(__popcountDI2): Likewise.
(__paritySI2): Likewise.
(__parityDI2): Likewise.
* unwind-dw2-fde.h: Add visibility #pragmas.
* unwind.h: Likewise.

From-SVN: r85489

20 years agors6000.c (rs6000_rtx_costs): Calculate cost of constants more accurately.
David Edelsohn [Tue, 3 Aug 2004 15:31:38 +0000 (15:31 +0000)]
rs6000.c (rs6000_rtx_costs): Calculate cost of constants more accurately.

        * config/rs6000/rs6000.c (rs6000_rtx_costs): Calculate cost of
        constants more accurately.  Adjust costs for FMA instructions.
        Add cases for most logical and float operations.  Recurse into
        most operands.

Co-Authored-By: Dale Johannesen <dalej@apple.com>
Co-Authored-By: Roger Sayle <roger@eyesopen.com>
From-SVN: r85488

20 years ago* config.gcc (strongarm-*, xscale-*): Add t-arm to tmake_files.
Richard Earnshaw [Tue, 3 Aug 2004 15:22:03 +0000 (15:22 +0000)]
* config.gcc (strongarm-*, xscale-*): Add t-arm to tmake_files.

From-SVN: r85487

20 years agora-build.c (conflicts_between_webs): For webs that cross a call add conflicts to...
Pat Haugen [Tue, 3 Aug 2004 15:00:49 +0000 (15:00 +0000)]
ra-build.c (conflicts_between_webs): For webs that cross a call add conflicts to regs_invalidated_by_call.

2004-08-03  Pat Haugen  <pthaugen@us.ibm.com>

        * ra-build.c (conflicts_between_webs): For webs that cross a call add
        conflicts to regs_invalidated_by_call.

From-SVN: r85482

20 years ago* config/arm/arm.c (emit_sfm): Only emit a single frame adjustment.
Paul Brook [Tue, 3 Aug 2004 14:30:46 +0000 (14:30 +0000)]
* config/arm/arm.c (emit_sfm): Only emit a single frame adjustment.

From-SVN: r85480

20 years ago* gcc.dg/array-7.c, gcc.dg/c99-tag-2.c: New tests.
Joseph Myers [Tue, 3 Aug 2004 14:19:39 +0000 (15:19 +0100)]
* gcc.dg/array-7.c, gcc.dg/c99-tag-2.c: New tests.

From-SVN: r85479

20 years agomf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.
Dale Johannesen [Tue, 3 Aug 2004 14:19:26 +0000 (14:19 +0000)]
mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.

2004-08-03  Dale Johannesen  <dalej@apple.com>

         * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.

From-SVN: r85478

20 years agocoverage.c (tree_coverage_counter_ref): Fix computation of the new ARRAY_REF argument.
Jan Hubicka [Tue, 3 Aug 2004 14:05:15 +0000 (16:05 +0200)]
coverage.c (tree_coverage_counter_ref): Fix computation of the new ARRAY_REF argument.

* coverage.c (tree_coverage_counter_ref): Fix computation of the new
ARRAY_REF argument.

From-SVN: r85477

20 years agoarm-cores.def: Sort by architecture.
Richard Earnshaw [Tue, 3 Aug 2004 13:52:49 +0000 (13:52 +0000)]
arm-cores.def: Sort by architecture.

* arm-cores.def: Sort by architecture.  Add arm946es, arm966es,
arm968es, arm10e, arm1020e, arm1022e.
* invoke.texi: Update list of ARM cores.
* arm-tune.md: Regenerate.

From-SVN: r85476

20 years agomf-runtime.c (compare_uintptr_t): Remove function.
Frank Ch. Eigler [Tue, 3 Aug 2004 13:40:21 +0000 (13:40 +0000)]
mf-runtime.c (compare_uintptr_t): Remove function.

2004-08-03  Frank Ch. Eigler  <fche@redhat.com>

* mf-runtime.c (compare_uintptr_t): Remove function.  Inline
simplified contents in all former callers.

From-SVN: r85475

20 years ago* gcc_update: gcc/config/arm/arm-tune.md -> arm-cores.def gentune.sh.
Richard Earnshaw [Tue, 3 Aug 2004 13:35:47 +0000 (13:35 +0000)]
* gcc_update: gcc/config/arm/arm-tune.md -> arm-cores.def gentune.sh.

From-SVN: r85474

20 years agore PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran...
Roger Sayle [Tue, 3 Aug 2004 13:28:26 +0000 (13:28 +0000)]
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)

PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.

* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.

From-SVN: r85473

20 years agogentune.sh: New file.
Richard Earnshaw [Tue, 3 Aug 2004 13:27:02 +0000 (13:27 +0000)]
gentune.sh: New file.

* arm/gentune.sh: New file.
* arm/t-arm: New file.
* arm/arm-tune.md: New file (autogenerated).
* config.gcc (arm*-*-*): Add t-arm to tmake_file for all variants.
* arm.md (attribute tune): Delete.  Include arm-tune.md.

From-SVN: r85472

20 years agolist.tcc: Trivial formatting fixes.
Paolo Carlini [Tue, 3 Aug 2004 10:11:31 +0000 (10:11 +0000)]
list.tcc: Trivial formatting fixes.

2004-08-03  Paolo Carlini  <pcarlini@suse.de>

* include/bits/list.tcc: Trivial formatting fixes.

From-SVN: r85470

20 years agogcc.c (add_prefix, [...]): Remove penultimate parameter.
Paolo Bonzini [Tue, 3 Aug 2004 09:38:08 +0000 (09:38 +0000)]
gcc.c (add_prefix, [...]): Remove penultimate parameter.

2004-08-03  Paolo Bonzini <bonzini@gnu.org>

* gcc.c (add_prefix, add_sysrooted_prefix): Remove
penultimate parameter.  All callers adjusted.
(struct prefix_list): Remove used_flag_ptr.
(find_a_file): Do not set *pl->used_flag_ptr.
(warn_B, warn_std_ptr): Remove.

From-SVN: r85469

20 years agoMakefile.def (host-modules): Add gcc.
Paolo Bonzini [Tue, 3 Aug 2004 09:35:46 +0000 (09:35 +0000)]
Makefile.def (host-modules): Add gcc.

2004-08-03 Paolo Bonzini <bonzini@gnu.org>

* Makefile.def (host-modules): Add gcc.
* Makefile.in: Regenerate.
* Makefile.tpl (sorry): New rule.
(configure-host, all-host, [+make_target+]-host, do-check,
install-host): Do not add gcc as a special case.
(host modules): Add a small special-casing for gcc.  Export
extra_make_flags through the environment.
(maybe-configure-gcc, configure-gcc, maybe-all-gcc, all-gcc,
maybe-check-gcc, check-gcc, maybe-install-gcc, install-gcc,
other recursive targets for gcc): Remove.

(all, do-[+make_target+], do-check): Wrap between unstage and stage.
(stage, unstage): New rules.
(stage[+id+]-start, stage[+id+]-end, [+compare-target+],
distclean-stage[+id+]): Use stage_current.
([+bootstrap-target+], profiledbootstrap): Do not invoke manually
the stage*-start rules.

From-SVN: r85468

20 years agoaltivec.md (altivec_vnmsubfp): Fix wrong pattern.
Yossi Markovich [Tue, 3 Aug 2004 09:31:47 +0000 (09:31 +0000)]
altivec.md (altivec_vnmsubfp): Fix wrong pattern.

        * config/rs6000/altivec.md (altivec_vnmsubfp): Fix wrong pattern.

[[Split portion of a mixed commit.]]

Co-Authored-By: Mostafa Hagog <mustafa@il.ibm.com>
From-SVN: r85466.2

20 years ago20001023-1.c, [...]: Declare built-in functions used.
Joseph Myers [Tue, 3 Aug 2004 08:22:26 +0000 (09:22 +0100)]
20001023-1.c, [...]: Declare built-in functions used.

* gcc.dg/20001023-1.c, gcc.dg/20001108-1.c, gcc.dg/20001117-1.c,
gcc.dg/20010202-1.c, gcc.dg/20011008-2.c, gcc.dg/20011214-1.c,
gcc.dg/20020201-1.c, gcc.dg/20020312-2.c, gcc.dg/20020426-2.c,
gcc.dg/20030331-2.c, gcc.dg/20030612-1.c, gcc.dg/20030926-1.c,
gcc.dg/20031216-1.c, gcc.dg/20031218-3.c, gcc.dg/20040305-2.c,
gcc.dg/980226-1.c, gcc.dg/Wreturn-type2.c,
gcc.dg/Wunreachable-6.c, gcc.dg/Wunreachable-7.c,
gcc.dg/align-1.c, gcc.dg/builtin-prefetch-1.c,
gcc.dg/builtins-17.c, gcc.dg/builtins-19.c, gcc.dg/builtins-2.c,
gcc.dg/builtins-20.c, gcc.dg/builtins-21.c, gcc.dg/builtins-7.c,
gcc.dg/builtins-8.c, gcc.dg/cpp/19930510-1.c,
gcc.dg/cpp/charconst-3.c, gcc.dg/cpp/charconst-4.c,
gcc.dg/cpp/mi6.c, gcc.dg/cpp/tr-paste.c, gcc.dg/cpp/trad/mi6.c,
gcc.dg/cpp/trad/paste.c, gcc.dg/cpp/trad/strify.c,
gcc.dg/fastmath-1.c, gcc.dg/fshort-wchar.c, gcc.dg/i386-387-7.c,
gcc.dg/i386-387-8.c, gcc.dg/i386-asm-1.c, gcc.dg/i386-cadd.c,
gcc.dg/i386-fpcvt-3.c, gcc.dg/i386-loop-3.c,
gcc.dg/i386-memset-1.c, gcc.dg/loop-2.c, gcc.dg/nest.c,
gcc.dg/noncompile/971104-1.c, gcc.dg/noncompile/990416-1.c,
gcc.dg/noncompile/scope.c, gcc.dg/pack-test-4.c,
gcc.dg/pack-test-5.c, gcc.dg/pch/inline-4.c, gcc.dg/postincr-1.c,
gcc.dg/pr10392-1.c, gcc.dg/pragma-align.c,
gcc.dg/profile-generate-1.c, gcc.dg/sibcall-1.c,
gcc.dg/sibcall-2.c, gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c,
gcc.dg/sibcall-5.c, gcc.dg/sibcall-6.c, gcc.dg/switch-warn-1.c,
gcc.dg/switch-warn-2.c, gcc.dg/torture/builtin-attr-1.c,
gcc.dg/torture/builtin-math-1.c, gcc.dg/torture/builtin-noret-2.c,
gcc.dg/trampoline-1.c, gcc.dg/tree-ssa/20030703-1.c,
gcc.dg/tree-ssa/20030703-2.c, gcc.dg/tree-ssa/20030708-1.c,
gcc.dg/tree-ssa/20030709-3.c, gcc.dg/tree-ssa/20030710-1.c,
gcc.dg/tree-ssa/20030711-1.c, gcc.dg/tree-ssa/20030729-1.c,
gcc.dg/tree-ssa/20030730-1.c, gcc.dg/tree-ssa/20030730-2.c,
gcc.dg/tree-ssa/20030731-1.c, gcc.dg/tree-ssa/20030807-11.c,
gcc.dg/tree-ssa/20030807-2.c, gcc.dg/tree-ssa/20030807-5.c,
gcc.dg/tree-ssa/20030807-7.c, gcc.dg/tree-ssa/20030808-1.c,
gcc.dg/tree-ssa/20030814-1.c, gcc.dg/tree-ssa/20030814-2.c,
gcc.dg/tree-ssa/20030814-3.c, gcc.dg/tree-ssa/20030814-4.c,
gcc.dg/tree-ssa/20030814-5.c, gcc.dg/tree-ssa/20030814-6.c,
gcc.dg/tree-ssa/20030814-7.c, gcc.dg/tree-ssa/20030815-1.c,
gcc.dg/tree-ssa/20030907-1.c, gcc.dg/tree-ssa/20030917-3.c,
gcc.dg/tree-ssa/20030922-1.c, gcc.dg/tree-ssa/20031113-1.c,
gcc.dg/tree-ssa/20040121-1.c, gcc.dg/tree-ssa/20040319-1.c,
gcc.dg/tree-ssa/20040324-1.c, gcc.dg/tree-ssa/20040326-1.c,
gcc.dg/tree-ssa/20040326-2.c, gcc.dg/tree-ssa/20040517-1.c,
gcc.dg/tree-ssa/ssa-ccp-10.c, gcc.dg/tree-ssa/ssa-pre-1.c,
gcc.dg/tree-ssa/tailcall-1.c, gcc.dg/tree-ssa/tailrecursion-5.c,
gcc.dg/ultrasp3.c, gcc.dg/winline-7.c, gcc.misc-tests/bprob-1.c,
gcc.misc-tests/bprob-2.c, gcc.misc-tests/gcov-3.c,
gcc.misc-tests/gcov-4.c, gcc.misc-tests/gcov-4b.c,
gcc.misc-tests/gcov-6.c, gcc.misc-tests/gcov-7.c,
gcc.misc-tests/i386-pf-3dnow-1.c,
gcc.misc-tests/i386-pf-athlon-1.c,
gcc.misc-tests/i386-pf-none-1.c, gcc.misc-tests/i386-pf-sse-1.c,
objc.dg/nested-func-1.m, objc.dg/special/unclaimed-category-1.m:
Declare built-in functions used.
* gcc.dg/torture/builtin-attr-1.c (nexttoward): Use FPTEST2ARG2.

From-SVN: r85465

20 years agonew_op.cc: Update comments.
Mark Mitchell [Tue, 3 Aug 2004 07:11:16 +0000 (07:11 +0000)]
new_op.cc: Update comments.

* libsupc++/new_op.cc: Update comments.
* libsupc++/del_op.cc: Likewise.

From-SVN: r85464

20 years agocxxabi.h: Make all declarations have default visibility.
Mark Mitchell [Tue, 3 Aug 2004 06:45:54 +0000 (06:45 +0000)]
cxxabi.h: Make all declarations have default visibility.

* libsupc++/cxxabi.h: Make all declarations have default
visibility.
* libsupc++/exception: Likewise.
* libsupc++/new: Likewise.
* libsupc++/typeinfo: Likewise.
* libsupc++/unwind-cxx.h: Likewise.
* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into
the __cxxabiv1 namespace.
(__cxa_free_exception): Likewise.
* libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise.
(__cxa_bad_typeid): Likewise.
* libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
(__cxa_end_catch): Likewise.
* libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise.
(__cxa_get_globals): Likewise.
* libsupc++/eh_throw.cc (__cxa_throw): Likewise.
(__cxa_rethrow): Likewise.
* libsupc++/pure.cc (__cxa_pure_virtual): Likewise.
* libsupc++/eh_type.cc: Include <cxxabi.h>.

From-SVN: r85463

20 years agoIndex: ChangeLog
Geoffrey Keating [Tue, 3 Aug 2004 00:52:18 +0000 (00:52 +0000)]
Index: ChangeLog
2004-08-02  Geoffrey Keating  <geoffk@apple.com>

* ltcf-cxx.sh: On Darwin, make archive multi-module, and don't
use -all_load flag.

Index: gcc/ChangeLog
2004-08-02  Geoffrey Keating  <geoffk@apple.com>

* dwarf2out.c (output_call_frame_info): Don't change data format
due to TARGET_USES_WEAK_UNWIND_INFO.  Always refer to the local
label.  Use 'true' not '1'.
* doc/install.texi (powerpc-*-darwin*): Mention cctools version
required.

From-SVN: r85461

20 years agoTimestamp.java (valueOf): Synchronize access to dateFormat.
Bryce McKinlay [Tue, 3 Aug 2004 00:21:26 +0000 (00:21 +0000)]
Timestamp.java (valueOf): Synchronize access to dateFormat.

2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

* java/sql/Timestamp.java (valueOf): Synchronize access to
dateFormat.

From-SVN: r85460

20 years agoDaily bump.
GCC Administrator [Tue, 3 Aug 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r85458

20 years agore PR java/16701 (Error when constant initializer depends on another constant with...
Bryce McKinlay [Mon, 2 Aug 2004 21:20:46 +0000 (21:20 +0000)]
re PR java/16701 (Error when constant initializer depends on another constant with restricted access)

2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

PR java/16701
* parse.y (fold_constant_for_init): Call resolve_field_access with
correct current_class context.

2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

* testsuite/libjava.compile/PR16701.java: New test.

From-SVN: r85453

20 years agoMakefile.am (hosted_source): Add libmath and testsuite.
Mark Mitchell [Mon, 2 Aug 2004 20:28:22 +0000 (20:28 +0000)]
Makefile.am (hosted_source): Add libmath and testsuite.

* Makefile.am (hosted_source): Add libmath and testsuite.
(SUBDIRS): Remove them.
* acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
on arm*-*-symbianelf*.
* crossconfig.m4: Add arm*-*-symbianelf* support.
* include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
when freestanding.  Do not bring names into std:: namespace with
"using" when freestanding.  Declare required functions and macros
when freestanding.
* libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
when freestanding.
* libsupc++/del_op.cc: Declare "free" only when freestanding.
* libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
(malloc): Declare when freestanding.
(free): Likewise.
(memset): Likewise.
(__cxa_allocate_exception): Call malloc, not std::malloc.  Likewise
for memset.
(__cxa_free_exception): Likewise for free.
* libsupc++/new_op.cc: Declare "malloc" when freestanding.
* libsupc++/pure.cc (writestr): Define to nothing when
freestanding.
* libsupc++/vterminate.cc: Do not define anything when
freestanding.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* include/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.

From-SVN: r85452

20 years ago* gdbinit.in: Reflect previous changes to rtunion_def.
Gabriel Dos Reis [Mon, 2 Aug 2004 19:36:57 +0000 (19:36 +0000)]
* gdbinit.in: Reflect previous changes to rtunion_def.

From-SVN: r85449

20 years agore PR c++/16707 (ICE with using)
Mark Mitchell [Mon, 2 Aug 2004 18:49:07 +0000 (18:49 +0000)]
re PR c++/16707 (ICE with using)

PR c++/16707
* name-lookup.c (validate_nonmember_using_decl): Robustify.

PR c++/16707
* g++.dg/lookup/using12.C: New test.

From-SVN: r85446

20 years agonull1.C: Fix PR number.
Mark Mitchell [Mon, 2 Aug 2004 18:35:28 +0000 (18:35 +0000)]
null1.C: Fix PR number.

* g++.dg/init/null1.C: Fix PR number.
* g++.dg/parse/namespace10.C: Likewise.

From-SVN: r85444

20 years agofold-const.c (fold): The transformation "X % -Y" -> "X % Y" is only valid for TRUNC_M...
Roger Sayle [Mon, 2 Aug 2004 17:11:42 +0000 (17:11 +0000)]
fold-const.c (fold): The transformation "X % -Y" -> "X % Y" is only valid for TRUNC_MOD_EXPR.

* fold-const.c (fold) <TRUNC_MOD_EXPR>: The transformation "X % -Y"
-> "X % Y" is only valid for TRUNC_MOD_EXPR.

From-SVN: r85443

20 years agoSync from src.
Paolo Bonzini [Mon, 2 Aug 2004 16:58:38 +0000 (16:58 +0000)]
Sync from src.

From-SVN: r85442

20 years agolibiberty.h (XDELETE, [...]): Remove any const-qualification before disposal.
Gabriel Dos Reis [Mon, 2 Aug 2004 16:45:52 +0000 (16:45 +0000)]
libiberty.h (XDELETE, [...]): Remove any const-qualification before disposal.

include/
        * libiberty.h (XDELETE, XDELETEVEC, XRESIZEVEC): Remove any
        const-qualification before disposal.

gcc/
        * vec.h (DEF_VEC_P): Add proper cast to uses of vec_o_reserve and
        vec_p_reserve.
        * langhooks.h (lang_hooks::builtin_function): Rename parameter
        from "class" to "bt_class".

From-SVN: r85441

This page took 0.119204 seconds and 5 git commands to generate.