aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2002-02-03gthr-win32.h: Protect against conflicting typedef for BOOL in windows ↵Christopher Faylor2-5/+28
headers and libobjc headers. * gthr-win32.h: Protect against conflicting typedef for BOOL in windows headers and libobjc headers. * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++. (_mingw.h): Remove duplicate include. From-SVN: r49465
2002-02-03config.gcc: Set cpu_type to m68k for 68010, as well.Jason Thorpe3-1/+540
* config.gcc: Set cpu_type to m68k for 68010, as well. (m68010-*-netbsdelf*): New... (m68k*-*-netbsdelf*): ...targets. * config/m68k/netbsd-elf.h: New file. From-SVN: r49464
2002-02-03re PR c/4475 (-Wswitch option not functional)Andrew Cagney2-0/+68
* gcc.dg/Wswitch.c: New test. PR gcc/4475. PR gcc/3780. From-SVN: r49462
2002-02-03re PR fortran/5122 (g77 rejects accepted use of INTEGER*2 as type of DATA ↵Toon Moene2-0/+13
statement loop index) 2002-02-03 Toon Moene <toon@moene.indiv.nluug.nl> * g77.f-torture/execute/5122.f: New test for regressions against PR fortran/5122. From-SVN: r49460
2002-02-03expr.c (ffeexpr_sym_impdoitem_): Allow other than default INTEGER implied-do ↵Toon Moene2-4/+8
loop counts. 2002-02-03 Toon Moene <toon@moene.indiv.nluug.nl> * expr.c (ffeexpr_sym_impdoitem_): Allow other than default INTEGER implied-do loop counts. From-SVN: r49459
2002-02-02class.c (add_field): Mark static fields external.Richard Henderson4-16/+48
* class.c (add_field): Mark static fields external. (build_class_ref): Remove redundant set. * parse.y (java_expand_classes): Mark static fields of classes to be compiled as local. * jcf-parse.c (parse_class_file): Likewise. From-SVN: r49458
2002-02-03* config/h8300/h8300.c (hand_list): Move inside function_arg.Kazu Hirata2-20/+23
From-SVN: r49454
2002-02-03h8300.c (h8_push_ops): Move inside h8300_init_once.Kazu Hirata2-4/+11
* config/h8300/h8300.c (h8_push_ops): Move inside h8300_init_once. (h8_pop_ops): Likewise. (h8_move_ops): Likewise. From-SVN: r49453
2002-02-03h8300.c (os_task): Make it static.Kazu Hirata2-4/+10
* config/h8300/h8300.c (os_task): Make it static. (monitor): Likewise. (pragma_saveall): Likewise. From-SVN: r49452
2002-02-03sh.md (ic_invalidate_line): Make sure the immediate constant is a valid ↵Alexandre Oliva2-1/+7
sign-extension for Pmode. * config/sh/sh.md (ic_invalidate_line): Make sure the immediate constant is a valid sign-extension for Pmode. From-SVN: r49451
2002-02-03pr3743.f: DeleteDavid Billinghurst6-16/+39
2002-02-03 David Billinghurst <David.Billinghurst@riotinto.com> * g77.f-torture/compile/pr3743.f: Delete * g77.dg/pr3743-1.f: New test. * g77.dg/pr3743-2.f: New test. * g77.dg/pr3743-3.f: New test. * g77.dg/pr3743-4.f: New test. From-SVN: r49450
2002-02-02* config/h8300/h8300.c: Fix formatting.Kazu Hirata2-18/+23
From-SVN: r49449
2002-02-02* config/h8300/h8300.md: Fix formatting.Kazu Hirata2-35/+28
From-SVN: r49448
2002-02-02h8300.md (one_cmpl patterns): Tighten the predicates of operands[1].Kazu Hirata2-29/+43
* config/h8300/h8300.md (one_cmpl patterns): Tighten the predicates of operands[1]. Split the patterns for each processor variant. From-SVN: r49446
2002-02-02h8300.md (xor patterns): Tighten the predicates of operands[1] to ↵Kazu Hirata2-3/+8
register_operand. * config/h8300/h8300.md (xor patterns): Tighten the predicates of operands[1] to register_operand. From-SVN: r49445
2002-02-02cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.Neil Booth19-70/+116
* cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__. * cpphash.c (_cpp_init_hashtable): Similarly. * cppinit.c (cpp_create_reader): Default the signed_char flag. (init_builtins): Define __CHAR_UNSIGNED__ appropriately. (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char. (cpp_handle_option): Handle the new options. * cpplex.c (cpp_interpret_charconst): Use new flag. * cpplib.h (struct cpp_options): New member signed_char. * gcc.c (cpp_unique_options): Remove %c spec and documentation. (cpp_options): Handle -fsigned-char and -funsigned-char. (static_specs): Remove signed_char_spec. (do_spec1): Don't handle %c. * system.h: Poison SIGNED_CHAR_SPEC. * tradcif.y (yylex): Use flag_signed_char. * tradcpp.h (flag_signed_char): New. * tradcpp.c (flag_signed_char): New. (main): Handle new command-line options. (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate. config: * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove. * avr/avr.h: Remove old comments. * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*. (CC1_SPEC): Pass -fsigned-char if -mic*. (SIGNED_CHAR_SPEC): Remove. doc: * tm.texi (SIGNED_CHAR_SPEC): Remove documentation. testsuite: * gcc.dg/cpp/uchar-1.c, uchar-2.c, uchar-3.c: New tests. From-SVN: r49444
2002-02-02991118-1.c: Revert 2002-01-29 change.Richard Henderson3-8/+14
* gcc.c-torture/execute/991118-1.c: Revert 2002-01-29 change. * gcc.c-torture/execute/bf64-1.c: Likewise. From-SVN: r49442
2002-02-02g77.texi [...]: Change last update date and/or copyright year.Toon Moene4-6/+6
2002-02-02 Toon Moene <toon@moene.indiv.nluug.nl> * g77.texi proj.h com.c bugs.texi: Change last update date and/or copyright year. From-SVN: r49439
2002-02-02* gcc.c-torture/execute/bitfld-2.c: New test.Jakub Jelinek2-0/+30
From-SVN: r49438
2002-02-02* gcc.dg/20020201-3.c: New test.Jakub Jelinek2-0/+17
From-SVN: r49437
2002-02-02Daily bump.GCC Administrator2-2/+2
From-SVN: r49436
2002-02-022002-02-01 Eric Christopher <echristo@redhat.com>Eric Christopher3-4/+15
From Daniel Jacobowitz <dmj+@andrew.cmu.edu> * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling. * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine. (ASM_OUTPUT_REG_POP): Ditto. From-SVN: r49423
2002-02-02* gcc.dg/20020201-2.c: New test.Jakub Jelinek2-0/+34
From-SVN: r49421
2002-02-02c-decl.c, [...]: Revert bitfield patch.Neil Booth9-166/+139
* c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield patch. * gcc.dg/bitfld-1.c: Update. * gcc.dg/bitfld-2.c: Update. * gcc.c-torture/execute/bitfld-1.x: New. From-SVN: r49420
2002-02-02* config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.Jakub Jelinek2-2/+6
From-SVN: r49419
2002-02-01added change for gcj manual.Nic Ferrier1-0/+4
From-SVN: r49418
2002-02-01* gcj.texi (About CNI): New node.Nic Ferrier1-1/+870
From-SVN: r49417
2002-02-02re PR c/5304 (gcc-20011231 generates incorrect divmod code for chars)Jakub Jelinek4-9/+53
PR c/5304: * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1 unconditionally. * gcc.c-torture/execute/20020201-1.c: New test. From-SVN: r49416
2002-02-01cfganal.c: Include tm_p.h.Janis Johnson2-2/+8
* cfganal.c: Include tm_p.h. (keep_with_call_p): Fix the test that determines if a register holds the return value of a call. From-SVN: r49415
2002-02-01Fix year typos.Richard Henderson2-5/+5
From-SVN: r49414
2002-02-01bad.def: Remove non-historical reference to version 0.6.Toon Moene7-69/+14
2002-02-01 Toon Moene <toon@moene.indiv.nluug.nl> * bad.def: Remove non-historical reference to version 0.6. * bugs.texi: Ditto. * com.c: Ditto. * ffe.texi: Ditto. * proj.h: Ditto. * g77.texi: Ditto. From-SVN: r49413
2002-02-01sparc.c (sparc_emit_set_symbolic_const64): If we are given conflicting ↵DJ Delorie3-15/+37
registers... * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If we are given conflicting registers, switch to the other one we had allocated for us. * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2] as TImode so we know when the "other" register is available. From-SVN: r49412
2002-02-01re PR java/5080 (gcc/java/jcf-parse.c:908: `LC_CTYPE' undeclared (first use ↵Craig Rodrigues3-8/+11
in this function)) 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org> PR java/5080 * jcf-parse.c : Check for HAVE_LOCALE_H before using setlocale() with LC_CTYPE as a parameter. * jv-scan.c: Same. From-SVN: r49410
2002-02-01fix typoJason Merrill1-1/+1
From-SVN: r49408
2002-02-01re PR c++/4872 (missed warning (no return) -- regression from 2.95)Jason Merrill26-26/+64
PR c++/4872 * decl.c (finish_function): Warn about a non-void function with no return statement and no abnormal exit. * cp-tree.h (struct cp_language_function): Add returns_abnormally. (current_function_returns_abnormally): New macro. * call.c (build_call): Set it. From-SVN: r49407
2002-02-01typeck.c (build_component_ref): Always complain about offsetof constructs on ↵Jason Merrill4-12/+63
non-PODs. * typeck.c (build_component_ref): Always complain about offsetof constructs on non-PODs. Only make it an error for members of virtual bases. From-SVN: r49406
2002-02-01sol2-sld-64.h: Include sparc/biarch64.h rather than sparc/sparc_bi.h.David O'Brien2-1/+6
2002-02-01 David O'Brien <obrien@FreeBSD.org> * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than sparc/sparc_bi.h. Approved by: Geoff Keating <geoffk@geoffk.org> Message-ID: <jmzo2uma5l.fsf@desire.geoffk.org> From-SVN: r49405
2002-02-01link, expect link errorsJason Merrill1-1/+9
From-SVN: r49404
2002-02-01use unused attribute for the parmJason Merrill1-3/+4
From-SVN: r49403
2002-02-01re PR target/5469 ([IA64] ia64 arc profiling can use the wrong global pointer)Janis Johnson2-0/+42
PR target/5469 * gcc.dg/20020201-1.c: New test. From-SVN: r49402
2002-02-01cfganal.c (keep_with_call_p): New function.Janis Johnson2-14/+62
* cfganal.c (keep_with_call_p): New function. (flow_call_edges_add): Prevent splitting a block between a call and a single-set instruction that should be kept in the same block. From-SVN: r49401
2002-02-01install.texi (avr): Update outdated URL.Craig Rodrigues2-1/+5
2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org> * doc/install.texi (avr): Update outdated URL. From-SVN: r49399
2002-02-01fix typoJason Merrill1-1/+1
From-SVN: r49397
2002-02-01error.c (dump_scope): Don't add TFF_DECL_SPECIFIERS.Jason Merrill3-9/+4
* error.c (dump_scope): Don't add TFF_DECL_SPECIFIERS. (dump_function_decl): Always dump parms. From-SVN: r49396
2002-02-01re PR c++/4286 (Internal error: Segmentation fault)Jason Merrill4-7/+46
* decl2.c (finish_static_data_member_decl): Complain about a local class with a static data member. PR c++/4286 * search.c (lookup_field_1): Don't xref a static data member just because we looked it up. From-SVN: r49395
2002-02-01stormy16.md (pushqi): New.Andrew Haley5-18/+80
2002-01-30 Andrew Haley <aph@cambridge.redhat.com> * config/stormy16/stormy16.md (pushqi): New. (popqi): New. (pushhi): New. (pophi): New. (movhi): Remove stack operands. (movqi): Likewise. * config/stormy16/stormy16.h (PREDICATE_CODES): Add nonimmediate_nonstack_operand. * config/stormy16/stormy16.c (nonimmediate_nonstack_operand): New. * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand) New. From-SVN: r49394
2002-02-01Makefile.in (c-parse.c): Handle .output file.Jason Merrill5-10/+35
* Makefile.in (c-parse.c): Handle .output file. * objc/Make-lang.in (objc-parse.c): Likewise. * cp/Make-lang.in (parse.c): Handle .output file. From-SVN: r49393
2002-02-01mips.h (ENDIAN_SPEC): Output the endianness flag if the -me[lb] option is given.Alexandre Oliva2-2/+8
* config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if the -me[lb] option is given. Don't output the default flag twice. From-SVN: r49392
2002-02-01Daily bump.GCC Administrator2-2/+2
From-SVN: r49390
2002-02-01c-lex.c (yyparse): Call debug_hooks->start_source_file for the primary ↵Zack Weinberg3-14/+25
source file... * c-lex.c (yyparse): Call debug_hooks->start_source_file for the primary source file; this has not been done yet. * c-decl.c (c_expand_body): Reset input_filename from DECL_SOURCE_FILE (fndecl) before calling init_function_start. From-SVN: r49383