aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-08-23* gcc.dg/noncompile/label-lineno-1.c: New test.Kaveh R. Ghazi2-0/+18
From-SVN: r35924
2000-08-23* gcc.dg/c99-array-nonobj-1.c: New test.Joseph Myers2-0/+31
From-SVN: r35923
2000-08-23Minor cleanup of ia64 unwind handler code.Jim Wilson3-6/+28
* frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New. * config/ia64/frame-ia64.c (__get_personality): Return zero if neither EHANDLER nor UHANDLER bit is set. (__get_except_table): Likewise. From-SVN: r35922
2000-08-23missed one...Nick Clifton1-1/+1
From-SVN: r35921
2000-08-23Replace upper case condition code strings with lower case.Nick Clifton2-79/+82
From-SVN: r35920
2000-08-23Replace STRUCT_VALUE_REGNUm by STRUCT_VALUENick Clifton2-3/+7
From-SVN: r35919
2000-08-23cpphash.h (IN_I): New flag for directive table.Zack Weinberg4-10/+32
* cpphash.h (IN_I): New flag for directive table. * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and #pragma with IN_I. (_cpp_check_directive): If -fpreprocessed, execute directives marked with IN_I. Issue no warnings in this case. * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed. From-SVN: r35918
2000-08-23c-common.c (print_char_table): Allow 'I' flag with %d, %i and %u.Joseph Myers6-3/+142
* c-common.c (print_char_table): Allow 'I' flag with %d, %i and %u. (check_format_info): Support printf 'I' flag; warn about it with -pedantic. testsuite: * gcc.dg/c99-printf-2.c, gcc.dg/format-xopen-1.c: Add some more tests. * gcc.dg/format-ext-1.c: New test. From-SVN: r35917
2000-08-23cp-tree.h (DECL_CLONED_FUNCTION_P): Check DECL_LANG_SPECIFIC.Mark Mitchell4-10/+31
* cp-tree.h (DECL_CLONED_FUNCTION_P): Check DECL_LANG_SPECIFIC. * mangle.c (write_function_type): Change prototype. (write_encoding): Don't mangle return types for constructors or destructors. (write_type): Adjust call to write_function_type. * pt.c (instantiate_template): Instantiate alternate entry points when instantiating the main function. From-SVN: r35916
2000-08-23tr-warn4.c, [...]: New tests.Kaveh R. Ghazi11-0/+233
* gcc.dg/cpp/tr-warn4.c, gcc.dg/cpp/tr-warn5.c, gcc.dg/wtr-aggr-init-1.c, gcc.dg/wtr-escape-1.c, gcc.dg/wtr-int-type-1.c, gcc.dg/wtr-static-1.c, gcc.dg/wtr-strcat-1.c, gcc.dg/wtr-switch-1.c, gcc.dg/wtr-unary-plus-1.c, gcc.dg/wtr-union-init-1.c: New tests. From-SVN: r35913
2000-08-23Added John David Anglin's name to patch for HP-UX bootstrapAlexandre Oliva1-1/+3
From-SVN: r35912
2000-08-23arm.c (arm_expand_prologue): Ensure that the stack-adjustment barrier can't ↵Richard Earnshaw2-2/+18
be ignored by the alias analysis... * arm.c (arm_expand_prologue): Ensure that the stack-adjustment barrier can't be ignored by the alias analysis code. From-SVN: r35911
2000-08-23Update to pthread and addition of sys/machine.hBruce Korb2-0/+22
From-SVN: r35910
2000-08-23Fixed the test for aix_pthreadBruce Korb1-1/+2
From-SVN: r35909
2000-08-23Fix sed script for sysv86_string fixEli Zaretskii3-9/+11
From-SVN: r35908
2000-08-23Added a line to the test baseBruce Korb1-0/+1
From-SVN: r35907
2000-08-23error.c (cp_print_error_function): Don't use embedded '\n' in output_printf.Gabriel Dos Reis2-5/+8
* error.c (cp_print_error_function): Don't use embedded '\n' in output_printf. From-SVN: r35906
2000-08-23simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to ↵Alexandre Oliva3-3/+25
simplify_relational_operation() unless... * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to simplify_relational_operation() unless both operands are of VOIDmode. * cse.c (fold_rtx): Likewise. From-SVN: r35904
2000-08-23Daily bump.Jeff Law2-2/+2
From-SVN: r35903
2000-08-23decl.c (init_decl_processing): Remove bogus initialization.Gabriel Dos Reis3-1/+21
* decl.c (init_decl_processing): Remove bogus initialization. * error.c (lang_print_error_function): Restore here. (init_error): Initialize print_error_function. From-SVN: r35902
2000-08-23rtlanal.c (rtx_unstable_p): The pic register is stable (within one function) ↵John Wehle4-21/+56
and the actual rtx should be... * rtlanal.c (rtx_unstable_p): The pic register is stable (within one function) and the actual rtx should be used when checking the registers. (rtx_addr_can_trap_p): Pic memory addresses can't trap. * alias.c (true_dependence, write_dependence_p): Fix bug in previous patch. * i386.c (ix86_GOT_alias_set): New. (legitimize_pic_address): Use it. * rtlanal.c (rtx_unstable_p): An unchanging MEM is only stable if its address is stable. (rtx_varies_p): An unchanging MEM can't vary if its address doesn't vary. From-SVN: r35900
2000-08-23* c-parse.in (unop +): Restrict -Wtraditional warnings to user code.Kaveh R. Ghazi2-1/+5
From-SVN: r35899
2000-08-22Forgot to commit.J. David Anglin1-0/+8
From-SVN: r35896
2000-08-22* decl2.c (arg_assoc): Revert my 2000-08-11 change.Theodore Papadopoulo2-10/+7
From-SVN: r35895
2000-08-22vax.h (ASM_SPEC): Pass `-J' to assembler.J. David Anglin4-93/+112
* vax.h (ASM_SPEC): Pass `-J' to assembler. * x-vax-gcc: New file for bootstrapping with gcc. * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'. * configure.in: Use x-vax-gcc with gcc. * configure: Rebuilt. From-SVN: r35894
2000-08-22Makefile.in (error.o): Depends on diagnostic.hGabriel Dos Reis6-77/+232
* Makefile.in (error.o): Depends on diagnostic.h * cp-tree.h (problematic_instantiation_changed, record_last_problematic_instantiation, current_instantiation, print_instantiation_context): Declare. (maybe_print_template_context): Remove. * decl.c (init_decl_processing): Set print_error_function to NULL. (lang_print_error_function): Remove, since we're using a new machinery. * error.c: #include diagnostic.h (function_category): New function. (cp_diagnostic_starter): Likewise. (cp_diagnostic_finalizer): Likewise. (cp_print_error_function): Likewise. (maybe_print_instantiation_context): Likewise. (print_instantiation_full_context): Likewise. (print_instantiation_partial_context): Likewise. (print_instantiation_context): Define. (init_error): Initialize diagnostic pager and finalizer. * pt.c (problematic_instantiation_changed): Define. (record_last_problematic_instantiation): Likewise. (current_instantiation): Likewise. (maybe_print_template_context): Remove. (print_template_context): Likewise. (current_tinst_level): Make static to reflect Brendan Kehoe's change of 1995-04-13. (push_tinst_level): Call print_instantiation_context. From-SVN: r35893
2000-08-22toplev.c (rest_of_compilation): Rebuild label notes after post-reload ↵J"orn Rennecke2-1/+11
splitting pass if... * toplev.c (rest_of_compilation): Rebuild label notes after post-reload splitting pass if new labels have been created. From-SVN: r35892
2000-08-22diagnostic.h (output_buffer_state): New macro.Gabriel Dos Reis3-13/+25
* diagnostic.h (output_buffer_state): New macro. * diagnostic.c (diagnostic_for_decl, sorry, default_print_error_function, output_do_verbatim, report_diagnostic, report_problematic_module): Use it. (wrap_text): Tweak. (output_format): Use wrap_text instead of maybe_wrap_text. From-SVN: r35891
2000-08-22Use macros to replace duplicated bodies of assembler code.Nick Clifton2-607/+292
From-SVN: r35890
2000-08-22sh.md (cmpeqdi_t splitter): Fix a reverse testing.Kaz Kojima3-1/+10
* config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing. * config/sh/sh.c (prepare_scc_operands): Apply force_reg to sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't const0_rtx. From-SVN: r35889
2000-08-22Before performing any restorative additions...Nick Clifton2-25/+56
Before performing any restorative additions, test for bottom bits of IP being set, rather than relying upon the RORs not matching. From-SVN: r35888
2000-08-22calls.c (check_sibcall_argument_overlap_1): Adjust for ARGS_GROW_DOWNWARD.Alexandre Oliva2-0/+13
* calls.c (check_sibcall_argument_overlap_1): Adjust for ARGS_GROW_DOWNWARD. (check_sibcall_argument_overlap): Likewise. From-SVN: r35887
2000-08-22aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or text_section() as ↵David Edelsohn3-10/+58
appropriate instead of emitting text... * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or text_section() as appropriate instead of emitting text csect pseudo-op directly. (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment. (UNIQUE_SECTION): Define macro. (ASM_OUTPUT_SECTION_NAME): Define macro. * rs6000.c (rs6000_override_options): Disable -ffunction-sections on AIX if debugging and -fdata-sections always. From-SVN: r35886
2000-08-22float-i386.h (LDBL_EPSILON): Remove __convert_long_double machinery.Benjamin Kosnik1-1/+0
2000-08-22 Steven King <sxking@uswest.net> * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double machinery. (LDBL_MAX): Same here. From-SVN: r35884
2000-08-22float-i386.h (LDBL_EPSILON): Remove __convert_long_double machinery.Steven King2-10/+10
2000-08-22 Steven King <sxking@uswest.net> * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double machinery. (LDBL_MAX): Same here. From-SVN: r35883
2000-08-22fix so failures are diagnosedJason Merrill59-72/+77
From-SVN: r35881
2000-08-22tweakJason Merrill1-1/+1
From-SVN: r35880
2000-08-22* flow.c (tidy_fallthru_edge): Update b->end properly.Richard Henderson2-1/+7
From-SVN: r35879
2000-08-22Makefile.in (OBJS): Add dependence.o.Stan Cox3-1/+1466
* Makefile.in (OBJS): Add dependence.o. * dependence.c: New file. From-SVN: r35876
2000-08-22invoke.texi (SH Options): Document -m4-nofpu...Alexandre Oliva2-1/+49
* invoke.texi (SH Options): Document -m4-nofpu, -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd, -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace. From-SVN: r35875
2000-08-22c-common.c (check_format_info): Give the 'some locales' warning for strftime ↵Joseph Myers6-3/+176
%Ey rather than the unconditional... * c-common.c (check_format_info): Give the 'some locales' warning for strftime %Ey rather than the unconditional 'only last 2 digits of year' one. testsuite: * gcc.dg/c90-strftime-2.c, gcc.dg/c99-strftime-1.c, gcc.dg/c99-strftime-2.c: New tests. From-SVN: r35874
2000-08-22alias.c (init_alias_analysis): Do not register struct_value_incoming_rtx or ↵Richard Henderson2-9/+6
static_chain_rtx as pointing to... * alias.c (init_alias_analysis): Do not register struct_value_incoming_rtx or static_chain_rtx as pointing to stack memory. From-SVN: r35873
2000-08-22New test.Richard Henderson2-0/+28
From-SVN: r35872
2000-08-22(TYPE_RETURNS_STACK_DEPRESSED): Insert blank betweenAlexandre Oliva1-1/+1
`FUNCTION_TYPE_CHECK' and `(NODE)'. From-SVN: r35869
2000-08-22Daily bump.Jeff Law2-2/+2
From-SVN: r35868
2000-08-22* protoize.c (munge_compile_params): Fix typo and formatting buglets.Jeffrey A Law2-2/+7
From-SVN: r35867
2000-08-22diagnostic.h (report_problematic_module): Declare.Gabriel Dos Reis3-21/+35
2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com> * diagnostic.h (report_problematic_module): Declare. * diagnostic.c (report_problematic_module): New function. (report_error_function): Tweak. From-SVN: r35866
2000-08-22stmt.c (expand_goto_internal, [...]): Only check ↵Richard Kenner2-4/+13
TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE. * stmt.c (expand_goto_internal, fixup_gotos): Only check TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE. From-SVN: r35865
2000-08-21flow.c (calculate_global_regs_live): Mark frame pointer live everywhere ↵Richard Henderson2-0/+11
before reload. * flow.c (calculate_global_regs_live): Mark frame pointer live everywhere before reload. From-SVN: r35862
2000-08-21Fix x86-x-ia64 cross compiler build failure.Jim Wilson2-16/+27
* real.c (ereal_from_int, ereal_from_uint, significand_size): Handle INTEL_EXTENDED_IEEE_FORMAT. (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support. Unconditionally clear last two bytes of output FP value. From-SVN: r35861