aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2002-01-22parse.y (function_body): Suppress the block for the outermost curly braces.Jason Merrill4-18/+23
* 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* class.c (build_base_path): Tweak formatting.Jason Merrill2-96/+104
From-SVN: r49075
2002-01-22predict.c: Fix formatting.Kazu Hirata18-73/+93
* 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-22tree.c (int_fits_type_p): If bounds of a subtype are variable, see if fits ↵Richard Kenner2-1/+7
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-22dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.Richard Kenner2-2/+46
* 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-22Daily bump.GCC Administrator2-2/+2
From-SVN: r49067
2002-01-22c-typeck.c (parser_build_binary_op): If result from build_binary_op is ↵Hans-Peter Nilsson2-0/+9
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* gcc.dg/20020122-1.c: New test.Hans-Peter Nilsson2-0/+25
From-SVN: r49065
2002-01-22netbsd.h (TARGET_HAS_F_SETLKW): define.Jason Thorpe12-484/+665
* 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-22tm.texi: Remove STARTING_FRAME_PHASE.Aldy Hernandez3-38/+9
* 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-21attrib5.C: XFAIL cygwin tooDavid Billinghurst2-1/+5
2001-01-22 David.Billinghurst <David.Billinghurst@riotinto.com> * g++.old-deja/g++.ext/attrib5.C: XFAIL cygwin too From-SVN: r49060
2002-01-2120010207-1.c: Restrict to i?86-*-[eflno]*David Billinghurst2-1/+7
2002-01-22 David Billinghurst <David.Billinghurst@riotinto.com> * gcc.dg/20010207-1.c: Restrict to i?86-*-[eflno]* From-SVN: r49059
2002-01-21pa-protos.h (reg_before_reload_operand): New function prototype.John David Anglin4-4/+34
* 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-21combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.Franz Sirl2-0/+5
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-2120020121-1.c: New test.Franz Sirl2-0/+34
2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.c-torture/compile/20020121-1.c: New test. From-SVN: r49056
2002-01-21g77.exp (g77_link_flags): Remove check for libg2c.so in setting ld_library_path.John David Anglin2-4/+8
* lib/g77.exp (g77_link_flags): Remove check for libg2c.so in setting ld_library_path. From-SVN: r49055
2002-01-21pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".John David Anglin2-6/+37
* 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-21t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.Franz Sirl2-3/+7
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-21config.gcc: Add entries to supported PowerPC --with-cpu types.Daniel Jacobowitz2-5/+10
2002-01-21 Daniel Jacobowitz <drow@mvista.com> * config.gcc: Add entries to supported PowerPC --with-cpu types. From-SVN: r49047
2002-01-21i386.c (ix86_function_arg_regno_p): Never return true for 64-bit mode only ↵Jakub Jelinek4-1/+45
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-21unwind-dw2.c: Fix formatting.Kazu Hirata7-43/+52
* 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-21prune.exp (prune_gcc_output): Prune "At global scope" messagesDavid Billinghurst4-8/+16
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-21Properly indent two lines.Richard Kenner1-2/+2
From-SVN: r49043
2002-01-21* g77.f-torture/compile/cpp2.F: New test.Zack Weinberg2-0/+11
From-SVN: r49038
2002-01-21Daily bump.GCC Administrator2-2/+2
From-SVN: r49036
2002-01-21Remove workaround for register stack overwrite bug in mmix.Hans-Peter Nilsson5-76/+22
* 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-21h8300.c (function_arg): Replace 0 with NULL_RTX as appropriate.Kazu Hirata2-11/+9
* config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX as appropriate. Remove redundant code. From-SVN: r49034
2002-01-21alpha.h, [...]: Remove commented out target macro definitions and ↵Joseph Myers15-2016/+45
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-21h8300.h: Fix comment formatting.Kazu Hirata10-33/+46
* 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* config/h8300/h8300.c: Revise comments about shift code.Kazu Hirata2-98/+43
From-SVN: r49030
2002-01-21* config/h8300/h8300.c (function_arg): Update a comment.Kazu Hirata2-6/+8
From-SVN: r49026
2002-01-21h8300.md: Update the comments at the beginning of the file.Kazu Hirata2-16/+14
* config/h8300/h8300.md: Update the comments at the beginning of the file. From-SVN: r49025
2002-01-20* reg-stack.c (subst_stack_regs): Properly check for deleted insn.Richard Kenner2-1/+3
From-SVN: r49024
2002-01-20i370.c: Fix comment formatting.Kazu Hirata5-28/+35
* 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-20dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.Richard Kenner2-1/+14
* 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* cfgloop.c (flow_loop_preheader_scan): Fix typo.Graham Stott2-1/+5
From-SVN: r49019
2002-01-20Daily bump.GCC Administrator2-2/+2
From-SVN: r49017
2002-01-19Fix regression introduced with patch for c++/775Nathan Sidwell4-0/+47
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* config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.John David Anglin2-2/+5
From-SVN: r49013
2002-01-19Fix for DF splitTom Rix2-0/+12
From-SVN: r49011
2002-01-19Daily bump.GCC Administrator2-2/+2
From-SVN: r49010
2002-01-1920020118-1.c: New.Aldy Hernandez2-0/+19
2002-01-18 Aldy Hernandez <aldyh@redhat.com> * gcc.dg/20020118-1.c: New. From-SVN: r49007
2002-01-1920020118-1.c: New.Aldy Hernandez4-2/+50
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* config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.Alexandre Oliva2-4/+10
From-SVN: r49005
2002-01-19install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot be used for ↵Craig Rodrigues2-0/+8
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-18* testsuite/gcc.c-torture/execute/20020118-1.c: New test.Kazu Hirata2-0/+37
From-SVN: r48991
2002-01-18* config/h8300/h8300.md: Fix an insn length.Kazu Hirata2-1/+5
From-SVN: r48990
2002-01-18bitmap.h: Fix comment formatting.Kazu Hirata19-33/+57
* bitmap.h: Fix comment formatting. * combine.c: Likewise. * cppfiles.c: Likewise. * c-pragma.h: Likewise. * c-typeck.c: Likewise. * df.c: Likewise. * dwarf2out.c: Likewise. * function.c: Likewise. * gcc.c: Likewise. * genattrtab.c: Likewise. * gthr-win32.h: Likewise. * haifa-sched.c: Likewise. * predict.c: Likewise. * rtlanal.c: Likewise. * rtl.h: Likewise. * unwind-dw2-fde.h: Likewise. * unwind-pe.h: Likewise. * vmsdbgout.c: Likewise. From-SVN: r48987
2002-01-18tweak so adjustment is necessary in v3 abiJason Merrill1-1/+5
From-SVN: r48986
2002-01-18semantics.c (setup_vtbl_ptr): Always build a CTOR_INITIALIZER if we're in a ↵Jason Merrill1-0/+23
template. * semantics.c (setup_vtbl_ptr): Always build a CTOR_INITIALIZER if we're in a template. From-SVN: r48985