aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-01-10cp-tree.h (DECL_CLONED_FUNCTION_P): Avoid wild reads by not looking at ↵Mark Mitchell2-1/+8
DECL_CLONED_FUNCTION for non-functions. * cp-tree.h (DECL_CLONED_FUNCTION_P): Avoid wild reads by not looking at DECL_CLONED_FUNCTION for non-functions. From-SVN: r38876
2001-01-10decl2.c (acceptable_java_type): Allow references too.Alexandre Petit-Bianco4-4/+64
2001-01-07 Alexandre Petit-Bianco <apbianco@cygnus.com> * decl2.c (acceptable_java_type): Allow references too. * init.c (build_java_class_ref): When using the new ABI, search `class$' and have it mangled with `mangle_decl.' * mangle.c (write_java_integer_type_codes): New function. (write_builtin_type): Detect and mangle Java integer and real types. (http://gcc.gnu.org/ml/gcc-patches/2001-01/msg00756.html) From-SVN: r38875
2001-01-10* jvspec.c (jvgenmain_spec): Omit -fencoding from cc1 invocation.Tom Tromey2-1/+5
From-SVN: r38874
2001-01-10function.c (instantiate_virtual_regs): Instantiate virtual registers found ↵Jeffrey A Law2-0/+9
in CALL_INSN_FUNCTION_USAGE. * function.c (instantiate_virtual_regs): Instantiate virtual registers found in CALL_INSN_FUNCTION_USAGE. From-SVN: r38873
2001-01-10i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as equivalent to -ansi ↵Joseph Myers2-1/+6
in disabling -Di386. * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as equivalent to -ansi in disabling -Di386. From-SVN: r38872
2001-01-10Fixes for libstdc++/1576Benjamin Kosnik7-102/+61
2001-01-09 Benjamin Kosnik <bkoz@redhat.com> <kainz@ilm.com> Fixes for libstdc++/1576 * src/stdstreams.cc: Initialize with NULL filebuf. Delete file, move contents into.... * src/ios.cc: ...Here. Put defines for iostreams objects and initialization routines into one file to simplify DSO interaction. * include/bits/std_iostream.h: Touch. * include/bits/ios_base.h (_S_synched_with_stdio): Make static. * src/Makefile.am (sources): Remove stdstreams.cc. * src/Makefile.in: Regenerate. From-SVN: r38871
2001-01-10[multiple changes]Alexandre Petit-Bianco5-20/+75
2001-01-08 Alexandre Petit-Bianco <apbianco@cygnus.com> * java-tree.h (lang_printable_name_wls): New prototype. * lang.c (put_decl_name): Removed dead code. Use DECL_CONTEXT rather than `current_class' to print type name. Don't prepend type names when printing constructor names. (lang_printable_name_wls): New function. * jcf-parse.c (jcf_parse_source): Pass NULL `file' argument to `build_expr_wfl', alway set EXPR_WFL_FILENAME_NODE. * parse.y (patch_method_invocation): Message tuned for constructors. (not_accessible_p): Grant `private' access from within enclosing contexts. 2001-01-05 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (patch_binop): Compute missing type in error situations. (http://gcc.gnu.org/ml/gcc-patches/2001-01/msg00752.html) From-SVN: r38870
2001-01-10error.c (dump_template_parameter): Use parm to determine how to print ↵Nathan Sidwell4-1/+28
default value. cp: * error.c (dump_template_parameter): Use parm to determine how to print default value. testsuite: * g++.old_deja/g++.pt/error3.C: New test. From-SVN: r38869
2001-01-10i386.c (ix86_fp_compare_code_to_integer, [...]): new functions.Jan Hubicka2-71/+185
* i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes): new functions. (ix86_expand_fp_compare): Make trivial use of new infrastructure. From-SVN: r38868
2001-01-10class.c (duplicate_tag_error): Clear more flags.Nathan Sidwell4-0/+46
cp: * class.c (duplicate_tag_error): Clear more flags. testsuite: * g++.old_deja/g++.other/crash39.C: New test. From-SVN: r38867
2001-01-10call.c (build_new_method_call): Use binfo_for_vbase.Nathan Sidwell4-3/+41
cp: * call.c (build_new_method_call): Use binfo_for_vbase. testsuite: * g++.old_deja/g++.other/vbase4.C: New test. From-SVN: r38866
2001-01-10Temporary fix to work around bug in C++ front end.Richard Earnshaw2-0/+10
* arm.c (arm_init_builtins): Temporarily disable xscale builtins. From-SVN: r38865
2001-01-10invoke.texi: Document that -fcond-mismatch isn't supported for C++.Joseph Myers5-12/+15
* invoke.texi: Document that -fcond-mismatch isn't supported for C++. cp: * cp-tree.h (flag_cond_mismatch): Don't declare. * decl2.c (flag_cond_mismatch): Don't define. (lang_f_options): Remove cond-mismatch. (unsupported_options): Add cond-mismatch. From-SVN: r38864
2001-01-10gcc.texi: Define macro gcctabopt.Joseph Myers5-140/+164
gcc: * gcc.texi: Define macro gcctabopt. * invoke.texi: Add manpage sections BUGS and AUTHOR. Use @command, @env and @option in some places where appropriate. Use @gcctabopt where appropriate. Put URLs and email addresses inside @w. contrib: * texi2pod.pl: Handle @gcctabopt and @env in tables. Handle @command. Format URLs and email addresses in bold. From-SVN: r38863
2001-01-10* java/math/BigDecimal.java (divide): Fixed comment.Warren Levy2-1/+5
From-SVN: r38862
2001-01-10re PR libgcj/1596 (setScale() missing from java.math.BigDecimal)Warren Levy2-6/+36
Fix for PR libgcj/1596: * java/math/BigDecimal.java (divide): Check newScale for validity. Ensure that BigInteger.pow() is called with a non-negative value. (setScale (int)): New public method. (setScale (int,int)): New public method. From-SVN: r38861
2001-01-10Daily bump.Jeff Law5-5/+5
From-SVN: r38860
2001-01-10gcc.c (cpp_options): Set MD file name from output filename, if specified.Nathan Sidwell2-3/+54
* gcc.c (cpp_options): Set MD file name from output filename, if specified. (suffix_subst): New static variable. (do_spec): Clear it. (do_spec_1, case '.'): Handle new `%.suffix' spec. Clear it. (give_switch): Handle suffix_subst. From-SVN: r38859
2001-01-10invoke.texi: Fix another typo.Phil Edwards2-1/+5
2001-01-10 Phil Edwards <pme@sources.redhat.com> * invoke.texi: Fix another typo. From-SVN: r38858
2001-01-10invoke.texi: Fix typo.Phil Edwards2-1/+5
2001-01-10 Phil Edwards <pme@sources.redhat.com> * invoke.texi: Fix typo. From-SVN: r38857
2001-01-10c-lang.c (lang_hooks): Update.Neil Booth11-53/+80
* c-lang.c (lang_hooks): Update. (lang_decode_option): Remove. (lang_init_options): Rename c_init_options. * toplev.c (main): Use lang_hooks for lang_init_options and lang_decode_option. * toplev.h (lang_hooks): Add 2 new hooks. * tree.h: Remove lang_init_options and lang_decode_option. * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option. * cp/decl2.c: Similarly. * cp/lex.c (lang_init_options): Rename cxx_init_options. (lang_hooks): Update. * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish for consistency. (lang_init_options): Rename ffe_init_options. (lang_hooks): Update. (lang_decode_option): Remove. * java/lang.c (lang_init_options): Rename java_init_options. (lang_decode_option): Rename java_decode_option. (lang_hooks): Update. * objc/objc-act.c (lang_init_options): Rename objc_init_options. (lang_decode_option): Rename objc_decode_option. (lang_hooks): Update. From-SVN: r38856
2001-01-10Change from using {save|restore}_machine_status to ↵Nick Clifton1-0/+23
{init|mark|free}_machine_status From-SVN: r38855
2001-01-09pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code, ↵John David Anglin3-0/+8
PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register. * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code, PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register. * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise. From-SVN: r38854
2001-01-09lang-options.h: Remove bogus reference to Java trademark.Jeffrey A Law2-5/+6
* objc/lang-options.h: Remove bogus reference to Java trademark. From-SVN: r38853
2001-01-0920000419-2.c: Move to "special" subdirectory.Jonathan Larmour3-0/+47
* gcc.dg/20000419-2.c: Move to "special" subdirectory. * gcc.dg/special/20000419-2.c: New file. Identical to above. * gcc.dg/special/special.exp: New test driver which will check for alias support for the above test. From-SVN: r38852
2001-01-10tests_flags.in (check_directory): Fix typo.Gabriel Dos Reis2-2/+6
2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com> * tests_flags.in (check_directory): Fix typo. From-SVN: r38851
2001-01-10h8300.c (get_shift_alg): Use a struct shift_info to return the result.Kazu Hirata2-167/+187
2001-01-09 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to return the result. From-SVN: r38850
2001-01-09*** empty log message ***Alan Lehotsky2-3/+12
From-SVN: r38849
2001-01-102001-01-09 Peter Schmid<schmid@snake.iap.physik.tu-darmstadt.de>Peter Schmid2-1/+4
2001-01-09 Peter Schmid<schmid@snake.iap.physik.tu-darmstadt.de> * include/bits/std_complex.h: Fix a typo. From-SVN: r38848
2001-01-10ctype_inline.h (is): (Make right code path:) Remove magic constants and ↵Loren J. Rittle2-12/+25
restructure to handle... * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right code path:) Remove magic constants and restructure to handle ctype.h bit mask layout changes more gracefully. (Make fast code path:) Use __maskrune (), if available. (is): Remove special case for digit and xdigit masks. From-SVN: r38847
2001-01-09*** empty log message ***Alan Lehotsky3-13/+25
From-SVN: r38846
2001-01-10Remove unintentional merge indicators.Jeffrey D. Oldham1-2/+0
From-SVN: r38845
2001-01-10instantiate2.C: ERROR line should fail for mips.Jeffrey D. Oldham3-2/+10
2001-01-09 Jeffrey Oldham <oldham@codesourcery.com> * g++.old-deja/g++.ext/instantiate2.C: ERROR line should fail for mips. * g++.old-deja/g++.ext/instantiate3.C: Likewise. From-SVN: r38844
2001-01-09c-common.c (enum format_type): Add format_type_error.Joseph Myers2-13/+41
* c-common.c (enum format_type): Add format_type_error. (decode_format_type): New function. (decl_attributes): Use it. (format_kind_info): Adjust comment. From-SVN: r38843
2001-01-09config.gcc (*-*-gnu*, [...]): Specify needed platform specific files in tm_file.David O'Brien6-28/+29
2001-01-09 David O'Brien <obrien@BSDi.com> * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1, i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific files in tm_file. * config/i386/gnu.h: Don't include required platform specific .h files, tm.h will do it instead. * config/i386/i386elf.h: Likewise. * config/i386/linux.h: Likewise. * config/i386/moss.h: Likewise. * config/mips/gnu.h: Likewise. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20010107030000.A24090@redhat.com> From-SVN: r38842
2001-01-09config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.Franz Sirl9-51/+60
2001-01-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h. (rs6000-ibm-aix3.[01]*): Likewise. (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise. (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise. (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise. (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise. (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h. (powerpc-*-eabiaix*): Likewise. (powerpc-*-eabisim*): Likewise. (powerpc-*-elf*): Likewise. (powerpc-*-eabi*): Likewise. (powerpc-*-rtems*): Likewise. (powerpc-*-linux*libc1): Likewise. (powerpc-*-linux*): Likewise. (powerpc-wrs-vxworks*): Likewise. (powerpcle-wrs-vxworks*): Likewise. (powerpcle-*-sysv*): Likewise. (powerpcle-*-elf*): Likewise. (powerpcle-*-eabisim*): Likewise. (powerpcle-*-eabi*): Likewise. (powerpcle-*-solaris2*): Likewise. * config/rs6000/aix31.h: Delete includes. * config/rs6000/aix3newas.h: Likewise. * config/rs6000/aix41.h: Likewise. * config/rs6000/aix43.h: Likewise. * config/rs6000/beos.h: Likewise. * config/rs6000/rtems.h: Likewise. * config/rs6000/sysv4.h: Likewise. From-SVN: r38841
2001-01-09h8300.c (function_prologue): Fix code for a monitor function.Kazu Hirata2-7/+18
2001-01-09 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.c (function_prologue): Fix code for a monitor function. Support H8/S. (function_epilogue): Do not output pop for a monitor function. From-SVN: r38840
2001-01-09h8300.c (get_shift_alg): Remove an argument cpu.Kazu Hirata2-36/+20
2001-01-09 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu. Change an argument mode of machine_mode to shift_mode of shift_mode. Remove an extra error check. (emit_a_shift): Adopt to the new calling prototype of get_shift_alg. From-SVN: r38839
2001-01-09oops - omitted from previous deltaNick Clifton4-35/+24
From-SVN: r38838
2001-01-09Makefile.in (CONFIGURE_TARGET_MODULES): Pass back configuration failures of ↵Mike Stump2-2/+7
subdirectories. * Makefile.in (CONFIGURE_TARGET_MODULES): Pass back configuration failures of subdirectories. From-SVN: r38837
2001-01-09SWitch use if {save|restore}_machine_status with {init|free}_machine_statusNick Clifton4-36/+65
From-SVN: r38836
2001-01-09sched-int.h (struct deps): Add max_reg, reg_last_in_use...Richard Henderson4-175/+181
* sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg. * sched-deps.c (sched_analyze_1): Update uses of struct deps. (sched_analyze_2, sched_analyze_insn): Likewise. (sched_analyze, init_deps): Likewise. (free_deps): Likewise. Iterate with EXECUTE_IF_SET_IN_REG_SET. * sched-rgn.c (propagate_deps): Likewise. Remove max_reg argument. (compute_block_backward_dependences): Update propagate_deps call. From-SVN: r38835
2001-01-09* gcc.c (process_command): Set switches[n_switches].ordering to 0.Mark Elbrecht2-0/+5
From-SVN: r38834
2001-01-09cppinit.c (OPT_MD, OPT_MMD): Restore.Neil Booth4-82/+218
* cppinit.c (OPT_MD, OPT_MMD): Restore. (cpp_handle_option): Handle them. (cpp_post_options): Ensure one of -M or -MM is specified with any other -M? option. (init_dependency_output): Suppress output with -MG. * cpp.texi: Update. * invoke.texi: Update. From-SVN: r38833
2001-01-09sh.md (reload_outsf): Generate recognizable patterns for TARGET_SH3E.Bernd Schmidt2-1/+14
* sh.md (reload_outsf): Generate recognizable patterns for TARGET_SH3E. From-SVN: r38832
2001-01-09class.c (handle_using_decl): Reject using of constructor name of sourcing class.Nathan Sidwell4-5/+64
cp: * class.c (handle_using_decl): Reject using of constructor name of sourcing class. Allow injecting of a method with same name as nested class. Fixup error messages. testsuite: * g++.old_deja/g++.pt/using8.C: New test. From-SVN: r38831
2001-01-09re PR libgcj/1338 (StreamTokenizer does not handle /* comments correctly)Oskar Liljeblad2-49/+55
2001-01-09 Oskar Liljeblad <osk@hem.passagen.se> Fix for PR libgcj/1338: * java/io/StreamTokenizer.java (nextToken): Handle // and /* before commentChar. Fixed typos in comments. From-SVN: r38830
2001-01-09* ChangLog: Edited wrong ChangeLog.Neil Booth1-0/+23
From-SVN: r38829
2001-01-09c-lang.c (lang_hooks): Update.Neil Booth10-56/+58
* c-lang.c (lang_hooks): Update. (lang_init): Rename c_init. (lang_finish): Remove. * toplev.c (compile_file): Use lang_hooks for lang_init () and lang_finish (). * toplev.h (lang_hooks): Add init () and finish (). * tree.h (lang_init, lang_finish): Remove. * cp/tree.h (lang_init, lang_finish): Remove. * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c. * cp/lex.c (cxx_init, cxx_finish, cxx_post_options, lang_hooks): New. (lang_init, lang_finish): Remove. * f/com.c (lang_init, lang_finish): Rename f_init, f_finish. (lang_hooks): Update. * java/lang.c (lang_init): Rename java_init. (lang_finish): Remove. (lang_hooks): Update. * objc/objc-act.c (lang_init): Rename objc_init. (lang_finish): Remove. (lang_hoooks): Update. From-SVN: r38828
2001-01-09cppfiles.c (_cpp_execute_include): Move `len` initialisation after `ptr` is ↵Graham Stott1-0/+5
initialised. * cppfiles.c (_cpp_execute_include): Move `len` initialisation after `ptr` is initialised. From-SVN: r38827