- 03 Mar, 2004 5 commits
-
-
* coverage.c (coverage_counter_ref): Set MEM_NOTRAP_P. * optabs.c (prepare_cmp_insn): Force trapping memories to registers before the compare, if flag_non_call_exceptions. * g++.dg/other/profile1.C: New. From-SVN: r78806
Richard Henderson committed -
PR middle-end/11767 * coverage.c (coverage_counter_ref): Set MEM_NOTRAP_P. * optabs.c (prepare_cmp_insn): Force trapping memories to registers before the compare, if flag_non_call_exceptions. * g++.dg/other/profile1.C: New. From-SVN: r78805
Richard Henderson committed -
2004-03-02 Paolo Carlini <pcarlini@suse.de> PR libstdc++/14320 * include/bits/postypes.h (class streamoff): Remove, now streamoff is just typedef a 64 bit signed integer type. (class fpos): Tweak consistently. * testsuite/27_io/fpos/14320-1.cc: New. * testsuite/27_io/fpos/14320-2.cc: New. * testsuite/27_io/fpos/14320-3.cc: New. * testsuite/27_io/fpos/14320-4.cc: New. * testsuite/27_io/fpos/14320-5.cc: New. * testsuite/27_io/fpos/mbstate_t/4_neg.cc: xfail for now. From-SVN: r78799
Paolo Carlini committed -
PR middle-end/14327 * stmt.c (expand_computed_goto): Do do_pending_stack_adjust before emitting the label, not after. * gcc.c-torture/execute/20040302-1.c: New. From-SVN: r78798
Richard Henderson committed -
From-SVN: r78795
GCC Administrator committed
-
- 02 Mar, 2004 33 commits
-
-
* config/m68hc11/m68hc11.c (m68hc11_addr_mode): New variable. (m68hc11_mov_addr_mode): Likewise. (m68hc11_override_options): Initialize them based on target. (register_indirect_p): Allow a MEM for indirect addressing modes and use flags to control what is allowed. (m68hc11_small_indexed_indirect_p): Use m68hc11_mov_addr_mode for supported addressing modes. (m68hc11_register_indirect_p): Use m68hc11_addr_mode. (go_if_legitimate_address_internal): Likewise. (m68hc11_indirect_p): Likewise and check the mode. (print_operand): Allow a (MEM (MEM)) and generate indirect addressing. From-SVN: r78792
Stephane Carrez committed -
* builtins.c (BUILTIN_SETJMP_FRAME_VALUE): Remove. (expand_builtin_setjmp_setup): Use targetm.builtin_setjmp_frame_value instead of BUILTIN_SETJMP_FRAME_VALUE. * system.h (BUILTIN_SETJMP_FRAME_VALUE): Poison. * target-def.h (TARGET_BUILTIN_SETJMP_FRAME_VALUE): New. (TARGET_INITIALIZER): Add TARGET_BUILTIN_SETJMP_FRAME_VALUE. * target.h (gcc_target): Add builtin_setjmp_frame_value. * targhooks.c (default_builtin_setjmp_frame_value): New. * targhooks.h: Add a prototype for default_builtin_setjmp_frame_value. * doc/tm.texi (BUILTIN_SETJMP_FRAME_VALUE): Change to TARGET_BUILTIN_SETJMP_FRAME_VALUE. From-SVN: r78789
Kazu Hirata committed -
2004-03-02 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (money_get<>::_M_extract): Reorganize a bit the main parsing loop, thus early detecting an empty value component. * testsuite/22_locale/money_get/get/char/16.cc: New. * testsuite/22_locale/money_get/get/wchar_t/16.cc: New. From-SVN: r78788
Paolo Carlini committed -
* config/m68hc11/m68hc11.md (move peephole2): New peepholes to optimize sequences of moves. (add peepholes): New peepholes to optimize sequences adding small constants. (bset peepholes): New peepholes to transform an OR in a bset form (bclr peepholes): Likewise for bclr form. (cmp peepholes): New peepholes to avoid register copies when comparing. From-SVN: r78787
Stephane Carrez committed -
* config/m68hc11/m68hc11.md ("*pushdi_internal"): New insn and split to separate push from moves. ("*pushdf_internal"): Likewise. ("*pushsf_internal"): Likewise. ("*pushsi_internal"): Likewise. ("movdi_internal"): Use define_insn_and_split; non push operand. ("movdf_internal"): Likewise. ("movsf_internal"): Likewise. ("movsi_internal"): Likewise. ("*movhi_68hc12", "*addhi3_68hc12"): Fix and tune constraints ("*addhi3", "*subhi3", "*andhi3_mem", "*iorhi3_mem"): Likewise. ("*ashlsi3_const1", "*lshrsi3_const1"): Likewise. From-SVN: r78785
Stephane Carrez committed -
* config/m68hc11/m68hc11.md ("tstqi_z_used"): Use define_insn_and_split. ("cmphi_z_used", "cmpqi_z_used"): Likewise. ("movstrictsi", "movstricthi", "movstrictqi"): Likewise. ("anddi3", "andsi3", "iordi3", "iorsi3"): Likewise. ("xordi3", "xorsi3", "*logicalsi3_zexthi"): Likewise. ("*logicalsi3_zextqi", "*logicalhi3_zexthi_ashift8"): Likewise. ("logicalhi3_zexthi", "*logicalsi3_silshr16"): Likewise. ("*logicalsi3_silshl16", "*logicalsi3_silshl16_zext"): Likewise. ("*ashldi3_const32", "*ashldi3_const1", "addsi_silshr16"): Likewise. ("addsi_andshr16", "*ashlsi3_const16_zexthi"): Likewise. ("*lshrdi3_const32", "*lshrdi_const1"): Likewise. From-SVN: r78783
Stephane Carrez committed -
* config/m68hc11/m68hc11.md (SOFT_TMP_REGNUM): Define. (SOFT_XY_REGNUM): Define. (cmp split): Use the above instead of hard coded numbers. (8-bit op split): No need to check the mode; allow Q_REG. (ashift split): Adjust the first operand if it uses the SP and we are pushing the shifted value. (plus shift split): Fix when a source is in register D+X. ("doloop_end"): Pass dummy arguments to gen_rtx_NE. From-SVN: r78781
Stephane Carrez committed -
* config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix when comparing with Z register. From-SVN: r78779
Stephane Carrez committed -
* cfgloop.h (struct loop_desc): Removed. (struct loop): Fields simple, desc and has_desc removed. (simple_loop_p, count_loop_iterations): Declaration removed. * cfgloopanal.c (struct unmark_altered_insn_data): Removed. (unmark_altered, blocks_invariant_registers, unmark_altered_insn blocks_single_set_registers, invariant_rtx_wrto_regs_p_helper, invariant_rtx_wrto_regs_p, test_for_iteration, constant_iterations, simple_loop_exit_p, variable_initial_value, variable_initial_values, simple_condition_p, simple_increment, count_strange_loop_iterations, inverse, fits_in_mode_p, simple_loop_p, count_loop_iterations): Removed. * loop-iv.c (check_simple_exit, find_simple_exit): Update comments. From-SVN: r78777
Zdenek Dvorak committed -
2004-03-02 Benjamin Kosnik <bkoz@redhat.com> Support automake 1.8.2 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override. * po/Makefile.am (EXTRA_DIST): New. * po/Makefile.in: Regenerate. * Makefile.in: Same. * include/Makefile.in: Same. * libmath/Makefile.in: Same. * libsupc++/Makefile.in: Same. * src/Makefile.in: Same. * testsuite/Makefile.in: Same. * include/Makefile.am (${host_builddir}/gthr-posix.h): Use __GXX_WEAK__ instead of SUPPORTS_WEAK. (${host_builddir}/gthr-default.h): Same. (${host_builddir}/gthr.h): Same. * acinclude.m4 (GLIBCXX_ENABLE_THREAD): Remove _GLIBCXX_SUPPORTS_WEAK, as this behavior can be modified via -fno-weak. * aclocal.m4: Regenerate. * acconfig.h: Remove _GLIBCXX_SUPPORTS_WEAK. * config.h.in: Regenerate. * configure: Same. From-SVN: r78770
Benjamin Kosnik committed -
* genattrtab.c: Don't handle MATCH_INSN. * genrecog.c: Likewise. * gensupport.c: Likewise. * rtl.def (match_insn): Remove. * doc/md.texi (match_insn, match_insn2): Remove. From-SVN: r78768
Kazu Hirata committed -
* doc/c-tree.texi (DECL_ASSEMBLER_NAME): Mention that using this macro results in memory allocation. From-SVN: r78767
Mark Mitchell committed -
2004-03-02 David O'Brien <obrien@FreeBSD.org> * config/freebsd-spec.h (FBSD_DYNAMIC_LINKER): Add. * config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Define %(fbsd_dynamic_linker), (LINK_SPEC): Use %(fbsd_dynamic_linker), and sync style with config/i386/freebsd.h * config/arm/freebsd.h: Ditto. * config/i386/freebsd.h: Ditto. * config/i386/freebsd64.h: Ditto. * config/ia64/freebsd.h: Ditto. * config/rs6000/sysv4.h: Ditto. * config/sparc/freebsd.h: Ditto. From-SVN: r78766
David O'Brien committed -
From-SVN: r78765
Jan Hubicka committed -
* configure.host: Pass -fno-omit-frame-pointer for i386. * configure.in: Likewise. From-SVN: r78764
Jan Hubicka committed -
From-SVN: r78762
Loren J. Rittle committed -
From-SVN: r78761
Arnaud Charlet committed -
PR ada/14350 * configure.in: Remove hardcoded gcc version. * configure: Regenerated. From-SVN: r78760
Arnaud Charlet committed -
From-SVN: r78759
Arnaud Charlet committed -
2004-03-02 Emmanuel Briot <briot@act-europe.fr> * ali.adb (Read_Instantiation_Instance): Do not modify the current_file_num when reading information about instantiations, since this corrupts files in later references. 2004-03-02 Vincent Celier <celier@gnat.com> * bcheck.adb (Check_Consistency): Get the full path of an ALI file before checking if it is read-only. * bld.adb (Recursive_Process): Concatenate <PROJECT>.src_dirs in front of SRC_DIRS and eliminate duplicates. * gprcmd.adb: Replace command "path" with command "path_sep" to return the path separator. (Usage): Document path_sep * Makefile.generic: For Ada and GNU C++ cases, link directly with the C++ compiler. No need for a script. Replace use of C*_INCLUDE_PATH env var for GCC compilers with CPATH. Do not call gprcmd to build the C*_INCLUDE_PATHs, do it with function subst. * prj-env.adb (For_All_Source_Dirs): Only add source dirs in project where there are Ada sources. (Set_Ada_Paths): Only add to the include path the source dirs of project with Ada sources. (Add_To_Path): Add the Display_Values of the directories, not their Values. * prj-nmsc.adb (Find_Sources): Set flag Sources_Present in the project data. * prj-nmsc.adb (Add_ALI_For): Make sure that the element Display_Value is not No_Name. (Find_Source_Dirs): Set Display_Value to a non canonicalized value, only Value is canonicalized. (Language_Independent_Check): Do not copy Value to Display_Value when canonicalizing Value. * prj-part.adb (Post_Parse_Context_Clause): Compare canonical cased path to find limited with cycles. (Parse_Single_Project): Use canonical cased path to find the end of a with cycle. 2004-03-02 Ed Schonberg <schonberg@gnat.com> * sem_ch10.adb (Optional_Subunit): Verify that unit contains a subunit and not a child unit. * sinfo.ads, sinfo.adb: Rearrange flags so that Private_Present can appear in a with_clause. * decl.c (gnat_to_gnu_type): If entity is a generic type, which can only happen in type_annotate mode, do not try to elaborate it. * exp_util.adb (Force_Evaluation): If expression is a selected component on the left of an assignment, use a renaming rather than a temporary to remove side effects. * freeze.adb (Freeze_Entity): Do not freeze a global entity within an inlined instance body, which is analyzed before the end of the enclosing scope. 2004-03-02 Robert Dewar <dewar@gnat.com> * par-ch10.adb, par-ch3.adb, par-ch4.adb, scng.adb, sem_ch4.adb: Use new feature for substitution of keywords in VMS * errout.ads, errout.adb: Implement new circuit for substitution of keywords in VMS. * sem_case.adb (Analyze_Choices): Place message properly when case is a subtype reference rather than an explicit range. * sem_elim.adb, s-tpobop.ads, exp_ch2.adb: Minor reformatting 2004-03-02 Doug Rupp <rupp@gnat.com> * init.c (__gnat_initialize)[VMS]: Resignal RDB-E-STREAM_EOF. 2004-03-02 Thomas Quinot <quinot@act-europe.fr> * s-tporft.adb: Add missing locking around call to Initialize_ATCB. 2004-03-02 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * utils.c (finish_record_type): Do not set DECL_NONADDRESSABLE for a BLKmode bitfield. From-SVN: r78758
Arnaud Charlet committed -
From-SVN: r78755
Kazu Hirata committed -
From-SVN: r78753
Kazu Hirata committed -
* config/h8300/h8300.md (*cmphi_h8300): Rename to *cmphi_h8300_znvc. (*cmphi_h8300hs): Rename to *cmphi_h8300hs_znvc. From-SVN: r78752
Kazu Hirata committed -
PR bootstrap/14356 * gcc.c (process_command): Remove const-qualification from argv. (main): Likewise. From-SVN: r78751
Mark Mitchell committed -
* config/h8300/h8300.md (pushqi1_h8300hs): Rename to pushqi1_h8300hs_advanced. Adjust its caller. (pushhi1_h8300hs): Rename to pushhi1_h8300hs_advanced. Adjust its caller. From-SVN: r78749
Kazu Hirata committed -
2004-03-02 Roche Nicolas <roche@act-europe.fr> * Makefile.in (install-libgcc, install-multilib): Pass mkinstalldirs var to libgcc.mk. From-SVN: r78747
Nicolas Roche committed -
PR c++/14369 * pt.c (build_non_dependent_expr): Do not create a NON_DEPENDENT_EXPR for a THROW_EXPR. PR c++/14369 * g++.dg/template/cond4.C: New test. From-SVN: r78746
Mark Mitchell committed -
* system.h (DBX_OUTPUT_STANDARD_TYPES): Poison. * doc/tm.texi (DBX_OUTPUT_STANDARD_TYPES): Remove. From-SVN: r78744
Kazu Hirata committed -
* config/h8300/h8300.c (gtle_operator): Accept GT and LE. * config/h8300/h8300.md: Split several peephole2's, each into two. From-SVN: r78741
Kazu Hirata committed -
PR c++/14360 * parser.c (cp_parser_postfix_expression): Do not perform Koenig lookup if ordinary name-lookup finds a non-function. * pt.c (tsubst_copy_and_build): Likewise. PR c++/14361 * parser.c (cp_parser_late_parsing_default_args): Check that there are no extra tokens after the end of the default-argument expression. PR c++/14360 * g++.old-deja/g++.ns/koenig5.C: Remove some error markers. PR c++/14361 * g++.dg/parse/defarg7.C: New test. PR c++/14359 * g++.dg/template/friend26.C: New test. From-SVN: r78739
Mark Mitchell committed -
From-SVN: r78734
Zdenek Dvorak committed -
From-SVN: r78730
GCC Administrator committed -
From-SVN: r78727
Bernardo Innocenti committed
-
- 01 Mar, 2004 2 commits
-
-
From-SVN: r78725
Per Bothner committed -
PR c++/14369 * error.c (dump_expr): Handle THROW_EXPR. From-SVN: r78723
Gabriel Dos Reis committed
-