aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-04-22Generate constant for shift once.Tom Rix2-4/+7
From-SVN: r52644
2002-04-22* docs/html/17_intro/porting.html: Rebuilt.Loren J. Rittle2-16/+10
From-SVN: r52643
2002-04-22* docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.Loren J. Rittle2-8/+5
From-SVN: r52642
2002-04-22re PR c/6300 (sparc-sun-solaris2.7 gcc-3.1 C testsuite failure in ↵Zack Weinberg4-54/+211
gcc.dg/cpp/charconst.c) * c-lex.c (lex_charconst): Call convert to get constant in proper type; don't just smash the type field. Fixes PR c/6300. * config.gcc: Add list of obsolete configurations. Disallow building these without --enable-obsolete. * doc/install.texi: Document --enable-obsolete and obsoletion policy. Mention obsoletion of individual targets in appropriate places. From-SVN: r52639
2002-04-22re PR java/2791 (Bogus "class `foo' already defined ..." error from jc1)Alexandre Petit-Bianco2-3/+5
* jcf-parse.c: (yyparse): Don't prepend "./" to relative paths. Fixes PR java/2791. From-SVN: r52636
2002-04-22re PR libstdc++/4150 (catastrophic performance decrease in C++ code)Jason Merrill11-86/+118
PR libstdc++/4150 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): Move to filebuf. (basic_streambuf::_M_set_determinate): Likewise. (basic_streambuf::_M_is_indeterminate): Likewise. * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New non-static data member. (basic_filebuf::_M_underflow_common): New non-static member function. (basic_filebuf::_M_underflow, _M_uflow): Call it. (basic_filebuf::sync): Avoid useless seeking. (basic_filebuf::_M_set_indeterminate): Move here from streambuf. Set _M_filepos. (basic_filebuf::_M_set_determinate): Likewise. (basic_filebuf::_M_is_indeterminate): Likewise. * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek back to _M_out_beg if necessary. (basic_filebuf::seekoff): Likewise. (basic_filebuf::_M_underflow_common): Generalization of old underflow(). Don't seek back to _M_in_beg. * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff. * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise. * config/os/bsd/freebsd/bits/os_defines.h: Likewise. * config/os/mingw32/bits/os_defines.h: Likewise. * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify ungetc test. From-SVN: r52634
2002-04-22* config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.Richard Henderson2-1/+14
From-SVN: r52633
2002-04-22re PR fortran/6138 (Incorrect access of integer*1 variables on PA)Mark Mitchell2-30/+62
PR f/6138. * function.c (fixup_memory_subreg): Add promoted_mode parameter. (walk_fixup_memory_subreg): Likewise. (fixup_var_refs_insn): Adjust accordingly. (fixup_var_refs_1): Likewise. From-SVN: r52631
2002-04-22istream.tcc (istream::read): Fix.Benjamin Kosnik3-11/+22
2002-04-22 Benjamin Kosnik <bkoz@redhat.com> * include/bits/istream.tcc (istream::read): Fix. * testsuite/27_io/istream_unformatted.cc (main): Add. From-SVN: r52628
2002-04-22linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC, LIBPATH_ARCH64_SPEC): Define.Ulrich Weigand2-2/+44
* config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC, LIBPATH_ARCH64_SPEC): Define. (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64. (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath. (LINK_ARCH31_SPEC): Add libpath_arch31 to search path. (LINK_ARCH64_SPEC): Add libpath_arch64 to search path. From-SVN: r52627
2002-04-22gthr-rtems.h: Correct prototypes to remove warnings.Joel Sherrill2-2/+6
2002-04-22 Joel Sherrill <joel@OARcorp.com> * gthr-rtems.h: Correct prototypes to remove warnings. From-SVN: r52626
2002-04-22alias.c (canon_true_dependence): Special case (mem:blk (scratch)).Richard Henderson3-23/+64
* alias.c (canon_true_dependence): Special case (mem:blk (scratch)). * gcse.c (free_insn_expr_list_list): New. (clear_modify_mem_tables): Use it. Fix bit set usage. (canon_list_insert): Use EXPR_LISTs for expressions. (record_last_mem_set_info): Factor BLOCK_NUM (insn). From-SVN: r52624
2002-04-22cppfiles.c (_cpp_pop_file_buffer): Return void.Neil Booth6-76/+82
* cppfiles.c (_cpp_pop_file_buffer): Return void. Move file change and include code to _cpp_pop_buffer. * cpphash.h (struct pending_option): Predeclare. (struct cpp_reader): New member next_include_file. (_cpp_pop_file_buffer): Update. (_cpp_push_next_buffer): Update, rename. * cppinit.c (cpp_destroy): Free include chain and pending here. (cpp_finish_options): Simplify. (_cpp_push_next_buffer): Rename and clean up. * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer. Clarify. * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here. From-SVN: r52621
2002-04-22980707-1.c: Don't use isspace().Zack Weinberg2-4/+8
* gcc.c-torture/execute/980707-1.c: Don't use isspace(). Include stdlib.h, not stdio.h or ctype.h. From-SVN: r52619
2002-04-22jcf-write.c (push_long_const): lo, hi: New variables.Andrew Haley3-9/+24
2002-04-19 Andrew Haley <aph@redhat.com> * jcf-write.c (push_long_const): lo, hi: New variables. Use rshift_double to extract the high part of a 64-bit long. Use WORD_TO_INT to extract the low part. * jcf-parse.c (get_constant): CONSTANT_Integer: Use an unsigned HOST_WIDE_INT for num. Use JPOOL_UINT to get it. CONSTANT_Double: Use JPOOL_UINT to get both halve of a double. From-SVN: r52618
2002-04-22* gcc_release (build_diffs): Remove reference to Chill.Mark Mitchell2-1/+5
From-SVN: r52614
2002-04-22Update turkish catalogPhilipp Thomas2-4560/+6324
From-SVN: r52612
2002-04-22dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document magic instruction ↵David S. Miller2-0/+7
reading sequence. 2002-04-21 David S. Miller <davem@redhat.com> * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document magic instruction reading sequence. From-SVN: r52609
2002-04-22Daily bump.GCC Administrator6-6/+6
From-SVN: r52607
2002-04-22altivec.h (vec_xor): Add variant for both args being vector signed int.Aldy Hernandez2-5/+18
2002-04-22 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/altivec.h (vec_xor): Add variant for both args being vector signed int. (vec_andc): Same. (vec_xor): Add variant for both args being vector signed char. Remove redundant variant. (vec_andc): Same. From-SVN: r52602
2002-04-21[multiple changes]David S. Miller2-4/+14
2002-04-22 David S. Miller <davem@redhat.com> * include/private/gcconfig.h: Hard-code STACKBOTTOM on 64-bit SPARC Linux, the __libc_stack_end technique does not work in this case. 2002-04-22 Jeff Sturm <jsturm@one-point.com> * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs. From-SVN: r52601
2002-04-21sparc.md (set then compare DI mode peephole2): Fix compare mode in output RTL.David S. Miller2-1/+6
2002-04-21 David S. Miller <davem@redhat.com> * config/sparc/sparc.md (set then compare DI mode peephole2): Fix compare mode in output RTL. From-SVN: r52597
2002-04-2220020415-1.c: Expect warning for unsupported -fpic on cris-*-elf* and mmix-*-*.Hans-Peter Nilsson9-12/+33
* gcc.dg/20020415-1.c: Expect warning for unsupported -fpic on cris-*-elf* and mmix-*-*. * g77.f-torture/execute/io0.x: xfail for cris-*-elf. * g77.f-torture/execute/io1.x, g77.f-torture/execute/20001201.x, g77.f-torture/execute/6367.x, g77.f-torture/execute/u77-test.x: Ditto. * gcc.dg/wint_t-1.c: Mark excess errors for cris-*-elf. * gcc.dg/wchar_t-1.c: Ditto. From-SVN: r52595
2002-04-21rs6000.c (rs6000_override_options): Correct style and formatting of previous ↵David Edelsohn2-2/+8
patch. * config/rs6000/rs6000.c (rs6000_override_options): Correct style and formatting of previous patch. From-SVN: r52593
2002-04-22rs6000.c (rs6000_override_options): Always clear flag_pic for ABI_AIX.Alan Modra2-3/+9
* config/rs6000/rs6000.c (rs6000_override_options): Always clear flag_pic for ABI_AIX. From-SVN: r52591
2002-04-21cleanup1.C (C::C()): Initialize member c.Hans-Peter Nilsson2-1/+7
* g++.dg/opt/cleanup1.C (C::C()): Initialize member c. Clarify comment. From-SVN: r52588
2002-04-21cppexp.c (struct op, [...]): Replace U_CHAR with uchar.Neil Booth8-68/+83
* cppexp.c (struct op, parse_number): Replace U_CHAR with uchar. * cppfiles.c (read_include_file): Similarly. * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen, uxstrdup ustrchr, ufputs): Similarly. * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly. * cpplex.c (parse_slow, unescaped_terminator_p, save_comment, cpp_ideq, parse_identifier, parse_number): Similarly. * cpplib.c (struct directive, dequote_string, D, run_directive, cpp_push_buffer): Similarly. * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string, _cpp_create_definition, check_trad_stringification, cpp_macro_definition): Similarly. From-SVN: r52587
2002-04-21cppmacro.c (funlike_invocation_p): Don't step back over CPP_EOF.Neil Booth5-6/+35
* cppmacro.c (funlike_invocation_p): Don't step back over CPP_EOF. testsuite: * gcc.dg/cpp/endif.h, gcc.dg/cpp/endif.c: New tests. From-SVN: r52586
2002-04-2120000906-1.x: Delete.Franz Sirl2-14/+4
2002-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.c-torture/execute/20000906-1.x: Delete. From-SVN: r52584
2002-04-21* gnat_rm.texi: Use @ifnottex instead of @ifinfo.Joseph Myers2-3/+7
From-SVN: r52582
2002-04-21* update_web_docs (MANUALS): Remove chill. Add gnat_rm.Joseph Myers2-1/+5
From-SVN: r52581
2002-04-21* gnat_ug.texi: New file.Florian Weimer2-0/+24893
From-SVN: r52580
2002-04-21re PR java/6391 (Constant float to int conversions don't use ↵Mark Wielaard4-0/+17
ieee_real_to_integer when compiled to byte-code) * mauve-libgcj: Don't run java.lang.ref tests since they are buggy. * libjava.mauve/xfail: Expect failures for PR java/6391 and libgcj/6389. From-SVN: r52577
2002-04-21dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer arg.David S. Miller7-8/+204
2002-04-19 David S. Miller <davem@redhat.com> * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer arg. (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc. (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation on Sparc too. * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly for 64-bit sparc. (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works. * sysdeps/sparc/locks.h: New file. * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h on all sparc Solaris configurations. Set to include/dwarf2-signal.h on sparc Linux. * configure: Regenerate * configure.host (can_unwind_signal): sparc*-linux* can do it now. From-SVN: r52575
2002-04-21Daily bump.GCC Administrator6-6/+6
From-SVN: r52573
2002-04-21gnat_rm.texi: Do not include texiplus.texi.Florian Weimer5-3/+1429
* gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi instead of gfdl.texi * xgnatug.adb, ug_words: New files. * Makefile.in (doc, dvi): New targets. Build gnat_ug_*, gnat_rm and gnat-style manuals. From-SVN: r52569
2002-04-21rs6000.c (output_profile_hook): Do not increment labelno.David Edelsohn2-4/+7
* config/rs6000/rs6000.c (output_profile_hook): Do not increment labelno. From-SVN: r52565
2002-04-21re PR libstdc++/6360 (Wrong workaround in char_traits.h - ignore stops on \0xff)Benjamin Kosnik4-17/+40
2002-04-20 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/6360 * include/bits/istream.tcc (istream::ignore): Streamline, use delimiter as is. * include/bits/streambuf.tcc: Use this->gptr. * testsuite/27_io/istream_unformatted.cc (test08): Add test. From-SVN: r52563
2002-04-20invoke.texi: Remove Chill references.Joseph Myers3-6/+6
* doc/invoke.texi: Remove Chill references. * doc/gcc.texi: Update last modified date. From-SVN: r52561
2002-04-20Remove ChillMark Mitchell1-252/+0
[[Split portion of a mixed commit.]] From-SVN: r52560.2
2002-04-20lib1funcs.asm (___mulsi3): Remove unnecessary push and pop.Kazu Hirata2-12/+10
* config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary push and pop. Replace add.l with add.w. From-SVN: r52559
2002-04-20lib1funcs.asm (___mulsi3): Use hardware multiply instructions for H8/300H case.Toshiyasu Morita2-24/+46
* config/h8300/lib1funcs.asm (___mulsi3): Use hardware multiply instructions for H8/300H case. From-SVN: r52558
2002-04-20lib1funcs.asm (___cmpsi2, ___ucmpsi2): Bum three instructions from each routine.Toshiyasu Morita2-22/+22
* config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2): Bum three instructions from each routine. From-SVN: r52557
2002-04-20root.texi: Remove variable version-g77.Toon Moene3-4/+8
2002-04-20 Toon Moene <toon@moene.indiv.nluug.nl> * root.texi: Remove variable version-g77. * g77.texi: Remove the single use of that variable. From-SVN: r52556
2002-04-20f77-edit-i-in.f: Restore missing { dg-do run }David Billinghurst2-0/+6
2002-04-20 David.Billinghurst <David.Billinghurst@riotinto.com> * g77.dg/f77-edit-i-in.f: Restore missing { dg-do run } From-SVN: r52555
2002-04-20Makefile.in: Update.Neil Booth16-52/+136
* Makefile.in: Update. * decl.c (push_c_function_context, pop_c_function_context, mark_c_function_context): Rename for consistency. * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere. * c-tree.h (push_c_function_context, pop_c_function_context, mark_c_function_context): Rename for consistency. * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. * function.c (init_lang_status, save_lang_status, restore_lang_status, mark_lang_status, free_lang_status): Move to langhooks.h. (push_function_context_to, pop_function_context_from, free_after_parsing, prepare_function_start, ggc_mark_struct_function): Update. * function.h (init_lang_status, save_lang_status, restore_lang_status, mark_lang_status, free_lang_status): Move to langhooks.h. * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT, LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED, LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK, LANG_HOOKS_FUNCTION_INITIALIZER): New. (LANG_HOOKS_INITIALIZER): Update. (lhd_do_nothing_f): New. * langhooks.h (struct lang_hooks_for_functions): New. (struct lang_hooks): New hooks. * langhooks.c (lhd_do_nothing_f): New. cp: * cp-lang.c (LANG_HOOKS_FUNCTION_INIT, LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_MARK): Redefine. * cp-tree.h (cxx_push_function_context, cxx_pop_function_context, cxx_mark_function_context): New. * decl.c (push_cp_function_context, pop_cp_function_context, mark_cp_function_context): Rename for consistency. (cxx_init_decl_processing): Don't set old hooks. objc: * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. From-SVN: r52551
2002-04-20Daily bump.GCC Administrator6-6/+6
From-SVN: r52550
2002-04-19linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.David S. Miller3-0/+199
2002-04-19 David S. Miller <davem@redhat.com> * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define. * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise. From-SVN: r52546
2002-04-20configure: Rebuilt.Hans Boehm3-313/+401
2002-04-19 Hans Boehm <Hans_Boehm@hp.com> * configure: Rebuilt. * configure.in (backtrace): Function doesn't work on IA-64. From-SVN: r52544
2002-04-19re PR libf2c/6367 (multiple repeat counts confuse namelist read into array)Toon Moene3-0/+30
2002-04-19 Toon Moene <toon@moene.indiv.nluug.nl> * PR6367 * g77.f-torture/execute/6367.f: New test. * g77.f-torture/execute/6367.x: Disable for MMIX. From-SVN: r52540