- 13 Jul, 2000 18 commits
-
-
From-SVN: r35020
Kaveh R. Ghazi committed -
From-SVN: r35019
Kaveh R. Ghazi committed -
From-SVN: r35018
Tom Tromey committed -
* calls.c (stored_args_map): New variable. (check_sibcall_argument_overlap_1): New. (check_sibcall_argument_overlap): New. (expand_call): Initialize stored_args_map. Call check_sibcall_argument_overlap. * gcc.c-torture/execute/20000707-1.c: New test. From-SVN: r35017
Jakub Jelinek committed -
From-SVN: r35016
Bruce Korb committed -
From-SVN: r35015
Bruce Korb committed -
From-SVN: r35014
Bruce Korb committed -
From-SVN: r35013
Bruce Korb committed -
From-SVN: r35012
Bruce Korb committed -
2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com> * diagnostic.c (vline_wrapper_message_with_location, v_message_with_file_and_line, v_error_with_file_and_file, v_error_for_asm, v_warning_for_asm, vfatal, v_warning_with_file_and_line, v_pedwarn_with_file_and_line, vsorry, verror, vwarning, vpedwarn): Remove. (diagnostic_for_asm): New function. (pedwarn, error, warning, pedwarn_with_file_and_line, error_with_file_and_line, warning_with_file_and_line, sorry, error_for_asm, warning_for_asm, fatal): Reimplement. (finish_diagnostic): Clear diagnostic info as well. From-SVN: r35011
Gabriel Dos Reis committed -
* c-common.h (flag_digraphs): New. * c-decl.c (c_decode_option): Set flag_digraphs as appropriate. * c-lex.c (yylex): Use flag_digraphs to decide whether to honour digraphs. * testsuite/gcc.dg/cpp/digraph1.c, testsuite/gcc.dg/cpp/digraph2.c, testsuite/gcc.dg/cpp/digraphs.c: New tests. From-SVN: r35010
Neil Booth committed -
From-SVN: r35009
Jeff Law committed -
* gcc.c (do_spec_1): Add new %B operator. (set_input): Prepare for %B. (link_command_spec): Move up with the other tm.h- overrideable specs. Factor out the portion conditional on LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc). (struct compiler): Just have a single spec string. All users updated. (default_compilers): Remove unnecessary braces. (static_specs): Update. (trad_capable_cpp, cpp_options, cc1_options, asm_options): New named specs. (C and assembly specs): Use the new named specs, as appropriate. * objc/lang-specs.h, ch/lang-specs.h, cp/lang-specs.h, f/lang-specs.h, java/lang-specs.h: Use the new named specs. Remove unnecessary braces. From-SVN: r35008
Zack Weinberg committed -
From-SVN: r35007
Zack Weinberg committed -
* gcc.c (execute): If a subprocess gets a fatal signal, report strsignal() of the signal number, and ask for a bug report. Do not do this for SIGPIPE if there's already been an error. * tradcpp.c: Don't include signal.h. Don't catch SIGPIPE. Delete pipe_closed. From-SVN: r35006
Zack Weinberg committed -
final.c (profile_function): Do not emit profile counters in the data section, if NO_PROFILE_COUNTERS is defined. * final.c (profile_function): Do not emit profile counters in the data section, if NO_PROFILE_COUNTERS is defined. * tm.texi: Document NO_PROFILE_COUNTERS. Update doc for FUNCTION_PROFILER. * config/i386/linux.h (NO_PROFILE_COUNTERS): Define. (FUNCTION_PROFILER): Just emit a call to mcount. From-SVN: r35005
Zack Weinberg committed -
From-SVN: r35004
Zack Weinberg committed -
cppexp.c, [...]: Eradicate all traces of code dependent on traditional, lang_chill, or lang_fortran. * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c, cpplib.c, cpplib.h: Eradicate all traces of code dependent on traditional, lang_chill, or lang_fortran. * cppfiles.c: #undef strcmp to suppress warning about macros used without arguments. (_cpp_execute_include): Use f, not fname, in "No include path" error. (_cpp_pop_file_buffer): New function. * cpplib.c: Don't include <sys/mman.h>. (cpp_push_buffer): Set line_base and lineno in new buffer. (cpp_pop_buffer): Use _cpp_pop_file_buffer. * cpplex.c: Move all prototypes and structure declarations to the top of the file. Properly parenthesise some macro arguments. (cpp_scan_line): New function. (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth, don't need to walk up the stack counting. From-SVN: r35003
Zack Weinberg committed
-
- 12 Jul, 2000 22 commits
-
-
From-SVN: r35002
Bryce McKinlay committed -
From-SVN: r35001
Bryce McKinlay committed -
* java/awt/image/ImageConsumer.java: New file. * java/awt/image/ImageProducer.java: New file. * java/awt/image/ImageObserver.java: New file. From-SVN: r35000
Bryce McKinlay committed -
c-common.c (combine_strings): Emit a pedantic warning when a string length is greater than the minimum ANSI C... * c-common.c (combine_strings): Emit a pedantic warning when a string length is greater than the minimum ANSI C is required to support. From-SVN: r34999
Kaveh R. Ghazi committed -
* pa/xm-pa64.h (NO_SYS_SIGLIST): Kill. * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill. From-SVN: r34998
Jeffrey A Law committed -
* c-decl.c (define_label): Warn about identifier conflicts with labels in traditional C. * c-parse.in (unop +): Warn about the unary plus operator for traditional C. * c-typeck.c (store_init_value): Warn about automatic aggregate initialization for traditional C. * invoke.texi (-Wtraditional): Document new warnings. From-SVN: r34997
Kaveh R. Ghazi committed -
2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com> * Makefile.in (c-errors.o): Fix thinko in dependency. From-SVN: r34996
Gabriel Dos Reis committed -
gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of -traditional, -ftraditional, or -traditional-cpp was given. * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of -traditional, -ftraditional, or -traditional-cpp was given. Do not pass -traditional to the preprocessor. (.S spec): Likewise. Don't bother defining __ASSEMBLER__, the preprocessor does it automatically. * objc/lang-specs.h: Likewise. Don't bother defining __OBJC__. * ch/lang-specs.h: Always use tradcpp. Do not pass -traditional, -trigraphs, or -pedantic to the preprocessor. * f/lang-specs.h (.F spec): Likewise. Don't bother defining _LANGUAGE_FORTRAN. From-SVN: r34995
Zack Weinberg committed -
* cppexp.c (LOGICAL): Delete macro. (_cpp_parse_expr): Do not use UNARY for unary +. Implement || and && directly. * cpphash.c (HASHSIZE): Increase to 4096. (struct hashdummy): Add hash field. (eq_HASHNODE): Compare unreduced hashes, then lengths, then the string values using memcmp. (cpp_lookup): Set dummy.hash. From-SVN: r34994
Zack Weinberg committed -
* configure.in (m88k-openbsd): Express configuration using new fragment style. * configure: Rebuilt. * m88k/aout-dbx.h: New. * m88k/openbsd.h: New. * m88k/xm-openbsd.h: New. From-SVN: r34993
Marc Espie committed -
* g77.f-torture/compile/20000630-2.f: New test. * g77.f-torture/compile/20000630-2.x From-SVN: r34992
David Billinghurst committed -
From-SVN: r34991
Kaveh R. Ghazi committed -
reload.c (push_secondary_reload): Make sure to add the new reload at the end, after acquiring secondary memory. * reload.c (push_secondary_reload): Make sure to add the new reload at the end, after acquiring secondary memory. From-SVN: r34990
Richard Henderson committed -
From-SVN: r34989
Kaveh R. Ghazi committed -
From-SVN: r34988
Kaveh R. Ghazi committed -
* c-decl.c (set_current_function_name_declared, anon_aggr_type_p, lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED. * c-parse.in (stmt): Delete unused variables. * convert.c (convert_to_vector): Likewise. * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'. * tree.c (finish_vector_type): Prototype. From-SVN: r34987
Kaveh R. Ghazi committed -
From-SVN: r34986
Bruce Korb committed -
* cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c. * cpplex.c (TOKEN_SPELL) Move to cpphash.h. * cpphash.c: (struct macro_info, alloc_macro, free_macro, struct toklist_dummy): New. (cpp_free_definition): Free macros with free_macro. (count_params): Don't save paramter spellings. Save macro information in a struct macro_info. (parse_define): Don't allocate a token list. (save_expansion): Allocate the macro's token list, and save parameter spellings if necessary. Use TOKEN_SPELL. (cpp_create_definition): Make list const. From-SVN: r34985
Neil Booth committed -
2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com> * c-typeck.c (pedwarn_c99): Move to * c-errors.c: ... Here. * toplev.h (verror, vwarning, vpedwarn): Remove prototypes. * diagnostic.c (verror, vwarning, vpedwarn): Make static. * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o (c-errors.o): List dependency. From-SVN: r34984
Gabriel Dos Reis committed -
From-SVN: r34983
Jeff Law committed -
* gcc_update (files_and_dependencies): Remove generated YACC files. * c-parse.c: Remove. * c-parse.h: Likewise. * c-parse.y: Likewise. * objc/objc-parse.c: Likewise. * objc/objc-pasre.y: Likewise. * Makefile.in ($(PARSE_H)): Depend directly on parse.y. * parse.c: Remove. * parse.h: Likewise. * parse-scan.c: Remove. From-SVN: r34982
Mark Mitchell committed -
2000-07-12 Bryce McKinlay <bryce@albatross.co.nz> Merged implementation of java.applet from classpath: * java/applet/Applet.java: New file. * java/applet/AppletContext.java: New file. * java/applet/AppletStub.java: New file. * java/applet/AudioClip.java: New file. * Makefile.am: Added new java.applet classes. * Makefile.in: Rebuilt. From-SVN: r34981
Bryce McKinlay committed
-