Jason Merrill
b58564754b
parse.y (function_body): Suppress the block for the outermost curly braces.
...
* parse.y (function_body): Suppress the block for the outermost
curly braces.
* decl.c (pushdecl): Don't try to skip it.
(begin_function_body): Keep the block we create, not the next one.
* init.c (emit_base_init): Don't mess with keep_next_level.
From-SVN: r49076
2002-01-22 09:42:09 -05:00
Jason Merrill
6bc34b14ef
* class.c (build_base_path): Tweak formatting.
...
From-SVN: r49075
2002-01-22 09:37:29 -05:00
Kazu Hirata
cf40364820
predict.c: Fix formatting.
...
* predict.c: Fix formatting.
* print-tree.c: Likewise.
* protoize.c: Likewise.
* real.h: Likewise.
* rtl.h: Likewise.
* sbitmap.h: Likewise.
* scan.c: Likewise.
* sched-deps.c: Likewise.
* sched-vis.c: Likewise.
* sdbout.c: Likewise.
* sibcall.c: Likewise.
* ssa.c: Likewise.
* ssa-ccp.c: Likewise.
* ssa-dce.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* system.h: Likewise.
From-SVN: r49074
2002-01-22 14:33:35 +00:00
Richard Kenner
a8765ae7a0
tree.c (int_fits_type_p): If bounds of a subtype are variable, see if fits in bounds of base type.
...
* tree.c (int_fits_type_p): If bounds of a subtype are variable, see
if fits in bounds of base type.
From-SVN: r49070
2002-01-22 07:01:54 -05:00
Richard Kenner
aea9695ca5
dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
...
* dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
(loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
(add_bound_info, default): If can't find a context, make a
SAVE_EXPR.
(dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
From-SVN: r49069
2002-01-22 06:33:52 -05:00
GCC Administrator
ffe154a990
Daily bump.
...
From-SVN: r49067
2002-01-22 08:16:44 +00:00
Hans-Peter Nilsson
58bf601bae
c-typeck.c (parser_build_binary_op): If result from build_binary_op is ERROR_MARK just return error_mark_node...
...
* c-typeck.c (parser_build_binary_op): If result from
build_binary_op is ERROR_MARK just return error_mark_node without
further processing.
From-SVN: r49066
2002-01-22 07:48:25 +00:00
Hans-Peter Nilsson
0c0c3c3995
* gcc.dg/20020122-1.c: New test.
...
From-SVN: r49065
2002-01-22 07:43:58 +00:00
Jason Thorpe
f982f8052a
netbsd.h (TARGET_HAS_F_SETLKW): define.
...
* config/netbsd.h (TARGET_HAS_F_SETLKW): define.
Split a.out-specific bits into...
* config/netbsd-aout.h: ...this.
* config/netbsd-elf.h: New file.
* config/alpha/netbsd-elf.h: Remove.
* config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
* config/i386/netbsd-elf.h (LIB_SPEC): Remove.
(STARTFILE_SPEC): Remove redundant definition.
(ENDFILE_SPEC): Likewise.
(LINK_SPEC): Likewise.
(CPP_SPEC): Likewise.
(ASM_SPEC): Likewise.
(LIB_SPEC): Likewise.
(SWITCH_TAKES_ARG): Likewise.
(TARGET_MEM_FUNCTIONS): Likewise.
(CPP_PREDEFINES): Redefine.
(ASM_FINAL_SPEC): Remove redefinition.
(ASM_COMMENT_START): Redefine.
(FUNCTION_PROFILER): Define.
(TARGET_VERSION): Redefine.
Comment and formatting cleanup.
* config/i386/netbsd.h: Include <netbsd-aout.h>.
* config/m68k/netbsd.h: Include <netbsd-aout.h>.
* config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
big- or little-endian.
* config/ns32k/netbsd.h: Include <netbsd-aout.h>.
* config.gcc (*-*-netbsd*): Add definitions common to all
NetBSD configs.
(alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
gnu_ld definitions. Add netbsd-elf.h to and remove
alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
tmake_file, and don't lose previous tmake_file contents.
(arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
(i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
gnu_ld definitions. Add netbsd-elf.h to tm_file.
(mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
(mipsel-*-netbsd*): Rename this to...
(mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
mips/little.h to tm_file for mips*el-*.
(powerpc-*-netbsd*): Remove redundant xm_defines definition.
(sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
(vax-*-netbsd*): Add netbsd-aout.h to tm_file.
From-SVN: r49064
2002-01-22 04:23:07 +00:00
Aldy Hernandez
58dbcf0581
tm.texi: Remove STARTING_FRAME_PHASE.
...
* doc/tm.texi: Remove STARTING_FRAME_PHASE.
* config/rs6000/rs6000.h: Same.
* function.c (instantiate_virtual_regs): Remove
STARTING_FRAME_PHASE.
(assign_stack_local_1): Same.
Calculate frame phase.
From-SVN: r49063
2002-01-22 02:36:54 +00:00
Tom Tromey
1ec968465b
ChangeLog rotation
...
From-SVN: r49061
2002-01-22 00:20:23 +00:00
David Billinghurst
75dbec30b8
attrib5.C: XFAIL cygwin too
...
2001-01-22 David.Billinghurst <David.Billinghurst@riotinto.com>
* g++.old-deja/g++.ext/attrib5.C: XFAIL cygwin too
From-SVN: r49060
2002-01-21 23:40:44 +00:00
David Billinghurst
32abfc26ab
20010207-1.c: Restrict to i?86-*-[eflno]*
...
2002-01-22 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/20010207-1.c: Restrict to i?86-*-[eflno]*
From-SVN: r49059
2002-01-21 22:58:30 +00:00
John David Anglin
2e3964763a
pa-protos.h (reg_before_reload_operand): New function prototype.
...
* pa-protos.h (reg_before_reload_operand): New function prototype.
* pa.c (reg_before_reload_operand): New function implementation.
* pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
contraints to "*m".
From-SVN: r49058
2002-01-21 22:57:49 +00:00
Franz Sirl
3b5708e7e6
combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
...
2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
From-SVN: r49057
2002-01-21 22:19:55 +00:00
Franz Sirl
38e583fd25
20020121-1.c: New test.
...
2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/compile/20020121-1.c: New test.
From-SVN: r49056
2002-01-21 22:16:04 +00:00
John David Anglin
e5f54c4567
g77.exp (g77_link_flags): Remove check for libg2c.so in setting ld_library_path.
...
* lib/g77.exp (g77_link_flags): Remove check for libg2c.so in setting
ld_library_path.
From-SVN: r49055
2002-01-21 21:29:12 +00:00
John David Anglin
85e79f96ed
pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
...
* pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
(MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
(MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
(EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
(ENDFILE_SPEC): Undefine.
(STARTFILE_SPEC): Redefine for PA.
From-SVN: r49054
2002-01-21 21:22:19 +00:00
Franz Sirl
38abadee50
t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
...
2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
From-SVN: r49048
2002-01-21 18:55:07 +00:00
Daniel Jacobowitz
94f1d97c48
config.gcc: Add entries to supported PowerPC --with-cpu types.
...
2002-01-21 Daniel Jacobowitz <drow@mvista.com>
* config.gcc: Add entries to supported PowerPC --with-cpu
types.
From-SVN: r49047
2002-01-21 11:14:48 -05:00
Jakub Jelinek
0333394edf
i386.c (ix86_function_arg_regno_p): Never return true for 64-bit mode only SSE registers in 32-bit mode.
...
* config/i386/i386.c (ix86_function_arg_regno_p): Never return
true for 64-bit mode only SSE registers in 32-bit mode.
* gcc.dg/20020218-1.c: New test.
From-SVN: r49046
2002-01-21 16:53:31 +01:00
Kazu Hirata
e9d1b155fc
unwind-dw2.c: Fix formatting.
...
* unwind-dw2.c: Fix formatting.
* unwind-dw2-fde.c: Likewise.
* unwind-dw2-fde.h: Likewise.
* unwind-pe.h: Likewise.
* varasm.c: Likewise.
* varray.h: Likewise.
From-SVN: r49045
2002-01-21 13:08:33 +00:00
David Billinghurst
e23baf78df
prune.exp (prune_gcc_output): Prune "At global scope" messages
...
2002-01-21 David.Billinghurst <David.Billinghurst@riotinto.com>
* lib/prune.exp (prune_gcc_output): Prune "At global scope"
messages
* g++.dg/other/deprecated.C: Remove dg-bogus comment for
"At global scope" warning
* g++.dg/ext/align1.C: Change cygwin test for alignment
from db-bogus to dg-warning
From-SVN: r49044
2002-01-21 12:48:38 +00:00
Richard Kenner
93efb9de8c
Properly indent two lines.
...
From-SVN: r49043
2002-01-21 07:35:58 -05:00
Zack Weinberg
a5cf3ccc22
* g77.f-torture/compile/cpp2.F: New test.
...
From-SVN: r49038
2002-01-21 08:37:49 +00:00
GCC Administrator
1bcdf4fe08
Daily bump.
...
From-SVN: r49036
2002-01-21 08:16:19 +00:00
Hans-Peter Nilsson
07338cf892
Remove workaround for register stack overwrite bug in mmix.
...
* config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
support for TARGET_REG_STACK_FILL_BUG.
* config/mmix/mmix.h: Remove member has_call_without_parameters.
(TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
Delete.
(TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
(TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
-mno-reg-stack-fill-bug-workaround.
* config/mmix/mmix.md ("call", "call_value"): Don't set struct
machine member has_call_without_parameters.
* doc/invoke.texi (Option Summary) <MMIX Options>: Remove
-mreg-stack-fill-bug-workaround and
-mno-reg-stack-fill-bug-workaround.
(MMIX Options): Ditto.
From-SVN: r49035
2002-01-21 07:25:48 +00:00
Kazu Hirata
7192cbf1e2
h8300.c (function_arg): Replace 0 with NULL_RTX as appropriate.
...
* config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
as appropriate.
Remove redundant code.
From-SVN: r49034
2002-01-21 07:06:37 +00:00
Joseph Myers
d1552d7b01
alpha.h, [...]: Remove commented out target macro definitions and non-target-specific comments...
...
* config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
out target macro definitions and non-target-specific comments
mostly taken from old versions of the manual.
From-SVN: r49033
2002-01-21 06:22:28 +00:00
Benjamin Kosnik
93dbe8d76d
[multiple changes]
...
2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (ctype<char>::classic_table):
Remove definition.
(ctype<char>::_S_ctable): Remove.
* config/os/gnu-linux/bits/ctype_noninline.h
(ctype<char>::_S_table): Remove definition.
(ctype<char>::classic_table): Define.
(ctype<char>::ctype): Replace _S_ctable with classic_table().
* config/os/aix/bits/ctype_noninline.h: Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
* config/os/djgpp/bits/ctype_noninline.h: Same.
* config/os/generic/bits/ctype_noninline.h: Same.
* config/os/gnu-linux/bits/ctype_noninline.h: Same.
* config/os/hpux/bits/ctype_noninline.h: Same.
* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
* config/os/mingw32/bits/ctype_noninline.h: Same.
* config/os/newlib/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
* config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
of _pctype. Use to define _S_ctable. Add definition for alternate
ctor. Initialise _M_ctable to _S_ctable in ctors.
(do_toupper, do_tolower): Use inline code appropriate for C-locale
rather than ::toupper, ::tolower.
From-SVN: r49032
2002-01-21 04:08:54 +00:00
Kazu Hirata
ed168e4507
h8300.h: Fix comment formatting.
...
* config/h8300/h8300.h: Fix comment formatting.
* config/ia64/aix.h: Likewise.
* config/ia64/ia64-protos.h: Likewise.
* config/ia64/ia64.c: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ia64/ia64intrin.h: Likewise.
* config/ia64/linux.h: Likewise.
* config/ia64/unwind-aix.c: Likewise.
* config/ia64/unwind-ia64.c: Likewise.
From-SVN: r49031
2002-01-21 02:24:02 +00:00
Kazu Hirata
005e3e053f
* config/h8300/h8300.c: Revise comments about shift code.
...
From-SVN: r49030
2002-01-21 02:04:46 +00:00
Kazu Hirata
64bead4cff
* config/h8300/h8300.c (function_arg): Update a comment.
...
From-SVN: r49026
2002-01-21 01:12:35 +00:00
Kazu Hirata
ed863595de
h8300.md: Update the comments at the beginning of the file.
...
* config/h8300/h8300.md: Update the comments at the beginning
of the file.
From-SVN: r49025
2002-01-21 00:34:29 +00:00
Richard Kenner
cbafacd198
* reg-stack.c (subst_stack_regs): Properly check for deleted insn.
...
From-SVN: r49024
2002-01-20 18:50:07 -05:00
Kazu Hirata
5904dc87e5
i370.c: Fix comment formatting.
...
* config/i370/i370.c: Fix comment formatting.
* config/i370/i370.h: Likewise.
* config/i370/i370.md: Likewise.
* config/i370/linux.h: Likewise.
From-SVN: r49023
2002-01-20 23:48:11 +00:00
Richard Kenner
9702143f27
dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
...
* dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
(gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
in incomplete case.
From-SVN: r49022
2002-01-20 18:46:30 -05:00
Toon Moene
01dae62a3a
Makefile.in: $(MULTISUBDIR) has an implied leading `/'; remove duplicates.
...
2002-01-20 Toon Moene <toon@moene.indiv.nluug.nl>
* Makefile.in: $(MULTISUBDIR) has an implied leading `/';
remove duplicates.
Use libtool for removing libg2c{a|la|so} for the `uninstall' target.
From-SVN: r49021
2002-01-20 19:58:42 +00:00
Andreas Schwab
464115ce93
natPlainSocketImpl.cc (_Jv_recv): Change return type of function and of parameter recv_func to ssize_t...
...
* java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
function and of parameter recv_func to ssize_t, as specified by
POSIX.
From-SVN: r49020
2002-01-20 16:34:07 +00:00
Graham Stott
6b6996b803
* cfgloop.c (flow_loop_preheader_scan): Fix typo.
...
From-SVN: r49019
2002-01-20 09:32:27 +00:00
GCC Administrator
ba3a12b34f
Daily bump.
...
From-SVN: r49017
2002-01-20 08:16:10 +00:00
Nathan Sidwell
3807621a13
Fix regression introduced with patch for c++/775
...
cp:
Fix regression introduced with patch for c++/775
* parse.y (class_head_defn): Check for template specializations
with a different class-key.
testsuite:
* g++.dg/template/access1.C: New test.
From-SVN: r49016
2002-01-19 20:55:35 +00:00
Per Bothner
e5550355c8
ZipOutputStream.java (putNextEntry): Clear uncompressed_size in readiness for next entry.
...
* java/util/zip/ZipOutputStream.java (putNextEntry): Clear
uncompressed_size in readiness for next entry.
From-SVN: r49014
2002-01-19 12:51:48 -08:00
John David Anglin
eab854f689
* config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
...
From-SVN: r49013
2002-01-19 20:42:33 +00:00
Tom Rix
5b0293155d
Fix for DF split
...
From-SVN: r49011
2002-01-19 15:40:35 +00:00
GCC Administrator
89769d19cc
Daily bump.
...
From-SVN: r49010
2002-01-19 08:17:41 +00:00
Aldy Hernandez
4e98d04545
20020118-1.c: New.
...
2002-01-18 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/20020118-1.c: New.
From-SVN: r49007
2002-01-19 03:08:40 +00:00
Aldy Hernandez
1d690052f8
20020118-1.c: New.
...
2002-01-18 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/20020118-1.c: New.
* tm.texi (STARTING_FRAME_PHASE): Document.
* function.c (assign_stack_local_1): Adjust x_frame_offset with
STARTING_FRAME_PHASE.
(STARTING_FRAME_PHASE): New.
(instantiate_virtual_regs): Check saneness of
STARTING_FRAME_PHASE.
* rs6000.h (STARTING_FRAME_PHASE): New.
From-SVN: r49006
2002-01-19 03:06:55 +00:00
Alexandre Oliva
4dd8c0932b
* config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
...
From-SVN: r49005
2002-01-19 02:54:14 +00:00
Craig Rodrigues
6f2a28d7b3
install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot be used for bootstrapping GCC 3.0.
...
2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
* doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
be used for bootstrapping GCC 3.0.
From-SVN: r49001
2002-01-19 00:06:49 +00:00