OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago * objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before
austern [Fri, 28 Jan 2005 05:54:55 +0000 (05:54 +0000)]
    * objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before
        calling instantiate_pending_templates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94362 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * builtins.c (expand_builtin_copysign): New.
rth [Fri, 28 Jan 2005 00:55:07 +0000 (00:55 +0000)]
    * builtins.c (expand_builtin_copysign): New.
        (expand_builtin): Call it.
        * genopinit.c (optabs): Add copysign_optab.
        * optabs.c (init_optabs): Initialize it.
        (expand_copysign): New.
        * optabs.h (OTI_copysign, copysign_optab): New.
        (expand_copysign): Declare.

        * config/alpha/alpha.md (UNSPEC_COPYSIGN): New.
        (copysignsf3, ncopysignsf3, copysigndf3, ncopysigndf3): New.

        * config/i386/i386.c (ix86_build_signbit_mask): Split from ...
        (ix86_expand_fp_absneg_operator): ... here.
        (ix86_split_copysign): New.
        * config/i386/i386-protos.h: Update.
        * config/i386/i386.md (UNSPEC_COPYSIGN): New.
        (copysignsf3, copysigndf3): New.

        * config/ia64/ia64.md (UNSPEC_COPYSIGN): New.
        (copysignsf3, ncopysignsf3): New.
        (copysigndf3, ncopysigndf3): New.
        (copysignxf3, ncopysignxf3): New.
        * config/ia64/ia64.c (rtx_needs_barrier): Handle UNSPEC_COPYSIGN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94357 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.dg/uninit-I.c: Fix typos in dg-options and dg-warning directives.
rth [Fri, 28 Jan 2005 00:42:46 +0000 (00:42 +0000)]
    * gcc.dg/uninit-I.c: Fix typos in dg-options and dg-warning directives.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94356 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Fri, 28 Jan 2005 00:16:26 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94354 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * cse.c: (find_best_addr): Don't call copy_rtx before calling
kazu [Thu, 27 Jan 2005 23:00:19 +0000 (23:00 +0000)]
* cse.c: (find_best_addr): Don't call copy_rtx before calling
fold_rtx.  Save cost recomputation if fold_rtx did nothing.
(fold_rtx) <ASM_OPERANDS>: Don't do anything if INSN is
NULL_RTX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94345 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-into-ssa.c (ssa_rewrite_initialize_block): Do not register
law [Thu, 27 Jan 2005 22:33:14 +0000 (22:33 +0000)]
    * tree-into-ssa.c (ssa_rewrite_initialize_block): Do not register
        definitions of SSA_NAMEs which are not being rewritten.
        (rewrite_ssa_into_ssa): Only initialize the current definition
        of an SSA_NAME if that SSA_NAME has been marked for rewriting.
        If checking is enabled, assert that SSA_NAME_AUX is clear for all
        SSA_NAMEs before returning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94343 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix a couple of typos.
ebotcazou [Thu, 27 Jan 2005 21:46:36 +0000 (21:46 +0000)]
Fix a couple of typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94340 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-27 Laurent GUERBY <laurent@guerby.net>
guerby [Thu, 27 Jan 2005 20:19:50 +0000 (20:19 +0000)]
2005-01-27  Laurent GUERBY <laurent@guerby.net>

* Makefile.in: Fix a-intnam.ads from previous commit,
add 2005 to copyright.
* a-intman-rtems.ads: Renamed to...
* a-intnam-rtems.ads:

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94335 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.dg/intmax_t-1.c: Extend dg-error to cover mips*-elf targets.
rsandifo [Thu, 27 Jan 2005 20:02:56 +0000 (20:02 +0000)]
* gcc.dg/intmax_t-1.c: Extend dg-error to cover mips*-elf targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94332 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.dg/mips-movcc-1.c, gcc.dg/mips-movcc-2.c, gcc.dg/mips-movcc-3.c,
rsandifo [Thu, 27 Jan 2005 19:50:02 +0000 (19:50 +0000)]
* gcc.dg/mips-movcc-1.c, gcc.dg/mips-movcc-2.c, gcc.dg/mips-movcc-3.c,
* gcc.dg/mips-nmadd-1.c, gcc.dg/mips-nmadd-2.c, gcc.dg/mips-rsqrt-1.c,
* gcc.dg/mips-rsqrt-2, gcc.dg/mips-rsqrt-3.c: Add dummy asm statements
to cope with cases where the multilib options override the dg-options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94331 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoPer request from Eric Botcazou, fix my ChangeLog entry of 26jan2005:
stuart [Thu, 27 Jan 2005 18:58:44 +0000 (18:58 +0000)]
Per request from Eric Botcazou, fix my ChangeLog entry of 26jan2005:
fix relative path, move new testcase to testsuite ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94329 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-common.def, c-dump.c, c-gimplify.c, c-objc-common.c,
kazu [Thu, 27 Jan 2005 18:22:35 +0000 (18:22 +0000)]
* c-common.def, c-dump.c, c-gimplify.c, c-objc-common.c,
cfgexpand.c, dbxout.c, function.h, opts.c, tree-flow-inline.h,
tree-ssa-operands.h, tree-ssa-threadupdate.c, tree-tailcall.c,
config/avr/avr.md, config/cris/aout.h, config/cris/cris.h,
config/mips/iris6.h, config/sh/sh.c: Update copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94328 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/17278
steven [Thu, 27 Jan 2005 16:32:12 +0000 (16:32 +0000)]
PR middle-end/17278
* opts.c (decode_options): Move flag_thread_jumps from -O1 and
higher to -O2 and higher.  Likewise for tree PRE.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Only iterate at -O2
and better.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94325 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/19583
ian [Thu, 27 Jan 2005 14:36:17 +0000 (14:36 +0000)]
PR middle-end/19583
* gimple-low.c (try_catch_may_fallthru): New static function.
(block_may_fallthru): Handle TRY_CATCH_EXPR.
* tree-inline.c (expand_call_inline): Don't warn about reaching
the end of a non-void function being inlined if the function uses
a return slot.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94323 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.h (CALL_USED_REGISTERS): Fix comment pastos.
jakub [Thu, 27 Jan 2005 12:41:40 +0000 (12:41 +0000)]
* config/i386/i386.h (CALL_USED_REGISTERS): Fix comment pastos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94321 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c/18946
jakub [Thu, 27 Jan 2005 12:38:38 +0000 (12:38 +0000)]
PR c/18946
* c-decl.c (warn_if_shadowing): Handle old_decl error_mark_node.
(pushdecl): Only use DECL_FILE_SCOPE_P if DECL_P.
(implicitly_declare): Handle error_mark_node.

* gcc.dg/noncompile/20050120-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94320 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-27 Laurent GUERBY <laurent@guerby.net>
guerby [Thu, 27 Jan 2005 11:57:04 +0000 (11:57 +0000)]
2005-01-27  Laurent GUERBY <laurent@guerby.net>

* Makefile.in: Rename GNAT RTEMS specific files.
* 5rtpopsp.adb, 4rintnam.ads, 5rosinte.adb,
  5rosinte.ads, 5rparame.adb: Replaced by files below.
* s-tpopsp-rtems.adb, a-intman-rtems.ads, s-osinte-rtems.adb,
s-osinte-rtems.ads, s-parame-rtems.adb: Replace files above.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94319 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-27 Joel Sherrill <joel.sherrill@oarcorp.com>
guerby [Thu, 27 Jan 2005 11:52:46 +0000 (11:52 +0000)]
2005-01-27  Joel Sherrill <joel.sherrill@oarcorp.com>
    Laurent GUERBY <laurent@guerby.net>

PR ada/19488
* 5rosinte.ads: Add No_Key constant.
        * 5rtpopsp.adb: Initialize ATCB_Key with No_Key and fix style.
        * gsocket.h: Do not include <sys/socket.h> with RTEMS either.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94318 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR tree-opt/14329
rth [Thu, 27 Jan 2005 09:28:45 +0000 (09:28 +0000)]
    PR tree-opt/14329
        * tree.h (struct tree_decl): Add debug_expr_is_from.
        (DECL_DEBUG_EXPR_IS_FROM): New.
        (DECL_DEBUG_EXPR): Rename from DECL_DEBUG_ALIAS_OF.
        * dwarf2out.c (dwarf2out_var_location): Update to match.
        * tree-outof-ssa.c (create_temp): Likewise.
        * var-tracking.c (track_expr_p): Likewise.
        * tree-sra.c (instantiate_element): Set DECL_DEBUG_EXPR.
        * c-objc-common.c (c_tree_printer) <'D'>: Handle DECL_DEBUG_EXPR.
        * toplev.c (default_tree_printer): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94317 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* config/frv/frv.c (frv_class_likely_spilled_p): Add GR8_REGS,
aoliva [Thu, 27 Jan 2005 08:37:19 +0000 (08:37 +0000)]
* config/frv/frv.c (frv_class_likely_spilled_p): Add GR8_REGS,
GR9_REGS, GR89_REGS, FDPIC_FPTR_REGS, FDPIC_REGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94316 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree.h (SWITCH_COND, SWITCH_BODY, SWITCH_LABELS, CASE_LOW,
steven [Thu, 27 Jan 2005 07:32:26 +0000 (07:32 +0000)]
* tree.h (SWITCH_COND, SWITCH_BODY, SWITCH_LABELS, CASE_LOW,
CASE_HIGH, CASE_LABEL, ASM_STRING, ASM_OUTPUTS, ASM_INPUTS,
ASM_CLOBBERS): Add tree checks.

* c-common.h (SWITCH_TYPE): Rename to SWITCH_STMT_TYPE.
(SWITCH_STMT_COND, SWITCH_STMT_BODY): New.
* c-common.def (SWITCH_STMT): Update to match.
* c-common.c (c_do_switch_warnings): Use SWITCH_STMT accessor
macros instead of SWITCH_EXPR ones.
* c-dump.c (c_dump_tree): Likewise.
* c-gimplify.c (gimplify_switch_stmt): Likewise.
* c-typeck.c (c_start_case, do_case, c_finish_case): Likewise.

cp/
* decl.c (finish_case_label): Use SWITCH_STMT accessor macros
instead of SWITCH_EXPR ones.
* pt.c (tsubst_expr): Likewise.
* semantics.c (begin_switch_stmt, finish_switch_cond,
finish_switch_stmt): Likewise.

doc/
* c-tree.texi (SWITCH_STMT): Update accessor macro names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94315 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * unwind-dw2.c (execute_stack_op): Add missing cases for
amodra [Thu, 27 Jan 2005 07:26:49 +0000 (07:26 +0000)]
* unwind-dw2.c (execute_stack_op): Add missing cases for
DW_OP_shl, DW_OP_shr, DW_OP_shra, DW_OP_xor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94314 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config.gcc (Obsolete configurations): Remove 'dummy', add
ebotcazou [Thu, 27 Jan 2005 07:15:36 +0000 (07:15 +0000)]
* config.gcc (Obsolete configurations): Remove 'dummy', add
sparclite-*-coff*, sparclite-*-elf*, sparc86x-*-elf* and
sparc-*-openbsd*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94313 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR tree-optimization/19633
dnovillo [Thu, 27 Jan 2005 04:45:20 +0000 (04:45 +0000)]
PR tree-optimization/19633
* tree-ssa-alias.c (ptr_is_dereferenced_by): Also handle
CALL_EXPRs.
(maybe_create_global_var): Do not create .GLOBAL_VAR if there
are no call-clobbered variables.
* tree-outof-ssa.c (check_replaceable): Return false for calls
with side-effects.

testsuite/ChangeLog

PR tree-optimization/19633
* gcc.dg/pr19633.c: New test.
* gcc.dg/tree-ssa/pr19633.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94311 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoChangeLog:
uweigand [Thu, 27 Jan 2005 01:49:01 +0000 (01:49 +0000)]
ChangeLog:
* dbxout.c (dbxout_symbol_location): Resolve constant pool references
even for variables with NULL DECL_INITIAL.

testsuite/ChangeLog:
* gcc.dg/20041216-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94303 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-26 Stuart Hastings <stuart@apple.com>
stuart [Thu, 27 Jan 2005 01:03:27 +0000 (01:03 +0000)]
2005-01-26  Stuart Hastings  <stuart@apple.com>

* gcc/gimplify.c (shortcut_cond_expr): Re-compute side-effects.
* gcc/testsuite/gcc.c-torture/execute/20050125-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94300 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * trans-decl.c (gfc_build_label_decl): Set DECL_ARTIFICAL and
steven [Thu, 27 Jan 2005 00:58:11 +0000 (00:58 +0000)]
* trans-decl.c (gfc_build_label_decl): Set DECL_ARTIFICAL and
TREE_USED for all labels.
(gfc_trans_entry_master_switch): Use it instead of building a
label by hand.
* trans-io.c (add_case): Likewise.
* trans-stmt.c (gfc_trans_integer_select): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94299 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Thu, 27 Jan 2005 00:16:39 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94297 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago For real this time...
rth [Thu, 27 Jan 2005 00:07:41 +0000 (00:07 +0000)]
For real this time...

        PR middle-end/18008
        * c-decl.c (finish_struct): Set DECL_MODE after resetting a
        field's type.
        * expr.c (store_field): Strip conversions to odd-bit-sized types
        if the destination field width matches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94294 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoRevert last change.
rth [Wed, 26 Jan 2005 23:21:45 +0000 (23:21 +0000)]
Revert last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94291 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/18008
rth [Wed, 26 Jan 2005 23:18:14 +0000 (23:18 +0000)]
    PR middle-end/18008
        * c-decl.c (finish_struct): Set DECL_MODE after resetting a
        field's type.
        * expmed.c (store_fixed_bit_field): Create a paradoxical subreg
        if we don't need the bits above those present in the current mode.
        * expr.c (store_field): Strip conversions to odd-bit-sized types
        if the destination field width matches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94290 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/mips/iris6.h (ENDFILE_SPEC): Don't link in irix-csr.o if
rsandifo [Wed, 26 Jan 2005 22:32:27 +0000 (22:32 +0000)]
* config/mips/iris6.h (ENDFILE_SPEC): Don't link in irix-csr.o if
either -ffast-math or -funsafe-math-optimizations is in use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94289 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR target/19293
marekm [Wed, 26 Jan 2005 21:44:25 +0000 (21:44 +0000)]
PR target/19293
PR target/19329
* config/avr/avr.c (notice_update_cc): Only set condition code for
ashrqi3 if shift count > 0.
(out_shift_with_cnt): Handle shift count <= 0 as a no-op.
(ashlqi3_out, ashlhi3_out, ashlsi3_out, ashrqi3_out, ashrhi3_out,
ashrsi3_out, lshrqi3_out, lshrhi3_out, lshrsi3_out): Handle shift
count <= 0 as a no-op, and shift count >= width by copying zero
or sign bit to all bits of the result.
* config/avr/avr.md (all shifts): Add alternatives for zero shift
count, with attribute "length" set to 0 and "cc" set to "none".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94288 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-26 Laurent GUERBY <laurent@guerby.net>
guerby [Wed, 26 Jan 2005 21:35:50 +0000 (21:35 +0000)]
2005-01-26  Laurent GUERBY <laurent@guerby.net>

PR ada/19414
* i-cobol.adb (Valid_Numeric): Handle zero length case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94287 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-26 Alexander Malmberg <alexander@malmberg.org>
pinskia [Wed, 26 Jan 2005 21:03:31 +0000 (21:03 +0000)]
2005-01-26  Alexander Malmberg  <alexander@malmberg.org>

        PR objc/18862
        * objc.dg/selector-2.m: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94286 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-26 Alexander Malmberg <alexander@malmberg.org>
pinskia [Wed, 26 Jan 2005 21:01:57 +0000 (21:01 +0000)]
2005-01-26  Alexander Malmberg  <alexander@malmberg.org>

        PR objc/18862
        * objc-act.c (build_selector_translation_table): Use
        input_location in the diagnostic for the GNU runtime or if
        TREE_PURPOSE (chain) is NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94285 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/invoke.texi: Document -mTLS.
aldyh [Wed, 26 Jan 2005 20:36:07 +0000 (20:36 +0000)]
* doc/invoke.texi: Document -mTLS.

* testsuite/gcc.target/frv/all-tls-global-dynamic.c: New.
* testsuite/gcc.target/frv/all-tls-initial-exec.c: New.
* testsuite/gcc.target/frv/all-tls-initial-exec-pic.c: New.
* testsuite/gcc.target/frv/all-tls-local-dynamic.c: New.
* testsuite/gcc.target/frv/all-tls-local-dynamic-plt.c: New.
* testsuite/gcc.target/frv/all-tls-local-dynamic-plt-pic.c: New.
* testsuite/gcc.target/frv/all-tls-local-exec.c: New.
* testsuite/gcc.target/frv/all-tls-local-exec-TLS.c: New.

* configure.ac: Check for a TLS capable gas.

* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94283 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/18008
rth [Wed, 26 Jan 2005 20:29:25 +0000 (20:29 +0000)]
    PR middle-end/18008
        * combine.c (make_field_assignment): Simplify store to zero_extract
        from a source with an overlapping mask.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94282 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix filename typo.
amylaar [Wed, 26 Jan 2005 19:02:32 +0000 (19:02 +0000)]
Fix filename typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94275 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdd bug number:
amylaar [Wed, 26 Jan 2005 18:58:59 +0000 (18:58 +0000)]
Add bug number:
PR c++/18370
* parse.c (cp_parser_initializer_clause): Initialize *non_constant_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94274 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/frv/frv.md: Add fr400_integer automaton. Don't
aldyh [Wed, 26 Jan 2005 18:57:03 +0000 (18:57 +0000)]
    * config/frv/frv.md: Add fr400_integer automaton. Don't
        allow TYPE_MUL, TYPE_MACC, or TYPE_CUT to issue in parallel
        to TYPE_MACC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94272 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * parse.c (cp_parser_initializer_clause): Initialize *non_constant_p.
amylaar [Wed, 26 Jan 2005 18:45:00 +0000 (18:45 +0000)]
* parse.c (cp_parser_initializer_clause): Initialize *non_constant_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94270 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/16585
steven [Wed, 26 Jan 2005 17:26:33 +0000 (17:26 +0000)]
PR middle-end/16585
* cfgbuild.c (make_edges): Do not clear or set
current_function_has_computed_jump.
* function.h (struct function): Remove the has_computed_jump field.
(current_function_has_computed_jump): Do not define.
* sched-rgn.c (is_cfg_nonregular): Return true if a basic block ends
in a computed jump.  Ignore current_function_has_computed_jump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94269 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-26 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 26 Jan 2005 16:34:58 +0000 (16:34 +0000)]
2005-01-26  Paolo Carlini  <pcarlini@suse.de>

* include/ext/mt_allocator.h
(struct __per_type_pool_policy<,, false>::_S_get_pool,
struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
_M_chunk_size too with sizeof(_Tp), otherwise the allocator
breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
reduce to 64 the multiplier for _M_max_bytes (safer wrt
_Binmap_type being a short); trivial reformattings.
* testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94268 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/19515
rth [Wed, 26 Jan 2005 15:20:53 +0000 (15:20 +0000)]
    PR middle-end/19515
        * expr.c (categorize_ctor_elements): New argument p_must_clear.
        (categorize_ctor_elements_1): Likewise.  Detect a union that isn't
        fully initialized.
        (mostly_zeros_p): Update for new categorize_ctor_elements argument.
        * gimplify.c (gimplify_init_constructor): Likewise.  Only shove
        objects into static storage if they have more than one non-zero value.
        * tree.h (categorize_ctor_elements): Update decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94266 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/19616
steven [Wed, 26 Jan 2005 15:08:50 +0000 (15:08 +0000)]
PR middle-end/19616
* tree.h (CALL_EXPR_TAILCALL): Add comment.
* calls.c (check_sibcall_argument_overlap_1): Revert the change
to this function from 2004-07-10.
* tree-tailcall.c (suitable_for_tail_opt_p): Do not consider the
the current function for tail call optimizations if the address
of one of it its arguments is taken.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94265 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * cse.c (fold_rtx): Call equiv_constant only when necessary.
kazu [Wed, 26 Jan 2005 12:44:58 +0000 (12:44 +0000)]
* cse.c (fold_rtx): Call equiv_constant only when necessary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94260 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * function.c (expand_function_end): If current_function_calls_alloca,
bernds [Wed, 26 Jan 2005 11:22:33 +0000 (11:22 +0000)]
* function.c (expand_function_end): If current_function_calls_alloca,
emit stack restore in a place that is reached when the function falls
through at the end.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94259 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-26 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 26 Jan 2005 10:34:53 +0000 (10:34 +0000)]
2005-01-26  Paolo Carlini  <pcarlini@suse.de>

* acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
to the final test for enable_c99, thus robustifying it; remove
duplicate final test on ac_99_math.
* configure: Regenerate.

* include/std/std_complex.h: Remove usages of the dead
_GLIBCXX_BUGGY_COMPLEX macro.

* testsuite/26_numerics/cmath/19322.cc: Protect with
_GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
since only C99 math facilities are involved.
* testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94257 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix PR number on Honza's checkin
steven [Wed, 26 Jan 2005 09:20:57 +0000 (09:20 +0000)]
Fix PR number on Honza's checkin

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94256 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* Makefile.in (../$(build_subdir)/fixincludes/fixincl): Add dummy
aoliva [Wed, 26 Jan 2005 09:17:02 +0000 (09:17 +0000)]
* Makefile.in (../$(build_subdir)/fixincludes/fixincl): Add dummy
rule to avoid matching inappropriate suffix rule.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94255 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR tree-optimization/19421
hubicka [Wed, 26 Jan 2005 08:07:02 +0000 (08:07 +0000)]
PR tree-optimization/19421
* tree-inline.c (copy_body_r): Do not walk subtrees after substituting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94254 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/cris/cris.h (LIB_SPEC) <sim*>: Use -lsyslinux, not
hp [Wed, 26 Jan 2005 03:20:22 +0000 (03:20 +0000)]
* config/cris/cris.h (LIB_SPEC) <sim*>: Use -lsyslinux, not
-lsyssim.  Wrap -lc -lsyssim in --start-group --end-group instead
of doubling.
(STARTFILE_SPEC): Add crti.o, before crtbegin.o.
  <sim*>: Always use crt1.o, regardless of N in simN.
<!sim>: Drop support for -pg and -p variants; always use crt0.o.
(ENDFILE_SPEC): Add crtn.o, after crtend.o.
(CRT_CALL_STATIC_FUNCTION): Remove.
* config/cris/aout.h (STARTFILE_SPEC): <!melinux && sim*>: Always
use crt1.o, regardless of N in simN.
<!sim>: Drop support for -pg and -p variants; always use crt0.o.
(LIB_SPEC): Do not define; default to the one in config/cris/cris.h.
(CRIS_CPP_SUBTARGET_SPEC) <melinux && !nostdinc>: Remove special
case isystem setting.
(MAX_OFILE_ALIGNMENT): Correct to 32, not 16.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94251 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-25 Ian Lance Taylor <ian@airs.com>
ian [Wed, 26 Jan 2005 03:18:06 +0000 (03:18 +0000)]
2005-01-25  Ian Lance Taylor  <ian@airs.com>

* gimple-low.c (block_may_fallthru): Correct handling of
SWITCH_EXPR--may fall through if SWITCH_LABELS is NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94250 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
rmathew [Wed, 26 Jan 2005 02:28:15 +0000 (02:28 +0000)]
    * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
        remove other passing tests and add new XFAILs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94246 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/cris/cris.h (CPP_SPEC): Adjust the various mtune=
hp [Wed, 26 Jan 2005 02:16:01 +0000 (02:16 +0000)]
* config/cris/cris.h (CPP_SPEC): Adjust the various mtune=
handlers to match indentation; nested under the mtune=* handler.
Similar for mcpu= and march=.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94245 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/mips/linux.h (LIB_SPEC): Remove -rpath-link.
drow [Wed, 26 Jan 2005 02:04:48 +0000 (02:04 +0000)]
* config/mips/linux.h (LIB_SPEC): Remove -rpath-link.
* config/mips/linux64.h (LIB_SPEC): Likewise.
* config/mn10300/linux.h (LIB_SPEC): Likewise.
* config/sh/linux.h (LIB_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94244 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Wed, 26 Jan 2005 00:16:15 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94241 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/frv/frv.c (frv_legitimize_tls_address): New.
aldyh [Wed, 26 Jan 2005 00:07:08 +0000 (00:07 +0000)]
* config/frv/frv.c (frv_legitimize_tls_address): New.
(TARGET_HAVE_TLS): Define.
(FRV_SYMBOL_REF_TLS_P): Define.
(frv_override_options): Handle new register classes.
(frv_legitimate_address_p): Reject tls addresses.
(frv_legitimize_address): Handle TLS addresses.
(gen_inlined_tls_plt): New.
(gen_tlsmoff): New.
(frv_legitimize_tls_address): New.
(unspec_got_name): Add TLS entries.
(got12_operand): Add R_FRV_TLSMOFF12 case.
(frv_emit_move): Fixup TLS addresses.
(frv_emit_movsi): Legitimize TLS addresses.

* config/frv/frv.h (MASK_BIG_TLS): New.
(TARGET_BIG_TLS): New.
(HAVE_AS_TLS): Define.
(TARGET_SWITCHES): Add -mTLS and -mtls options.
(enum reg_class): Add GR8_REGS, GR9_REGS, GR89_REGS.
(REG_CLASS_NAMES): Same.
(REG_CLASS_CONTENTS): Same.
(CONSTRAINT_LEN): New.
(REG_CLASS_FROM_CONSTRAINT): New.
(PREDICATE_CODES): Add symbolic_operand.

* config/frv/frv.md (define_constants): Add UNSPEC_GETTLSOFF,
UNSPEC_TLS_LOAD_GOTTLSOFF12, UNSPEC_TLS_INDIRECT_CALL,
UNSPEC_TLS_TLSDESC_LDD, UNSPEC_TLS_TLSDESC_LDD_AUX,
UNSPEC_TLS_TLSOFF_LD, UNSPEC_TLS_LDDI, UNSPEC_TLSOFF_HILO,
R_FRV_GOTTLSOFF_HI, R_FRV_GOTTLSOFF_LO, R_FRV_TLSMOFFHI,
R_FRV_TLSMOFFLO, R_FRV_TLSMOFF12, R_FRV_TLSDESCHI,
R_FRV_TLSDESCLO, R_FRV_GOTTLSDESCHI, R_FRV_GOTTLSDESCLO, GR8_REG,
GR9_REG, GR14_REG, LRREG.
(type): Add load_or_call attribute.
("load_or_call"): New reservation.
("call_gettlsoff"): New.
("tls_indirect_call"): New.
("tls_load_gottlsoff12"): New.
("tlsoff_hilo"): New.
("tls_tlsdesc_ldd"): New.
("tls_tlsoff_ld"): New.
("tls_lddi"): New.

* config/frv/frv-protos.h (symbolic_operand): Protoize.

        * config/frv/frv.h (ASM_OUTPUT_DWARF_DTPREL): Define.
        * config/frv/frv-protos.h (frv_output_dwarf_dtprel): Declare.
        * config/frv/frv.c (TLS_BIAS): Define.
        (frv_output_dwarf_dtprel): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94237 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
ljrittle [Tue, 25 Jan 2005 23:44:03 +0000 (23:44 +0000)]
* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
instead of generic.  Change autoconf report to "darwin or freebsd".
* configure: Regenerate.
* config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
(ctype<wchar_t>::do_scan_is): Likewise.
(ctype<wchar_t>::do_scan_not): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94236 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * g++.dg/opt/range-test-2.C: New test.
jakub [Tue, 25 Jan 2005 23:11:29 +0000 (23:11 +0000)]
* g++.dg/opt/range-test-2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94235 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR rtl-optimization/19579
jakub [Tue, 25 Jan 2005 23:09:10 +0000 (23:09 +0000)]
PR rtl-optimization/19579
* ifcvt.c (noce_try_cmove_arith): If emitting instructions to set up
both A and B, see if they don't clobber registers the other expr uses.

* gcc.c-torture/execute/20050124-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94234 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoPR libfortran/19524
tobi [Tue, 25 Jan 2005 21:40:25 +0000 (21:40 +0000)]
PR libfortran/19524
* io/read.c (read_f): Don't free uninitialized pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94232 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * real.c (do_add): Initialize signalling and canonical members.
amylaar [Tue, 25 Jan 2005 20:21:59 +0000 (20:21 +0000)]
* real.c (do_add): Initialize signalling and canonical members.

* real.c (real_from_integer): Zero out destination.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94228 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR tree-optimize/19337
hubicka [Tue, 25 Jan 2005 19:32:53 +0000 (19:32 +0000)]
PR tree-optimize/19337
* gcc.c-torture/compile/20050119-1.c: New test.

PR tree-optimize/19337
* tree-inline.c (initialize_inlined_parameters): Copy
saved_static_chain_decl only.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94226 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-25 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Tue, 25 Jan 2005 19:21:30 +0000 (19:21 +0000)]
2005-01-25  Andrew Pinski  <pinskia@physics.uc.edu>

        * class.c (abort_fndecl_addr): New variable.
        (build_vtbl_initializer): If we have a pure virtual function
        share the abort function's address.
        Include gt-cp-class.h at the end.
        * config-lang.in (gtfiles): Add cp/class.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94225 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Make-lang.in (java/java-tree-inline.o): Removed.
tromey [Tue, 25 Jan 2005 18:57:44 +0000 (18:57 +0000)]
* Make-lang.in (java/java-tree-inline.o): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94224 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR target/19556
rth [Tue, 25 Jan 2005 18:43:59 +0000 (18:43 +0000)]
    PR target/19556
        PR target/19584
        * config/i386/i386.c (x86_inter_unit_moves): Zero.
        (ix86_preferred_reload_class): Rewrite fp-constant section, with
        80387 enabled, to return a proper subclass.  Return the subset that
        overlaps with GENERAL_REGS for PLUS.
        * config/i386/i386.md (movsi_1, movdi_2): Set type to "mmx" for pxor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94223 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/19609
rth [Tue, 25 Jan 2005 18:19:09 +0000 (18:19 +0000)]
    PR middle-end/19609
        * tree-complex.c (expand_complex_div_wide): Use the correct formulae.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94222 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 25 Jan 2005 15:47:35 +0000 (15:47 +0000)]
2005-01-25  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
* acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/std/std_complex.h: Protect complex builtins with
_GLIBCXX_USE_C99_COMPLEX_MATH.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94221 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * expmed.c (choose_multiplier): Change interface to return the
sayle [Tue, 25 Jan 2005 14:28:55 +0000 (14:28 +0000)]
* expmed.c (choose_multiplier): Change interface to return the
multiplier lowpart as an rtx instead of an unsigned HOST_WIDE_INT.
(expand_divmod): Update calls to choose_multiplier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94220 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * cxx-pretty-print.c (pp_cxx_statement): Add prototype. Make static.
reichelt [Tue, 25 Jan 2005 08:58:46 +0000 (08:58 +0000)]
* cxx-pretty-print.c (pp_cxx_statement): Add prototype. Make static.
(pp_cxx_function_definition): Make static.
* cxx-pretty-print.h (pp_cxx_statement): Remove prototype.
(pp_cxx_function_definition): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94210 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * name-lookup.c (print_binding_level): Make static.
reichelt [Tue, 25 Jan 2005 08:55:00 +0000 (08:55 +0000)]
* name-lookup.c (print_binding_level): Make static.
(constructor_name_full): Make static inline.
(current_decl_namespace): Make static.
* name-lookup.h (constructor_name_full): Remove prototype.
(print_binding_level): Likewise.
(storetags): Likewise.
(current_decl_namespace): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94209 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * decl.h (debug_bindings_indentation): Remove.
reichelt [Tue, 25 Jan 2005 08:50:16 +0000 (08:50 +0000)]
* decl.h (debug_bindings_indentation): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94208 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoCorrect the date for my last ChangeLog entry.
rmathew [Tue, 25 Jan 2005 06:28:42 +0000 (06:28 +0000)]
Correct the date for my last ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94206 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR java/19070
rmathew [Tue, 25 Jan 2005 06:12:32 +0000 (06:12 +0000)]
    PR java/19070
        * parse.y (patch_binop): Allow comparisons against NULL only
        if the other operand is of a reference type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94205 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix latent bug in strstr.c testcase.
wilson [Tue, 25 Jan 2005 04:54:55 +0000 (04:54 +0000)]
Fix latent bug in strstr.c testcase.
* gcc.c-torture/execute/builtins/lib/strstr.c (strstr): Correct exit
test for successful match.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94204 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agos/just/used/, stupid me keep on using "just" instead of "used".
pinskia [Tue, 25 Jan 2005 03:33:08 +0000 (03:33 +0000)]
s/just/used/, stupid me keep on using "just" instead of "used".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94202 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-25 Alexander Malmberg <alexander@malmberg.org>
pinskia [Tue, 25 Jan 2005 03:16:48 +0000 (03:16 +0000)]
2005-01-25  Alexander Malmberg  <alexander@malmberg.org>

        PR objc/18408
        * objc.dg/comp-types-7.m: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94200 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-25 Alexander Malmberg <alexander@malmberg.org>
pinskia [Tue, 25 Jan 2005 03:13:10 +0000 (03:13 +0000)]
2005-01-25  Alexander Malmberg  <alexander@malmberg.org>

        PR objc/18408
        * objc-act.c (objc_types_compatible_p): New function.
        * objc-act.h (objc_types_compatible_p): Declare.
        * objc-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94199 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/19330
danglin [Tue, 25 Jan 2005 02:05:39 +0000 (02:05 +0000)]
PR middle-end/19330
* expmed.c (extract_bit_field): Use adjust_address instead of
gen_lowpart when op0 is a MEM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94198 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Tue, 25 Jan 2005 00:20:16 +0000 (00:20 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94192 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * cfgexpand.c (expand_gimple_tailcall): Fix typo.
steven [Mon, 24 Jan 2005 23:16:30 +0000 (23:16 +0000)]
* cfgexpand.c (expand_gimple_tailcall): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94189 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/mips/irix-csr.c: New file.
rsandifo [Mon, 24 Jan 2005 21:42:50 +0000 (21:42 +0000)]
* config/mips/irix-csr.c: New file.
* config/mips/t-iris6 (irix-csr.o): New rule to build it.
(EXTRA_MULTILIB_PARTS): Add irix-csr.o.
* config/mips/iris6.h (ENDFILE_SPEC): Include it in n32 and n64
executables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94186 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR bootstrap/19364
ebotcazou [Mon, 24 Jan 2005 21:31:52 +0000 (21:31 +0000)]
PR bootstrap/19364
* config.gcc (sparc-*-elf*): Remove sol2.h, sparc/sol2.h and
sparc/elf.h, add sparc/sp-elf.h.
(sparc-*-rtems*): Likewise.
(sparclite-*-elf*): Remove sol2.h, sparc/sol2.h, sparc/elf.h and
tm-dwarf2.h, add sparc/sp-elf.h.
(sparc86x-*-elf): Likewise.
(sparc64-*-elf*): Remove sol2.h, sparc/sol2.h and tm-dwarf2.h.
* config/sparc/liteelf.h (TARGET_SUB_OS_CPP_BUILTINS): Rename into
TARGET_OS_CPP_BUILTINS.
* config/sparc/sp86x-elf (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
* config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
Undefine it.
* config/sparc/openbsd64.h (NO_IMPLICIT_EXTERN_C): Undefine.
* config/sparc/sp64-elf.h (NO_IMPLICIT_EXTERN_C): New macro.
(SWITCH_TAKES_ARG): Likewise.
(LOCAL_LABEL_PREFIX): Likewise.
(ASM_GENERATE_INTERNAL_LABEL): Likewise.
(TARGET_N_FORMAT_TYPES): Delete.
(TARGET_FORMAT_TYPES): Likewise.
(ASM_DECLARE_FUNCTION_SIZE): Likewise.
* config/sparc/elf.h: Delete.
* config/sparc/sp-elf.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94185 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-flow-inline.h (phi_arg_from_edge): Remove.
kazu [Mon, 24 Jan 2005 20:47:43 +0000 (20:47 +0000)]
* tree-flow-inline.h (phi_arg_from_edge): Remove.
* tree-flow.h: Remove the corresponding prototype.
* tree-ssa-operands.h, tree-ssa-threadupdate.c, tree-ssa.c,
tree-vectorizer.c: Use dest_idx instead of phi_arg_from_edge.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94183 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * java-tree.h (gcj_abi_version): Declare.
tromey [Mon, 24 Jan 2005 19:07:06 +0000 (19:07 +0000)]
* java-tree.h (gcj_abi_version): Declare.
* class.c (make_class_data): Push gcj_abi_version into "next"
field.  Renamed field.
* decl.c (gcj_abi_version): New global.
(parse_version): New function.
(java_init_decl_processing): Call it.  Renamed 'next' field.
Include version.h.
(GCJ_BINARYCOMPAT_ADDITION): New define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94174 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * java/lang/Class.h (next): Updated documentation. Renamed to
tromey [Mon, 24 Jan 2005 19:05:34 +0000 (19:05 +0000)]
* java/lang/Class.h (next): Updated documentation.  Renamed to
'next_or_version'.
* java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
_Jv_CheckABIVersion.
(_Jv_RegisterClasses_Counted): Likewise.
(_Jv_RegisterClassHookDefault): Fix starting condition of
duplicate-checking loop.
* include/jvm.h (GCJ_VERSION): New define.
(GCJ_BINARYCOMPAT_ADDITION): Likewise.
(_Jv_CheckABIVersion): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94173 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * lib/target-supports.exp (current_target_name): New.
janis [Mon, 24 Jan 2005 18:24:02 +0000 (18:24 +0000)]
* lib/target-supports.exp (current_target_name): New.
(check_effective_target_ilp32, check_effective_target_lp64):
Cache the result to use as long as the current target, with
multilib flags, remains the same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94168 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * lib/gcc-dg.exp (skip_test_and_clear_xfail): Remove.
janis [Mon, 24 Jan 2005 18:23:08 +0000 (18:23 +0000)]
* lib/gcc-dg.exp (skip_test_and_clear_xfail): Remove.
(dg-require-weak, dg-require-visibility, dg-require-alias,
dg-require-dg-sections, dg-require-profiling, dg-require-iconv,
dg-require-effective-target, dg-skip-if): Remove call to
skip_test_and_clear_xfail.
(dg-test): Clear xfail data.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94167 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR target/17751
jakub [Mon, 24 Jan 2005 17:39:37 +0000 (17:39 +0000)]
PR target/17751
* config/rs6000/rs6000.c (rs6000_file_start): Create toc section
for AIX ABI or ELF -fPIC.
(rs6000_emit_load_toc_table): Don't create toc_section here.
(rs6000_xcoff_file_start): Nor here.

* gcc.dg/ppc64-toc.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94166 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
jakub [Mon, 24 Jan 2005 17:33:14 +0000 (17:33 +0000)]
* Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
(libgij_la_LDFLAGS): Add.
* Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94165 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago??? The first checkin was ignored?
amylaar [Mon, 24 Jan 2005 16:17:43 +0000 (16:17 +0000)]
??? The first checkin was ignored?

* sh.c (ra.h): Don't #include.
(hard_regs_intersect_p): New function, resurrected from ra.c.
N.B this is Copyright 2002/2003

* sh.c: Fix 1996 Copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94164 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * sh.c (ra.h): Don't #include.
amylaar [Mon, 24 Jan 2005 16:07:21 +0000 (16:07 +0000)]
* sh.c (ra.h): Don't #include.
(hard_regs_intersect_p): New function, resurrected from ra.c.
N.B this is Copyright 2002/2003

* sh.c: Fix 1996 Copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94163 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR java/19295
sayle [Mon, 24 Jan 2005 14:34:19 +0000 (14:34 +0000)]
PR java/19295
* jcf-write.c (generate_bytecode_insns): Conversions between
integer types of the same precision shouldn't generate widening
or narrowing conversion bytecodes.

* testsuite/libjava.compile/PR19295.java: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94162 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-01-24 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 24 Jan 2005 14:06:13 +0000 (14:06 +0000)]
2005-01-24  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/type_traits: Implement is_signed and is_unsigned.
* testsuite/tr1/4_metaprogramming/type_properties/
is_signed/is_signed.cc: New.
* testsuite/tr1/4_metaprogramming/type_properties/
is_signed/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
is_unsigned/is_unsigned.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
is_unsigned/typedefs.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94160 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * regrename.c (note_sets): Handle subregs.
aldyh [Mon, 24 Jan 2005 12:31:22 +0000 (12:31 +0000)]
    * regrename.c (note_sets): Handle subregs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94157 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR bootstrap/18058
jsm28 [Mon, 24 Jan 2005 12:08:06 +0000 (12:08 +0000)]
PR bootstrap/18058
* genconditions.c (write_header, write_conditions): Elide file if
not GCC >= 3.0.1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94155 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-opts.c, expmed.c, gengtype.c, tree-complex.c,
kazu [Mon, 24 Jan 2005 11:59:45 +0000 (11:59 +0000)]
* c-opts.c, expmed.c, gengtype.c, tree-complex.c,
config/arm/iwmmxt.md, config/avr/avr.c, config/s390/s390.h:
Update copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94154 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * builtins.c (get_pointer_alignment, gimplify_va_arg_expr,
jakub [Mon, 24 Jan 2005 08:59:28 +0000 (08:59 +0000)]
* builtins.c (get_pointer_alignment, gimplify_va_arg_expr,
expand_builtin_printf, expand_builtin_fprintf,
expand_builtin_sprintf): Use POINTER_TYPE_P instead TREE_CODE
checking against POINTER_TYPE.
(validate_arglist): Handle POINTER_TYPE code by checking
POINTER_TYPE_P.
* g++.dg/tree-ssa/empty-1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94147 138bc75d-0d04-0410-961f-82ee72b054a4