]> gcc.gnu.org Git - gcc.git/log
gcc.git
21 years agoMakefile.tpl: Rename [+target+] to [+make_target+].
Nathanael Nerode [Tue, 3 Jun 2003 16:35:42 +0000 (16:35 +0000)]
Makefile.tpl: Rename [+target+] to [+make_target+].

* Makefile.tpl: Rename [+target+] to [+make_target+].
* Makefile.def: Rename 'target' to 'make_target'.

From-SVN: r67380

21 years agox86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to prevent...
Andrew Haley [Tue, 3 Jun 2003 16:13:22 +0000 (16:13 +0000)]
x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to prevent optimization from removing it.

2003-06-03  Andrew Haley  <aph@redhat.com>

        * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
        stack volatile to prevent optimization from removing it.

From-SVN: r67379

21 years agoCommit patch that was approved last october. Oops.
Anthony Green [Tue, 3 Jun 2003 15:19:16 +0000 (15:19 +0000)]
Commit patch that was approved last october. Oops.

From-SVN: r67375

21 years agosimd-5.x: Remove xfail for PPC64.
Aldy Hernandez [Tue, 3 Jun 2003 13:46:28 +0000 (13:46 +0000)]
simd-5.x: Remove xfail for PPC64.

2003-06-03  Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.c-torture/compile/simd-5.x: Remove xfail for PPC64.

From-SVN: r67374

21 years agore PR c++/10940 (Bad code with explicit specialization)
Kriang Lerdsuwanakij [Tue, 3 Jun 2003 13:01:44 +0000 (13:01 +0000)]
re PR c++/10940 (Bad code with explicit specialization)

PR c++/10940
* pt.c (check_explicit_specialization): Check for 'static'
earlier.

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

From-SVN: r67373

21 years agobuiltins.def (BUILT_IN_CABS, [...]): New builtins representing ISO C99's cabs, cabsf...
Roger Sayle [Tue, 3 Jun 2003 11:27:23 +0000 (11:27 +0000)]
builtins.def (BUILT_IN_CABS, [...]): New builtins representing ISO C99's cabs, cabsf and cabsl.

* builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
New builtins representing ISO C99's cabs, cabsf and cabsl.
* builtins.c (expand_builtin_fabs): New function.
(expand_builtin_cabs): New function.
(expand_builtin): Expand BUILT_IN_FABS{,F,L} and BUILT_IN_CABS{,F,L}
using expand_builtin_fabs and expand_builtin_cabs respectively.

* doc/extend.texi: Document new cabs, cabsf and cabsl builtins.

* gcc.dg/builtins-16.c: New test case.

From-SVN: r67368

21 years agofunction.c (assign_parms): Split complex arguments.
Aldy Hernandez [Tue, 3 Jun 2003 11:14:07 +0000 (11:14 +0000)]
function.c (assign_parms): Split complex arguments.

2003-06-03  Aldy Hernandez  <aldyh@redhat.com>

        * function.c (assign_parms): Split complex arguments.

        * doc/tm.texi (SPLIT_COMPLEX_ARGS): Document.

        * expr.h (SPLIT_COMPLEX_ARGS): Define.
        (split_complex_types): Protoize.
        (split_complex_values): Protoize.

        * calls.c (expand_call): Split complex arguments on architectures
        that require it.
        (split_complex_values): New.
        (split_complex_types): New.

        * config/rs6000/rs6000.c (rs6000_libcall_value): New.
        (rs6000_function_value): Handle complex values on AIX.
        (rs6000_complex_function_value): New.

        * config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize.

        * config/rs6000/rs6000.h (LIBCALL_VALUE): Call function.
        (SPLIT_COMPLEX_ARGS): New.

From-SVN: r67367

21 years agoconfigure.in (HAVE_LD_PIE): Check for ld -pie.
Jakub Jelinek [Tue, 3 Jun 2003 09:06:55 +0000 (11:06 +0200)]
configure.in (HAVE_LD_PIE): Check for ld -pie.

* configure.in (HAVE_LD_PIE): Check for ld -pie.
* config.in: Rebuilt.
* configure: Rebuilt.
* toplev.c (flag_pie, flag_shlib): New variables.
(f_options): Add -fpie and -fPIE.
(parse_options_and_default_flags): Set flag_pic if -fpie/-fPIE.
Set flag_shlib if flag_pic and not -fpie/-fPIE.
* flags.h (flag_pic, flag_shlib): Add.
* varasm.c (default_binds_local_p): Use flag_shlib instead of
flag_pic.
* gcc.c (LINK_PIE_SPEC): Define.
(LINK_COMMAND_SPEC): Use LINK_PIE_SPEC.
(option_map): Add --pie -> -pie mapping.
* config/sol2.h (ASM_SPEC): Handle -fpie the same way as -fpic
and -fPIE the same way as -fPIC.
* config/openbsd.h (ASM_SPEC): Likewise.
* config/frv/frv.h (ASM_SPEC): Likewise.
* config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Likewise.
* config/arm/semi.h (ASM_SPEC): Likewise.
* config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise.
* config/freebsd-spec.h (FBSD_CPP_SPEC): Likewise.
* config/i386/beos-elf.h (CC1_SPEC): Likewise.
* config/i386/freebsd-aout.h (ASM_SPEC): Likewise.
* config/m68k/linux.h (CPP_SPEC): Likewise.
* config/m68k/netbsd.h (ASM_SPEC): Likewise.
* config/m68k/openbsd.h (ASM_SPEC): Likewise.
* config/m68k/netbsd-elf.h (ASM_SPEC): Likewise.
* config/mips/linux.h (SUBTARGET_CPP_SPEC): Likewise.
* config/mips/openbsd.h (SUBTARGET_ASM_SPEC): Likewise.
* config/pa/pa-linux.h (CPP_SPEC): Likewise.
* config/netbsd-aout.h (ASM_SPEC): Likewise.
* config/rs6000/sysv4.h (ASM_SPEC, CPP_SYSV_SPEC): Likewise.
* config/rs6000/vxworks.h (CPP_SPEC): Likewise.
* config/sparc/linux.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
* config/sparc/linux64.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
* config/sparc/sparc.h (ASM_SPEC): Likewise.
* config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
* config/sparc/sysv4.h (ASM_SPEC): Likewise.
* config/sparc/netbsd-elf.h (ASM_SPEC): Likewise.
* config/sparc/openbsd64.h (ASM_SPEC): Likewise.
* config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise.
* config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Handle -pie.
Simplify.
* config/alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/i386/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/ia64/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/rs6000/sysv4.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/rs6000/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/sparc/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/sparc/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* doc/invoke.texi: Document -pie, -fpie and -fPIE options.

From-SVN: r67359

21 years agobuiltins.c (expand_builtin_memcpy): Remove endp argument and endp != 0 handling.
Jakub Jelinek [Tue, 3 Jun 2003 08:57:55 +0000 (10:57 +0200)]
builtins.c (expand_builtin_memcpy): Remove endp argument and endp != 0 handling.

* builtins.c (expand_builtin_memcpy): Remove endp argument and endp
!= 0 handling.  Pass 0 to store_by_pieces.
(expand_builtin_mempcpy): Add endp argument.  Don't call
expand_builtin_memcpy, call store_by_pieces resp. move_by_pieces
directly.  If ignoring result, only do expand_call.
(expand_builtin_stpcpy): Likewise.  Call expand_builtin_mempcpy
otherwise.
(expand_builtin_strncpy, expand_builtin_memset): Adjust
store_by_pices callers.
(expand_builtin): Adjust expand_builtin_memcpy and
expand_builtin_mempcpy callers.
* expr.c (can_move_by_pieces): New function.
(move_by_pieces): Add endp argument, return to resp. memory at end
or one byte earlier depending on endp.
(store_by_pieces): Likewise.
(emit_block_move): Adjust call to move_by_pieces.
(emit_push_insn): Adjust move_by_pieces caller.
* expr.h (can_move_by_pieces): New prototype.
(store_by_pieces): Adjust prototypes.
* rtl.h (move_by_pieces): Adjust prototype.
* config/mips/mips.c (expand_block_move): Adjust move_by_pieces
caller.

* gcc.c-torture/execute/builtins/string-4.c (main_test): Remove
mempcpy test with post-increments.
* gcc.c-torture/execute/string-opt-3.c: New test.
* gcc.dg/string-opt-1.c: New test.

From-SVN: r67358

21 years ago* doc/md.texi (Processor pipeline description): Improve wording.
Ben Elliston [Tue, 3 Jun 2003 06:56:42 +0000 (16:56 +1000)]
* doc/md.texi (Processor pipeline description): Improve wording.

From-SVN: r67355

21 years agoc-opts.c (c_common_handle_option): New, pulled out of c_common_decode_option.
Neil Booth [Tue, 3 Jun 2003 05:42:25 +0000 (05:42 +0000)]
c-opts.c (c_common_handle_option): New, pulled out of c_common_decode_option.

* c-opts.c (c_common_handle_option): New, pulled out of
c_common_decode_option.  Substitute uses of argv.
(c_common_decode_option): Broken into two.

From-SVN: r67354

21 years agoDaily bump.
GCC Administrator [Tue, 3 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67351

21 years agore PR fortran/10965 (g77 compiles illegal code in testsuite)
David Billinghurst [Tue, 3 Jun 2003 00:10:35 +0000 (00:10 +0000)]
re PR fortran/10965 (g77 compiles illegal code in testsuite)

2003-06-03  David Billinghurst (David.Billinghurst@riotinto.com)

PR fortran/10965
* g77.f-torture/compile/20000601-2.f: Fix non-standard code.

From-SVN: r67349

21 years agoscanasm.exp (dg-scan): New function, factored out of ...
Mark Mitchell [Mon, 2 Jun 2003 19:21:15 +0000 (19:21 +0000)]
scanasm.exp (dg-scan): New function, factored out of ...

* lib/scanasm.exp (dg-scan): New function, factored out of ...
(scan-assembler): ... here.  Use dg-scan.
(scan-assembler-not): Likewise.
(scan-file): New function.
(scan-file-not): Likewise.
* gcc.dg/cpp/19990228-1.c: Use scan-file and/or scan-file-not.
* gcc.dg/cpp/_Pragma4.c: Likewise.
* gcc.dg/cpp/_Pragma5.c: Likewise.
* gcc.dg/cpp/avoidpaste1.c: Likewise.
* gcc.dg/cpp/avoidpaste2.c: Likewise.
* gcc.dg/cpp/cmdlne-C2.c: Likewise.
* gcc.dg/cpp/cmdlne-P.c: Likewise.
* gcc.dg/cpp/cmdlne-dD-M.c: Likewise.
* gcc.dg/cpp/cmdlne-dD-dM.c: Likewise.
* gcc.dg/cpp/cmdlne-dI-M.c: Likewise.
* gcc.dg/cpp/cmdlne-dM-M.c: Likewise.
* gcc.dg/cpp/cmdlne-dM-dD.c: Likewise.
* gcc.dg/cpp/cmdlne-dN-M.c: Likewise.
* gcc.dg/cpp/cxxcom1.c: Likewise.
* gcc.dg/cpp/line1.c: Likewise.
* gcc.dg/cpp/maccom1.c: Likewise.
* gcc.dg/cpp/maccom2.c: Likewise.
* gcc.dg/cpp/maccom3.c: Likewise.
* gcc.dg/cpp/maccom4.c: Likewise.
* gcc.dg/cpp/maccom5.c: Likewise.
* gcc.dg/cpp/maccom6.c: Likewise.
* gcc.dg/cpp/multiline.c: Likewise.
* gcc.dg/cpp/spacing1.c: Likewise.
* gcc.dg/cpp/spacing2.c: Likewise.
* gcc.dg/cpp/trad/cmdlne-C2.c: Likewise.
* gcc.dg/cpp/trad/maccom1.c: Likewise.
* gcc.dg/cpp/trad/maccom2.c: Likewise.
* gcc.dg/cpp/trad/maccom3.c: Likewise.
* gcc.dg/cpp/trad/maccom4.c: Likewise.
* gcc.dg/cpp/trad/maccom6.c: Likewise.
* gcc.dg/cpp/cxxcom2.c: Likewise.
* gcc.dg/cpp/cxxcom2.h: New file.

From-SVN: r67347

21 years agoRevert accidental change to mips_output_move.
Richard Sandiford [Mon, 2 Jun 2003 19:13:41 +0000 (19:13 +0000)]
Revert accidental change to mips_output_move.

From-SVN: r67346

21 years agore PR libstdc++/9815 (atomicity.h - fails to compile with -O3 -masm=intel)
Andrew Pinski [Mon, 2 Jun 2003 18:38:32 +0000 (18:38 +0000)]
re PR libstdc++/9815 (atomicity.h - fails to compile with -O3 -masm=intel)

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

PR libstdc++/9815
* config/cpu/i386/atomicity.h (__exchange_and_add): add intel
asm case to asm.
* config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
(__atomic_add): likewise.

From-SVN: r67343

21 years agosstream.tcc (pbackfail): Minor clean up and reformatting, consistent with basic_fileb...
Paolo Carlini [Mon, 2 Jun 2003 18:24:30 +0000 (20:24 +0200)]
sstream.tcc (pbackfail): Minor clean up and reformatting, consistent with basic_filebuf::pbackfail.

2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/sstream.tcc (pbackfail): Minor clean up and
reformatting, consistent with basic_filebuf::pbackfail.

From-SVN: r67342

21 years agore PR libstdc++/11062 (Please avoid __attribute__ ((unused)))
Richard Kreckel [Mon, 2 Jun 2003 18:03:23 +0000 (18:03 +0000)]
re PR libstdc++/11062 (Please avoid __attribute__ ((unused)))

2003-06-02  Richard Kreckel  <Richard.Kreckel@GiNaC.DE>

PR libstdc++/11062
* config/cpu/mips/atomicity.h:  Change __attribute__ ((unused)) to
__attribute__ ((__unused__)).
* config/os/aix/atomicity.h:  Likewise.

From-SVN: r67340

21 years agore PR libstdc++/9761 (filebuf::pbackfail discards previously put back characters)
Paolo Carlini [Mon, 2 Jun 2003 16:46:28 +0000 (18:46 +0200)]
re PR libstdc++/9761 (filebuf::pbackfail discards previously put back characters)

2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9761
* include/bits/fstream.tcc (pbackfail): If the pback buffer
is already active don't try to store in it a second char.
* testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.

* include/bits/fstream.tcc (pbackfail): Add unbuffered bits.

From-SVN: r67337

21 years ago3.cc: Tweak line spacing.
Paolo Carlini [Mon, 2 Jun 2003 15:53:14 +0000 (17:53 +0200)]
3.cc: Tweak line spacing.

2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
line spacing.

From-SVN: r67336

21 years agoremove addition to ARM configure accidentally added with m32r commit
Nick Clifton [Mon, 2 Jun 2003 15:40:43 +0000 (15:40 +0000)]
remove addition to ARM configure accidentally added with m32r commit

From-SVN: r67335

21 years agostd_fstream.h (_M_destroy_pback): Use _M_in_beg instead of unnecessarily taking the...
Paolo Carlini [Mon, 2 Jun 2003 15:36:24 +0000 (17:36 +0200)]
std_fstream.h (_M_destroy_pback): Use _M_in_beg instead of unnecessarily taking the address of _M_pback.

2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
instead of unnecessarily taking the address of _M_pback.
(xsgetn): Simplify slightly for a single char pback buffer.

2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/sstream.tcc (seekoff): Remove four unnecessary
variables and two 'if', clean up.

2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/sstream.tcc (seekpos): Test against _M_out_lim
not _M_out_end, since the former actually points to the string
end (vs buffer end).
* testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.

From-SVN: r67334

21 years agotruefalse.cpp: Move it to ...
Mark Mitchell [Mon, 2 Jun 2003 15:25:50 +0000 (15:25 +0000)]
truefalse.cpp: Move it to ...

* gcc.dg/cpp/truefalse.cpp: Move it to ...
* g++.dg/cpp/truefalse.C: Here.
* gcc.dg/cpp/cpp.exp: Remove scanning of ".cpp" files.

From-SVN: r67333

21 years agoemit-rtl.c (gen_complex_constant_part): Remove unnecessary test of TREE_CONSTANT_POOL...
Roger Sayle [Mon, 2 Jun 2003 14:19:24 +0000 (14:19 +0000)]
emit-rtl.c (gen_complex_constant_part): Remove unnecessary test of TREE_CONSTANT_POOL_ADDRESS_P.

* emit-rtl.c (gen_complex_constant_part):  Remove unnecessary
test of TREE_CONSTANT_POOL_ADDRESS_P.

Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r67331

21 years agomips.c: Don't include output.h twice.
Kaveh R. Ghazi [Mon, 2 Jun 2003 14:15:15 +0000 (14:15 +0000)]
mips.c: Don't include output.h twice.

* mips.c: Don't include output.h twice.
* stormy16.c: Likewise.
* xtensa.c: Likewise.
* output.h: Protect against multiple inclusion.

From-SVN: r67330

21 years agosh.h (OLD_ARG_MODE): New macro.
J"orn Rennecke [Mon, 2 Jun 2003 14:04:56 +0000 (14:04 +0000)]
sh.h (OLD_ARG_MODE): New macro.

* sh.h (OLD_ARG_MODE): New macro.
(FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
(FUNCTION_ARG_1): Break out of:
(FUNCTION_ARG).  Use OLD_ARG_MODE.

From-SVN: r67329

21 years agoAdd support multilib parts for m32rx processor.
Nick Clifton [Mon, 2 Jun 2003 12:11:49 +0000 (12:11 +0000)]
Add support multilib parts for m32rx processor.

From-SVN: r67328

21 years agoAdd support multilib parts for m32rx processor.
Kazuhiro Inaoka [Mon, 2 Jun 2003 11:48:21 +0000 (11:48 +0000)]
Add support multilib parts for m32rx processor.

From-SVN: r67327

21 years agoMakefile.in (c-options.c): Pass in $(AWK) to opts.sh.
Kaveh R. Ghazi [Mon, 2 Jun 2003 11:41:51 +0000 (11:41 +0000)]
Makefile.in (c-options.c): Pass in $(AWK) to opts.sh.

* Makefile.in (c-options.c): Pass in $(AWK) to opts.sh.
(mostlyclean): Delete c-options.c and c-options.h.

From-SVN: r67326

21 years agoc-opts.c (CL_REJECT_NEGATIVE): New.
Neil Booth [Mon, 2 Jun 2003 05:48:30 +0000 (05:48 +0000)]
c-opts.c (CL_REJECT_NEGATIVE): New.

* c-opts.c (CL_REJECT_NEGATIVE): New.
(c_common_decode_option): Update to use it.
* c.opt: Update documentation; use RejectNegative.
* opts.sh: Handle RejectNegative.

From-SVN: r67325

21 years ago* Shorten a line in my 2003-06-02 entry that was too long.
Ben Elliston [Mon, 2 Jun 2003 05:15:17 +0000 (15:15 +1000)]
* Shorten a line in my 2003-06-02 entry that was too long.

From-SVN: r67324

21 years agoggc-page.c (init_ggc): Give better diagnostics on failure to open /dev/zero.
Zack Weinberg [Mon, 2 Jun 2003 05:05:49 +0000 (05:05 +0000)]
ggc-page.c (init_ggc): Give better diagnostics on failure to open /dev/zero.

* ggc-page.c (init_ggc): Give better diagnostics on failure to
open /dev/zero.
* toplev.c (crash_signal): Reset handling for received signal
to SIG_DFL.

From-SVN: r67323

21 years agoarm.c (arm_use_dfa_pipeline_interface): Declare.
Ben Elliston [Mon, 2 Jun 2003 03:53:54 +0000 (03:53 +0000)]
arm.c (arm_use_dfa_pipeline_interface): Declare.

2003-06-02  Ben Elliston  <bje@wasabisystems.com>

* config/arm/arm.c (arm_use_dfa_pipeline_interface): Declare.
(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define if not already defined.
(arm_use_dfa_pipeline_interface): Implement.
* config/arm/arm.md (arm): New automaton.
(write_buf): Remove function units; new cpu unit.
(write_blockage): Remove function units; new cpu unit.
(core): Remove function units; new cpu unit.
(r_mem_f_wbuf): New instruction reservation.
(store1_wbuf, store2_wbuf, store3_wbuf, store4_wbuf): Likewise.
(store1_ldsched, store2, store3, store4): Likewise.
(load_ldsched, load_ldsched_xscale, load_or_store): Likewise.
(mult, mult_ldsched, mult_ldsched_strongarm): Likewise.
(multi_cycle, single_cycle): Likewise.
* config/arm/fpa.md (armfp): New automaton.
(fpa): Remove function units; new cpu unit.
(fpa_mem): Remove function unit; new cpu unit.
(fdivx, fdivd, fdivs, fmul, ffmul, farith, ffarith): New reservations.
(r_2_f, f_2_r, f_load, f_store, r_mem_f, f_mem_r): Likewise.

From-SVN: r67322

21 years agobuiltin-attrs.def (ATTR_ASM_FPRINTF): New.
Kaveh R. Ghazi [Mon, 2 Jun 2003 01:41:05 +0000 (01:41 +0000)]
builtin-attrs.def (ATTR_ASM_FPRINTF): New.

* builtin-attrs.def (ATTR_ASM_FPRINTF): New.
* c-format.c (enum format_type): Add asm_fprintf_format_type.
(NOARGUMENTS, asm_fprintf_length_specs, asm_fprintf_flag_specs,
asm_fprintf_flag_pairs, asm_fprintf_char_table): New.
(format_types_orig): Renamed from format_types.  Add new data.
(format_types): Declare as pointer.
(handle_format_attribute): Move later in file so we have all
necessary declarations.  Add section to capture HOST_WIDE_INT.
* output.h (ATTRIBUTE_ASM_FPRINTF, __gcc_host_wide_int__): New.
(asm_fprintf): Mark with ATTRIBUTE_ASM_FPRINTF.

From-SVN: r67319

21 years agoDaily bump.
GCC Administrator [Mon, 2 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67317

21 years agoForgot with last commit.
Andreas Jaeger [Sun, 1 Jun 2003 20:11:27 +0000 (22:11 +0200)]
Forgot with last commit.

From-SVN: r67314

21 years agotm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.
Andreas Jaeger [Sun, 1 Jun 2003 19:44:22 +0000 (21:44 +0200)]
tm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.

* doc/tm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and
ROUND_TYPE_SIZE_UNIT.

* stor-layout.c (finalize_record_size): Remove usages of
ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.
(finalize_type_size): Likewise.
(layout_type): Likewise.

* system.h: Poison ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.

ada:
* utils.c (finish_record_type): Remove usages of
ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.

From-SVN: r67313

21 years ago* loop.c (check_insn_for_givs): Remove DONT_REDUCE_ADDR macro.
Andreas Jaeger [Sun, 1 Jun 2003 19:38:28 +0000 (21:38 +0200)]
* loop.c (check_insn_for_givs): Remove DONT_REDUCE_ADDR macro.

From-SVN: r67312

21 years ago* config/d30v/d30v.h: Remove text copied from the manual.
Andreas Jaeger [Sun, 1 Jun 2003 19:32:15 +0000 (21:32 +0200)]
* config/d30v/d30v.h: Remove text copied from the manual.

From-SVN: r67311

21 years agoemit-rtl.c (gen_lowpart_common): Handle interpreting integer constants as condition...
Roger Sayle [Sun, 1 Jun 2003 18:59:17 +0000 (18:59 +0000)]
emit-rtl.c (gen_lowpart_common): Handle interpreting integer constants as condition code values.

* emit-rtl.c (gen_lowpart_common): Handle interpreting integer
constants as condition code values.

Co-Authored-By: Geoffrey Keating <geoffk@apple.com>
Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
From-SVN: r67309

21 years agoOops, wrong date
DJ Delorie [Sun, 1 Jun 2003 18:55:52 +0000 (14:55 -0400)]
Oops, wrong date

From-SVN: r67308

21 years agocppmacro.c (warn_of_redefinition): Handle cases where the two definitions have differ...
DJ Delorie [Sun, 1 Jun 2003 18:55:15 +0000 (14:55 -0400)]
cppmacro.c (warn_of_redefinition): Handle cases where the two definitions have different numbers of tokens.

* cppmacro.c (warn_of_redefinition): Handle cases where the two
definitions have different numbers of tokens.

* gcc.dg/cpp/redef3.c: New file.

From-SVN: r67307

21 years agogen-protos.c (main): Readd unused attribute for argc.
Andreas Jaeger [Sun, 1 Jun 2003 18:48:38 +0000 (20:48 +0200)]
gen-protos.c (main): Readd unused attribute for argc.

2003-06-01  Andreas Jaeger  <aj@suse.de>

* gen-protos.c (main): Readd unused attribute for argc.

From-SVN: r67306

21 years agoMakefile.in (c-options.c, [...]): Parallel make safe.
Neil Booth [Sun, 1 Jun 2003 18:24:08 +0000 (18:24 +0000)]
Makefile.in (c-options.c, [...]): Parallel make safe.

* Makefile.in (c-options.c, c-options.h): Parallel make safe.
* c.opt: End in blank line.
* opts.sh: Take AWK from environment if available; use C locale.

From-SVN: r67305

21 years ago* config/m68k/linux.h: Remove code protected by USE_GNULIBC_1.
Andreas Schwab [Sun, 1 Jun 2003 17:43:20 +0000 (17:43 +0000)]
* config/m68k/linux.h: Remove code protected by USE_GNULIBC_1.

From-SVN: r67304

21 years ago* gen-protos.c (main): Revert patch to check for argument.
Andreas Jaeger [Sun, 1 Jun 2003 16:48:05 +0000 (18:48 +0200)]
* gen-protos.c (main): Revert patch to check for argument.

From-SVN: r67303

21 years agore PR target/11044 ([x86] out of range loop instructions for FP code on K6)
Eric Botcazou [Sun, 1 Jun 2003 16:10:09 +0000 (18:10 +0200)]
re PR target/11044 ([x86] out of range loop instructions for FP code on K6)

PR target/11044
* config/i386/i386.md (length attribute): Set length to 4
for instructions of type "fcmp".

From-SVN: r67300

21 years agotoplev.c: Use ISO C90 prototypes.
Andreas Jaeger [Sun, 1 Jun 2003 16:04:55 +0000 (18:04 +0200)]
toplev.c: Use ISO C90 prototypes.

        * toplev.c: Use ISO C90 prototypes.

        * toplev.h: Use ISO C90 prototypes.

From-SVN: r67299

21 years agogenattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
Andreas Jaeger [Sun, 1 Jun 2003 16:02:11 +0000 (18:02 +0200)]
genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.

        * genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
        Remove #if 0'ed function simplify_by_alternatives.
        (optimize_attrs): Remove #if 0'ed code.
        Remove ^L.
        Use ISO C90 prototypes.
        (make_canonical): Remove #if 0'ed code.
        (convert_const_symbol_ref): Remove #if 0'ed function.

From-SVN: r67298

21 years agogenrecog.c: Use ISO C90 prototypes.
Andreas Jaeger [Sun, 1 Jun 2003 15:59:10 +0000 (17:59 +0200)]
genrecog.c: Use ISO C90 prototypes.

* genrecog.c: Use ISO C90 prototypes.
(nodes_identical): Correct declaration to match prototype.
(maybe_both_true): Likewise.
(merge_trees): Likewise.

* genpeep.c (gen_peephole): Remove #if 0 code.
Use ISO C90 prototypes.

* genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
Remove #if 0'ed function simplify_by_alternatives.
(optimize_attrs): Remove #if 0'ed code.
Remove ^L.
Use ISO C90 prototypes.
(make_canonical): Remove #if 0'ed code.
(convert_const_symbol_ref): Remove #if 0'ed function.

* gen-protos.c (main): Check for argument.

* rtl.h: Use ISO C90 prototypes for functions from lists.c.

* params.h: Use ISO C90 prototypes.
* params.c: Likewise.
* intl.c: Likewise.
* intl.h: Likewise.
* lists.c: Likewise.
* errors.c: Likewise.
* errors.h: Likewise.
* gencodes.c: Likewise.
* genpreds.c: Likewise.
* genattr.c: Likewise.
* gen-protos.c: Likewise.
* genflags.c: Likewise
* genconditions.c: Likewise.
* genautomata.c: Likewise.
* gencheck.c: Likewise.
* genconfig.c: Likewise.
* genconstants.c: Likewise.
* genemit.c: Likewise.
* genextract.c: Likewise.
* gengenrtl.c: Likewise.
* gengtype.c: Likewise.
* gengtype.h: Likewise.
* genopinit.c: Likewise.
* genoutput.c: Likewise.
* gensupport.c: Likewise.
* gensupport.h: Likewise.

From-SVN: r67296

21 years agoste.c (ffeste_R838): Handle ERROR_MARK.
Bud Davis [Sun, 1 Jun 2003 15:45:05 +0000 (15:45 +0000)]
ste.c (ffeste_R838): Handle ERROR_MARK.

2003-06-01  Bud Davis  <bdavis9659@comcast.net>

* ste.c (ffeste_R838): Handle ERROR_MARK.
(ffeste_R839): Ditto.

From-SVN: r67295

21 years agosdbout.h: Use ISO C90 prototypes.
Andreas Jaeger [Sun, 1 Jun 2003 15:43:59 +0000 (17:43 +0200)]
sdbout.h: Use ISO C90 prototypes.

* sdbout.h: Use ISO C90 prototypes.

* sdbout.c (CONTIN): Removed empty macro.
(sdbout_one_type): Remove CONTIN usages.
Remove ^Ls.
(tag_of_ru_type): Remove #if 0'ed function.
(sdbout_symbol): Remove #if 0'ed code.
(sdbout_one_type): Remove a #if 1.
(sdbout_one_type): Remove #if 0'ed code.
(sdbout_init): Remove RMS_QUICK_HACK_1 code.
Remove PARAMS, use ISO C90 prototypes for all functions.

From-SVN: r67294

21 years ago* rtl.def (CONST_DOUBLE): Update comment.
Josef Zlomek [Sun, 1 Jun 2003 14:42:42 +0000 (16:42 +0200)]
* rtl.def (CONST_DOUBLE): Update comment.

From-SVN: r67293

21 years ago* opts.sh: Remove path from sort.
Neil Booth [Sun, 1 Jun 2003 13:19:50 +0000 (13:19 +0000)]
* opts.sh: Remove path from sort.

From-SVN: r67291

21 years agoadd PR#
Aldy Hernandez [Sun, 1 Jun 2003 11:36:25 +0000 (11:36 +0000)]
add PR#

From-SVN: r67290

21 years agors6000.h (CANNOT_CHANGE_MODE_CLASS): Require TARGET_SPE for SPE_VECTOR_MODE.
Aldy Hernandez [Sun, 1 Jun 2003 11:35:45 +0000 (11:35 +0000)]
rs6000.h (CANNOT_CHANGE_MODE_CLASS): Require TARGET_SPE for SPE_VECTOR_MODE.

2003-06-01  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Require
        TARGET_SPE for SPE_VECTOR_MODE.

From-SVN: r67289

21 years agolex.c (ffelex_file_fixed): Remove usage of REDUCE_CARD_SIZE_AFTER_BIGGY.
Andreas Jaeger [Sun, 1 Jun 2003 07:21:02 +0000 (09:21 +0200)]
lex.c (ffelex_file_fixed): Remove usage of REDUCE_CARD_SIZE_AFTER_BIGGY.

* lex.c (ffelex_file_fixed): Remove usage of
REDUCE_CARD_SIZE_AFTER_BIGGY.

* expr.c (ffeexpr_exprstack_push_operand_): Remove code depenend
on WEIRD_NONFORTRAN_RULES.

* com.c (ffecom_arg_ptr_to_expr): Remove
PASS_HOLLERITH_BY_DESCRIPTOR dependend code.
(ffecom_const_expr): Remove usage of NEWCOMMON.
(ffecom_expand_let_stmt): Remove MOVE_EXPR.

From-SVN: r67287

21 years agoDaily bump.
GCC Administrator [Sun, 1 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67283

21 years agotoplev.c (botch): Remove.
Aldy Hernandez [Sat, 31 May 2003 23:46:41 +0000 (23:46 +0000)]
toplev.c (botch): Remove.

2003-05-31  Aldy Hernandez  <aldyh@redhat.com>

* toplev.c (botch): Remove.
(do_abort): Remove.
(set_Wunused): Comment.
(set_Wextra): Comment.
Remove ^L's.
(rest_of_compilation): Factor out common code into functions.
(rest_of_handle_inlining): New.
(rest_of_handle_ssa): New.
(rest_of_handle_cse): New.
(rest_of_handle_gcse): New.
(rest_of_handle_loop_optimize): New.
(rest_of_handle_jump_bypass): New.
(rest_of_handle_sibling_calls): New.
(rest_of_handle_null_pointer): New.
(rest_of_handle_addresof): New.
(rest_of_handle_flow): New.
(rest_of_handle_branch_prob): New.
(rest_of_handle_if_conversion): New.
(rest_of_handle_tracer): New.
(rest_of_handle_loop2): New.
(rest_of_handle_cse2): New.
(rest_of_handle_life): New.
(rest_of_handle_combine): New.
(rest_of_handle_if_after_combine): New.
(rest_of_handle_regmove): New.
(rest_of_handle_sched): New.
(rest_of_handle_old_regalloc): New.
(rest_of_handle_new_regalloc): New.
(rest_of_handle_regrename): New.
(rest_of_handle_reorder_blocks): New.
(rest_of_handle_sched2): New.
(rest_of_handle_new_regalloc): New.
(rest_of_handle_old_regalloc): New.
(rest_of_handle_regrename): New.
(rest_of_handle_reorder_blocks): New.
(rest_of_handle_stack_regs): New.
(rest_of_handle_machine_reorg): New.
(rest_of_handle_delay_slots): New.
(rest_of_handle_final): New.

* toplev.h (botch): Remove prototype.
(do_abort): Same.

From-SVN: r67281

21 years agoRemove some references to GNATS. Reference to gnats.html still to be purged.
Wolfgang Bangerth [Sat, 31 May 2003 23:09:11 +0000 (17:09 -0600)]
Remove some references to GNATS. Reference to gnats.html still to be purged.

From-SVN: r67280

21 years agoclass.c (dump_array): Call CONSTRUCTOR_ELTS to access the operand of a CONSTRUCTOR...
Diego Novillo [Sat, 31 May 2003 22:32:42 +0000 (22:32 +0000)]
class.c (dump_array): Call CONSTRUCTOR_ELTS to access the operand of a CONSTRUCTOR node.

* class.c (dump_array): Call CONSTRUCTOR_ELTS to access
the operand of a CONSTRUCTOR node.

From-SVN: r67279

21 years agoMakefile.in (c-opts.o, [...]): Update dependencies.
Neil Booth [Sat, 31 May 2003 21:18:21 +0000 (21:18 +0000)]
Makefile.in (c-opts.o, [...]): Update dependencies.

* Makefile.in (c-opts.o, c-options.h): Update dependencies.
* c-opts.c: Include c-options.h and c-options.c.
(CL_C_ONLY, CL_OBJC_ONLY, CL_CXX_ONLY, CL_OBJCXX_ONLY):
Rename CL_C, CL_OBJC, CL_CXX, CL_OBJCXX.
(CL_ARG, CL_ALL, COMMAND_LINE_OPTIONS, struct cl_option,
OPT, opt_comp): Remove.
(missing_arg, c_common_init_options, c_common_decode_option,
write_langs): Update for macro redefinitions and enumeration
name changes.
* c.opt, opts.sh: New files.
* doc/passes.texi: Update.

From-SVN: r67278

21 years agoffree-form-2.f: XFAIL removed, because fixed.
Toon Moene [Sat, 31 May 2003 19:49:59 +0000 (21:49 +0200)]
ffree-form-2.f: XFAIL removed, because fixed.

2003-05-31  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.dg/ffree-form-2.f: XFAIL removed, because fixed.

From-SVN: r67277

21 years agore PR fortran/10843 (g77 -ffree-form rejects "GO TO".)
Bud Davis [Sat, 31 May 2003 19:45:41 +0000 (19:45 +0000)]
re PR fortran/10843 (g77 -ffree-form rejects "GO TO".)

2003-05-31  Bud Davis  <bdavis9659@comcast.net>

PR fortran/10843
* sta.c (ffesta_second_): Parse GO TO correctly,
even in free source format.

From-SVN: r67276

21 years agoAdd missed chunk in last commit.
Andreas Jaeger [Sat, 31 May 2003 18:59:10 +0000 (20:59 +0200)]
Add missed chunk in last commit.

From-SVN: r67275

21 years agofunction.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE usage.
Andreas Jaeger [Sat, 31 May 2003 18:45:31 +0000 (20:45 +0200)]
function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE usage.

        * function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE
        usage.

        * doc/tm.texi (Trampolines): Remove ALLOCATE_TRAMPOLINE.

        * config/d30v/d30v.h: Remove traces of ALLOCATE_TRAMPOLINE.

        * system.h: Poison ALLOCATE_TRAMPOLINE.

        * doc/tm.texi (Misc): Remove HANDLE_PRAGMA.
        * system.h: Poison HANDLE_PRAGMA.

In f/
        * lex.c (ffelex_hash_): Remove HANDLE_PRAGMA and
        HANDLE_GENERIC_PRAGMA dependend code, remove #if 0 code.
        (pragma_getc): Removed.
        (pragma_ungetc): Removed.

From-SVN: r67274

21 years ago* MAINTAINERS: Add self as option-handling maintainer.
Neil Booth [Sat, 31 May 2003 15:03:02 +0000 (15:03 +0000)]
* MAINTAINERS: Add self as option-handling maintainer.

From-SVN: r67273

21 years ago* doc/invoke.texi: Update dump file names.
Kazu Hirata [Sat, 31 May 2003 14:48:45 +0000 (14:48 +0000)]
* doc/invoke.texi: Update dump file names.

From-SVN: r67272

21 years agoc-format.c (format_length_info, [...]): De-const-ify structure members.
Kaveh R. Ghazi [Sat, 31 May 2003 14:03:06 +0000 (14:03 +0000)]
c-format.c (format_length_info, [...]): De-const-ify structure members.

* c-format.c (format_length_info, format_char_info,
format_flag_spec, format_flag_pair, format_kind_info):
De-const-ify structure members.

From-SVN: r67271

21 years agoflags.h (flag_wrapv): New flag controlling overflow semantics.
Roger Sayle [Sat, 31 May 2003 13:23:32 +0000 (13:23 +0000)]
flags.h (flag_wrapv): New flag controlling overflow semantics.

* flags.h (flag_wrapv): New flag controlling overflow semantics.
* toplev.c (flag_wrapv): Declare the variable with default false.
(lang_independent_options): New option "-fwrapv" to set the above.

* fold-const.c (extract_muldiv_1): Disable optimization of (2*x)/2
as x, when signed arithmetic overflow wraps around.
(fold): Optimize "-A - B" as "-B - A" if overflow wraps around.
* loop.c (basic_induction_var): Ignore BIVs that rely on undefined
overflow when flag_wrapv is true.

* java/lang.c (java_init_options): Prescribe wrap-around two's
complement arithmetic overflow by setting flag_wrapv.

* doc/invoke.texi: Document new -fwrapv command line option.
* doc/c-tree.texi: Mention that the overflow semantics of
NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR and MULT_EXPR is dependent
upon both flag_wrapv and flag_trapv.

* gcc.dg/fwrapv-1.c: New test case.
* gcc.dg/fwrapv-2.c: New test case.

* libjava.lang/Overflow.java: New test.
* libjava.lang/Overflow.out: New file.

From-SVN: r67270

21 years agodecl.c (cp_binding_level::this_entity): Rename from this_class.
Gabriel Dos Reis [Sat, 31 May 2003 12:53:41 +0000 (12:53 +0000)]
decl.c (cp_binding_level::this_entity): Rename from this_class.

* decl.c (cp_binding_level::this_entity): Rename from this_class.
(cxx_scope_descriptor): New function.
(cxx_scope_debug): Likewise.
(push_binding_level): Use it.
(pop_binding_level): Likewise.
(suspend_binding_level): Likewise.
(resume_binding_level): Likewise.
(pushlevel_class): Adjust use of this_class.
(pushtag): Likewise.
(lookup_name_real): Likewise.
(global_scope_name): New variable.
(initialize_predefined_identifiers): Initialize it.
(push_namespace): Use it.
(make_cxx_scope): New function.
(pushlevel): Use it.
(pushlevel_class): Likewise.
(push_binding_level): Simplify.  Loose the last two arguments.
(make_binding_level): Remove.
(initial_push__namespace_scope): New function.
(push_namespace): Use it.  Simplify.
(cxx_init_decl_processing): Likewise.
(declare_namespace_level): Remove.

From-SVN: r67269

21 years agore PR c++/10956 (ICE when specializing a template member function of a template class...
Kriang Lerdsuwanakij [Sat, 31 May 2003 12:13:30 +0000 (12:13 +0000)]
re PR c++/10956 (ICE when specializing a template member function of a template class, in tsubst, at cp/pt.c:6459)

PR c++/10956
* pt.c (instantiate_decl): Don't use full template arguments if
we are dealing with specializations.

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

From-SVN: r67268

21 years agoinstall.texi (mips-sgi-irix5): Add missing HTML <hr> marker.
Eric Botcazou [Sat, 31 May 2003 09:31:41 +0000 (11:31 +0200)]
install.texi (mips-sgi-irix5): Add missing HTML <hr> marker.

* doc/install.texi (mips-sgi-irix5): Add missing
HTML <hr> marker.

From-SVN: r67265

21 years agomd.texi (Machine Constraints): Document missing SPARC constraints.
Eric Botcazou [Sat, 31 May 2003 07:53:13 +0000 (09:53 +0200)]
md.texi (Machine Constraints): Document missing SPARC constraints.

* doc/md.texi (Machine Constraints): Document
missing SPARC constraints.

From-SVN: r67263

21 years agomd.texi (Automaton pipeline description): Use "type" instead of "cpu" as the attribut...
Eric Botcazou [Sat, 31 May 2003 07:43:47 +0000 (09:43 +0200)]
md.texi (Automaton pipeline description): Use "type" instead of "cpu" as the attribute in the examples.

* doc/md.texi (Automaton pipeline description): Use
"type" instead of "cpu" as the attribute in the examples.

From-SVN: r67261

21 years agocom.c (ffecom_init_0): Define built-in functions for tan and atan.
Roger Sayle [Sat, 31 May 2003 02:44:34 +0000 (02:44 +0000)]
com.c (ffecom_init_0): Define built-in functions for tan and atan.

* com.c (ffecom_init_0): Define built-in functions for tan and atan.
* com-rt.def: Use then to implement g77's tan and atan intrinsics.

From-SVN: r67260

21 years agoDaily bump.
GCC Administrator [Sat, 31 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67257

21 years ago* system.h: Poison OBJC_PROLOGUE.
Stan Shebs [Fri, 30 May 2003 23:14:41 +0000 (23:14 +0000)]
* system.h: Poison OBJC_PROLOGUE.

From-SVN: r67255

21 years agoemit-rtl.c (gen_complex_constant_part): New function for getting the constant real...
Roger Sayle [Fri, 30 May 2003 21:41:21 +0000 (21:41 +0000)]
emit-rtl.c (gen_complex_constant_part): New function for getting the constant real or imaginary part of a complex constant.

* emit-rtl.c (gen_complex_constant_part): New function for getting
the constant real or imaginary part of a complex constant.
(gen_realpart): Use it.
(gen_imagpart): Likewise.

From-SVN: r67252

21 years agoinvoke.texi: Fix typos.
Kazu Hirata [Fri, 30 May 2003 19:50:02 +0000 (19:50 +0000)]
invoke.texi: Fix typos.

* doc/invoke.texi: Fix typos.
* doc/rtl.texi: Likewise.

From-SVN: r67251

21 years agocrti.asm: Use .h8300hn and .h8300sn for normal mode.
Dhananjay Deshpande [Fri, 30 May 2003 19:26:14 +0000 (19:26 +0000)]
crti.asm: Use .h8300hn and .h8300sn for normal mode.

* config/h8300/crti.asm: Use .h8300hn and .h8300sn for normal
mode.
* config/h8300/crtn.asm: Likewise.
* config/h8300/lib1funcs.asm: Likewise.
* config/h8300/h8300.c (asm_file_start): Likewise.
* config/h8300/elf.h (LINK_SPEC): Use h8300hnelf and
h8300snelf emulations for normal mode.
* config/h8300/h8300.h (LINK_SPEC): Use h8300hn and h8300sn
emulations for normal mode.

From-SVN: r67250

21 years agofilter: New file.
Phil Edwards [Fri, 30 May 2003 19:12:56 +0000 (19:12 +0000)]
filter: New file.

2003-05-30  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/filter:  New file.
* docs/doxygen/filter.sed:  New file.
* docs/doxygen/run_doxygen:  Add g flag to sed substitutions.  Duh.
* docs/doxygen/user.cfg.in (INPUT_FILTER):  Point to new filter.
* docs/html/documentation.html:  Fix links to doxygen pages.

From-SVN: r67249

21 years agoh8300.c (h8300_tiny_constant_address_p): Return true if TARGET_NORMAL_MODE.
Dhananjay Deshpande [Fri, 30 May 2003 19:12:42 +0000 (19:12 +0000)]
h8300.c (h8300_tiny_constant_address_p): Return true if TARGET_NORMAL_MODE.

* config/h8300/h8300.c (h8300_tiny_constant_address_p): Return
true if TARGET_NORMAL_MODE.

From-SVN: r67248

21 years agocse.c (cse_insn): Simplify REG_EQUAL note on libcalls when making a substitution.
Roger Sayle [Fri, 30 May 2003 17:49:44 +0000 (17:49 +0000)]
cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when making a substitution.

* cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when
making a substitution.
(dead_libcall_p): If directly replacing a libcall with a
constant value produces an invalid instruction, also try forcing
the constant into the constant pool.
* expr.c (emit_move_insn): Add a REG_EQUAL note when it is not
obvious that the source is a constant.
(compress_float_constant): Use set_unique_reg_note to place
REG_EQUAL notes on instructions.

From-SVN: r67247

21 years agomips.c (extern_list): Add GTY marker.
Eric Christopher [Fri, 30 May 2003 16:23:59 +0000 (16:23 +0000)]
mips.c (extern_list): Add GTY marker.

2003-05-30  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.c (extern_list): Add GTY marker.
(extern_head): Separate out definition. Add marker.
(mips_output_external): Use ggc_alloc for extern_list
allocation.
(mips_output_external_libcall): Ditto.

From-SVN: r67245

21 years agoinstall.texi: Ada-enabled bootstrap requires GNAT 3.14 or later.
Florian Weimer [Fri, 30 May 2003 15:52:42 +0000 (17:52 +0200)]
install.texi: Ada-enabled bootstrap requires GNAT 3.14 or later.

2003-05-30  Florian Weimer  <fw@deneb.enyo.de>

* doc/install.texi: Ada-enabled bootstrap requires GNAT 3.14 or
later.

From-SVN: r67244

21 years agovax.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warnings.
Kaveh R. Ghazi [Fri, 30 May 2003 14:02:48 +0000 (14:02 +0000)]
vax.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warnings.

* vax.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
warnings.
(PRINT_OPERAND): Likewise.

From-SVN: r67243

21 years agomips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move -mdebug/-no-mdebug switches ...
Rainer Orth [Fri, 30 May 2003 12:02:45 +0000 (12:02 +0000)]
mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move -mdebug/-no-mdebug switches ...

* config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move
-mdebug/-no-mdebug switches ...
(MDEBUG_ASM_SPEC): ... here.
Use only with gas.
(EXTRA_SPECS): Initialize mdebug_asm_spec.

From-SVN: r67242

21 years agofstream.tcc (_M_convert_to_external): Don't check for __ilen > 0.
Paolo Carlini [Fri, 30 May 2003 11:39:56 +0000 (13:39 +0200)]
fstream.tcc (_M_convert_to_external): Don't check for __ilen > 0.

2003-05-30  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/fstream.tcc (_M_convert_to_external): Don't
check for __ilen > 0.

From-SVN: r67240

21 years agoRemove conflict marker.
Matt Kraai [Fri, 30 May 2003 00:50:32 +0000 (00:50 +0000)]
Remove conflict marker.

From-SVN: r67239

21 years agogthr-gnat.c: Remove #undef UNUSED.
Matt Kraai [Fri, 30 May 2003 00:43:08 +0000 (00:43 +0000)]
gthr-gnat.c: Remove #undef UNUSED.

* gthr-gnat.c: Remove #undef UNUSED.
(__gnat_default_lock, __gnat_default_unlock): Prototype.
(__gnat_task_lock, __gnat_task_unlock): Make declarations
prototypes.
(__gnat_install_locks): Convert declaration to ISO C90, make
parameter declarations prototypes, and remove blank line.
* gthr-gnat.h (__gnat_install_locks): Make parameter
declarations prototypes.

From-SVN: r67238

21 years agoDaily bump.
GCC Administrator [Fri, 30 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67236

21 years ago* Makefile.in (unstrap): Remove stage_last after make unstage1.
Jason Merrill [Thu, 29 May 2003 23:05:39 +0000 (19:05 -0400)]
* Makefile.in (unstrap): Remove stage_last after make unstage1.

From-SVN: r67233

21 years ago* mips-tfile.c (PAGE_SIZE): Increase page size to 32K.
Roger Sayle [Thu, 29 May 2003 21:36:52 +0000 (21:36 +0000)]
* mips-tfile.c (PAGE_SIZE): Increase page size to 32K.

From-SVN: r67232

21 years agoadd comment
Jason Merrill [Thu, 29 May 2003 21:33:50 +0000 (17:33 -0400)]
add comment

From-SVN: r67231

21 years agore PR bootstrap/10169 (Bootstrap fails on mainline with Tru64 5.1B)
Roger Sayle [Thu, 29 May 2003 21:33:35 +0000 (21:33 +0000)]
re PR bootstrap/10169 (Bootstrap fails on mainline with Tru64 5.1B)

PR bootstrap/10169
* mips-tfile.c (main): Use getopt_long instead of getopt.
Add new command line option --version to display version.
Treat --verbose like -v to report a single line version.
(options): New global variable for getopt_long.
* mips-tdump.c (main): Use getopt_long instead of getopt.
New command line options -v, --version and -verbose to display
the program version number (to match mips-tfile's behavior).
(options): New global variable for getopt_long.

* gcov.c (options): Zero-terminate getopt_long array.
* gcov-dump.c (options): Likewise.

* Makefile.in (mips-tdump.o): Add dependency on version.h.

Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r67230

21 years agoRemove OBJC_PROLOGUE everywhere.
Stan Shebs [Thu, 29 May 2003 21:13:35 +0000 (21:13 +0000)]
Remove OBJC_PROLOGUE everywhere.

* objc/objc-act.c (finish_objc): Remove use of OBJC_PROLOGUE.
* config/avr/avr.h: Remove no-op ref to OBJC_PROLOGUE.
* config/d30v/d30v.h: Similarly.
* config/ip2k/ip2k.h: Similarly.
* doc/tm.texi: Remove doc of OBJC_PROLOGUE.

From-SVN: r67229

21 years agodecl.c (ENABLE_SCOPE_CHECKING): Rename from DEBUG_BINDING_LEVELS.
Gabriel Dos Reis [Thu, 29 May 2003 17:25:04 +0000 (17:25 +0000)]
decl.c (ENABLE_SCOPE_CHECKING): Rename from DEBUG_BINDING_LEVELS.

        * decl.c (ENABLE_SCOPE_CHECKING): Rename from DEBUG_BINDING_LEVELS.
        (binding_depth): Unconditionally define.
        (is_class_level): Likewise.
        (indent): Likewise.  Take an indenting parameter.
        (push_binding_level): Remove conditional definittion.
        (pop_binding_level): Likewise.
        (suspend_binding_level): Likewise.
        (resume_binding_level): Likewise.
        (pushlevel): Likewise.
        (pushlevel_class): Likewise.
        (poplevel_class): Likewise.
        (pop_everything): Likewise.

From-SVN: r67226

21 years agobuiltins.c (cos_builtin, [...]): Delete.
Roger Sayle [Thu, 29 May 2003 16:38:04 +0000 (16:38 +0000)]
builtins.c (cos_builtin, [...]): Delete.

* builtins.c (cos_builtin, sin_builtin, sqrt_builtin): Delete.
(builtin_record): Add an additional builtin_code field to
record which GCC built-in corresponds to the Java function.
(java_builtins):  Add new entries for atan, atan2, exp, log,
pow and tan.
(max_builtin, min_builtin, abs_builtin): Perform constant
folding on the resulting tree.
(java_build_function_call_expr): Likewise, perform constant
folding on the resulting tree.
(initialize_builtins): The NULL creators are now allowed in
the java_builtins table, which is now terminated by an entry
with builtin_code == END_BUILTINS.
(check_for_builtin): Likewise.  If the matching creator is
NULL, construct the call using java_build_function_call_expr
directly with the decl for the corresponding builtin_code.

From-SVN: r67225

21 years agoc-semantics.c (genrtl_do_stmt_1): New function split out from...
Roger Sayle [Thu, 29 May 2003 16:33:47 +0000 (16:33 +0000)]
c-semantics.c (genrtl_do_stmt_1): New function split out from...

* c-semantics.c (genrtl_do_stmt_1): New function split out from...
(gen_rtl_do_stmt): ... here.  Call genrtl_do_stmt_1.
(expand_unreachable_stmt): Expand unreachable while statements
using genrtl_do_stmt_1.

* gcc.dg/duff-4.c: New test case.

From-SVN: r67224

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