aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-01-12[multiple changes]Arnaud Charlet1-3/+25
2004-01-12 Javier Miranda <miranda@gnat.com> * sem_ch12.adb: Addition of Component_Definition node. 2004-01-12 Ed Schonberg <schonberg@gnat.com> PR ada/13417 * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt to use a generic package G as a formal package for another generic declared within G. From-SVN: r75713
2004-01-12[multiple changes]Arnaud Charlet4-6/+42
2004-01-12 Arnaud Charlet <charlet@act-europe.fr> PR ada/13572 * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of prefix/share/make * Makefile.generic: Update copyright. Add license notice. * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead of prefix/share/make. * Makefile.prolog: Update copyright. Add license notice. 2004-01-12 Bernard Banner <banner@gnat.com> * Makefile.in: map 86numaux to a-numaux for x86_64 From-SVN: r75712
2004-01-12alias.c: Invlude varray.hJan Hubicka7-68/+51
* alias.c: Invlude varray.h (alias_sets): Turn into varray. (get_alias_set_entry): Use VARRAY; mark inline. (mems_in_disjoint_alias_sets_p): Mark inline. (record_alias_subset): Use varray. (init_alias_once): Initialize varray. (new_alias_set): Grow array. * varray.c: Make VARRAY_GENERIC_PTR non GTYized. From-SVN: r75711
2004-01-12Partial fox for PR opt/10776 IIJan Hubicka5-2/+25
Partial fox for PR opt/10776 II * cselib.c: Include params.h (cselib_invalidate_mem): Limit amount of nonconflicting memory locations. * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New. * Makefile.in (cselib.o): Depend on params.h From-SVN: r75710
2004-01-12combine.c (combine_simplify_rtx): Don't pass VOIDmode to ↵Richard Sandiford2-0/+7
simplify_unary_operation if the operand has a known mode. * combine.c (combine_simplify_rtx): Don't pass VOIDmode to simplify_unary_operation if the operand has a known mode. From-SVN: r75709
2004-01-12rs6000.c (word_offset_memref_operand): New predicate to handle 'ld' conform ↵Hartmut Penner5-9/+54
addresses. * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New predicate to handle 'ld' conform addresses. * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y' contraint. (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint are memory contraints. * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand): New prototype. * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64): Change 'o' to 'Y' constraint. (*movdf_softfloat64): Ditto. From-SVN: r75707
2004-01-12m68k.md: Switch from the "*..." syntax to the brace-enclosed syntax in all C ↵Bernardo Innocenti2-1146/+967
output... * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the brace-enclosed syntax in all C output statements. From-SVN: r75705
2004-01-11re PR target/13401 (Traceback table does not conform to PowerPC 64 ABI)David Edelsohn2-9/+16
PR target/13401 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Objective-C language type value is 14. From-SVN: r75704
2004-01-12re PR target/12148 (longstanding m68k libgcc.a bug when using ` -mshort')Markus F.X.J. Oberhumer2-20/+27
PR c/12148 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of `int' in a number of places to make sure we always have a SImode and not a HImode. Add a 'L' suffix to a number of constants. From-SVN: r75703
2004-01-12pa.c: Don't include obstack.h.John David Anglin3-2/+7
* pa.c: Don't include obstack.h. * pa.md: Correct constraint in pattern for loading PIC label address. From-SVN: r75702
2004-01-12linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine before defining.Kaz Kojima2-1/+8
* config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine before defining. From-SVN: r75701
2004-01-12Daily bump.GCC Administrator1-1/+1
From-SVN: r75698
2004-01-11New test.Richard Henderson1-0/+9
From-SVN: r75696
2004-01-11re PR fortran/9972 (Failure of g77.f-torture/execute/980520-1.f)Steven Bosscher3-12/+12
PR fortran/9972 * toplev.c (rest_of_handle_inlining): Also consider functions for deferral if the language is GNU F77. testsuite: * 980520-1.x: Removed. From-SVN: r75692
2004-01-11c-decl.c (diagnose_arglist_conflict): Add missing space to diagnostic messages.Zack Weinberg2-2/+7
* c-decl.c (diagnose_arglist_conflict): Add missing space to diagnostic messages. From-SVN: r75691
2004-01-11* gcc.dg/tls/diag-3.c: Tweak dg-error regexp.Zack Weinberg2-1/+5
From-SVN: r75690
2004-01-11re PR c++/3478 (Accepts invalid "enum typename")Ian Lance Taylor3-1/+22
PR c++/3478 * g++.dg/parse/error10.C: New test. * g++.dg/template/arg2.C: Accept "invalid type" error. From-SVN: r75689
2004-01-11re PR c++/3478 (Accepts invalid "enum typename")Ian Lance Taylor2-1/+22
PR c++/3478 * parser.c (cp_parser_decl_specifier_seq): If the first decl_spec is error_mark_node, don't add any more decl_specs. (cp_parser_init_declarator): After committing to a declaration, if the decl_specifiers start with error_mark_node, issue an error and change the type to "int". From-SVN: r75688
2004-01-11Update Copyright year.Jakub Jelinek1-1/+1
From-SVN: r75685
2004-01-11re PR middle-end/13392 (ICE in convert_from_eh_region_ranges_1, at ↵Jakub Jelinek4-35/+34
except.c:1133) PR middle-end/13392 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps to drop through label. Don't fall back to SCC even when conditional jump has not been found. * g++.dg/opt/expect2.C: New test. From-SVN: r75684
2004-01-11* invoke.texi: Fix syntax error in previous patch.Jan Hubicka2-2/+2
From-SVN: r75681
2004-01-11Partial fix for PR opt/10776Jan Hubicka5-2/+29
Partial fix for PR opt/10776 * Makefile.in (reload.o): Include param.h * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter. * reload.c: Include params.h. (find_equiv_reg): Work limiting check. * invoke.texi: Document. From-SVN: r75679
2004-01-11mips.c (mips_symbolic_constant_p): Don't allow out-of-bounds accesses to ↵Richard Sandiford2-5/+19
string constants. * config/mips/mips.c (mips_symbolic_constant_p): Don't allow out-of-bounds accesses to string constants. Simplify mips16 case accordingly. From-SVN: r75670
2004-01-11re PR rtl-optimization/13469 (IRIX 6.5 O32 libjava bootstrap failure: ICE in ↵Richard Sandiford2-0/+10
verify_local_live_at_start, at flow.c:557) PR optimization/13469 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after reload_cse_regs (-fnon-call-exceptions only). From-SVN: r75669
2004-01-11lib1.asm: Fix comment formatting.Kazu Hirata6-32/+40
* config/mcore/lib1.asm: Fix comment formatting. * config/mcore/mcore-elf.h: Likewise. * config/mcore/mcore.c: Likewise. * config/mcore/mcore.h: Likewise. * config/mcore/mcore.md: Likewise. From-SVN: r75668
2004-01-11c-decl.c (duplicate_decls): Break apart into...Zack Weinberg12-593/+565
* c-decl.c (duplicate_decls): Break apart into... (diagnose_arglist_conflict, validate_proto_after_old_defn) (locate_old_defn, diagnose_mismatched_decls, merge_decls): ... these new functions. Restructure for comprehensibility. Remove various archaic special cases. Always report the location of the previous declaration when a diagnostic is issued. (redeclaration_error_message): Fold into diagnose_mismatched_decls. (match_builtin_function_types): Delete unnecessary forward declaration. testsuite: * gcc.dg/Wshadow-1.c, gcc.dg/attr-noinline.c, gcc.dg/decl3.c * gcc.dg/redecl-1.c, gcc.dg/visibility-7.c, gcc.dg/wtr-static-1.c * gcc.dg/noncompile/20020220-1.c, objc.dg/method-1.m: Update dg-error regexps. From-SVN: r75667
2004-01-11genautomata.c (make_automaton, [...]): Print progress bars with '.' ↵Zack Weinberg2-7/+13
characters instead of '*'. * genautomata.c (make_automaton, NDFA_to_DFA): Print progress bars with '.' characters instead of '*'. (build_automaton): Change notes to match. From-SVN: r75664
2004-01-1120021123-2.c: Delete; dup of 20021120-1.c.Zack Weinberg3-18/+5
* gcc.c-torture/compile/20021123-2.c: Delete; dup of 20021120-1.c. * gcc.c-torture/compile/20021123-3.c: Delete; dup of 20021120-2.c. From-SVN: r75663
2004-01-11Daily bump.GCC Administrator1-1/+1
From-SVN: r75659
2004-01-10m32r.md: Use define_constants for unspec and unspec_volatile.Kazu Hirata2-18/+30
* config/m32r/m32r.md: Use define_constants for unspec and unspec_volatile. From-SVN: r75656
2004-01-10Fix pasto.Jan Hubicka1-0/+1
From-SVN: r75650
2004-01-10* expr.c (expand_expr_real): More curefully expand union casts.Jan Hubicka2-1/+10
From-SVN: r75649
2004-01-10m32r.md (flush_icache): Use 1 for unspec_volatile.Kazu Hirata2-1/+6
* config/m32r/m32r.md (flush_icache): Use 1 for unspec_volatile. From-SVN: r75647
2004-01-10re PR debug/12860 (stabs register number out of range)David Edelsohn2-11/+20
2004-01-10 David Edelsohn <edelsohn@gnu.org> James E Wilson <wilson@specifixinc.com> PR debug/12860 * dbxout.c (dbxout_symbol): Remove initialization of current_sym_code, current_sym_value, and current_sym_addr. (dbxout_symbol_location): Same. (dbxout_prepare_symbol): Zero current_sym_code, current_sym_value, and current_sym_addr. From-SVN: r75644
2004-01-10tree.c (get_unwidened): Reorder conditions so that the null pointer check is ↵Richard Sandiford2-3/+8
done first. * tree.c (get_unwidened): Reorder conditions so that the null pointer check is done first. From-SVN: r75639
2004-01-10* gcc.dg/pragma-re-1.c: Use right pointer type.Eric Botcazou2-1/+5
From-SVN: r75638
2004-01-10* g++.dg/eh/simd-1.c: Ajust line number for dg-error line.Eric Botcazou2-1/+6
From-SVN: r75637
2004-01-10toplev.c (rest_of_handle_cfg): Add reg_scan pass if we're running ↵Eric Christopher2-14/+24
mark_constant_function. 2004-01-09 Eric Christopher <echristo@redhat.com> * toplev.c (rest_of_handle_cfg): Add reg_scan pass if we're running mark_constant_function. From-SVN: r75634
2004-01-09re PR target/12561 (gcc/config/t-gnu needs updating to work with --with-sysroot)Jeff Bailey2-1/+6
2004-01-09 Jeff Bailey <jbailey@nisa.net> PR target/12561 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR. From-SVN: r75632
2004-01-10* gcc.dg/rs6000-ldouble-1.c: New.Geoffrey Keating2-0/+27
From-SVN: r75631
2004-01-10darwin-ldouble.c: Add big comment explaining exactly what is expected as a ↵Geoffrey Keating3-88/+47
'long double'. * config/rs6000/darwin-ldouble.c: Add big comment explaining exactly what is expected as a 'long double'. (_xlqadd): When a value to be returned is representable as a 'double', just return it directly, do not construct it using a union. Also, correct final fixup. (_xlqmul): Likewise. (_xlqdiv): Likewise. * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c. From-SVN: r75629
2004-01-09re PR debug/11231 (undefined array size inside struct cause segfault with -g)Andrew Pinski2-0/+11
2004-01-09 Andrew Pinski <pinskia@physics.uc.edu> PR debug/11231 * dbxout.c (dbxout_type_fields): Return if any item is error_mark_node or the type is error_mark_node. From-SVN: r75628
2004-01-10* config/rs6000/rs6000.md (fix_trunctfdi2): Delete.Geoffrey Keating2-16/+4
From-SVN: r75627
2004-01-09* recog.c (constrain_operands): Validate mem operands.Richard Henderson2-6/+23
From-SVN: r75624
2004-01-10re PR bootstrap/7817 (Link to gcc man page in g++ man page incorrect)Nathanael Nerode2-3/+9
PR bootstrap/7817 * Make-lang.in: Copy gcc.1 to g++.1 rather than using .so. From-SVN: r75620
2004-01-10DR 337 PR c++/9256Giovanni Bajo2-0/+65
DR 337 PR c++/9256 * g++.dg/other/abstract1.C: New test. From-SVN: r75619
2004-01-10DR 337 PR c++/9256Giovanni Bajo3-2/+30
DR 337 PR c++/9256 * pt.c (tsubst): Substitution must fail if we are attempting to create an array with element type that is an abstract class type. * decl.c (cp_finish_decl): Strip pointers and array types recursively before calling abstract_virtuals_error. From-SVN: r75618
2004-01-10Daily bump.GCC Administrator1-1/+1
From-SVN: r75614
2004-01-09gcc.c (init_spec): Remove -lunwind from shared case.James E Wilson3-12/+13
2004-01-09 James E Wilson <wilson@specifixinc.com> * gcc.c (init_spec): Remove -lunwind from shared case. * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind. From-SVN: r75611
2004-01-09name-lookup.c (qualified_lookup_using_namespace): Consider strong using ↵Alexandre Oliva2-9/+19
directives even if we've already found a binding. * name-lookup.c (qualified_lookup_using_namespace): Consider strong using directives even if we've already found a binding. From-SVN: r75599