- 19 Feb, 2004 10 commits
-
-
* gcc.c-torture/execute/simd-4.x: Remove. * gcc.c-torture/execute/va-arg-25.x: Likewise. * gcc.dg/compat/vector-1_x.c: Do not XFAIL on SPARC. Guard with #ifndef SKIP_ATTRIBUTE. * gcc.dg/compat/vector-1_y.c: Likewise. * gcc.dg/compat/vector-2_x.c: Likewise. * gcc.dg/compat/vector-2_y.c: Likewise. * g++.dg/eh/simd-1.C: Do not XFAIL on SPARC. * g++.dg/eh/simd-2.C: Likewise. From-SVN: r78089
Eric Botcazou committed -
PR target/12916 * config/sparc/sparc.h (NPARM_REGS): Delete. (BASE_RETURN_VALUE_REG): Likewise. (BASE_OUTGOING_VALUE_REG): Likewise. (BASE_PASSING_ARG_REG): Likewise. (BASE_INCOMING_ARG_REG): Likewise. * config/sparc/sparc.c (sparc_strict_argument_naming): Test TARGET_ARCH64, not TARGET_V9. (function_arg_slotno): Dispatch based on the mode class. Handle vector modes like floating-point modes. (function_arg_record_value_1): Handle vector types like floating-point types. (function_arg_record_value_2): Likewise. Calculate regno after mode transformation. (function_arg): Handle vector modes like floating-point modes. (function_arg_partial_nregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX. If ARCH64, do not recheck alignment. (function_arg_pass_by_reference): Reorder the conditions. (sparc_return_in_memory): Move after function_arg_padding. Implement calling conventions for vector modes. (sparc_struct_value_rtx): Move after sparc_return_in_memory. (function_value): Move scope of 'regbase'. Implement calling conventions for vector modes. (sparc_builtin_saveregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX and BASE_INCOMING_ARG_REG by SPARC_INCOMING_INT_ARG_FIRST. (sparc_va_arg): Use function_arg_pass_by_reference to test whether the argument is passed by reference. (sparc_type_code): Handle vector types. From-SVN: r78087
Eric Botcazou committed -
From-SVN: r78080
Alan Modra committed -
* function.c (assign_parms): When building decl_rtl for SPLIT_COMPLEX_ARGS, ensure inner modes of concat match outer. From-SVN: r78079
Alan Modra committed -
PR target/14209 * gcc.c-torture/execute/20040218-1.c: New test. From-SVN: r78078
Hans-Peter Nilsson committed -
expr.c (is_aligning_offset): Check if we are aligning the expressions's address over BIGGEST_ALIGNMENT in... * expr.c (is_aligning_offset): Check if we are aligning the expressions's address over BIGGEST_ALIGNMENT in bytes, not in bits. From-SVN: r78076
Olivier Hainque committed -
* gcc.c (LIBGCC_SPEC): If REAL_LIBGCC_SPEC is defined, and LIBGCC_SPEC isn't, set LIBGCC_SPEC to REAL_LIBGCC_SPEC. (init_gcc_spec): Don't define or call if REAL_LIBGCC_SPEC is defined. Instead use REAL_LIBGCC_SPEC, unmodifed, as the libgcc spec string. * doc/tm.texi (REAL_LIBGCC_SPEC): Document. From-SVN: r78072
Matt Austern committed -
PR c++/14181 * g++.dg/parse/new2.C: New test. From-SVN: r78068
Giovanni Bajo committed -
PR c++/14181 * parser.c (cp_parser_new_expression): Parse an ill-formed direct-new-declarator after a parenthesized type-id to emit good diagnostic. From-SVN: r78067
Giovanni Bajo committed -
From-SVN: r78064
GCC Administrator committed
-
- 18 Feb, 2004 30 commits
-
-
* dwarf2out.c (loclabel_num): Move outside #ifdef DWARF2_DEBUGGING_INFO and mark with GTY(()). * config/ia64/ia64.c (struct extern_func_list,extern_func_head): Mark with GTY(()). (ia64_hpux_add_extern_decl): Save the decl, not the name string. Allocate memory with ggc_alloc. No need to copy anything. (ia64_hpux_file_end): Update to match. From-SVN: r78061
Zack Weinberg committed -
* config/i386/i386.c (override_options): Don't imply 3DNow! for -m64 by default. From-SVN: r78059
Jakub Jelinek committed -
* config/s390/s390.md ("divmodtidi3"): Use canonical RTL. ("divmodtisi3"): Likewise. ("udivmoddi4", "udivmodtidi3"): Likewise. ("divmodsi4", "divmoddisi3"): Likewise. ("udivmodsi4", "udivmoddisi3"): Likewise. ("udivsi3", "umodsi3"): Likewise. From-SVN: r78057
Ulrich Weigand committed -
* config/s390/s390.c (s390_mainpool_start): Delete the main pool placeholder insn when chunkifying the pool. From-SVN: r78054
Ulrich Weigand committed -
* pa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not generating PIC code. From-SVN: r78053
John David Anglin committed -
* config/h8300/h8300-protos.h: Add a prototype for h8300_expand_branch. * config/h8300/h8300.c (h8300_expand_branch): New. * config/h8300/h8300.md (ble, bleu, bge, bgeu, blt, bltu, bgt, bgtu, beq, bne): Call h8300_expand_branch(). From-SVN: r78052
Kazu Hirata committed -
* config/h8300/h8300-protos.h: Add prototypes for h8300_hard_regno_nregs and h8300_hard_regno_mode_ok. * config/h8300/h8300.c (h8300_hard_regno_nregs): New. (h8300_hard_regno_mode_ok): Likewise. * config/h8300/h8300.h (HARD_REGNO_NREGS): Call h8300_hard_regno_nregs(). (HARD_REGNO_MODE_OK): Call h8300_hard_regno_mode_ok(). From-SVN: r78050
Kazu Hirata committed -
* cpphash.h (struct cpp_buffer): Restore return_at_eof field. This partly reverts my 2003-10-01 change, because we're back to logically including <command line> inside the main line. * cpplex.c (_cpp_get_fresh_line): Check return_at_eof field. * cppmacro.c (cpp_scan_nooutput): Set return_at_eof of current buffer. Fixes PR preprocessor/14103. * cppfiles.c (_cpp_stack_include): When appropriate decrement line_table's highest_location, fixing LAST_SOURCE_LINE_LOCATION. (cpp_push_include): Don't need to increment pfile's line field. * line-map.h (LAST_SOURCE_LINE_LOCATION): Only decrement by 1. * c-ppoutput.c (print struct): New first_time field. (init_pp_output): Set print.first_time. (pp_file_change): Use print.first_time, rather than MAIN_FILE_P, which is set also for (say) <command line>. Clear print.first_time. * cppfiles.c (struct _cpp_file): Comment and type for pch field does not match the code, so fix both. (should_stack_file): Inline include_pch_p function. (include_pch_p): Remove pointless function. * cpphash.h (struct cpp_buffer): Remove unused search_cached field. From-SVN: r78049
Per Bothner committed -
* config/h8300/h8300.md (four define_peephole2's): Use h8300_regs_ok_for_stm(). From-SVN: r78048
Kazu Hirata committed -
* config/h8300/h8300-protos.h: Update the prototype for expand_a_rotate(). * config/h8300/h8300.c (expand_a_rotate): Remove the first argument. * config/h8300/h8300.md: Update all callers. From-SVN: r78047
Kazu Hirata committed -
* simplify-rtx.c (simplify_unary_operation): Deal with logicals on floats. (simplify_binary_operation): Deal with logicals on floats. * i386.md (SSE fabs splitters): Emit new patterns. (SSE cmov splitters): Likewise. (sse_andv4sf3, sse_nandv4sf3, sse_iorv4sf3, sse_xorv4sf3 (sse_andv2df3, sse_nandv2df3, sse_iorv2df3, sse_xorv2df3): Do not use subregs. (sse_andsf3, sse_nandsf3, sse_xorsf3): Kill. (sse_anddf3, sse_nanddf3, sse_xordf3): Kill. From-SVN: r78045
Jan Hubicka committed -
* config/h8300/h8300.c (expand_a_rotate): Don't generate insns by hand. (output_a_rotate): Tweak a comment. * config/h8300/h8300.md (*rotlqi3_1): Change to rotlqi3_1. (*rotlhi3_1): Change to rotlhi3_1. (*rotlsi3_1): Change to rotlsi3_1. From-SVN: r78043
Kazu Hirata committed -
PR target/13866 * arm.c (load_multiple_operation): Don't insist that the source reg of a post-increment component is the same as the destination. (store_multiple_operation): Likewise. From-SVN: r78041
Richard Earnshaw committed -
2004-02-18 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.h (money_get<>::_M_extract): New, helper for do_get. (money_put<>::_M_insert): Likewise, for do_put. * include/bits/locale_facets.tcc (money_get<>::_M_extract, money_put<>::_M_insert): Define. (money_get<>::do_get(long double&), money_get<>::do_get( string_type&), money_put::do_put(long double), money_put::do_put(const string_type&)): Use the helpers. From-SVN: r78037
Paolo Carlini committed -
From-SVN: r78034
Joseph Myers committed -
* config/h8300/h8300.md: Move movsf patterns into one section of the file. From-SVN: r78033
Kazu Hirata committed -
gcc/ * cfgloop.h, cfgloopanal.c, cpplex.c, except.h, loop-init.c, loop-unroll.c, scan-decls.c, scan.h, stor-layout.c, xcoffout.c, xcoffout.h, config/arm/mmintrin.h, config/mips/linux64.h, config/pa/pa-64.h, config/rs6000/aix51.h, config/rs6000/aix52.h, config/rs6000/spe.md, config/sparc/linux.h, config/sparc/linux64.h: Update copyright. gcc/cp/ * cp-tree.def, cvt.c: Update copyright. From-SVN: r78032
Kazu Hirata committed -
* config/h8300/h8300.md: Move push patterns into one section of the file. From-SVN: r78030
Kazu Hirata committed -
re PR c++/11326 (C++ IA64 ABI: 3.1.4: sometimes pointer to temporary return value is implicit first parameter preceding "this") PR c++/11326 * config/ia64/ia64.c (ia64_struct_value_rtx): Cope with NULL fntype. From-SVN: r78028
Mark Mitchell committed -
* rtlanal.c (rtx_varies_p): Return 0 for NULL_RTX testsuite/ * gcc.c-torture/compile/libcall-1.c: New test. From-SVN: r78027
Paul Brook committed -
2004-02-18 Emmanuel Briot <briot@act-europe.fr> * ali.ads, ali.adb (First_Sdep_Entry): No longer a constant, so that Scan_ALI can be used for multiple ALI files without reinitializing between calls. 2004-02-18 Robert Dewar <dewar@gnat.com> * debug.adb: Minor reformatting. 2004-02-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * decl.c (gnat_to_gnu_entity, case object): Set DECL_POINTER_ALIAS_SET to zero if there is an address clause. 2004-02-18 Thomas Quinot <quinot@act-europe.fr> * exp_util.adb (Side_Effect_Free): Any literal is side effects free. 2004-02-18 Gary Dismukes <dismukes@gnat.com> * layout.adb (Layout_Component_List): Revise generation of call to discriminant-checking function to pass selections of all of the type's discriminants rather than just the variant-controlling discriminant. 2004-02-18 Olivier Hainque <hainque@act-europe.fr> * 5gmastop.adb (Pop_Frame): Do not call exc_unwind, which is bound to fail in the current setup and triggers spurious system error messages. Pretend it occurred and failed instead. 2004-02-18 Vincent Celier <celier@gnat.com> * bld.adb: Mark FLDFLAGS as saved (Process_Declarative_Items): Add Linker'Linker_Options to FLDFLAGS when it is not the root project. Put each directory to be extended between double quotes to prevent it to be expanded on Windows. (Recursive_Process): Reset CFLAGS/CXXFLAGS to nothing before processing the project file. Set them back to their initial values if they have not been set in the project file. * gprcmd.adb: (Gprdebug, Debug): New global variables (Display_Command): New procedure (Usage): Document new command "linkopts" Call Display_Command when env var GPRDEBUG has the value "TRUE" Implement new command "linkopts" Remove quotes that may be around arguments for "extend" Always call Normalize_Pathname with arguments formatted for the platform * Makefile.generic: Link C/C++ mains with $(FLDFLAGS) Change @echo to @$(display) in target clean to be able to clean silently * Makefile.prolog: Save FLDFLAGS and give it an initial empty value * prj-part.adb (Project_Path_Name_Of): Do not put final result in canonical case. * prj-part.adb (Parse_Single_Project): Always call with From_Extended = Extending_All when current project is an extending all project. * vms_conv.adb (Output_File_Expected): New Boolean global variable, set to True only for LINK command, after Unix switch -o. (Process_Arguments): Set Output_File_Expected to True for LINK command after Unix switch -o. When Output_File_Expected is True, never add an extension to a file name. * 5vml-tgt.adb (Build_Dynamic_Library): Do not append "/OPTIONS" to the option file name, only to the --for-linker= switch. (Option_File_Name): If option file name do not end with ".opt", append "/OPTIONS". 2004-02-18 GNAT Script <nobody@gnat.com> * Make-lang.in: Makefile automatically updated From-SVN: r78024
Arnaud Charlet committed -
PR debug/12934 * dwarf2out.c (loc_descriptor_from_tree): Handle EXPR_WITH_FILE_LOCATION. testsuite/ * gcc.dg/debug/debug-7.c: New test. From-SVN: r78018
Paul Brook committed -
* dwarf2out.c (loc_descriptor_from_tree): Handle EXPR_WITH_FILE_LOCATION. testsuite/ * gcc.dg/debug/debug-7.c: New test. From-SVN: r78017
Paul Brook committed -
* config/i386/i386.md (zero_extendqidi2, zero_extendqidi2, testdi_1_rex64, anddi_2, xordi_1_rex64, xordi_2_rex64): Remove trailing whitespace from instructions. From-SVN: r78016
Jakub Jelinek committed -
2004-02-18 Paolo Carlini <pcarlini@suse.de> * config/io/basic_file_stdio.cc (__gnu_internal::xwritev): Rewrite, avoiding recursion. (__gnu_internal::xwrite): Minor tweaks. From-SVN: r78015
Paolo Carlini committed -
* configure.ac: When generating auto-build.h, pass --enable-languages to the sub-configure. Put quotes around ${program_transform_name} when generating name of as, ld, nm, objdump. * configure: Regenerate. From-SVN: r78012
Geoffrey Keating committed -
(s-codes, s-constants, s-emit, s-recog, s-opinit, s-extract) (s-peep, s-attr, s-attrtab, s-output, s-genrtl, s-modes) (s-preds, s-iov): Do not depend on move-if-change. (gcc/ada) * Make-lang.in (stamp-sdefault): Do not depend on move-if-change. From-SVN: r78011
Matt Kraai committed -
* caller-save.c (insert_restore): Pass mem through copy_rtx. (insert_save): Likewise. From-SVN: r78010
James E Wilson committed -
2004-02-17 Stefan Olsson <stefan@xapa.se> * include/ext/mt_allocator.h: Removed the last pointer. Deallocated blocks are now added to the front of freelists as proposed by Felix Yen. This gives roughly 10% performance boost and saves some memory. * docs/html/ext/mt_allocator.html: Change due to that deallocated blocks now are added to the front of freelists. The reason to this approach is also explained. From-SVN: r78009
Stefan Olsson committed -
* config/h8300/h8300.c (h8300_emit_stack_adjustment): Fix a warning. From-SVN: r78008
Kazu Hirata committed
-