summaryrefslogtreecommitdiffstats
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* 2002-12-22 Anthony Green <green@redhat.com>green2002-12-222-0/+16
| | | | | | | | * gcj.texi (Limitations): Add note about org.xml.sax and org.w3c.dom. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60411 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.h (make_unbound_class_template): Use tsubst_flags_t.lerdsuwa2002-12-224-4/+10
| | | | | | | | * decl.c (make_unbound_class_template): Adjust. Check for tf_error. * pt.c (tsubst) [OFFSET_TYPE]: Check for tf_error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60407 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.c (get_shift_alg): Make shift insnkazu2002-12-222-22/+32
| | | | | | | sequences end with a valid cc0 whenever possible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60406 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.md (negsf2): New.kazu2002-12-222-0/+28
| | | | | | | | (*negsf2_h8300): Likewise. (*negsf2_h8300hs): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60405 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-12-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60404 138bc75d-0d04-0410-961f-82ee72b054a4
* * integrate.c (output_inline_function): Don't hold privategeoffk2002-12-222-1/+8
| | | | | | | pointers to 'struct function' over GC calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60396 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sh/lib1funcs.asm (__fpscr_values): Conditionalize withkkojima2002-12-213-1/+9
| | | | | | | | NO_FPSCR_VALUES. * config/sh/t-linux (TARGET_LIBGCC2_CFLAGS): Add -DNO_FPSCR_VALUES. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60395 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/compile/20021220-1.c: Removed until bug fix is approved.zlomek2002-12-212-39/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60394 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.md (zero_extendqisi2): Correct thekazu2002-12-212-1/+6
| | | | | | | length. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60389 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.md (*zero_extendqihi2_h8300): Make thekazu2002-12-212-4/+26
| | | | | | | | | second alternative "#". (*zero_extendqihi2_h8300hs): Likewise. (a define_split): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60388 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300-protos.h: Update the prototype forkazu2002-12-214-7/+114
| | | | | | | | | | | | | split_adds_subs. Add prototypes for const_le_2_operand and const_le_6_operand. * config/h8300/h8300.c (split_adds_subs): Add an argument to specify whether inc/dec should be used when possible. (const_le_2_operand): New. (const_le_6_operand): Likewise. * config/h8300/h8300.md (two peepholes): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60387 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-12-211-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60386 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/fr30/fr30.md: Fix a comment typo.kazu2002-12-214-3/+9
| | | | | | | | * config/i386/i386.c: Likewise. * config/ip2k/ip2k.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60379 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix misc SPE instrinsic problems.wilson2002-12-212-9/+12
| | | | | | | | | | * config/rs6000/spe.h (__ev_subifw): Reverse arguments. (__ev_subw, __ev_subiw): New. (ev_mwlssf, ev_mwlsmf, ev_mwlssfa, ev_mwlsmfa, ev_mwlssfaaw, ev_mwlsmfaaw, ev_mwlssfanw, ev_mwlsmfanw): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60378 138bc75d-0d04-0410-961f-82ee72b054a4
* * pa-linux.h (TARGET_HAS_STUBS_AND_ELF_SECTIONS): Delete define.danglin2002-12-204-20/+26
| | | | | | | | | * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete define. * pa.c (pa_function_ok_for_sibcall): Allow non indirect sibcalls on TARGET_ELF32. Add comment on sibcall issues for TARGET_64BIT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60377 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300-protos.h: Add prototypes forkazu2002-12-205-0/+135
| | | | | | | | | | | | | | | | | incdec_operand and eqne_operator. * config/h8300/h8300.c (incdec_operand): New. (eqne_operator): Likewise. * config/h8300/h8300.h (CONST_OK_FOR_M): Likewise. (CONST_OK_FOR_O): Likewise. (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_M and CONST_OK_FOR_O. * config/h8300/h8300.md (UNSPEC_INCDEC): New. (addhi3_incdec): New. (addsi3_incdec): Likewise. (two peepholes): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60375 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.c (dosize): Remove warnings.kazu2002-12-202-13/+18
| | | | | | | (print_operand): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60374 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/alpha.c (decl_has_samegp): New.rth2002-12-206-63/+163
| | | | | | | | | | | | | | | | | | | | | | | (samegp_function_operand): Use it. Rename from current_file_function_operand. (direct_call_operand): Handle -msmall-text via symbol->jump. (tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel. (tls_symbolic_operand_type): Likewise. (alpha_encode_section_info): Likewise. Handle -msmall-text. (alpha_function_ok_for_sibcall): Use decl_has_samegp. (alpha_end_function): Set symbol->jump for functions defined in the text section. * config/alpha/alpha-protos.h: Update. * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New. (TARGET_SWITCHES): Add -msmall-text and -mlarge-text. (PREDICATE_CODES): Update. * config/alpha/alpha.md (call patterns): Update for samegp_function_operand rename; use !samegp reloc if TARGET_EXPLICIT_RELOCS. * doc/invoke.text: Document -msmall-text and -mlarge-text. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60373 138bc75d-0d04-0410-961f-82ee72b054a4
* * jcf-write.c (generate_bytecode_insns) [SWITCH_EXPR]: Handle casetromey2002-12-202-2/+12
| | | | | | | | where minimum case value is Integer.MIN_VALUE. Fixes PR java/8955. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60372 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ns32k/ns32k.md (movdi): Use "l" instead of "f" to matchrth2002-12-206-30/+243
| | | | | | | | | | | | | | | | | | | | | | | | | all registers capable of holding a double float. (*rcond): change name of "reverse branch" insns to something more meaningful. (*rbgt, *rblt, *rbge, *rble): Reverse branches to handle IEEE comparisons properly. (*ffs): Change operand 0 from write to read-modify-write. (*ffsssi2): Drop constraints from define_expand. * config/ns32k/ns32k.h (STORE_RATIO, STORE_BY_PIECES): Avoid using MOVE_RATIO as default for store operations. * config/ns32k/ns32k.h (enum reg_class, REG_CLASS_NAMES): Add LONG_REGS class. (CANNOT_CHANGE_MODE_CLASS): Can't subreg LONG_REGS. (GO_IF_LEGITIMATE_ADDRESS): Remove spurious abort(). * config/ns32k/ns32k.c (regclass_map): Add LONG_REGS class. * config/ns32k/STATUS: New File * config/ns32k/NOTES: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60370 138bc75d-0d04-0410-961f-82ee72b054a4
* * ChangeLog: Fix a typo.kazu2002-12-203-6/+12
| | | | | | | | * class.c: Fix comment typos. * cp-tree.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60368 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/compile/20021220-1.c: New test.zlomek2002-12-201-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60366 138bc75d-0d04-0410-961f-82ee72b054a4
* Testcase for http://gcc.gnu.org/ml/gcc-patches/2002-12/msg01106.htmlzlomek2002-12-201-0/+39
| | | | | | | "[PATCH] fix bug in jump.c which caused SEGFAULT in loop.c" git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60365 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march=hpenner2002-12-205-21/+186
| | | | | | | | | | | | | | option for S/390 and zSeries. * config/s390/s390.c (s390_cpu, s390_cpu_string, s390_arch, s390_arch_string): New variables. (override_options): Checking for options and setting of appropriate target_flags, cpu and arch flags. * config/s390/s390.h: (processor_type): New enum. (TARGET_SWITCHES): New switches -mesa/zarch. * config/s390/s390.md: New attribute 'cpu'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60364 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-12-201-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60363 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-pretty-print.h: Fix comment typos.kazu2002-12-2027-38/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * integrate.c: Likewise. * varasm.c: Likewise. * config/c4x/c4x.h: Likewise. * config/c4x/c4x.md: Likewise. * config/fr30/fr30.md: Likewise. * config/frv/frv.c: Likewise. * config/h8300/h8300.c: Likewise. * config/i386/i386.c: Likewise. * config/i386/i386.h: Likewise. * config/ia64/ia64.c: Likewise. * config/ia64/ia64.h: Likewise. * config/ip2k/ip2k.md: Likewise. * config/m68hc11/m68hc11-crt0.S: Likewise. * config/m68hc11/m68hc11.h: Likewise. * config/m68hc11/m68hc11.md: Likewise. * config/m68hc11/m68hc12.h: Likewise. * config/mcore/mcore.md: Likewise. * config/mips/mips.c: Likewise. * config/mips/mips.md: Likewise. * config/mmix/mmix-modes.def: Likewise. * config/pa/pa.c: Likewise. * config/rs6000/rs6000.c: Likewise. * config/rs6000/rs6000.h: Likewise. * config/rs6000/rs6000.md: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60354 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.md (output_a_shift): Clean up the code tokazu2002-12-202-19/+22
| | | | | | | output shifts using rotation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60353 138bc75d-0d04-0410-961f-82ee72b054a4
* * flow.c (allocate_reg_life_data): Reset REG_FREQ.rakdver2002-12-202-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60344 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.md (pushqi_h8300): Don't push the stackkazu2002-12-202-4/+16
| | | | | | | | | | pointer. (pushqi_h8300hs): Likewise. (pushhi_h8300): Likewise. (pushhi_h8300hs): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60343 138bc75d-0d04-0410-961f-82ee72b054a4
* Add support for darwin linker option -dynamic.dpatel2002-12-193-6/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60341 138bc75d-0d04-0410-961f-82ee72b054a4
* * sched-rgn.c (init_regions): Update comment.amylaar2002-12-192-11/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60340 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.md (define_attr type): Remove altivec.dje2002-12-193-22/+32
| | | | | | | | | | | | | * config/rs6000/altivec.md (movv4si_internal): Set correct instruction attributes. (movv8hi_internal,movv16qi_internal,movv4sf_internal): Same. (get_vrsave_internal,set_vrsave_internal): Same. (altivec_vspltisb,altivec_vspltish,altivec_vspltisw): Same. (absv16qi2,absv8hi2,absv4si2,absv4sf2): Same (altivec_abss_v16qi,altivec_abss_v8hi,altivec_abss_v4si): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60339 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.c (ix86_handle_cdecl_attribute): Check forrth2002-12-1910-16/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attributes incompatible with fastcall attribute. (ix86_handle_regparm_attribute): Likewise. * config/i386/i386.c (ix86_comp_type_attributes): Check for mismatched fastcall types. * config/i386/cygwin.h (TARGET_OS_CPP_BUILTINS): Add fastcall attributes. (ASM_OUTPUT_LABELREF): Define as i386_pe_output_labelref. * config/i386/i386-protos.h (i386_pe_output_labelref): Declare. * config/i386/winnt.c (i386_pe_mark_dllimport). Add __imp_ prefix in i386_pe_output_labelref rather than here. (gen_fastcall_suffix): New function. Decorates a label name with the fastcall prefix (@) and the stdcall suffix. (i386_pe_encode_section_info): Call gen_fastcall_suffix() if a symbol has a fastcall attribute. (i386_pe_output_labelref): New function. Outputs a label reference. * config/i386/i386.c (ix86_attribute_table): Accept 'fastcall' as a valid attribute. (ix86_return_pops_args): Fastcall functions pop the stack. (init_cumulative_args): Reserve registers ECX and EDX if function has fastcall attribute. (function_arg): Use registers ECX and EDX if function has fastcall attribute. * config/i386/i386.h (CUMULATIVE_ARGS): Add fastcall attribute flag. (DLL_IMPORT_EXPORT_PREFIX): Redefine as '#'. (FASTCALL_PREFIX): Define as '@'. * config/i386/mingw32.h (TARGET_OS_CPP_BUILTINS): Add fastcall attributes. * doc/extend.texi: Add documentation of fastcall attribute. * testsuite/gcc.dg/i386-fastcall-1.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60337 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: FORBUILD when build!=host changed fromneroden2002-12-193-2/+9
| | | | | | | | | ../$build-alias to ../build-$build_alias to match change made in top directory. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60336 138bc75d-0d04-0410-961f-82ee72b054a4
* PR optimization/8988ebotcazou2002-12-194-1/+38
| | | | | | | | * loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning the biv when eliminating. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60334 138bc75d-0d04-0410-961f-82ee72b054a4
* This was approved for 3.4 BIB branch. But since it is dead now, I am puttingdpatel2002-12-194-2/+10
| | | | | | | | | | | | | this in mainline sources. 2002-12-19 Devang Patel <dpatel@apple.com> * gcc.c (struct default_compiler): Recognizes input file name with .CPP extension as C++ source files * cp/lang-spec.h: Same * doc/invoke.texi: Add documentation for .CPP support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60330 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-19 Aldy Hernandez <aldyh@redhat.com>aldyh2002-12-192-14/+26
| | | | | | | | | | | | | | | | PR 8553 * config/rs6000/altivec.md ("absv8hi2"): Add & to clobbered registers. ("absv16qi2"): Same. ("absv4si2"): Same. ("absv4sf2"): Same. ("altivec_abss_v16qi"): Same. ("altivec_abss_v8hi"): Same. ("altivec_abss_v4si"): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60324 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/s390/s390.md ("*tsthiCCT", "*tsthiCCT_cconly",uweigand2002-12-192-0/+54
| | | | | | | "*tstqiCCT", "*tstqiCCT_cconly"): New insns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60322 138bc75d-0d04-0410-961f-82ee72b054a4
* add PR# to last fixaldyh2002-12-191-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60321 138bc75d-0d04-0410-961f-82ee72b054a4
* tweakjason2002-12-191-4/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60316 138bc75d-0d04-0410-961f-82ee72b054a4
* Handle anonymous unions at the tree level.jason2002-12-191-1/+0
| | | | | | | | | | | | | | | | | | | | | C++ ABI change: Mangle anonymous unions using the name of their first named field (by depth-first search). Should not cause binary compatibility problems, though, as the compiler previously didn't emit anything for affected unions. * cp-tree.def (ALIAS_DECL): New tree code. * decl2.c (build_anon_union_vars): Build ALIAS_DECLs. Return the first field, not the largest. (finish_anon_union): Don't mess with RTL. Do set DECL_ASSEMBLER_NAME, push the decl, and write it out at namespace scope. * decl.c (lookup_name_real): See through an ALIAS_DECL. (pushdecl): Add namespace bindings for ALIAS_DECLs. * rtti.c (unemitted_tinfo_decl_p): Don't try to look at the name of a decl which doesn't have one. * typeck.c (build_class_member_access_expr): Don't recurse if we already have the type we want. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60315 138bc75d-0d04-0410-961f-82ee72b054a4
* Handle anonymous unions at the tree level.jason2002-12-196-79/+70
| | | | | | | | | | | | | | | | | | | | | C++ ABI change: Mangle anonymous unions using the name of their first named field (by depth-first search). Should not cause binary compatibility problems, though, as the compiler previously didn't emit anything for affected unions. * cp-tree.def (ALIAS_DECL): New tree code. * decl2.c (build_anon_union_vars): Build ALIAS_DECLs. Return the first field, not the largest. (finish_anon_union): Don't mess with RTL. Do set DECL_ASSEMBLER_NAME, push the decl, and write it out at namespace scope. * decl.c (lookup_name_real): See through an ALIAS_DECL. (pushdecl): Add namespace bindings for ALIAS_DECLs. * rtti.c (unemitted_tinfo_decl_p): Don't try to look at the name of a decl which doesn't have one. * typeck.c (build_class_member_access_expr): Don't recurse if we already have the type we want. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60314 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/8340ebotcazou2002-12-194-1/+38
| | | | | | | | * stmt.c (expand_asm_operands): Produce an error when the PIC register is clobbered. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60313 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-18 Daniel Berlin <dberlin@dberlin.org>dberlin2002-12-194-4/+226
| | | | | | | | | | | * Makefile.in (OBJS): Add alloc-pool.o (alloc-pool.o): New object. * alloc-pool.c: New file. * alloc-pool.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60312 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/8099lerdsuwa2002-12-194-14/+44
| | | | | | | | | | * friend.c (make_friend_class): Allow partial specialization when declaration is not a template friend. * g++.dg/template/friend9.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60308 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/3663lerdsuwa2002-12-194-0/+34
| | | | | | | | | | * pt.c (lookup_template_class): Copy TREE_PRIVATE and TREE_PROTECTED to created decl nodes. * g++.dg/template/access7.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60307 138bc75d-0d04-0410-961f-82ee72b054a4
* * intdoc.in: Fix typos.kazu2002-12-192-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60306 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2002-12-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60301 138bc75d-0d04-0410-961f-82ee72b054a4
* omit needless bracesjason2002-12-191-3/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60293 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-18 Andrew Haley <aph@redhat.com>tromey2002-12-192-1/+10
| | | | | | | | * parse.y (patch_invoke): Force evaluation order when `check' is set. For PR libgcj/8945. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60290 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud