- 21 May, 1998 8 commits
-
-
Thu May 21 11:54:44 1998 Dave Brolley <brolley@cygnus.com> * lex.c: (handle_sysv_pragma): FILE* parameter not used. (cpp_reader,parse_in): Add for cpplib. (check_newline): Call handle_sysv_pragma with new interface. (check_newline): Call GET_DIRECTIVE_LINE, not get_directive_line. * input.c: (yy_cur,yy_lim,yy_get_token,GETC): Add for cpplib. (sub_getch): Call GETC for cpplib. * cp-tree.h: (get_directive_line): Different prototype for cpplib. (GET_DIRECTIVE_LINE): Macro wrapper for get_directive_line. * Makefile.in (CXX_OBJS): add @extra_cxx_objs@ for cpplib. From-SVN: r19927
Dave Brolley committed -
Thu May 21 11:51:15 1998 Dave Brolley <brolley@cygnus.com> * configure.in (extra_c_objs): add prefix.o. (extra_cxx_objs): extra objects for C++ with cpplib. * configure: Regenerate. * c-tree.h: (get_directive_line): Different prototype for cpplib. (GET_DIRECTIVE_LINE): Macro wrapper for get_directive_line. * c-lex.h: (get_directive_line): Not needed here for cpplib. * c-lex.c: (yy_cur,yy_lim,yy_get_token): Move to c-common.c. (GET_DIRECTIVE_LINE): Move to c-common.c and rename to get_directive_line. * c-common.c (parse_in,parse_options,cpp_token): Declare for cpplib. (yy_cur,yy_lim,yy_get_token,get_directive,line): Moved here from c-lex.c From-SVN: r19926
Dave Brolley committed -
� * configure.in: Check for unistd.h as well. * configure: Rebuild. * config.in: Rebuild. * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE is defined in unistd.h. Reformat conditional block for easier reading. * config.table (shared): Default to no if ${enable_shared} is unset or empty; this logic is used by the toplevel configure scripts, too. From-SVN: r19925
Manfred Hollstein committed -
0 * configure.in: Check for unistd.h as well. * configure: Rebuild. * config.in: Rebuild. * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE is defined in unistd.h. Reformat conditional block for easier reading. * config.table (shared): Default to no if ${enable_shared} is unset or empty; this logic is used by the toplevel configure scripts, too. From-SVN: r19924
Manfred Hollstein committed -
� * configure.in: Check for unistd.h as well. * configure: Rebuild. * config.in: Rebuild. * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE is defined in unistd.h. Reformat conditional block for easier reading. * config.table (shared): Default to no if ${enable_shared} is unset or empty; this logic is used by the toplevel configure scripts, too. From-SVN: r19923
Manfred Hollstein committed -
ANSI does not allow a prototype to specify an item smaller than an int if the function uses an old-style definition. ANSI does not allow a prototype to specify an item smaller than an int if the function uses an old-style definition. This only worked as a GNUC extension, so stop doing it. * gengenrtl.c (type_from_format, accessor_from_format): Change type of parameter `c' from `char' to `int'. From-SVN: r19922
Kaveh R. Ghazi committed -
* decl2.c (maybe_make_one_only): New fn. (import_export_vtable): Use it. (import_export_decl): Likewise. * pt.c (mark_decl_instantiated): Likewise. From-SVN: r19921
Jason Merrill committed -
* decl2.c (find_representative_member): Rename to ... (build_anon_union_vars): New function. (finish_anon_union): Fix stupidity of previous change. From-SVN: r19920
Mark Mitchell committed
-
- 20 May, 1998 18 commits
-
-
* decl.c (grokfndecl): Handle definition of specialization in friend declaration. * error.c (dump_decl): Fix LOOKUP_EXPR handling. From-SVN: r19919
Jason Merrill committed -
* class.c (delete_duplicate_fields_1): Use DECL_DECLARES_TYPE_P to look for type declarations. (finish_struct): Deal with templates on the CLASSTYPE_TAGS list. * cp-tree.h (DECL_DECLARES_TYPE_P): New macro. (finish_member_class_template): Declare. * decl.c (pushtag): Put member class templates on the CLASSTYPE_TAGS list, just as for ordinary member classes. (pushdecl_class_level): Use DECL_DECLARES_TYPE_P. (lookup_tag): Look for IDENTIFIER_CLASS_VALUEs, just as with IDENTIFIER_NAMESPACE_VALUEs. * parse.y (component_decl): Move code to ... * semantics.c (finish_member_class_template): New function. Don't put member class templates on the list of components for a class. * pt.c (classtype_mangled_name): Don't try DECL_CONTEXT on types. In fact, don't use DECL_CONTEXT at all here. From-SVN: r19918
Mark Mitchell committed -
* warn_summary, test_summary: New scripts from Kaveh Ghazi and Alexandre Oliva respectively. From-SVN: r19917
Jeffrey A Law committed -
From-SVN: r19916
Manfred Hollstein committed -
* gcse.c (current_function_calls_longjmp): Declare. For sco5. From-SVN: r19915
Jeffrey A Law committed -
* decl.c (record_unknown_type): New function. (init_decl_processing): Call it for the unknown and global type nodes. From-SVN: r19912
Martin v. Löwis committed -
From-SVN: r19911
Jason Merrill committed -
* decl2.c (find_representative_member): New function. (finish_anon_union): Use it. From-SVN: r19910
Mark Mitchell committed -
* gcc.dg/{980502-1.c, clobbers.c}: New tests. * gcc.c-torture/compile/{980504-1.c, 980506-1.c}: Likewise. * gcc.c-torture/compile/{980506-2.c, 980611-1.c}: Likewise. * gcc.c-torture/execute/{980505-1.c, 980505-2.c, 980506-1.c}: Likewise. * gcc.c-torture/execute/{980506-2.c, 980506-3.c}: Likewise. Missing ChangeLog entry. From-SVN: r19909
Jeff Law committed -
From-SVN: r19908
Mark Mitchell committed -
* cp-tree.h (MAIN_NAME_P): New macro. (DECL_MAIN_P): Likwise. * decl.c (pushdecl): Avoid crashing on redefinitions of `main'. (grokfndecl): Use the new macros. (grokdeclarator): Likewise. (start_function): Likewise. (store_parm_decls): Likewise. (finsh_function): Likewise. * friend.c (do_friend): Likewise. * typeck.c (build_function_call_real): Likewise. (build_unary_op): Likewise. From-SVN: r19907
Mark Mitchell committed -
1998-05-20 Dave Love <d.love@dl.ac.uk> * g77.f-torture/execute/980520-1.f: New test. From-SVN: r19906
Dave Love committed -
From-SVN: r19905
Dave Love committed -
* decl2.c (start_objects, finish_objects, do_dtors, do_ctors): Split out from... (finish_file): ...here. From-SVN: r19904
Jason Merrill committed -
From-SVN: r19903
Jason Merrill committed -
From-SVN: r19902
Jeff Law committed -
* Makefile.in (OBJS): Add gcse.o (STAGESTUFF): Add *.gcse. (gcse.o): Add dependencies. (mostlyclean): Remove *.gcse and */*.gcse. * gcse.c: New file. * loop.c (loop_optimize): Move call to init_alias_analysis. * recog.c (validate_replace_src): New function. * toplev.c (gcse_dump): New global variable. (flag_gcse, gcse_time): Likewise. (compile_file): Initialize gcse_time and clean out the gcse dump file if necessary. (rest_of_compilation): Call gcse_main as requested. Dump RTL after gcse if requested. (main): Enable gcse for -O2 and above. Handle -dG. Enable gcse dumps for -da. * gcc.texi: Add gcse related internal documentation. * invoke.texi: Note new command line options for gcse. * tm.texi: Document AVOID_CCMODE_COPIES. * mips.h (AVOID_CCMODE_COPIES): Define. Co-Authored-By: Jeffrey A Law <law@cygnus.com> From-SVN: r19901
Doug Evans committed -
From-SVN: r19900
Jeff Law committed
-
- 19 May, 1998 14 commits
-
-
* Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR) exists. (stmp-fixproto): Simlarly for running fixproto. * cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include. From-SVN: r19899
Jeffrey A Law committed -
* Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR) exists. * cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include. Bring over from Cygnus sources. From-SVN: r19898
Jeffrey A Law committed -
* tree.c (is_overloaded_fn): Don't abort on placeholders from push_class_decls. From-SVN: r19888
Jason Merrill committed -
* config/mips/mips.c (double_memory_operand): Accept any MEM during reload when TARGET_64BIT. From-SVN: r19887
Jim Wilson committed -
* configure.in (*-*-linux-gnu*): Delete NO_STAB_H from xm_defines. (powerpcle-*-cygwin32): Delete xm_defines. * final.c, mips-tfile.c, xcoffout.c, config/mips/mips.c: Use HAVE_STAB_H instead of NO_STAB_H. * config/xm-linux.h (NO_STAB_H): Delete. (HAVE_STAB_H): Undefine. * config/i386/xm-go32.h (NO_STAB_H): Delete. From-SVN: r19886
Jim Wilson committed -
* class.c (is_empty_class): Return 0 if TYPE is an error_mark_node. * error.c (dump_expr): Handle an ARROW_EXPR. From-SVN: r19885
Brendan Kehoe committed -
From-SVN: r19884
Mark Mitchell committed -
* dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Ignore LANG_TYPE trees with DECL_SOURCE_LINE of 0. From-SVN: r19883
Jim Wilson committed -
* decl.c (saveable_obstack): Declare. (pushdecl): Copy TYPE_DECLs to the same obstack as the type they declare, if necessary. From-SVN: r19882
Mark Mitchell committed -
From-SVN: r19881
Todd Vierling committed -
* call.c (compare_qual): Remove. (is_subseq): Tweak. (is_properly_derived_from): New function. (maybe_handle_ref_bind): Likewise. (maybe_handle_implicit_object): Likewise. (compare_ics): Modify substantially to bring into conformance with the standard. * cp-tree.h (TYPE_PTRMEMFUNC_OBJECT_TYPE): New macro. (comp_cv_qualification): Declare. (comp_cv_qual_signature): Likewise. * typeck.c (comp_cv_qualification): Likewise. (comp_cv_qual_signature): Likewise. From-SVN: r19880
Mark Mitchell committed -
Sat May 2 16:44:46 1998 Craig Burley <burley@gnu.org> * libF77/signal_.c, libI77/dfe.c, libI77/due.c, libI77/wsfe.c: Tweaks to eliminate unnecessary differences vs. netlib libf2c. From-SVN: r19879
Craig Burley committed -
Tweaks to eliminate unnecessary differences vs. netlib libf2c. From-SVN: r19878
Craig Burley committed -
From-SVN: r19877
Craig Burley committed
-