- 29 Jun, 2000 20 commits
-
-
2000-06-27 Alexandre Petit-Bianco <apbianco@cygnus.com> * expr.c (lookup_field): The same field can be found through two different interface. Don't declare it ambiguous in that case. From-SVN: r34793
Alexandre Petit-Bianco committed -
2000-06-29 Branko Cibej <branko.cibej@hermes.si> * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if _GLIBCPP_RESOLVE_LIB_DEFECTS. (auto_ptr): _M_ptr changed to void*. (suto_ptr::get): Cast _M_ptr to element type. (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion. (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr. (auto_ptr::operator*): Likewise. (auto_ptr::operator->): Likewise. (auto_ptr::release): Likewise. (auto_ptr::reset): Likewise. (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release. (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated. Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS. Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS. From-SVN: r34792
Branko Cibej committed -
Move the c-torture/noncompile tests to either gcc.dg/cpp or a new gcc.dg/noncompile directory, depending on whether they're preprocessor tests or not. Annotate all the tests for the dg framework. * gcc.c-torture/noncompile/noncompile.exp: Delete. * gcc.dg/noncompile/noncompile.exp: New. * Moved files: Old name New name gcc.c-torture/noncompile/920507-1.c gcc.dg/noncompile/920507-1.c gcc.c-torture/noncompile/920616-2.c gcc.dg/noncompile/920616-2.c gcc.c-torture/noncompile/920721-2.c gcc.dg/noncompile/920721-2.c gcc.c-torture/noncompile/920824-1.c gcc.dg/noncompile/920824-1.c gcc.c-torture/noncompile/920923-1.c gcc.dg/noncompile/920923-1.c gcc.c-torture/noncompile/921102-1.c gcc.dg/noncompile/921102-1.c gcc.c-torture/noncompile/921116-1.c gcc.dg/noncompile/921116-1.c gcc.c-torture/noncompile/930301-1.c gcc.dg/noncompile/930301-1.c gcc.c-torture/noncompile/930622-1.c gcc.dg/noncompile/930622-1.c gcc.c-torture/noncompile/930622-2.c gcc.dg/noncompile/930622-2.c gcc.c-torture/noncompile/930714-1.c gcc.dg/noncompile/930714-1.c gcc.c-torture/noncompile/931203-1.c gcc.dg/noncompile/931203-1.c gcc.c-torture/noncompile/940112-1.c gcc.dg/noncompile/940112-1.c gcc.c-torture/noncompile/940227-1.c gcc.dg/noncompile/940227-1.c gcc.c-torture/noncompile/940510-1.c gcc.dg/noncompile/940510-1.c gcc.c-torture/noncompile/950825-1.c gcc.dg/noncompile/950825-1.c gcc.c-torture/noncompile/950921-1.c gcc.dg/noncompile/950921-1.c gcc.c-torture/noncompile/951123-1.c gcc.dg/noncompile/951123-1.c gcc.c-torture/noncompile/971104-1.c gcc.dg/noncompile/971104-1.c gcc.c-torture/noncompile/990416-1.c gcc.dg/noncompile/990416-1.c gcc.c-torture/noncompile/init-1.c gcc.dg/noncompile/init-1.c gcc.c-torture/noncompile/init-2.c gcc.dg/noncompile/init-2.c gcc.c-torture/noncompile/invalid_asm.c gcc.dg/noncompile/invalid_asm.c gcc.c-torture/noncompile/va-arg-1.c gcc.dg/noncompile/va-arg-1.c gcc.c-torture/noncompile/940712-1.c gcc.dg/cpp/19940712-1.c gcc.c-torture/noncompile/940712-1.h gcc.dg/cpp/19940712-1.h gcc.c-torture/noncompile/940712-1a.h gcc.dg/cpp/19940712-1a.h gcc.c-torture/noncompile/940712-1b.h gcc.dg/cpp/19940712-1b.h gcc.c-torture/noncompile/951025-1.c gcc.dg/cpp/19951025-1.c gcc.c-torture/noncompile/951227-1.c gcc.dg/cpp/19951227-1.c From-SVN: r34791
Zack Weinberg committed -
* gcc.dg/cpp/20000628-1a.h: On each of the first three inclusions, declare one variable. On the fourth, error. * gcc.dg/cpp/20000628-1.c (main): Reference the three variables declared by 20000628-1a.h. From-SVN: r34790
Zack Weinberg committed -
* gcc.c-torture/execute/930529-1.x: New file. * gcc.dg/920413-1.c: Adjust expexted warning text. * gcc.dg/980217-1.c: Declare abort. * gcc.dg/cpp/20000628-1a.h: Use a declaration instead of an asm. From-SVN: r34789
Richard Henderson committed -
* config/ia64/linux.h (LINK_SPEC): Change so.1 to so.2. From-SVN: r34788
James E. Wilson committed -
* config/ia64/ia64.h (MODES_TIEABLE_P): Only tie if mode class is the same. Only tie XFmode with XFmode. From-SVN: r34787
James E. Wilson committed -
2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * testsuite/27_io/filebuf.cc: Tweak. * testsuite/27_io/filebuf_members.cc (test_01): Fix. * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio filebuf dtor. (__basic_file::basic_file): Clean, add calls similar to _IO_file_attach. (__basic_file::open): Clean. (__basic_file::sys_open): Clean. * bits/std_fstream.h: Revert. * bits/fstream.tcc (filebuf::close()): Revert. (filebuf::basic_filebuf()): Revert. From-SVN: r34786
Benjamin Kosnik committed -
* c-decl.c, timevar.c, tlink.c: Include intl.h. * Makefile.in: Update deps. From-SVN: r34785
Zack Weinberg committed -
2000-06-29 Andrew Haley <aph@cygnus.com> * toplev.c (main): On an IA-64, make flag_unwind_tables defauit to true. From-SVN: r34784
Andrew Haley committed -
2000-06-29 Andrew Haley <aph@cygnus.com> * config/ia64/linux.h (JMP_BUF_SIZE): Size is in Pmode units, not bytes: remove the multiply by 8. From-SVN: r34783
Andrew Haley committed -
* lex.c (java_lineterminator): Don't recognize \r after \n. If \r follows \r, then unget it at a lower level. From-SVN: r34782
Tom Tromey committed -
* g77.f-torture/compile/20000629-1.f: New test. * g77.f-torture/compile/20000629-1.x: Expected to fail. From-SVN: r34781
Jeffrey A Law committed -
* cp-tree.h (SET_DECL_ARTIFICIAL): Remove. * decl.c (create_implicit_typedef): Adjust. * decl2.c (build_artificial_parm): Adjust. * method.c (implicitly_declare_fn): Adjust. * pt.c (push_inline_template_parms_recursive): Adjust. (process_template_parm): Adjust. (overloaded_template_name): Adjust. * semantics.c (finish_template_template_parm): Adjust. From-SVN: r34780
Nathan Sidwell committed -
From-SVN: r34779
Michael Hayes committed -
2000-06-29 Philipp Thomas <pthomas@suse.de> * rtl.c : Revert NLS changes. * gcc.c : Fix bug in display_help introced by my last changes. From-SVN: r34778
Philipp Thomas committed -
From-SVN: r34777
Jeff Law committed -
* dbxout.c (dbxout_symbol, case RESULT_DECL, VAR_DECL): Use DECL_CONTEXT, not DECL_FIELD_CONTEXT. From-SVN: r34776
Raja R Harinath committed -
Rearrange lots of files, removing entirely the gcc.c-torture/special, gcc.c-torture/code-quality, and gcc.failure directories. * Deleted files: gcc.c-torture/code_quality/code_quality.exp gcc.c-torture/special/special.exp gcc.failure/failure.exp gcc.failure/940409-1.x gcc.c-torture/compile/961203-1.x * New files: gcc.misc-tests/linkage.exp gcc.c-torture/execute/920730-1t.c gcc.c-torture/execute/920730-1t.x gcc.c-torture/compile/920520-1.x gcc.c-torture/compile/920521-1.x gcc.c-torture/compile/981006-1.x gcc.c-torture/execute/eeprof-1.x * Moved files (possibly with modifications to fit a new harness): Old name New name gcc.c-torture/code_quality/920608-1.c gcc.c-torture/compile/920608-1.c gcc.c-torture/special/920413-1.c gcc.dg/920413-1.c gcc.c-torture/special/920520-1.c gcc.c-torture/compile/920520-1.c gcc.c-torture/special/920521-1.c gcc.c-torture/compile/920521-1.c gcc.c-torture/special/920717-x.c gcc.misc-tests/linkage-x.c gcc.c-torture/special/920717-y.c gcc.misc-tests/linkage-y.c gcc.c-torture/special/920730-1.c gcc.c-torture/execute/920730-1.c gcc.c-torture/special/930510-1.c gcc.dg/cpp/19930510-1.c gcc.c-torture/special/951130-1.c gcc.dg/951130-1.c gcc.c-torture/special/960224-1.c gcc.dg/cpp/19960224-1.c gcc.c-torture/special/960224-2.c gcc.dg/cpp/19960224-2.c gcc.c-torture/special/981006-1.c gcc.c-torture/compile/981006-1.c gcc.c-torture/special/eeprof-1.c gcc.c-torture/execute/eeprof-1.c gcc.failure/940409-1.c gcc.dg/940409-1.c From-SVN: r34775
Zack Weinberg committed -
From-SVN: r34774
Michael Hayes committed
-
- 28 Jun, 2000 20 commits
-
-
2000-06-28 Philipp Thomas <pthomas@suse.de> * c-decl.c : Mark strings for translation. (parmlist_tags_warning): Use distinct messages instead of conditional expressions. * diagnostic.c (v_message_with_decl): Mark string for translation. * gcc.c: Mark messages for translation. (display_help): Combine messages into one string where necessary. * mips-tfile.c: Add intl.h. Mark messages for translation. * rtl.c (fatal_with_file_and_line): Modify function for NLS. Mark messages for translation. * timevar.c: Mark messages for translation. * tlink.c: Likewise. * toplev.c: Likewise. From-SVN: r34773
Philipp Thomas committed -
From-SVN: r34772
Donn Terry committed -
* alpha/alpha-interix.h: Delete redundant -Asystem(interix), use -isystem instead of -idirafter. * i386/i386-interix.h: Likewise. From-SVN: r34771
Donn Terry committed -
From-SVN: r34770
Zack Weinberg committed -
From-SVN: r34769
Jeff Law committed -
dwarf2out.c (output_loc_operands): Don't support >1 byte output unless DWARF2_DEBUGGING_INFO is defined. * dwarf2out.c (output_loc_operands): Don't support >1 byte output unless DWARF2_DEBUGGING_INFO is defined. (ASM_OUTPUT_DWARF_*): Wrap normal output defs with #ifndefs. From-SVN: r34768
Jason Merrill committed -
From-SVN: r34767
Jakub Jelinek committed -
From-SVN: r34766
Zack Weinberg committed -
* cp-tree.h (CLEAR_BINFO_NEW_VTABLE_MARKED): Remove. * class.c (update_vtable_entry_for_fn): Correct logic for deciding where to emit thunks. (build_vtt): Adjust call to build_vtt_inits. (build_vtt_inits): Add parameter to indicate whether or not sub-VTTs for virtual bases should be included. Adjust handling of construction vtables. (get_matching_base): New function. (dfs_build_vtt_inits): Rename to ... (dfs_build_secondary_vptr_vtt_inits): Adjust handling of construction vtables. (dfs_fixup_binfo_vtbls): Likewise. (build_ctor_vtbl_groups): Build construction vtables for virtual bases, too. (accumulate_vtbl_inits): Tweak logic for deciding whether or not to build construction vtbls. (dfs_accumulate_vtbl_inits): Adjust handling of construction vtables. * pt.c (tsubst, case TEMPLATE_TEMPLATE_PARM): Handle cv-qualified types correctly. From-SVN: r34765
Mark Mitchell committed -
From-SVN: r34764
Richard Henderson committed -
* gcc.misc-tests/acker1.c: Report failure. Use return from main, not exit. Include stdio.h. * gcc.misc-tests/dg-11.c: Remove anchors from regexp. * gcc.misc-tests/dg-12.c: Likewise. * gcc.misc-tests/dg-5.c: Likewise. * gcc.misc-tests/dg-6.c: Likewise. * gcc.misc-tests/dg-7.c: Prototype abort. * gcc.misc-tests/dg-9.c: Adjust error-message regexps. * gcc.misc-tests/dhry.h: Include stdlib.h and string.h. * gcc.misc-tests/matrix1.c: Report failure. Use return from main, not exit. * gcc.misc-tests/sieve.c: Use return from main, not exit. * gcc.misc-tests/sort2.c: Use return from main, not exit. From-SVN: r34763
Zack Weinberg committed -
* gcc.dg/cpp/20000628-1.c: New test. * gcc.dg/cpp/20000628-1.h: New header for above test. * gcc.dg/cpp/20000628-1a.h: Likewise. From-SVN: r34762
Jakub Jelinek committed -
cpplex.c (output_line_command): Output correct #line if a header is including itself and is not protected... * cpplex.c (output_line_command): Output correct #line if a header is including itself and is not protected against multiple inclusion. From-SVN: r34761
Jakub Jelinek committed -
* cppfiles.c (open_include_file): If open(2) returns EMFILE or ENFILE, close all cached file descriptors and try again. (_cpp_execute_include): Keep a count of the number of times each header is included. (close_cached_fd): New function. * cpphash.h (struct include_file): Rename before to include_count; all users updated. Make include_count and sysp unsigned short. * cppinit.c (cpp_finish): If -H, report headers that could use reinclude guards. (report_missing_guard): New function. From-SVN: r34760
Zack Weinberg committed -
From-SVN: r34759
Phil Edwards committed -
From-SVN: r34758
Gabriel Dos Reis committed -
valarray_array.h (_Array_default_ctor<>::_S_do_it): Don't forget the sizeof(_Tp) factor in call to memset(). 2000-06-28 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> * bits/valarray_array.h (_Array_default_ctor<>::_S_do_it): Don't forget the sizeof(_Tp) factor in call to memset(). (_Array_copy_ctor<>::_S_do_it): Likewise for memcpy(). From-SVN: r34757
Gabriel Dos Reis committed -
* i386.md (prologue_set_got): Set length_immediate field. (testqi_ccno_1): Add missing '@' character. From-SVN: r34756
Jan Hubicka committed -
2000-06-27 Andrew Haley <aph@cygnus.com> * java/io/File.java (createTempFile): Close the FileDescriptor used to create a temp file. Fixes some of PR 203. * java/io/natFileDescriptorPosix.cc (open): Call garbage collection if we run out of file handles. From-SVN: r34755
Andrew Haley committed -
From-SVN: r34754
Warren Levy committed
-