OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * Makefile.in (OJBS, c-opts.o): Update.
neil [Sat, 7 Jun 2003 11:10:46 +0000 (11:10 +0000)]
* Makefile.in (OJBS, c-opts.o): Update.
(c-options.c, c-options.h): Rename options.h and options.c.
(options.h): Rename options_.h.
(opts.o): New.
* c-common.h (c_common_handle_option): Replace c_common_decode_option.
(c_common_init_options): Update prototype.
* c-lang.c (c_init_options): Update prototype.
(LANG_HOOKS_HANDLE_OPTION): Override.
(LANG_HOOKS_DECODE_OPTION): Drop.
* c-opts.c: Include opts.h and options.h instead of c-options.h
and c-options.c.
(lang_flags): Move to file scope.
(find_opt, c_common_decode_option): Remove.
(CL_C, CL_OBJC, CL_CXX, CL_OBJCXX, CL_JOINED, CL_SEPARATE,
CL_REJECT_NEGATIVE): Move to opts.h.
(missing_arg): Update prototype.
(c_common_init_options): Update for new prototype.
(c_common_handle_options): Filenames are passed as N_OPTS.
* hooks.c (hook_int_void_0): New.
* hooks.h (hook_int_void_0): New.
* langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): New default.
(LANG_HOOKS_HANDLE_OPTION): Default to NULL for now.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (init_options): Update.
(handle_option): New.
* opts.c, opts.h: New files.
* opts.sh: Update c file to include opts.h and options.h.
* toplev.c: Include opts.h; change options.h to options_.h.
(parse_options_and_default_flags): Get lang_mask, use
handle_option for language-specific handling.
* objc/objc-lang.c (LANG_HOOKS_DECODE_OPTON): Drop.
(LANG_HOOKS_HANDLE_OPTION): Override.
(objc_init_options): Update.
ada:
* misc.c (gnat_init_options): Update.
cp:
* cp-lang.c (LANG_HOOKS_DECODE_OPTON): Drop.
(LANG_HOOKS_HANDLE_OPTION): Override.
* cp-tree.h (cxx_init_options): Update.
* lex.c (cxx_init_options): Update.
f:
* com.c (ffe_init_options): Update.
java:
* lang.c (java_init_options): Update.

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

21 years agoForgot to indicate PR number on last checkin.
wilson [Sat, 7 Jun 2003 07:39:39 +0000 (07:39 +0000)]
Forgot to indicate PR number on last checkin.

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

21 years agoPR other/7031
wilson [Sat, 7 Jun 2003 07:38:32 +0000 (07:38 +0000)]
PR other/7031
* Makefile.in (install-common): Remove GCOV_INSTALL_NAME instead of
gcov.

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

21 years ago * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in
ebotcazou [Sat, 7 Jun 2003 07:28:15 +0000 (07:28 +0000)]
* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in
section names.
* configure: Regenerate.

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

21 years ago * config/rs6000/linux64.h (CRT_CALL_STATIC_FUNCTION): Define.
amodra [Sat, 7 Jun 2003 06:11:18 +0000 (06:11 +0000)]
* config/rs6000/linux64.h (CRT_CALL_STATIC_FUNCTION): Define.

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

21 years agoPR inline-asm/10890
wilson [Sat, 7 Jun 2003 05:33:00 +0000 (05:33 +0000)]
PR inline-asm/10890
* reload1.c (merge_assigned_reloads): Abort only if two reloads have
different in fields.

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

21 years ago * configure.in: Make $(target_subdir) correspond with top level usage.
neroden [Sat, 7 Jun 2003 02:51:06 +0000 (02:51 +0000)]
* configure.in: Make $(target_subdir) correspond with top level usage.
* Makefile.in: Likewise.
* configure: Regenerate.

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

21 years agoDaily bump.
gccadmin [Sat, 7 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * gcc.dg/weak/weak.exp: Simplify.
mmitchel [Fri, 6 Jun 2003 21:34:41 +0000 (21:34 +0000)]
* gcc.dg/weak/weak.exp: Simplify.
* gcc.dg/weak/typeof-2.c: Use dg-require-weak.
* gcc.dg/weak/weak-1.c: Likewise.
* gcc.dg/weak/weak-2.c: Likewise.
* gcc.dg/weak/weak-3.c: Likewise.
* gcc.dg/weak/weak-4.c: Likewise.
* gcc.dg/weak/weak-5.c: Likewise.
* gcc.dg/weak/weak-6.c: Likewise.
* gcc.dg/weak/weak-7.c: Likewise.
* gcc.dg/weak/weak-8.c: Likewise.
* gcc.dg/weak/weak-9.c: Likewise.

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

21 years ago * pa.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_COMMON,
danglin [Fri, 6 Jun 2003 21:10:59 +0000 (21:10 +0000)]
* pa.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_COMMON,
ASM_OUTPUT_ALIGNED_LOCAL): Cast `SIZE' and `ALIGNED' parameters to
unsigned HOST_WIDE_INT.
* pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMOM, ASM_OUTPUT_ALIGNED_LOCAL):
Likewise.
* pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL):
Likewise.

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

21 years ago * doc/install.texi (Prerequisites): New section documenting
ghazi [Fri, 6 Jun 2003 18:08:37 +0000 (18:08 +0000)]
* doc/install.texi (Prerequisites): New section documenting
tools and packages necessary prior to building and/or
modifying GCC.
* doc/install.texi2html: Also generate prerequisites.html.

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

21 years ago2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
bkoz [Fri, 6 Jun 2003 17:19:56 +0000 (17:19 +0000)]
2003-06-06  Nathan Myers  <ncm-nospam@cantrip.org>

* include/bits/stl_iterator.h
(reverse_iterator::reverse_iterator()): Apply DR235: default
constructor default-initializes data member.  Instantiated on a
pointer type, the member has to end up equal to zero.

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

21 years agoPR target/11052
rearnsha [Fri, 6 Jun 2003 17:19:06 +0000 (17:19 +0000)]
PR target/11052
* ifcvt.c (noce_process_if_block): Fail if the destination has
side-effects.

gcc.c-torture/execute/20030606-1.c: New.

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

21 years ago * stmt.c (resolve_asm_operand_names): Rename from
jason [Fri, 6 Jun 2003 17:03:32 +0000 (17:03 +0000)]
    * stmt.c (resolve_asm_operand_names): Rename from
        resolve_operand_names.  No longer static.  Avoid needless copying.
        Don't build array of constraints.
        (expand_asm_operands): Build it here.
        * tree.h: Declare resolve_asm_operand_names.

        * stmt.c (expand_decl): Put artificial vars into registers even
        when not optimizing, and don't mark the regs as user vars.

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

21 years ago * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
amylaar [Fri, 6 Jun 2003 16:49:47 +0000 (16:49 +0000)]
* sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
of the generated register.

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

21 years ago * config.gcc: Add a missing sparc64 case.
drow [Fri, 6 Jun 2003 16:23:21 +0000 (16:23 +0000)]
* config.gcc: Add a missing sparc64 case.

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

21 years ago * gcc.dg/builtins-2.c: Correct check-in of incorrect version.
sayle [Fri, 6 Jun 2003 16:15:50 +0000 (16:15 +0000)]
    * gcc.dg/builtins-2.c: Correct check-in of incorrect version.
        * gcc.dg/builtins-19.c: Likewise. Sorry.

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

21 years ago2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 6 Jun 2003 15:50:28 +0000 (15:50 +0000)]
2003-06-06  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/stl_alloc.h: Cleanups.
* include/ext/functional: Same.
* include/ext/hash_map: Same.
* include/ext/hash_set: Same.
* include/ext/iterator: Same.
* include/ext/memory: Same.
* include/ext/numeric: Same.
* include/ext/rb_tree: Same.
* include/ext/ropeimpl.h: Same.
* include/ext/slist: Same.
* include/ext/stdio_filebuf.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/ext/stl_rope.h: Move to...
* include/ext/rope: ...here.
* include/ext/stl_hash_fun.h: Move to...
* include/ext/hash_fun.h: ...here.
* include/ext/stl_hashtable.h: Move to...
* include/ext/hashtable.h: ...here.
* include/backward/hashtable.h: Reflect new names.
* include/Makefile.am: Same.
* include/Makefile.in: Regenerated.

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

21 years ago * mklibgcc.in: Propagate .note.GNU-stack section if needed into
jakub [Fri, 6 Jun 2003 14:30:31 +0000 (14:30 +0000)]
* mklibgcc.in: Propagate .note.GNU-stack section if needed into
the .hidden assembly stubs.

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

21 years agoApply the right patch.
hjl [Fri, 6 Jun 2003 14:06:41 +0000 (14:06 +0000)]
Apply the right patch.

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

21 years ago2003-06-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 6 Jun 2003 13:52:17 +0000 (13:52 +0000)]
2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* config.gcc (extra_headers): Add emmintrin.h for i[34567]86-*-*
and x86_64-*-*.

* config/i386/mmintrin.h: Update version and add alternate
intrinsic names.
* config/i386/xmmintrin.h: Likewise.

* config/i386/xmmintrin.h: Include <emmintrin.h>. Move SSE2
intrinsics to ...
* config/i386/emmintrin.h: Here. New file.

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

21 years ago * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
mark [Fri, 6 Jun 2003 13:12:47 +0000 (13:12 +0000)]
   * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
       AWTError.

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

21 years ago * fold-const.c (fold <ABS_EXPR>): Re-fold the result of folding
sayle [Fri, 6 Jun 2003 12:36:26 +0000 (12:36 +0000)]
* fold-const.c (fold <ABS_EXPR>):  Re-fold the result of folding
fabs(-x) into fabs(x).  Use tree_expr_nonnegative_p to determine
when the ABS_EXPR (fabs or abs) is not required.
   (tree_expr_nonnegative_p): Move the logic that sqrt and exp are
always nonnegative from fold to here.  Additionally, cabs and fabs
are always non-negative, and pow and atan are non-negative if
their first argument is non-negative.

* builtins.c (fold_builtin_cabs): New function to fold cabs{,f,l}.
Evaluate cabs of a constant at compile-time.  Convert cabs of a
non-complex argument into fabs.  Convert cabs(z) into
sqrt(z.r*z.r + z.i*z.i) at the tree-level with -ffast-math or
-funsafe-math-optimizations or -ffast-math.
(fold_builtin): Convert BUILT_IN_FABS{,F,L} into an ABS_EXPR.
Fold BUILT_IN_CABS{,F,L} using fold_builtin_cabs.

* gcc.dg/builtins-2.c: Add some more tests.
* gcc.dg/builtins-18.c: New test case.
* gcc.dg/builtins-19.c: New test case.

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

21 years ago * gcc.dg/uninit-C.c: Only test TImode on 64-bit platforms.
sayle [Fri, 6 Jun 2003 12:29:13 +0000 (12:29 +0000)]
* gcc.dg/uninit-C.c: Only test TImode on 64-bit platforms.

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

21 years ago * sourcebuild.texi (Front End Directory): Document new hooks.
hubicka [Fri, 6 Jun 2003 11:24:47 +0000 (11:24 +0000)]
* sourcebuild.texi (Front End Directory): Document new hooks.

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

21 years ago * gcc.c-torture/execute/builtins/string-4.c (main_test): Allow some
jakub [Fri, 6 Jun 2003 10:11:06 +0000 (10:11 +0000)]
* gcc.c-torture/execute/builtins/string-4.c (main_test): Allow some
mempcpy/stpcpy calls not to be optimized into something else.
* gcc.c-torture/execute/string-opt-3.c: Moved to...
* gcc.c-torture/execute/builtins/string-7.c: ...here.
* gcc.c-torture/execute/builtins/string-7-lib.c: New.

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

21 years ago * libjava.mauve/mauve.exp (test_mauve): Add -wno-deprecated to GCJ.
mark [Fri, 6 Jun 2003 10:03:30 +0000 (10:03 +0000)]
    * libjava.mauve/mauve.exp (test_mauve): Add -wno-deprecated to GCJ.

        PR libgcj/6181:
        * libjava.mauve/xfails: Remove getBeanInfo() failures.

        PR libgcj/6293:
        * libjava.mauve/xfails: Remove PipedStream.close() failure.

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

21 years ago * function.c (FLOOR_ROUND, CEIL_ROUND): Fix.
hubicka [Fri, 6 Jun 2003 09:24:26 +0000 (09:24 +0000)]
* function.c (FLOOR_ROUND, CEIL_ROUND): Fix.
* i386.md (gen_pro_epilogue_adjust_stack): Deal with gigantic stack frames.
(pro_epilogue_adjust_stack_rex64_2): New pattern

* cfghooks.h, cfghooks.c: New files.
* Makefile.in (BASIC_BLOCK_H): Depends on cfghooks.h.
(OBJS): Add cfghooks.o.
(cfghooks.o): New rule.
* basic-block.h (split_edge): Rename to rtl_split_edge.
(verify_flow_info): Rename to rtl_verify_flow_info.
(cfghooks.h): Included here.
* cfgrtl.c (split_edge): Renamed rtl_split_edge.
(verify_flow_info): Renamed rtl_verify_flow_info.
* toplev.c (rest_of_compilation): Call rtl_register_cfg_hooks.

* basic-block.h (split_block, split_edge, flow_delete_block,
redirect_edge_and_branch, redirect_edge_and_branch_force): Delete.
(flow_delete_block_noexpunge):  Return void.
* cfg.c (verify_flow_info): New function.
* cfgcleanup.c (try_simplify_condjump, outgoing_edges_match,
try_crossjump_to_edge, try_optimize_cfg, delete_unreachable_blocks):
Use delete_block.
* cfglayout.c (function_footer): Rename to...
(cfg_layout_function_footer): ... this variable
(unlink_insn_chain): Make global.
(fixup_reorder_chain, record_effective_endpoints): Update.
(cleanup_unconditional_jumps): Use delete_block.
(cfg_layout_redirect_edge, cfg_layout_split_block): Move to cfgrtl.c
(cfg_layout_duplicate_bb): Use redirect_edge_and_branch_force.
(cfg_layout_initialize, cfg_layout_finalize): Update hooks.
* cfglayout.h (cfg_layout_redirect_edge, cfg_layout_split_block):  Delete.
(cfg_layout_function_footer): Declare.
* cfgloopmanip (split_loop_bb): Do not update RBI.
(remove_bbs): Use delete_block.
(loop_reidrect_edge, loop_delete_branch_edge): Use
redirect_edge_and_branch.
(create_preheader): Use split_block and redirect_edge_and_branch_force.
(split_edge_with): Likewise.
* cfgrtl.c: Include cfglayout.h
(split_edge): Rename to ...
(rtl_split_edge) ... this one; make local.
(redirect_edge_and_branch): Rename to ...
(rtl_redirect_edge_and_branch) ... this one; make local.
(redirect_edge_and_branch_force): Rename to ...
(rtl_redirect_edge_and_branch_force) ... this one; make local.
(cfg_layout_delete_block, cfg_layout_delete_edge_and_branch_force): New.
(cfg_layout_redirect_edge_and_branch, cfg_layout_split_block): Move here from
cfglayout.c; update to directly call RTL counterparts.
(rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): New functions.
* ifcvt.c (find_cond_trap): Use delete_block.
(find_if_case_1): Use delete_block.
(find_if_case_2): Use delete_block.
* rtl.h (unlink_insn_chain): Declare.
* toplev.c (rtl_reigster_cfg_hooks): New.

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

21 years ago * recog.c (peephole2_optimize): Revert last change.
rth [Fri, 6 Jun 2003 07:06:21 +0000 (07:06 +0000)]
    * recog.c (peephole2_optimize): Revert last change.

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

21 years ago * recog.c (peephole2_optimize): Don't split block unless
rth [Fri, 6 Jun 2003 07:00:23 +0000 (07:00 +0000)]
    * recog.c (peephole2_optimize): Don't split block unless
        can_throw_internal.

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

21 years ago2003-06-06 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 6 Jun 2003 06:21:02 +0000 (06:21 +0000)]
2003-06-06  Michael Koch  <konqueror@gmx.de>

* javax/swing/plaf/basic/BasicOptionPaneUI.java:
More compile fixes from my stupid work yesterday.

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

21 years ago * config/h8300/h8300.c (get_shift_alg): Correct the syntax of
kazu [Fri, 6 Jun 2003 05:28:07 +0000 (05:28 +0000)]
* config/h8300/h8300.c (get_shift_alg): Correct the syntax of
rotxl.
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi):
Likewise.

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

21 years ago * Make-lang.in (ada/b_gnatb.o-warn): Remove.
kraai [Fri, 6 Jun 2003 04:50:08 +0000 (04:50 +0000)]
* Make-lang.in (ada/b_gnatb.o-warn): Remove.
* bindgen.adb (Gen_Main_C): Mark ensure_reference with
__attribute__ ((__unused__)).

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

21 years ago PR optimization/4490
wilson [Fri, 6 Jun 2003 04:33:03 +0000 (04:33 +0000)]
PR optimization/4490
* config/i386/i386.md: Don't use XFMode if TARGET_128BIT_LONG_DOUBLE.
* doc/invoke.texi (m96bit-long-double, m128bit-long-double):  Reword
documentation to accurately reflect what these options do.

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

21 years ago * config/sh/linux.h (STARTFILE_SPEC): Handle -pie. Simplify.
kkojima [Fri, 6 Jun 2003 03:41:38 +0000 (03:41 +0000)]
* config/sh/linux.h (STARTFILE_SPEC): Handle -pie.  Simplify.
(ENDFILE_SPEC): Redefine to handle -pie.

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

21 years ago * java/lang/w_exp.c (o_threshold, u_threshold): Define only
kraai [Fri, 6 Jun 2003 03:34:36 +0000 (03:34 +0000)]
* java/lang/w_exp.c (o_threshold, u_threshold): Define only
if _IEEE_LIBM is undefined.

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

21 years ago2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 6 Jun 2003 00:19:17 +0000 (00:19 +0000)]
2003-06-05  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/9024
* include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
* include/bits/stl_algobase.h: Tweak.
* include/std/std_fstream.h: Move _M_buf_size to...
* include/std/std_streambuf.h: ...here. Modify.
* include/bits/streambuf.tcc: Same.
* testsuite/testsuite_hooks.h: Tweak.
* testsuite/testsuite_io.h (constraint_filebuf): New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
* testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
* testsuite/data/sgetc.txt: New.
* testsuite/data/sgetn.txt: New.

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

21 years agoDaily bump.
gccadmin [Fri, 6 Jun 2003 00:16:10 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * Makefile.in (qmtest-g++): Use target_alias, not target.
mmitchel [Fri, 6 Jun 2003 00:01:32 +0000 (00:01 +0000)]
* Makefile.in (qmtest-g++): Use target_alias, not target.

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

21 years ago * gcc.dg/format/asm_fprintf-1.c: New test.
ghazi [Thu, 5 Jun 2003 23:57:14 +0000 (23:57 +0000)]
* gcc.dg/format/asm_fprintf-1.c: New test.

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

21 years ago2003-06-05 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 5 Jun 2003 23:25:05 +0000 (23:25 +0000)]
2003-06-05  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/11095
* include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
Deal with width() smaller than zero.
* include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
operator<<(basic_ostream&, char), operator<<(basic_ostream&,
const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
const char*), operator<<(basic_ostream<char, _Traits>&,
const char*), operator<<(basic_ostream, const basic_string&)): Likewise.
* testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc:
* testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc:
* testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc:
* testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc:
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-od.cc:
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-oe.cc:
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-of.cc:
New.

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

21 years ago * libjava/include/posix.h (O_SYNC): Define if not available
ljrittle [Thu, 5 Jun 2003 22:37:02 +0000 (22:37 +0000)]
* libjava/include/posix.h (O_SYNC): Define if not available
and a reasonable, perhaps more conservative, replacement exists.
(O_DSYNC): Likewise.
* java/io/natFileDescriptorPosix.cc (open): Revert last patch.

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

21 years agoProperly regenerate configure.
ro [Thu, 5 Jun 2003 22:24:36 +0000 (22:24 +0000)]
Properly regenerate configure.

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

21 years ago * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
ro [Thu, 5 Jun 2003 22:22:12 +0000 (22:22 +0000)]
* acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
.gch compilation works.
* aclocal.m4, configure: Regenerate.
* testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
initialize PCHFLAGS.

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

21 years ago * lib/gcc-defs.exp (additional_sources): New variable.
mmitchel [Thu, 5 Jun 2003 22:18:55 +0000 (22:18 +0000)]
* lib/gcc-defs.exp (additional_sources): New variable.
(dg-additional-sources): New function.
(additional_files): New variable.
(dg-additional-files): New function.
(dg-additional-files-options): Likewise.
* lib/gcc-dg.exp (dg-require-weak): New function.
(dg-require-alias): Likewise.
(dg-require-gc-sections): Likewise.
* lib/target-supports.exp (check_alias_available): Remove testfile
parameter.
(check_gc_sections_available): New function.
* lib/g++-dg.exp (dg-gpp-additional-sources): Remove.
(dg-gpp-additional-files): Likewise.
* lib/g++.exp (additional_sources): Remove.
(additional_files): Likewise.
(g++_target_compile): Use dg-additional-files-options.

* gcc.dg/special/special.exp: Add "ecos" tests.  Remove complex
Tcl logic.
* gcc.dg/special/ecos.exp: Remove.
* gcc.dg/special/20000419-2.c: Use dg-require-*.
* gcc.dg/special/alias-1.c: Likewise.
* gcc.dg/special/alias-2.c: Likewise.
* gcc.dg/special/gcsec-1.c: Likewise.
* gcc.dg/special/weak-1.c: Likewise.
* gcc.dg/special/weak-2.c: Likewise.
* gcc.dg/special/wkali-1.c: Likewise.
* gcc.dg/special/wkali-2.c: Likewise.

* g++.dg/special/conpr-2.C: Use dg-additional-*, not
dg-gpp-additional-*.
* g++.dg/special/conpr-3.C: Likewise.
* g++.dg/special/conpr-4.C: Likewise.
* g++.old-deja/g++.abi/vtable3a.C: Likewise.
* g++.old-deja/g++.abi/vtable3b.C: Likewise.
* g++.old-deja/g++.abi/vtable3c.C: Likewise.
* g++.old-deja/g++.abi/vtable3d.C: Likewise.
* g++.old-deja/g++.abi/vtable3e.C: Likewise.
* g++.old-deja/g++.abi/vtable3f.C: Likewise.
* g++.old-deja/g++.abi/vtable3g.C: Likewise.
* g++.old-deja/g++.abi/vtable3h.C: Likewise.
* g++.old-deja/g++.abi/vtable3i.C: Likewise.
* g++.old-deja/g++.abi/vtable3j.C: Likewise.
* g++.old-deja/g++.oliva/linkage1.C: Likewise.
* g++.old-deja/g++.other/comdat1.C: Likewise.
* g++.old-deja/g++.other/comdat2.C: Likewise.
* g++.old-deja/g++.other/comdat3.C: Likewise.
* g++.old-deja/g++.other/ctor1.C: Likewise.
* g++.old-deja/g++.pt/instantiate5.C: Likewise.

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

21 years ago2003-06-05 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 5 Jun 2003 21:18:31 +0000 (21:18 +0000)]
2003-06-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/basic/BasicDefaults.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java:
More compile fixes for latest Border commit. I should not commit
something in this heat here ...

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

21 years ago * toplev.c (push_srcloc): Simplify behavior to save current location
bothner [Thu, 5 Jun 2003 21:07:08 +0000 (21:07 +0000)]
* toplev.c (push_srcloc):  Simplify behavior to save current location
and set current location to parameters.
(pop_srcloc):  Simplify semantics.
(lang_dependent_init):  Remove now-useless initial push_srcloc.

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

21 years ago2003-06-05 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 5 Jun 2003 20:57:39 +0000 (20:57 +0000)]
2003-06-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/border/BevelBorder.java
(BevelBorder): Removed.
* javax/swing/border/EmptyBorder.java:
Reformatted.
(EmptyBorder): Removed.
(getBorderInsets): Dont use l, r, t and b.
* javax/swing/border/EtchedBorder.java
(EtchedBorder): Removed.
* javax/swing/border/LineBorder.java
(LineBorder): Removed.
* javax/swing/border/MatteBorder.java
(MatteBorder): Removed.
* javax/swing/border/TitledBorder.java
(defaultBorder): Use other default for now.
(defaultFont): Likewise.
(defaultColor): Likewise.

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

21 years ago2003-06-05 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 5 Jun 2003 20:03:26 +0000 (20:03 +0000)]
2003-06-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/border/Border.java:
New version from classpath.

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

21 years ago2003-06-05 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 5 Jun 2003 19:59:44 +0000 (19:59 +0000)]
2003-06-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/border/AbstractBorder.java,
javax/swing/border/BevelBorder.java,
javax/swing/border/CompoundBorder.java,
javax/swing/border/EmptyBorder.java,
javax/swing/border/EtchedBorder.java,
javax/swing/border/LineBorder.java,
javax/swing/border/MatteBorder.java,
javax/swing/border/TitledBorder.java:
New versions from Classpath.

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

21 years ago2003-06-05 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 5 Jun 2003 19:58:40 +0000 (19:58 +0000)]
2003-06-05  Michael Koch  <konqueror@gmx.de>

* java/awt/Button.java,
java/awt/Checkbox.java,
java/awt/CheckboxMenuItem.java,
java/awt/Choice.java,
java/awt/Container.java,
java/awt/Dialog.java,
java/awt/EventQueue.java,
java/awt/FileDialog.java,
java/awt/Frame.java,
java/awt/Label.java,
java/awt/List.java,
java/awt/Menu.java,
java/awt/MenuItem.java,
java/awt/Panel.java,
java/awt/PopupMenu.java,
java/awt/Rectangle.java,
java/awt/ScrollPane.java,
java/awt/Scrollbar.java,
java/awt/TextArea.java,
java/awt/TextField.java,
java/awt/Window.java,
java/awt/datatransfer/DataFlavor.java,
java/awt/dnd/DragSource.java,
java/awt/dnd/DragSourceContext.java,
java/awt/event/HierarchyEvent.java,
java/awt/event/MouseWheelEvent.java,
java/awt/im/InputContext.java,
java/awt/image/BufferedImage.java,
java/awt/image/ComponentColorModel.java,
java/awt/image/Raster.java,
java/awt/image/WritableRaster.java,
java/awt/peer/ComponentPeer.java,
java/awt/print/PageFormat.java,
java/awt/print/PrinterJob.java:
New versions from Classpath.

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

21 years ago * dwarf2out.c (loc_descriptor_from_tree): Return 0 for
rth [Thu, 5 Jun 2003 18:08:12 +0000 (18:08 +0000)]
    * dwarf2out.c (loc_descriptor_from_tree): Return 0 for
        language-specific tree codes.

        * gcc.dg/debug/20030605-1.c: New.

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

21 years ago2003-06-05 Scott Gilbertson <scottg@mantatest.com>
tromey [Thu, 5 Jun 2003 17:57:31 +0000 (17:57 +0000)]
2003-06-05  Scott Gilbertson  <scottg@mantatest.com>

* java/text/SimpleDateFormat.java (SimpleDateFormat): Added
numberFormat.setParseIntegerOnly(true).

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

21 years ago PR middle-end/9986
danglin [Thu, 5 Jun 2003 16:47:01 +0000 (16:47 +0000)]
PR middle-end/9986
* pa.c (pa_init_builtins): Also set implicit_built_in_decls for
BUILT_IN_FPUTC_UNLOCKED to NULL_TREE.

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

21 years ago PR other/10810
danglin [Thu, 5 Jun 2003 16:38:22 +0000 (16:38 +0000)]
PR other/10810
* test-demangle.c (getline): Fix fence-post error.

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

21 years ago * install.tex: Document profiledbootstrap.
hubicka [Thu, 5 Jun 2003 16:36:12 +0000 (16:36 +0000)]
* install.tex: Document profiledbootstrap.

* Makefile.tpl (profiledbootstrap): New target.
* Makefile.in (profiledbootstrap): New target.

* Makefile.in (clean, distclean): Kill new stages
(POSTSTAGE1_FLAGS_TO_PASS): Break from ...
(STAGE2_FLAGS_TO_PASS): ... this one.
(STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New.
(stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS.
(stageprofile_build, stageprofile_copy, stagefeedback_build,
stagefeedback_copy): New.
(restageprofile, restagefeedback, stageprofile-start,
stageprofile, stagefeedback-start): Likewise.

* Make-lang.in:  Add support for stageprofile and stagefeedback

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

21 years ago * optabs.c (HAVE_conditional_trap): Provide default.
rth [Thu, 5 Jun 2003 16:31:49 +0000 (16:31 +0000)]
    * optabs.c (HAVE_conditional_trap): Provide default.
        (gen_conditional_trap): Likewise.
        (init_optabs): Merge init_traps.
        (gen_cond_trap): Use prepare_operand.  Restructure and avoid ifdef.
* gcc.c-torture/compile/20030605-1.c: New.

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

21 years ago2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
tromey [Thu, 5 Jun 2003 15:43:58 +0000 (15:43 +0000)]
2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>

* include/posix-threads.h: Include <machine/pal.h> on OSF.

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

21 years agoFix ChangeLog date of my last entry.
bangerth [Thu, 5 Jun 2003 14:47:32 +0000 (14:47 +0000)]
Fix ChangeLog date of my last entry.

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

21 years agoAdd Dara Hazeghi and Andrew Pinski to Bugzilla-only maintainers. Remove user names...
bangerth [Thu, 5 Jun 2003 14:44:47 +0000 (14:44 +0000)]
Add Dara Hazeghi and Andrew Pinski to Bugzilla-only maintainers. Remove user names from other bug database only maintainers since bugzilla no longer has user names.

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

21 years ago * combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8))
hubicka [Thu, 5 Jun 2003 13:00:14 +0000 (13:00 +0000)]
* combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8))
is REG for nonzero_bits (REG) == 8.

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

21 years ago * i386.md (align): Fix warning; clarify what to do when no p2align
hubicka [Thu, 5 Jun 2003 11:25:43 +0000 (11:25 +0000)]
* i386.md (align): Fix warning; clarify what to do when no p2align
is available.

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

21 years ago* config.gcc (m32r-elf): Revert previous delta.
nickc [Thu, 5 Jun 2003 09:12:02 +0000 (09:12 +0000)]
* config.gcc (m32r-elf): Revert previous delta.
* config/m32r/t-m32r (crtinit.o): Fix rule to work with multilibs.
  Remove m32rx specific version.
  (crtfini.o): Likewise.
  (EXTRA_MULTILIB_PARTS): Define.

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

21 years ago * doc/md.texi (Machine Constraints): Correct the meaning of
ebotcazou [Thu, 5 Jun 2003 08:36:53 +0000 (08:36 +0000)]
* doc/md.texi (Machine Constraints): Correct the meaning of
constraints related to floating-point registers on SPARC.

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

21 years ago PR target/10663
ebotcazou [Thu, 5 Jun 2003 07:50:42 +0000 (07:50 +0000)]
PR target/10663
* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Redirect
assembler and linker output to /dev/null.
Use a 'sed' construct instead of 'grep -A1'.
* configure: Regenerate.

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

21 years ago * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
kraai [Thu, 5 Jun 2003 07:11:39 +0000 (07:11 +0000)]
* bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
(Gen_Main_C, Gen_Output_File_C): Generate ISO C.

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

21 years ago * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
kraai [Thu, 5 Jun 2003 06:59:57 +0000 (06:59 +0000)]
* gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
Remove non-VMS directive.
(Switches for gnatlbr, Optimization Levels): Remove non-VMS
alternatives.
(Examples of gnatls Usage): Remove VMS alternative.

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

21 years agocygwin caveat
cgf [Thu, 5 Jun 2003 03:54:44 +0000 (03:54 +0000)]
cygwin caveat

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

21 years ago * config/i386/i386.c (struct ix86_address): Add seg.
rth [Thu, 5 Jun 2003 00:23:23 +0000 (00:23 +0000)]
    * config/i386/i386.c (struct ix86_address): Add seg.
        (no_seg_address_operand): New.
        (ix86_decompose_address): Restructure PLUS loop.  Accept one
        UNSPEC_TP if TARGET_TLS_DIRECT_SEG_REFS.  Adjust ESP swap test
        to test for a regnum, not stack_pointer_rtx.
        (ix86_address_cost): Reduce cost if non-default segment.
        (legitimate_address_p): Remove UNSPEC_TP check.
        (get_thread_pointer): Add to_reg argument.  Don't represent
        the thread pointer as a memory load.
        (legitimize_tls_address): Split out of ...
        (legitimize_address): ... here.
        (print_operand_address): Handle parts.seg.
        (ix86_expand_move): Use legitimize_tls_address.
        (ix86_rtx_costs): Handle UNSPEC_TP.
        * config/i386/i386.h (MASK_TLS_DIRECT_SEG_REFS): New.
        (TARGET_TLS_DIRECT_SEG_REFS): New.
        (TARGET_SWITCHES): Add tls-direct-seg-refs.
        (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Default.
        (PREDICATE_CODES): Add no_seg_address_operand.
        * config/i386/i386.md (lea_1): Use it.
        (lea_1_rex64, lea_1_zext, lea_2_rex64): Likewise.
        (load_tp_si, add_tp_si, load_tp_di, add_tp_di): New.
        * config/i386/linux.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
        * config/i386/linux64.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
        * doc/invoke.texi: Add -mtls-direct-seg-refs.

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

21 years ago * Makefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation.
mmitchel [Thu, 5 Jun 2003 00:17:16 +0000 (00:17 +0000)]
* Makefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation.
(QMTEST_GPP_TESTS): Use "g++" by default.
(stamp-qmtest): Tweak database creation.
(QMTEST_DIR/context): Update context file format.
(qmtest-g++): Tweak command-line.

* README.QMTEST: Update.

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

21 years agoDaily bump.
gccadmin [Thu, 5 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * Makefile.in (varasm.o): Don't set -Wno-error.
ghazi [Wed, 4 Jun 2003 23:21:26 +0000 (23:21 +0000)]
* Makefile.in (varasm.o): Don't set -Wno-error.
* rs6000/t-rs6000 (varasm.o, out_object_file): Don't clear.

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

21 years ago2003-06-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 4 Jun 2003 22:53:05 +0000 (22:53 +0000)]
2003-06-04  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
erase(iterator), erase(iterator, iterator), c_str,
compare(const basic_string&)): Constify various variables.
* include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
_S_create, resize, _M_replace, _M_replace_safe,
append(const basic_string&), append(const basic_string&, size_type,
size_type), append(const _CharT*, size_type), append(size_type,
_CharT), operator+(const _CharT*, const basic_string&),
operator+(_CharT, const basic_string&), replace(iterator, iterator,
size_type, _CharT), find(const _CharT*, size_type, size_type),
find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
rfind(_CharT, size_type), compare(size_type, size_type,
const basic_string&), compare(size_type, size_type,
const basic_string&, size_type, size_type), compare(const _CharT*),
compare(size_type, size_type, const _CharT*), compare(size_type,
size_type, const _CharT*, size_type)): Likewise.

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

21 years ago PR bootstrap/3163
zack [Wed, 4 Jun 2003 22:21:21 +0000 (22:21 +0000)]
PR bootstrap/3163
* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete.
(gcc_AC_FUNC_MMAP_BLACKLIST): New.
* configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS
and AC_CHECK_FUNCS lists, respectively.  Use
gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor
AC_FUNC_MMAP_FILE.
* configure, config.in: Regenerate.

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

21 years agogcc/cp:
amylaar [Wed, 4 Jun 2003 22:00:22 +0000 (22:00 +0000)]
gcc/cp:
* decl.c (grokdeclarator): Error_mark_node in, error_mark_node out.

gcc/testsuite/g++.old-deja/g++.oliva:
* template1.C (bar): Remove xfail marker.

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

21 years ago * arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
ghazi [Wed, 4 Jun 2003 21:18:48 +0000 (21:18 +0000)]
* arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
* arm.c (arm_output_function_prologue): Fix format specifiers.
* arm.h (ARM_PRINT_OPERAND_ADDRESS): Likewise.
* m68k.c (m68k_output_mi_thunk): Use more readable %wd instead of
HOST_WIDE_INT_PRINT_DEC.
* vax.c (vax_output_function_prologue): Fix format specifiers.

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

21 years ago * cse.c (find_best_addr): Consider binary operators even if second
rth [Wed, 4 Jun 2003 21:05:20 +0000 (21:05 +0000)]
    * cse.c (find_best_addr): Consider binary operators even if second
        argument is not CONST_INT.

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

21 years ago * doc/invoke.texi (max-cse-path-length): Document.
rakdver [Wed, 4 Jun 2003 20:59:56 +0000 (20:59 +0000)]
* doc/invoke.texi (max-cse-path-length): Document.

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

21 years ago * config/i386/i386.md (align): Use ASM_OUTPUT_*ALIGN macros.
rth [Wed, 4 Jun 2003 20:06:34 +0000 (20:06 +0000)]
    * config/i386/i386.md (align): Use ASM_OUTPUT_*ALIGN macros.

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

21 years ago * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME):
jakub [Wed, 4 Jun 2003 19:01:54 +0000 (19:01 +0000)]
* config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME):
Remove semi-colon at the end of the expression.

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

21 years ago * i370.c (mvs_function_name_length): Fix signed/unsigned warnings.
ghazi [Wed, 4 Jun 2003 17:53:07 +0000 (17:53 +0000)]
* i370.c (mvs_function_name_length): Fix signed/unsigned warnings.
* i370.h (mvs_function_name_length): Likewise.
* i960.h (CONSTANT_ALIGNMENT): Likewise.
* mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* pa.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Delete unused
variable.

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

21 years ago * config.gcc: Reorganize --with-cpu logic. Set
drow [Wed, 4 Jun 2003 17:50:44 +0000 (17:50 +0000)]
* config.gcc: Reorganize --with-cpu logic.  Set
configure_default_options according to the default CPU, --with-cpu,
--with-arch, --with-tune, --with-schedule, --with-abi, and
--with-float.  Check for legal values of various options.
* configure.in: Define configure_default_options in configargs.h.
* configure: Regenerated.
* config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
(TARGET_DEFAULT_FLOAT_P): New macros.
* gcc.c (do_option_spec): New function.
(struct default_spec, option_default_specs): New.
(main): Call do_option_spec.
* config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.

* doc/install.texi: Update --with-cpu documentation.  Mention
--with-arch, --with-schedule, --with-tune, --with-abi, and
--with-float.
* doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.

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

21 years ago * config.gcc: Only process --with-cpu logic in the third pass.
drow [Wed, 4 Jun 2003 17:44:03 +0000 (17:44 +0000)]
* config.gcc: Only process --with-cpu logic in the third pass.

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

21 years ago * config.gcc: Reorganize --with-cpu section. Remove an
drow [Wed, 4 Jun 2003 17:42:53 +0000 (17:42 +0000)]
* config.gcc: Reorganize --with-cpu section.  Remove an
obsolete comment about the default CPU for x86-64.  Fix
a typo for the ep9312.  Update the list of supported PowerPC
CPUs.  Support a limited set of new --with-cpu options
for i386.

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

21 years ago2003-06-04 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 4 Jun 2003 17:41:06 +0000 (17:41 +0000)]
2003-06-04  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_complex_function_value): Unpack
        complex numbers <= 32 bits into two registers.

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

21 years ago * alpha.c (print_operand_address): Fix format specifier warnings.
ghazi [Wed, 4 Jun 2003 17:33:51 +0000 (17:33 +0000)]
* alpha.c (print_operand_address): Fix format specifier warnings.
* alpha/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* arm/aof.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
* arm/pe.h (ASM_OUTPUT_COMMON): Likewise.
* avr.h (ASM_OUTPUT_COMMON, ASM_GENERATE_INTERNAL_LABEL,
ASM_OUTPUT_SKIP): Likewise.
* c4x.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* dsp16xx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* h8300.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_COMMON):
Likewise.
* i370.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386/cygming.h (ASM_OUTPUT_COMMON): Likewise.
* i386/darwin.h (ASM_OUTPUT_COMMON): Likewise.
* i960.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* m68k/hp320.h (PRINT_OPERAND_ADDRESS): Likewise.
* mcore.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* pdp11.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* ptx4.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* sparc/freebsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* svr3.h (ASM_OUTPUT_COMMON): Likewise.

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

21 years ago * c-decl.c (c_init_decl_processing): Clear input_file_name
amylaar [Wed, 4 Jun 2003 17:19:36 +0000 (17:19 +0000)]
* c-decl.c (c_init_decl_processing): Clear input_file_name
while building common nodes.
* dwarf2out.c (gen_compile_unit_die, dwarf2out_finish):
Don't add working directory for strings like <built-in> .

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

21 years ago * doc/install.texi (*-ibm-aix*): Native as and ld required
dje [Wed, 4 Jun 2003 17:11:18 +0000 (17:11 +0000)]
    * doc/install.texi (*-ibm-aix*): Native as and ld required
        to bootstrap on AIX 5L.

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

21 years ago * c-common.c (handle_cleanup_attribute): New.
rth [Wed, 4 Jun 2003 17:06:00 +0000 (17:06 +0000)]
    * c-common.c (handle_cleanup_attribute): New.
        (c_common_attributes): Add it.
        * c-decl.c (finish_decl): Honor the cleanup attribute.
        * doc/extend.texi (Variable Attributes): Document it.

        * unwind-c.c: New file.
        * Makefile.in (LIB2ADDEH): Add it.
        * config/t-darwin, config/t-linux, config/t-linux-gnulibc1,
        config/ia64/t-ia64: Likewise.

        * gcc.dg/cleanup-1.c: New.
        * gcc.dg/cleanup-2.c: New.
        * gcc.dg/cleanup-3.c: New.
        * gcc.dg/cleanup-4.c: New.
        * gcc.dg/cleanup-5.c: New.
        * gcc.dg/cleanup-6.c: New.
        * gcc.dg/cleanup-7.c: New.

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

21 years ago * function.c (trampolines_created): New variable.
jakub [Wed, 4 Jun 2003 16:44:51 +0000 (16:44 +0000)]
* function.c (trampolines_created): New variable.
(expand_function_end): Set it when doing INITIALIZE_TRAMPOLINE.
* function.h (trampolines_created): Add.
* config/s390/linux.h (ASM_FILE_END): Define.
* config/alpha/linux-elf.h (ASM_FILE_END): Define.
* config/m68k/linux.h (ASM_FILE_END): Define.
* config/rs6000/linux.h (ASM_FILE_END): Define.
* config/rs6000/linux64.h (ASM_FILE_END): Define.
* config/rs6000/ppc-asm.h: Add .note.GNU-stack on powerpc-linux.
* config/sparc/linux.h (ASM_FILE_END): Define.
* config/sparc/linux64.h (ASM_FILE_END): Define.
* config/i386/i386.c (ix86_asm_file_end): Use SUBTARGET_FILE_END.
* config/i386/linux.h (SUBTARGET_FILE_END): Define.
* config/i386/linux64.h (SUBTARGET_FILE_END): Define.

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

21 years ago * i386.c (min_insn_size, k8_avoid_jump_misspredicts): New functions
hubicka [Wed, 4 Jun 2003 16:42:23 +0000 (16:42 +0000)]
* i386.c (min_insn_size, k8_avoid_jump_misspredicts): New functions
(ix86_reorg): Use it.
* i386.md (align): New insn pattern.

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

21 years ago * toplev.c (rest_of_type_compilation): Fix typo.
ghazi [Wed, 4 Jun 2003 16:14:35 +0000 (16:14 +0000)]
* toplev.c (rest_of_type_compilation): Fix typo.

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

21 years ago * g++.dg/abi/vague1.C: Use xfail, rather than embedded Tcl code.
mmitchel [Wed, 4 Jun 2003 15:35:58 +0000 (15:35 +0000)]
* g++.dg/abi/vague1.C: Use xfail, rather than embedded Tcl code.

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

21 years ago * lib/dg-pch.exp: New file.
mmitchel [Wed, 4 Jun 2003 15:32:08 +0000 (15:32 +0000)]
* lib/dg-pch.exp: New file.
* g++.dg/pch/pch.exp: Use dg-pch.exp.
* gcc.dg/pch/pch.exp: Likewise.

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

21 years ago * config/i386/linux.h (NO_PROFILE_COUNTERS): Define to 1.
jakub [Wed, 4 Jun 2003 15:23:42 +0000 (15:23 +0000)]
* config/i386/linux.h (NO_PROFILE_COUNTERS): Define to 1.
* config/i386/freebsd.h (NO_PROFILE_COUNTERS): Likewise.
* config/i386/netbsd-elf.h (NO_PROFILE_COUNTERS): Likewise.
* config/xtensa/xtensa.h (NO_PROFILE_COUTNERS): Likewise.
* config/darwin.h (NO_PROFILE_COUNTERS): Likewise.
* final.c (NO_PROFILE_COUNTERS): Define to 0 if not defined.
(profile_function): Allow NO_PROFILE_COUNTERS to be non-constant.
* config/rs6000/rs6000.c (output_profile_hook): Likewise.

* configure.in (powerpc*-*, s390*-*): Set tls_as_opt.
Pass it to $gcc_cv_as.
* configure: Rebuilt.

* config/rs6000/rs6000.c (rs6000_abi_name): Remove initializer.
(print_operand): Allow TARGET_AIX to be non-constant.
(rs6000_aix_emit_builtin_unwind_init, rs6000_emit_eh_toc_restore):
Define unconditionally.
(rs6000_elf_declare_function_name): New function.
* config/rs6000/rs6000.md (eh_return): Allow TARGET_AIX to be
non-constant.
* config/rs6000/linux64.h [!RS6000_BI_ARCH] (TARGET_64BIT): Define
to 1.
(DEFAULT_ARCH64_P, RS6000_BI_ARCH_P): Define.
[IN_LIBGCC2] (TARGET_64BIT): Define based on whether __powerpc64__
is defined.
(TARGET_AIX): Define to 1 if TARGET_64BIT.
(PROCESSOR_DEFAULT): Remove.
(TARGET_RELOCATABLE, RS6000_ABI_NAME, INVALID_64BIT,
INVALID_32BIT, SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
[RS6000_BI_ARCH] (OVERRIDE_OPTIONS, ASM_FILE_START): Define.
(ASM_DEFAULT_SPEC, ASM_SPEC, LINK_OS_LINUX_SPEC): Define for both
-m32 and -m64.
(MULTILIB_DEFAULTS): Define.
(SUBSUBTARGET_EXTRA_SPECS): Define.
(ASM_SPEC32, ASM_SPEC64, ASM_SPEC_COMMON): Define.
(TARGET_TOC): Define only if !RS6000_BI_ARCH.
(TARGET_NO_TOC): Remove.
[!RS6000_BI_ARCH] (TARGET_RELOCATABLE, TARGET_EABI,
TARGET_PROTOTYPE): Define to 0.
(NO_PROFILE_COUNTERS): Define to TARGET_64BIT.
(PROFILE_HOOK): Only call output_profile_hook if TARGET_64BIT.
(ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Adjust to work properly
if !TARGET_64BIT.
(USER_LABEL_PREFIX): Remove.
(JUMP_TABLES_IN_TEXT_SECTION): Define to TARGET_64BIT.
(SETUP_FRAME_ADDRESSES): Only call rs6000_aix_emit_builtin_unwind_init
if TARGET_64BIT.
(TARGET_OS_CPP_BUILTINS): Handle both -m32 and -m64.
(LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Define.
(STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Remove.
(TOC_SECTION_ASM_OP): Define depending on TARGET_64BIT.
(MINIMAL_TOC_SECTION_ASM_OP): Likewise.
(SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Define depending on
TARGET_64BIT.
(RS6000_CALL_GLUE): Likewise.
(SAVE_FP_PREFIX, SAVE_FP_SUFFIX, RESTORE_FP_PREFIX,
RESTORE_FP_SUFFIX): Likewise.
(ASM_DECLARE_FUNCTION_NAME): Remove.
(ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_SOURCE_LINE,
DBX_OUTPUT_BRAC, DBX_OUTPUT_NFUN): Only output dot before function
name if TARGET_64BIT.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Handle both TARGET_64BIT and
!TARGET_64BIT.
(ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Remove undefs.
(ASM_PREFERRED_EH_DATA_FORMAT): Take TARGET_64BIT into account.
(DRAFT_V4_STRUCT_RET): Define.
(SIGNAL_FRAMESIZE): New enum value.
(MD_FALLBACK_FRAME_STATE_FOR): Define.
* config/rs6000/default64.h: New file.
* config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -m32 and -m64
options.
(SUBTARGET_OVERRIDE_OPTIONS): If rs6000_abi_name is NULL, set it
to RS6000_ABI_NAME.  Only disallow mixing of -fPIC with -mcall-aixdesc
if !TARGET_64BIT.
[!RS6000_BI_ARCH] (SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
(ASM_DECLARE_FUNCTION_NAME): Use rs6000_elf_declare_function_name
function.
(TARGET_OS_SYSV_CPP_BUILTINS): Define.
(TARGET_OS_CPP_BUILTINS): Use it.
(CPP_SYSV_SPEC): Remove.
(CPP_SPEC): Remove cpp_sysv.
(SUBTARGET_EXTRA_SPECS): Remove cpp_sysv.
Add SUBSUBTARGET_EXTRA_SPECS.
(SUBSUBTARGET_EXTRA_SPECS): Define.
* config/rs6000/biarch64.h: New file.
* config/rs6000/rs6000-protos.h (rs6000_elf_declare_function_name):
New prototype.
* config/rs6000/x-linux64: New file.
* config/rs6000/t-linux64: Build -m64, -m32 and -m32 -msoft-float
multilibs.
* config/rs6000/eabi-ci.asm: Protect with #ifndef __powerpc64__.
* config/rs6000/eabi-cn.asm: Likewise.
* config/rs6000/tramp.asm: Likewise.
* config/rs6000/sol-ci.asm: Likewise.
* config/rs6000/sol-cn.asm: Likewise.
* config/rs6000/linux.h (TARGET_64BIT): Define to 0.
(TARGET_OS_CPP_BUILTINS): Use TARGET_OS_SYSV_CPP_BUILTINS.
* config/rs6000/ppc-asm.h: Move __powerpc64__ section before
_CALL_AIXDESC section.
* config.gcc (powerpc64-*-linux*): Configure a bi-arch compiler,
defaulting to -m64 unless --with-cpu= is one of the 32-bit CPUs
or default32.

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

21 years ago * config.gcc: Revert accidentally committed ARM changes.
drow [Wed, 4 Jun 2003 14:53:59 +0000 (14:53 +0000)]
* config.gcc: Revert accidentally committed ARM changes.

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

21 years ago * builtins.c (dconstpi, dconste): New mathematical constants.
sayle [Wed, 4 Jun 2003 12:20:40 +0000 (12:20 +0000)]
* builtins.c (dconstpi, dconste): New mathematical constants.
(init_builtin_dconsts): New function to initialize dconstpi
and dconste.
(fold_builtin): Optimize exp(1.0) = e.  Evaluate exp(x) at
compile time with -ffast-math when x is an integer constant.
Optimize tan(0.0) = 0.0.  Optimize atan(0.0) = 0.0,
atan(1.0) = pi/4 and tan(atan(x)) = x with -ffast-math.

* gcc.dg/builtins-2.c: Add tests for tan(atan(x)).
* gcc.dg/builtins-3.c: Add tests for tan(0.0) and atan(0.0).
* gcc.dg/builtins-7.c: Add tests for tan(atan(x)) == x.
* gcc.dg/builtins-17.c: New test case.
* gcc.dg/i386-387-4.c: New test case.
* gcc.c-torture/execute/ieee/mzero4.c: New test case.

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

21 years ago * calls.c (expand_call): Avoid calling pure or const functions
sayle [Wed, 4 Jun 2003 12:07:52 +0000 (12:07 +0000)]
* calls.c (expand_call): Avoid calling pure or const functions
when the result is ignored (or void) and none of the arguments
are volatile.  Move warning diagnostic earlier in function.

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

21 years ago * system.h: Do not poison TDESC_SECTION_ASM_OP,
aj [Wed, 4 Jun 2003 11:35:10 +0000 (11:35 +0000)]
* system.h: Do not poison TDESC_SECTION_ASM_OP,
RDATA_SECTION_ASM_OP and SUBTARGET_PROLOGUE.

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

21 years ago * final.c (asm_fprintf): Update comments, accept "-+ #0" flags,
ghazi [Wed, 4 Jun 2003 08:34:22 +0000 (08:34 +0000)]
* final.c (asm_fprintf): Update comments, accept "-+ #0" flags,
optimize '%' case, handle %c, don't accept %p, %e, %f or %g,
handle %ll, optimize regular character case.

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