platform/upstream/linaro-gcc.git
20 years ago PR c++/14284
giovannibajo [Thu, 26 Feb 2004 20:46:08 +0000 (20:46 +0000)]
PR c++/14284
* pt.c (dependent_type_p_r): A template template parameter is a
dependent type.

PR c++/14284
* g++.dg/template/ttp8.C: New test.

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

20 years ago * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__.
bwilson [Thu, 26 Feb 2004 19:59:28 +0000 (19:59 +0000)]
* config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__.

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

20 years ago2004-02-26 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 26 Feb 2004 19:45:51 +0000 (19:45 +0000)]
2004-02-26  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/FileLockImpl.java
(finalize): Made protected.
* java/nio/channels/FileChannel.java
(MapMode.READ_ONLY): Made final.
(MapMode.READ_WRITE): Made final.
(MapMode.PRIVATE): Made final.
* java/nio/channels/SocketChannel.java
(open): Simplified code.
* java/nio/channels/spi/AbstractSelectableChannel.java
(registered): Unused, removed.
(keyFor): Check channel is open, only locate key
and not add a new one.
(register): Don't delete attachments.

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

20 years ago2004-02-26 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 26 Feb 2004 19:31:57 +0000 (19:31 +0000)]
2004-02-26  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/ComponentDataBlitOp.java
(INSTANCE): Made final.
* gnu/java/awt/image/ImageDecoder.java:
Reworked imports.
(cm): Unused, removed.

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

20 years ago * configure.in: Remove more obsolete, bogus code.
neroden [Thu, 26 Feb 2004 18:43:27 +0000 (18:43 +0000)]
* configure.in: Remove more obsolete, bogus code.
* configure: Regenerate.

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

20 years ago * config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'.
ebotcazou [Thu, 26 Feb 2004 18:40:41 +0000 (18:40 +0000)]
* config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'.
(sparc_emit_fixunsdi): New prototype.
* config/sparc/sparc.c (sparc_emit_floatunsdi): Use 'mode' argument.
(sparc_emit_fixunsdi): New function.
* config/sparc/sparc.md (floatunsdisf2): Use 'general_operand' for
operand 1.  Pass SFmode to sparc_emit_floatunsdi.
(floatunsdidf2): Use 'general_operand' for operand 1.  Pass DFmode
to sparc_emit_floatunsdi.
(fixuns_truncsfdi2): New expander.
(fixuns_truncdfdi2): Likewise.

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

20 years ago * acinclude.m4: Remove obsolete and bogus constructs.
neroden [Thu, 26 Feb 2004 18:32:47 +0000 (18:32 +0000)]
* acinclude.m4: Remove obsolete and bogus constructs.
* aclocal.m4: Regenerate.
* configure: Regnerate.

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

20 years ago2004-02-26 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 26 Feb 2004 17:17:19 +0000 (17:17 +0000)]
2004-02-26  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/DatagramChannelImpl.java
(send): Check if target address is resolved.

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

20 years ago * gcc.dg/builtins-config.h: Use #elif.
danglin [Thu, 26 Feb 2004 15:57:05 +0000 (15:57 +0000)]
* gcc.dg/builtins-config.h: Use #elif.

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

20 years ago2004-02-26 Andrew Haley <aph@redhat.com>
aph [Thu, 26 Feb 2004 15:34:05 +0000 (15:34 +0000)]
2004-02-26  Andrew Haley  <aph@redhat.com>

        PR java/14231:
        * parse.y (check_interface_throws_clauses): Check for
        !METHOD_INVISIBLE (iface_method).
        * class.c (layout_class_methods): Check for CLASS_INTERFACE as
        well as CLASS_ABSTRACT.

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

20 years ago2004-02-25 Andrew Haley <aph@redhat.com>
aph [Thu, 26 Feb 2004 15:22:20 +0000 (15:22 +0000)]
2004-02-25  Andrew Haley  <aph@redhat.com>

PR java/14296:
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Make sure
we have a valid method index.

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

20 years ago * gcc.dg/20000724-1.c: Add regparm attribute to decl and def.
matz [Thu, 26 Feb 2004 14:33:19 +0000 (14:33 +0000)]
    * gcc.dg/20000724-1.c: Add regparm attribute to decl and def.
        * gcc.dg/991214-1.c: Likewise.
        * gcc.dg/i386-asm-1.c: Likewise.

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

20 years ago * gcc.dg/20000724-1.c: Add regparm attribute to decl and def.
matz [Thu, 26 Feb 2004 14:30:13 +0000 (14:30 +0000)]
    * gcc.dg/20000724-1.c: Add regparm attribute to decl and def.
        * gcc.dg/991214-1.c: Likewise.
        * gcc.dg/i386-asm-1.c: Likewise.

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

20 years ago2004-02-25 Jonathan Wakely <redi@gcc.gnu.org>
redi [Thu, 26 Feb 2004 11:35:06 +0000 (11:35 +0000)]
2004-02-25  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/20_util/howto.html, docs/html/20_util/allocator.html,
docs/html/ext/howto.html, docs/html/ext/mt_allocator.html:
Fix markup, more <link> tags.

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

20 years ago2004-02-26 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 26 Feb 2004 10:04:39 +0000 (10:04 +0000)]
2004-02-26  Michael Koch  <konqueror@gmx.de>

* Makefile.am: Generate and install headers for inner classes in
java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
* Makefile.in: Regenerated.

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

20 years ago * parse.y (build_assertion): If we're in an inner class, create the
bothner [Thu, 26 Feb 2004 05:30:01 +0000 (05:30 +0000)]
* parse.y (build_assertion):  If we're in an inner class, create the
class$ helper routine in the outer class.

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

20 years agoImprove some comments.
bothner [Thu, 26 Feb 2004 04:58:07 +0000 (04:58 +0000)]
Improve some comments.

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

20 years ago * gcse.c (delete_null_pointer_checks_1): Do not delete CC setter
amodra [Thu, 26 Feb 2004 03:21:15 +0000 (03:21 +0000)]
* gcse.c (delete_null_pointer_checks_1): Do not delete CC setter
unless HAVE_cc0.

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

20 years ago * gcc.c-torture/execute/20040208-2.c: Move ...
rth [Thu, 26 Feb 2004 02:59:57 +0000 (02:59 +0000)]
    * gcc.c-torture/execute/20040208-2.c: Move ...
        * gcc.c-torture/execute/ieee/20040208-2.c: ... here.

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

20 years ago PR c++/14246
giovannibajo [Thu, 26 Feb 2004 02:19:24 +0000 (02:19 +0000)]
PR c++/14246
* g++.dg/other/crash-3.C: New test.

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

20 years ago PR c++/14246
giovannibajo [Thu, 26 Feb 2004 02:17:26 +0000 (02:17 +0000)]
PR c++/14246
* mangle.c (write_template_arg_literal): Don't rely on identity for
boolean constants.

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

20 years ago * src/powerpc/ffi.c (ffi_prep_args_SYSV): Change
kraai [Thu, 26 Feb 2004 02:09:35 +0000 (02:09 +0000)]
* src/powerpc/ffi.c (ffi_prep_args_SYSV): Change
ecif->cif->bytes to bytes.
(ffi_prep_cif_machdep): Add braces around nested if statement.

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

20 years ago * explow.c (force_reg): Call mark_reg_pointer as appropriate.
rth [Thu, 26 Feb 2004 01:45:32 +0000 (01:45 +0000)]
    * explow.c (force_reg): Call mark_reg_pointer as appropriate.
        * config/alpha/alpha.c (alpha_emit_conditional_branch): Don't
        use (op0-op1) == 0 if op0 is a pointer.
        * config/alpha/alpha.md (cmpdi): Use some_operand.
        (three comparison combine splits): Remove.

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

20 years agoSet pr tag.
rth [Thu, 26 Feb 2004 01:25:31 +0000 (01:25 +0000)]
Set pr tag.

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

20 years ago * c-common.c (handle_alias_attribute): Reject the attribute if
rth [Thu, 26 Feb 2004 01:24:37 +0000 (01:24 +0000)]
    * c-common.c (handle_alias_attribute): Reject the attribute if
        current_function_decl is set.

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

20 years agoDaily bump.
gccadmin [Thu, 26 Feb 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago2004-02-25 Kelley Cook <kcook@gcc.gnu.org>
kcook [Wed, 25 Feb 2004 21:43:26 +0000 (21:43 +0000)]
2004-02-25  Kelley Cook  <kcook@gcc.gnu.org>

* config.gcc: Add comment describing extra_gcc_objs.
i[34567]86-*-cygwin*): Replace host_extra_gcc_objs with extra_gcc_objs.
* configure.ac (extra_gcc_objs): New substitution variable.
(host_extra_gcc_objs): Don't substitute.
* configure: Regenerate.
* Makefile.in: Use extra_gcc_objs.

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

20 years ago* bits/demangle.h
carlo [Wed, 25 Feb 2004 21:31:01 +0000 (21:31 +0000)]
* bits/demangle.h
namespace __gnu_cxx::demangler
(session<Allocator>::qualifier_list_Allocator): Add
(session<Allocator>::M_qualifier_list_alloc): Add
(session<Allocator>::decode_type_with_postfix):
Use M_qualifier_list_alloc instead of calling operator new/delete.

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

20 years ago * acinclude.m4: De-precious CC and CXX so that the right flags
neroden [Wed, 25 Feb 2004 21:26:22 +0000 (21:26 +0000)]
* acinclude.m4: De-precious CC and CXX so that the right flags
are passed down to multilibs.
* aclocal.m4: Regenerate.
* configure: Regenerate.

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

20 years ago * doc/contrib.texi: Add an entry for myself.
kcook [Wed, 25 Feb 2004 21:26:12 +0000 (21:26 +0000)]
* doc/contrib.texi: Add an entry for myself.

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

20 years agoAdd myself to write-after-approval.
kcook [Wed, 25 Feb 2004 21:16:01 +0000 (21:16 +0000)]
Add myself to write-after-approval.

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

20 years ago * g++.dg/opt/inline4.C (dg-final): Robustify regexp.
danglin [Wed, 25 Feb 2004 20:03:41 +0000 (20:03 +0000)]
* g++.dg/opt/inline4.C (dg-final): Robustify regexp.
* g++.dg/opt/inline6.C (dg-final): Robustify regexp.

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

20 years ago * basic-block.h (make_eh_edge, break_superblocks): Declare.
hubicka [Wed, 25 Feb 2004 20:00:00 +0000 (20:00 +0000)]
* basic-block.h (make_eh_edge, break_superblocks): Declare.
* cfgbuild.c (make_eh_edge):  Make global.
* cfglayout.c (break_superblocks): Likewise; fix memory leak.
* except.c (build_post_landing_pads, connect_post_landing_pads,
dw2_build_landing_pads, sjlj_emit_function_enter,
sjlj_emit_function_exit, sjlj_emit_dispatch_table,
sjlj_build_landing_pads): Update CFG.
(emit_to_new_bb_before): New function.
(finish_eh_generation): Do not rebuild the CFG.

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

20 years agode-pessimization
green [Wed, 25 Feb 2004 19:52:58 +0000 (19:52 +0000)]
de-pessimization

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

20 years ago * config.gcc (hppa*-*-*, parisc*-*-*): Add MASK_BIG_SWITCH to all
danglin [Wed, 25 Feb 2004 19:45:13 +0000 (19:45 +0000)]
* config.gcc (hppa*-*-*, parisc*-*-*): Add MASK_BIG_SWITCH to all
target_cpu_default defines.
* pa-hpux.h (TARGET_DEFAULT): Add MASK_BIG_SWITCH to define.
* pa.h (TARGET_DEFAULT): Likewise.

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

20 years ago * gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't define for PA
danglin [Wed, 25 Feb 2004 18:25:08 +0000 (18:25 +0000)]
* gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't define for PA
HP-UX.

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

20 years ago * fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like
ebotcazou [Wed, 25 Feb 2004 18:15:52 +0000 (18:15 +0000)]
* fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like
comparisons with regard to signedness.

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

20 years ago * fr.po: Update.
jsm28 [Wed, 25 Feb 2004 17:26:04 +0000 (17:26 +0000)]
* fr.po: Update.

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

20 years ago* arm.c (thumb_legitimize_address): New function.
rearnsha [Wed, 25 Feb 2004 17:03:27 +0000 (17:03 +0000)]
* arm.c (thumb_legitimize_address): New function.
* arm-protos.h: Prototype it.
* arm.h (THUMB_LEGITIMIZE_ADDRESS): Define.
(LEGITIMIZE_ADDRESS): Use it.

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

20 years ago2004-02-25 Robert Dewar <dewar@gnat.com>
charlet [Wed, 25 Feb 2004 15:59:05 +0000 (15:59 +0000)]
2004-02-25  Robert Dewar  <dewar@gnat.com>

* 51osinte.ads, 52osinte.ads, 53osinte.ads, 54osinte.ads,
55osinte.ads, 56osinte.ads, 5aosinte.ads, 5bosinte.ads,
5cosinte.ads, 5fosinte.ads, 5gosinte.ads, 5hosinte.ads,
5iosinte.ads, 5losinte.ads, 5nosinte.ads, 5oosinte.ads,
5posinte.ads, 5sosinte.ads, 5tosinte.ads, 5vosinte.ads,
5wosinte.ads, 5zosinte.ads: Move instances of Unchecked_Conversion to
the defining instance of the type to avoid aliasing problems.
Fix copyright header.  Fix bad comments in package header.

* exp_util.adb, prj-part.adb, prj-part.adb: Minor reformatting

2004-02-25  Ed Schonberg  <schonberg@gnat.com>

* exp_ch2.adb (Param_Entity): Handle properly formals that have been
rewritten as references when aliased through an address clause.

* sem_ch4.adb (Try_Indirect_Call): Normalize actuals before checking
whether call can be interpreted as an indirect call to the result of a
parameterless function call returning an access subprogram.

2004-02-25  Arnaud Charlet  <charlet@act-europe.fr>

Code clean up:
* exp_ch7.adb (Make_Clean): Remove generation of calls to
Unlock[_Entries], since this is now done by Service_Entries directly.

* exp_ch9.adb (Build_Protected_Subprogram_Body): ditto.

* s-tpobop.ads, s-tpobop.adb (PO_Service_Entries): New nested procedure
Requeue_Call for better code readability. Change spec and update calls:
PO_Service_Entries now unlock the PO on exit.
(Protected_Entry_Call, Timed_Protected_Entry_Call): Update calls to
PO_Service_Entries.

* s-tposen.ads, s-tposen.adb (Service_Entry): Now unlock the PO on exit.

* s-taenca.adb, s-tasren.adb: Update calls to PO_Service_Entries.

2004-02-25  Sergey Rybin  <rybin@act-europe.fr>

* exp_ch9.adb (Build_Simple_Entry_Call): Prevent expanding the
protected subprogram call and analyzing the result of such expanding
in case when the called protected subprogram is eliminated.

* sem_elim.adb (Check_Eliminated): Skip blocks when comparing scope
names.

2004-02-25  Jerome Guitton  <guitton@act-europe.fr>

* Makefile.in: Clean ups.

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

20 years ago * reload1.c (reload): Only spill eliminable register with multiple
amylaar [Wed, 25 Feb 2004 12:42:26 +0000 (12:42 +0000)]
* reload1.c (reload): Only spill eliminable register with multiple
adjacent elimination alternatives if all alternatives fail.

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

20 years ago* arm.c (arm_legitimate_index_p): For QImode the range of an offset
rearnsha [Wed, 25 Feb 2004 12:30:13 +0000 (12:30 +0000)]
* arm.c (arm_legitimate_index_p): For QImode the range of an offset
is -4095...+4095 inclusive.

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

20 years ago * doc/install.texi (sparc-sun-solaris2* specific notes): Document
ebotcazou [Wed, 25 Feb 2004 10:42:05 +0000 (10:42 +0000)]
* doc/install.texi (sparc-sun-solaris2* specific notes): Document
the bootstrap failure with Sun CC 5.4 and 5.5.

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

20 years ago * cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
ian [Wed, 25 Feb 2004 04:51:39 +0000 (04:51 +0000)]
* cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
* cp-demangle.c (cplus_demangle_builtin_types): Change char and
short types to D_PRINT_DEFAULT.  Change other integer types to use
new D_PRINT_* values where appropriate.  Change float types to
D_PRINT_FLOAT.
(d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
values.
* testsuite/demangle-expected: Adjust two test cases.

* cp-demangle.c (d_print_function_type): Print a space before the
parenthesis around the function type in more cases.
* testsuite/demangle-expected: Adjust one test case.

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

20 years ago * cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
ian [Wed, 25 Feb 2004 01:45:49 +0000 (01:45 +0000)]
* cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
parentheses around a cast.
* testsuite/demangle-expected: Adjust two test cases to match new
output.

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

20 years ago * dyn-string.h: Update copyright date.
ian [Wed, 25 Feb 2004 01:42:20 +0000 (01:42 +0000)]
* dyn-string.h: Update copyright date.

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

20 years ago * cse.c (cse_change_cc_mode_insns): Stop at any instruction
kazu [Wed, 25 Feb 2004 00:54:30 +0000 (00:54 +0000)]
* cse.c (cse_change_cc_mode_insns): Stop at any instruction
which modifies NEWREG.
(cse_condition_code_reg): Update the mode of CC_REG in
CC_SRC_INSN on our own.

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

20 years ago * gcc.dg/i386-regparm.c: New.
matz [Wed, 25 Feb 2004 00:48:23 +0000 (00:48 +0000)]
* gcc.dg/i386-regparm.c: New.

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

20 years ago * config/i386/i386.c (ix86_comp_type_attributes): Check for
matz [Wed, 25 Feb 2004 00:46:01 +0000 (00:46 +0000)]
* config/i386/i386.c (ix86_comp_type_attributes): Check for
        regparm attributes.

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

20 years ago * config/i386/i386.c (ix86_comp_type_attributes): Check for
matz [Wed, 25 Feb 2004 00:45:43 +0000 (00:45 +0000)]
* config/i386/i386.c (ix86_comp_type_attributes): Check for
regparm attributes.

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

20 years agoDaily bump.
gccadmin [Wed, 25 Feb 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * toplev.c (dump_file_tbl): Rename from dump_file.
rth [Tue, 24 Feb 2004 23:40:03 +0000 (23:40 +0000)]
    * toplev.c (dump_file_tbl): Rename from dump_file.
        * bb-reorder.c, bt-load.c, cfgcleanup.c, cfglayout.c, cfgloopanal.c,
        cfgloopmanip.c, cfgrtl.c, config/arm/arm.c, config/frv/frv.c,
        config/i386/i386.c, config/ia64/ia64.c, config/mips/mips.c,
        config/sh/sh.c, cse.c, flow.c, ifcvt.c, loop-iv.c, loop-unroll.c,
        loop-unswitch.c, output.h, predict.c, profile.c, ra-build.c,
        ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, regrename.c, reload1.c,
        toplev.c, tracer.c, value-prof.c, var-tracking.c, web.c:
        s/rtl_dump_file/dump_file/g.

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

20 years ago2004-02-24 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 24 Feb 2004 22:59:03 +0000 (22:59 +0000)]
2004-02-24  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.md (spe_fix_truncsfsi2): Delete.
        (spe_fixuns_truncsfsi2): Delete.

        * config/rs6000/rs6000.md (fix_truncsfsi2): Delete.
        (fixuns_truncsfsi2): Delete.

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

20 years ago PR/14240
zlomek [Tue, 24 Feb 2004 21:45:20 +0000 (21:45 +0000)]
PR/14240
* rtlanal.c (replace_label): Fix replacing labels in constant pool.

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

20 years ago2004-02-24 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 24 Feb 2004 21:20:33 +0000 (21:20 +0000)]
2004-02-24  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/14252
* include/bits/postypes.h (class streamoff): Add operator++(),
operator++(int), operator--() and operator--(int).
* testsuite/27_io/fpos/14252.cc: New.

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

20 years ago * include/bits/locale_facets.tcc (num_get::_M_extract_int): Fix bounds
rsandifo [Tue, 24 Feb 2004 20:49:40 +0000 (20:49 +0000)]
* include/bits/locale_facets.tcc (num_get::_M_extract_int): Fix bounds
error in handling of hex constants.

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

20 years agoReverted patch to add the -mmacosx= feature. (Darwin only)
austern [Tue, 24 Feb 2004 20:09:16 +0000 (20:09 +0000)]
Reverted patch to add the -mmacosx= feature.  (Darwin only)

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

20 years ago * config/darwin.h (TARGET_HAS_F_SETLKW): Define.
geoffk [Tue, 24 Feb 2004 19:53:33 +0000 (19:53 +0000)]
* config/darwin.h (TARGET_HAS_F_SETLKW): Define.

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

20 years ago * tree.c (build_exception_variant): Use check_qualified_type.
jason [Tue, 24 Feb 2004 18:37:29 +0000 (18:37 +0000)]
    * tree.c (build_exception_variant): Use check_qualified_type.

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

20 years agoxfail
jason [Tue, 24 Feb 2004 18:31:38 +0000 (18:31 +0000)]
xfail

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

20 years ago PR c++/13944
jason [Tue, 24 Feb 2004 18:30:47 +0000 (18:30 +0000)]
    PR c++/13944
        * except.c (do_free_exception): Remove #if 0 wrapper.
        (build_throw): Use it if we elide a copy into the exception object.

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

20 years ago * tree.c (check_qualified_type): New fn.
jason [Tue, 24 Feb 2004 18:23:25 +0000 (18:23 +0000)]
    * tree.c (check_qualified_type): New fn.
        (get_qualified_type): Use it.  If type already has the desired
        quals, just return it.
        * tree.h: Declare it.
        * cp/tree.c (build_exception_variant): Use it.

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

20 years ago2003-02-24 Sanjiv Kumar Gupta <sanjivg@noida.hcltech.com>
vmakarov [Tue, 24 Feb 2004 17:28:33 +0000 (17:28 +0000)]
2003-02-24  Sanjiv Kumar Gupta  <sanjivg@noida.hcltech.com>

* target-def.h (TARGET_SCHED_INIT_GLOBAL,
TARGET_SCHED_FINISH_GLOBAL): New macros.

* target.h (md_init_global, md_finish_global): Function
declarations corresponding to new target macros.

* haifa-sched.c (sched_init, sched_finish): Allow target to
call the new schedular hooks.

* flow.c (recompute_reg_usage): Add PROP_DEATH_NOTES flag in
call to update_life_info.

* config/sh/sh.h (OVERRIDE_OPTIONS): Re-enable
flag_schedule_insns for SH4.

* config/sh/sh.c (sh_md_init_global, sh_md_finish_global,
find_set_regmode_weight, find_insn_regmode_weight,
find_regmode_weight), sh_md_init, sh_dfa_new_cycle,
sh_variable_issue, high_pressure, ready_reorder,
rank_for_reorder, swap_reorder, sh_reorder, sh_reorder2): New
functions used to throttle the insn movement in first
scheduling pass for SH.

* gcc/doc/tm.texi: Document TARGET_SCHED_INIT_GLOBAL and
TARGET_SCHED_FINISH_GLOBAL.

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

20 years agoImplement FR-V FDPIC ABI support for frv-uclinux and frv-linux.
aoliva [Tue, 24 Feb 2004 16:58:39 +0000 (16:58 +0000)]
Implement FR-V FDPIC ABI support for frv-uclinux and frv-linux.
2004-02-05  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/frv.c (frv_emit_movsi): Use GOT relocations for
symbols in sections named by the user.
2004-01-30  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/linux.h (TARGET_OS_CPP_BUILTINS): New.
2004-01-27  Alexandre Oliva  <aoliva@redhat.com>
* config.gcc (frv-*-*linux*): Handle like *-*-linux*.
* config/frv/t-linux (EXTRA_MULTILIB_PARTS): Remove, obviated by
the above.
2004-01-20  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/frv.md (symGOT2reg_hilo, symGOTOFF2reg_hilo): Add
one more pseudo to further improve code generation.
2004-01-19  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/frv.md (movdi_ldd): Introduce explicit indirection
inside UNSPEC.
2004-01-16  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/frv.c (frv_legitimate_address_p): Added
allow_double_reg_p argument.  Adjust all callers.  Use it to
decide whether to enable double-register indirect addressing.
(frv_funcdesc_alias_set): Remove.
(frv_expand_fdpic_call): Force non-SYMBOL_REF operand into
register.  Emit movdi_ldd.
(ldd_address_operand): New.
* config/frv/frv-protos.h (frv_legitimate_address_p): Adjust.
* config/frv/frv.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
(PREDICATE_CODES): Add ldd_address_operand.
* config/frv/frv.md (movdi_ldd): New.
(symGOT2reg_hilo, symGOTOFF2reg_hilo): Use separate pseudo for
intermediate computations if possible.
(symGOTOFF2reg_i): Fix harmless typo.
2003-12-18  Alexandre Oliva  <aoliva@redhat.com>
* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Cast
relocated p_vaddr to vaddr type.
* config/frv/frv-protos.h (frv_expand_fdpic_call): Return void.
* config/frv/frv.c (frv_get_funcdesc_alias_set): New.
(frv_expand_fdpic_call): Propagate incoming MEM's expr to funcdesc
MEM, or use a funcdesc alias set.  Use regular move instead of
ldd.
(dbl_memory_one_insn_operand): Recognize function descriptors by
type or by alias set, and don't split them.
* config/frv/frv.md (call, call_value): Never use call_internal
for fdpic.
(call_internal, call_value_internal): Never match for FDPIC.
(call_fdpicdi, call_fdpicsi, call_value_fdpicdi,
call_value_fdpicsi): Require FDPIC.
(ldd): Removed.
2003-12-17  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/frv.h (CRT_GET_RFIB_DATA): Define for __FRV_FDPIC__.
* unwind-dw2-fde-glibc.c: Don't include elf-fdpic.h any more.
(_Unwind_IteratePhdrCallback): Adjust type of load_base for FRV
FDPIC.  Compute data base address.
* config/frv/linux.h (SUBTARGET_DRIVER_SELF_SPECS): Enable -mfdpic
before the other self-specs are processed.
* config/frv/t-linux (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS):
Build with -fPIC.
2003-12-15  Alexandre Oliva  <aoliva@redhat.com>
* unwind-dw2-fde-glibc.c: Don't include bits/elf-fdpic.h if
inhibit_libc is defined.
2003-12-12  Alexandre Oliva  <aoliva@redhat.com>
* unwind-dw2-fde-glibc.c: Include bits/elf-fdpic.h for
__FRV_FDPIC__.
(__RELOC_POINTER): Define.
(_Unwind_IteratePhdrCallback): Use it.
* config/frv/frv.h (Twrite): Define.
(TRANSFER_FROM_TRAMPOLINE): Use it.
* config/frv/linux.h (INVOKE__main): Undefine.
(Twrite): Override.
2003-12-05  Richard Sandiford  <rsandifo@redhat.com>
* doc/invoke.texi (-mlong-calls, -mlinked-fp): Document FRV options.
(-mlibrary-pic): Emphasize that this option generates EABI code.
(-mcpu): Add fr550.
(-mpack): Remove.
2003-11-30  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/frv.c (int_2word_operand): Reject LABELs, SYMBOL_REFs
and CONSTs in FDPIC mode.
* gcc/config.gcc (with_cpu): Default to fr400 on frv-*-*linux*.
2003-11-29  Richard Sandiford  <rsandifo@redhat.com>
* config/frv/frv.c (move_source_operand): Don't accept symbolic
constants.
* config/frv/frv.md (*movhi_internal, *movsi_internal): Use an 'n'
rather than 'i' constraint for the 2-instruction alternative.
(*movsi_2word): New, incorporating existing int_2word_operand splitter.
2003-11-29  Richard Sandiford  <rsandifo@redhat.com>
* config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Q): Renamed from
EXTRA_CONSTRAINT_FOR_Y.
(EXTRA_CONSTRAINT): Remove handling of 'Y'.
* config/frv/frv.md (*movsi_internal): Remove 'Q' constraint.
(addsi3): Change 'Y' constraint to 'Q'.
2003-11-27  Richard Sandiford  <rsandifo@redhat.com>
* reload.c (CONST_POOL_OK_P): New macro.
(find_reloads): Use it to decide whether a constant can be forced
into memory.
* config/frv/frv.h (LEGITIMATE_PIC_OPERAND_P): Return true if the
constant satisfies got12_operand.
(frv_cannot_force_const_mem): Always return true for TARGET_FDPIC.
(frv_legitimate_address_p): Check for valid unspec offsets using
got12_operand rather than frv_legitimate_fdpic_operand_p.
(frv_legitimate_fdpic_operand_p): Delete.
(frv_emit_movsi): Abort if we try to use the FDPIC register during
or after reload.
(frv_legitimate_constant_p): Return LEGITIMATE_PIC_OPERAND_P if
TARGET_FDPIC.
* config/frv/frv.md (*movdf_double): Add alternatives for CONST_DOUBLE.
2003-11-19  Richard Sandiford  <rsandifo@redhat.com>
* config/frv/frv-protos.h (fdpic_operand, fdpic_got12_operand)
(frv_fdpic_fptr_operand): Don't declare here.
* config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Y): Call got12_operand
rather than fdpic_got12_operand.
(PREDICATE_CODES): Remove symbolic_operand entry.  Add entries for
got12_operand and const_unspec_operand.
* config/frv/frv.c (got12_operand): Renamed from fdpic_got12_operand.
(gpr_or_int12_operand, dbl_memory_one_insn_operand): Update calls.
(symbolic_operand): Remove.
(const_unspec_operand): New predicate.
* config/frv/frv.md (*movsi_got): Use got12_operand.
(*movsi_high_got, *movsi_lo_sum_got): Use const_unspec_operand.
2003-11-18  Richard Sandiford  <rsandifo@redhat.com>
* config/frv/frv-protos.h (frv_output_addr_const_extra): Remove.
* config/frv/frv.h (OUTPUT_ADDR_CONST_EXTRA): Remove definition.
* config/frv/frv.c (frv_unspec): New structure.
(frv_small_data_reloc_p, frv_const_unspec_p): New functions.
(frv_print_operand_memory_reference): Use frv_const_unspec_p to
validate CONST indices.  Use frv_output_const_unspec to print them.
(frv_print_operand): Update call to unspec_got_name.  Use
frv_output_const_unspec to print constant unspecs.
(frv_legitimate_fdpic_operand_p): Return true if frv_const_unspec_p.
Reject UNSPECs otherwise.
(unspec_got_name): Take the relocation number as argument, not an
rtx containing it.
(frv_output_addr_const_extra): Remove, replacing with...
(frv_output_const_unspec): ...this new function.
(frv_find_base_term): Use frv_const_unspec_p & frv_small_data_reloc_p.
(gpr_or_int12_operand): Use fdpic_got12_operand.
(dbl_memory_one_insn_operand): Likewise.
(fdpic_got12_operand): Use frv_const_unspec_p.
(frv_emit_movsi): Use frv_const_unspec_p to check for CONSTs that
are already legitimate.  Use frv_small_data_reloc_p when deciding
whether to use HIGH/LO_SUM for R_FRV_GOTOFF12 and R_FRV_GPREL12.
2003-11-18  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/t-linux (SHLIB_MAPFILES): Override so as to export...
* config/frv/libgcc-frv.ver: ... frv-specific symbols.  New file.
* config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local
label, for real this time.
* config/frv/frv.c (frv_local_funcdesc_p): Update to new
representation of visibility.
(fdpic_got12_operand, symbolic_operand): Mark unused arguments as
such.
2003-11-17  Richard Sandiford  <rsandifo@redhat.com>
* config/frv/frv.h (MASK_LINKED_FP, TARGET_LINKED_FP): New macros.
(TARGET_SWITCHES): Add -mlinked-fp and -mno-linked-fp.
* config/frv/frv.c (frv_override_options): Set MASK_LINKED_FP unless
it was explicitly disabled.
(frv_stack_info): There is no need to save the link register in every
frame unless TARGET_LINKED_FP is true.
(frv_frame_pointer_required): If !TARGET_LINKED_FP, only require a
frame pointer if the stack pointer might change value.
(frv_return_addr_rtx): Check and process "count" argument.
2003-11-14  Richard Sandiford  <rsandifo@redhat.com>
* config/frv/frv-protos.h (frv_legitimize_address): Remove.
(frv_find_base_term): Declare.
* config/frv/frv.h (LEGITIMIZE_ADDRESS): Do nothing.
(FIND_BASE_TERM): Define.
(PREDICATE_CODES): Remove pic_register_operand, pic_symbolic_operand,
small_data_register_operand, small_data_symbolic_operand.  Add
symbolic_operand.
* config/frv/frv.c (const_small_data_p, plus_small_data_p): Delete.
(frv_print_operand_memory_reference, output_move_single): Remove
special handling for unlegitimized sdata addresses.
(frv_legitimate_address_p): Don't allow sums of SDA_BASE_REG
and symbolic addresses.
(frv_legitimize_address, frv_legitimize_fdpic_address): Delete.
(frv_find_base_term): New function.
(int_2word_operand): Check specifically for symbolic address constants.
(pic_register_operand, pic_symbolic_operand): Delete.
(small_data_register_operand, small_data_symbolic_operand): Delete.
(dbl_memory_one_insn_operand): Don't call plus_small_data_p.
Allow UNSPEC_GOT constants if !TARGET_FDPIC.
(move_source_operand): Only accept CONSTs if they're a two-insn
symbolic constant.
(fdpic_got12_operand): Don't require TARGET_FDPIC.
(frv_emit_movsi): Legitimize sdata and -mlibrary-pic addresses
using gen_symGOTOFF2reg*.
(frv_ifcvt_rewrite_mem): Remove (plus gr16 ...) special cases.
(frv_rtx_costs): Give all MEM addresses a cost of 0.  Give MEMs
themselves a cost of 3 insns.
* config/mips/mips.md (*movsi_got): Allow for !TARGET_FDPIC too.
Change predicate to symbolic_operand.
(*movsi_high_got, *movsi_lo_sum_got): Likewise.
(*movsi_lda_sdata): Delete.
(*movsi_pic, movsi_high_pic, movsi_lo_sum_pic): Delete.
2003-11-05  Alexandre Oliva  <aoliva@redhat.com>
* config.gcc: Add t-slibgcc-elf-ver and support --with-cpu for
frv-*-*linux*.
* config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local
label.
* config/frv/frv.h (DRIVER_SELF_SPECS): Add blank before
-multilib-library-pic.
(LINK_SPEC): Add -z text for -mfdpic.
* config/frv/frvbegin.c (__ROFIXUP_LIST__): Don't define on FDPIC.
* config/frv/frvend.c (__ROFIXUP_END__): Likewise.
* config/frv/linux.h (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC):
Override.
(OPTION_DEFAULT_SPECS, HAS_INIT_SECTION, INIT_SECTION_ASM_OP,
FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION): Define.
* config/frv/t-linux (EXTRA_MULTILIB_PARTS): Use
crtstuff-generated files.
2003-10-31  Alexandre Oliva  <aoliva@redhat.com>
* config.gcc: Add frv-*-*linux*.
* config/frv/linux.h, config/frv/t-linux: New.
2003-10-06  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/frv.h (LINK_SPEC): Pass -melf32frvfd to the linker
when -mfdpic even if a linker script is explicitly listed.
2003-10-02  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/frv.c (frv_override_options): Clear asm_out
unaligned_op for SImode on FDPIC.
(frv_emit_movsi): Use compute_reloc_for_constant to compute the
argument passed to decl_readonly_section.
(frv_assemble_integer): Revert 2003-09-30's change, but make the
whole block run with FDPIC even with -fno-PIC.
2003-10-02  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/frv.c (frv_cannot_force_const_mem): Don't force
symbol or label plus offset to memory.
(frv_emit_movsi): Emit GPREL only if -mgprel-ro.  Emit 32-bit
GOTOFF and GPREL for LABEL_REF.
* config/frv/frv.h (DRIVER_SELF_SPECS): Add -mgprel-ro with
-mfdpic unless -mno-gprel-ro, -fpic or -fpie.
(MASK_GPREL_RO, TARGET_GPREL_RO): New.
(TARGET_SWITCHES): Added gprel-ro and no-gprel-ro.
* doc/invoke.texi: Document them.
2003-09-30  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/frv-protos.h (frv_gen_GPsym2reg): Declare.
(frv_splittable_got_operand): Removed.
* config/frv/frv.c (frv_cannot_force_const_mem): Reject HIGH and
LO_SUM.  Add comments.
(frv_override_options): Moved enabling of FDPIC to
DRIVER_SELF_SPECS.  Don't enable MASK_DWORD.
(frv_local_funcdesc_p): Remove unnecessary heck for flag_pie.
(frv_legitimize_fdpic_address): Don't duplicate logic in
frv_emit_movsi.
(frv_gen_GPsym2reg): New.
(unspec_got_name): Added gprel.
(frv_expand_fdpic_call): Add support for inlining PLTs.
(fdpic_fptr_operand): Renamed from frv_fdpic_fptr_operand.
(gpr_or_int12_operand): Added GPREL12.
(pic_symbolic_operand): Match even if !flag_pic for FDPIC.
(small_data_symbolic_operand): Fail if FDPIC.
(fdpic_splittable_got_operand): Removed.
(fdpic_got12_operand): Added GPREL12.
(frv_emit_movsi): Reorganize to avoid duplication.  Emit GPREL
when appropriate.  Fix sdata GOTOFF.
(frv_legitimate_constant_p): Require legitimate PIC operand for
FDPIC with pic, but only a legitimate fdpic operand for non-pic.
(frv_assemble_integer): Move FDPIC funcdesc handling out of
flag_pic case.
(frv_asm_out_constructor, frv_asm_out_destructor): Abort if
frv_assemble_integer fails.
* config/frv/frv.h (DRIVER_SELF_SPECS): New.
(SUBTARGET_DRIVER_SELF_SPECS): New.
(ASM_SPEC): Don't pass -mno-fdpic.
(LINK_SPEC): Pass -melf32frvfd for FDPIC.
(MASK_INLINE_PLT, TARGET_INLINE_PLT): New.
(TARGET_SWITCHES): Add -minline-plt, -mno-inline-plt and
-multilib-library-pic.
(PREDICATE_CODES): Added fdpic_operand, fdpic_fptr_operand,
condexec_si_media_operator, condexec_sf_add_operator and
condexec_sf_conv_operator.  Removed condexec_sf_binary_operator
and condexec_sf_unary_operator.
* config/frv/frv.md (R_FRV_GPREL12, R_FRV_GPRELHI, R_FRV_GPRELLO):
New.
(movsi_got, movsi_high_got, movsi_lo_sum_got): Move before
movsi_internal.  Give them internal names.  movsi_got has type
int.
(fdpic got splitters): Remove.
(symGPREL2reg, symGPREL2reg_hilo): New.
* config/frv/t-frv (MULTILIB_MATCHES): Don't map -fpic and -fPIC
to -mlibrary-pic.  Map -multilib-library-pic to it.
* doc/invoke.texi: -mfdpic, -minline-plt, -multilib-library-pic:
Document.
2003-09-28  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/frv.c (frv_function_symbol_referenced_p): Declare.
(TARGET_CANNOT_FORCE_CONST_MEM): Define to...
(frv_cannot_force_const_mem): New function.
(const_small_data_p, plus_small_data_p): Update comments on sdata
on FDPIC.
(frv_override_options): Set flag_pie for FDPIC too.
(frv_conditional_register_usage): Mark gr16 and gr17 as non-fixed,
call-saved registers on FDPIC.
(frv_stack_info): Don't preserve the PIC register on FDPIC, and
don't force LR to be preserved.
(frv_expand_prologue): Likewise.
(frv_asm_output_mi_thunk): Use 12-bit funcdesc gotoff for -fpic.
(frv_frame_pointer_required): Don't force it just because the
FDPIC register is used.
(frv_legitimate_address_p) <CONST>: Accept a legitimate FDPIC
operand only if !condexec_p.
(frv_legitimize_address): Return the FDPIC-legitimized address.
Don't match small data here on FDPIC.
(frv_legitimate_fdpic_operand_p): Don't accept unadorned function
symbols.  Use TRUE/FALSE instead of 1/0.
(frv_local_funcdesc_p): New.
(frv_legitimize_fdpic_address): Rewrite to use GOTOFF and 12-bit
immediates when possible.
(pic_symbolic_operand): Accept SYMBOL_REFs and CONSTs in FDPIC.
(dbl_memory_one_insn_operand): Accept addresses that add a REG and
an UNSPEC_GOT.
(frv_emit_movsi): Handle FDPIC before small data.  Use GOTOFF and
12-bit immediates when possible.
(frv_legitimate_constant_p): In FDPIC, reject SImode operands that
are not legitimate pic operands.
(frv_in_small_data_p): Re-enable for FDPIC.
* config/frv/frv.h (SDA_BASE_REG): Remove comment about FDPIC.
(FRV_GLOBAL_P): Removed.
* config/frv/frv.md: Add modes to CONSTs.
(movsi_got): New.
(movsi_lo_sum_got): Use separate matches instead of match_dup.
(movsi_high_pic, movsi_lo_sum_pic): Match on non-FDPIC only.
(fdpic splittable operations): Match on flag_pic != 1.
2003-09-22  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/frv.c (frv_asm_out_constructor,
frv_asm_out_destructor): Pass to frv_assemble_integer the size in
bytes, not bits.
2003-09-19  Alexandre Oliva  <aoliva@redhat.com>
* config/frv/frv.c (frv_assemble_integer): Reject complex
expressions referencing function SYMBOL_REFs.
* config/frv/frv.c (frv_function_symbol_referenced_p): New.
(move_source_operand): Reject CONSTs that reference function
SYMBOL_REFs on FDPIC.
(frv_emit_movsi): If we get such a CONST, break it up.
* config/frv/frv.h (CPP_SPEC): Define __FRV_FDPIC__ for -mfdpic.
(TRANSFER_FROM_TRAMPOLINE): Use different definitions for FDPIC.
* config/frv/frv.c (frv_print_operand) <I>: Recognize PLUS without
MEM.
(frv_assemble_integer): Don't use funcdesc for LABEL_REFs.
(frv_trampoline_size): Increase for FDPIC.
* config/frv/frv.h (TRAMPOLINE_ALIGNMENT): Bump to 64 for FDPIC.
(TRANSFER_FROM_TRAMPOLINE): Handle FDPIC trampolines.
* config/frv/frv.c (frv_legitimize_fdpic_address, frv_emit_movsi):
Disable use of GOTOFF for now.
(const_small_data_p, plus_small_data_p, frv_in_small_data_p):
Disable use of small data in FDPIC for now.
(frv_asm_output_mi_thunk): Implement for FDPIC.
* config/frv/frv.h (SDA_BASE_REG): Set to -1 with FDPIC.
* config/frv/frv.c (frv_asm_out_constructor): Use
frv_assemble_integer for FDPIC pointers.
(frv_asm_out_destructor): Likewise.
* config/frv/frv.md (ldd): Fix order of operands.  Use
address_operand for input.
2003-09-18  DJ Delorie  <dj@redhat.com>
* config/frv/frv.c (frv_legitimate_fdpic_operand_p): Remove UNSPEC_PIC.
(unspec_got_name): Correct typo.
(frv_emit_movsi): Pre-expand splittable GOTs.
(frv_expand_fdpic_call): Rename gen_lddi to gen_ldd.
* config/frv/frv.md (lddi): Fix syntax error, rename to ldd.
(symGOT2reg_hilo, symGOTOFF2reg_hilo): New.
* config/frv/t-frv: Add -mfdpic multilibs.
* config/frv/frv.h (ASM_SPEC): Pass -mfdpic/-mno-fdpic.
(TARGET_SWITCHES): Add -mno-fdpic, fix documentation.
* config/frv/frv.c (frv_override_options): -mfdpic assumes
flag_pic, default to 32-bit pics, require DWORD ops.
(frv_override_options): Add W and Z constraints.
(frv_expand_prologue): No pic prologue for -mfdpic.
(frv_asm_output_mi_thunk): Support -mfdpic (soon).
(frv_print_operand_memory_reference): Handle GOT constants.
(frv_legitimate_address_p): Allow GOT constants.
(frv_legitimize_address): Handle GOT addresses too.
(frv_legitimate_fdpic_operand_p): New.
(frv_legitimize_fdpic_address): New.
(unspec_got_name): New.
(frv_output_addr_const_extra): New.
(frv_expand_fdpic_call): New.
(frv_fdpic_fptr_operand): New.
(gpr_or_int12_operand): Handle GOT operands.
(int_2word_operand): Handle GOT operands.
(fdpic_operand): New.
(fdpic_splittable_got_operand): New.
(fdpic_got12_operand): New.
(frv_emit_movsi): Handle GOT operands.
(frv_assemble_integer): -mfdpic doesn't use rofixups.
(frv_print_operand): Support 'g' code for GOT operands.
* config/frv/frv-protos.h: Add prototypes as needed.
* config/frv/frv.md (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO,
R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI,
R_FRV_FUNCDESC_GOTLO, R_FRV_FUNCDESC_VALUE,
R_FRV_FUNCDESC_GOTOFF12, R_FRV_FUNCDESC_GOTOFFHI,
R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12, R_FRV_GOTOFFHI,
R_FRV_GOTOFFLO): New.
(movsi_high_got, movsi_lo_sum_got): New.
(*movsi_pic): Don't use this splitter for -mfdpic.
(addsi3): Allow GOT references also.
(call, call_value): Handle -mfdpic separately.
(call_fdpicdi, call_fdpicsi, lddi, call_value_fdpicdi,
call_value_fdpicsi): New.
(symGOT2reg, symGOT2reg_i, got splitters, symGOTOFF2reg,
symGOTOFF2reg_i): New.
* config/frv/frv.h (MASK_FDPIC): New.
(TARGET_FDPIC): New.
(TARGET_SWITCHES): Add -mfdpic.
(FDPIC_FPTR_REGNO): New.
(FDPIC_REGNO): New.
(OUR_FDPIC_REG): New.
(enum reg_class): Add FDPIC_REGS, FDPIC_FPTR_REGS, and
FDPIC_CALL_REGS.
(REG_CLASS_NAMES): Likewise.
(REG_CLASS_CONTENTS): Likewise.
(EXTRA_CONSTRAINT_FOR_Y): New, for 12-bit GOTs.
(EXTRA_CONSTRAINT): Add it here.
(FRV_GLOBAL_P): New.
(OUTPUT_ADDR_CONST_EXTRA): New.

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

20 years ago * Make-lang.in (sta.o-warn): Delete.
matz [Tue, 24 Feb 2004 16:07:29 +0000 (16:07 +0000)]
* Make-lang.in (sta.o-warn): Delete.
        * sta.c (ffesta_save_): Don't break aliasing rules.

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

20 years ago * config/sparc/sparc.h: Remove commented-out definitions of
kazu [Tue, 24 Feb 2004 15:50:46 +0000 (15:50 +0000)]
* config/sparc/sparc.h: Remove commented-out definitions of
TARGET_EDOM and GEN_ERRNO_RTX.

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

20 years ago * df.c, df.h, ra-build.c, ra-rewrite.c, ra.c, web.c: Replace
kazu [Tue, 24 Feb 2004 13:55:06 +0000 (13:55 +0000)]
* df.c, df.h, ra-build.c, ra-rewrite.c, ra.c, web.c: Replace
df_analyse with df_analyze.

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

20 years ago * gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not
amodra [Tue, 24 Feb 2004 10:34:22 +0000 (10:34 +0000)]
* gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not
beginning of block.

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

20 years ago2004-02-24 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 24 Feb 2004 09:37:52 +0000 (09:37 +0000)]
2004-02-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (money_put<>::_M_insert):
Prefer basic_string::append to operator+= and a temporary.

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

20 years agoFix typo.
wilson [Tue, 24 Feb 2004 07:36:08 +0000 (07:36 +0000)]
Fix typo.

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

20 years agoOut-of-date comments noticed while looking at PR 169.
wilson [Tue, 24 Feb 2004 07:35:42 +0000 (07:35 +0000)]
Out-of-date comments noticed while looking at PR 169.
* calls.c (preompute_arguments): Update comment.

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

20 years agoTestcase for PR 169.
wilson [Tue, 24 Feb 2004 07:34:30 +0000 (07:34 +0000)]
Testcase for PR 169.
* gcc.c-torture/execute/20040223-1.c: New.

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

20 years ago * cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
ian [Tue, 24 Feb 2004 06:42:26 +0000 (06:42 +0000)]
* cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.

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

20 years ago * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
ian [Tue, 24 Feb 2004 06:32:16 +0000 (06:32 +0000)]
* cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
push more than one of the same CV-qualifier on the top of the
stack.
(d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
move the CV-qualifiers to apply to the element type instead.
(d_print_array_type): When checking the modifiers, keep looking
past ones which have been printed already.
* testsuite/demangle-expected: Add three test cases.

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

20 years ago * cp-demangle.c (__cxa_demangle): Adjust last patch to handle
ian [Tue, 24 Feb 2004 04:02:22 +0000 (04:02 +0000)]
* cp-demangle.c (__cxa_demangle): Adjust last patch to handle
empty string correctly.

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

20 years ago * et-forest.c: Replace et_occurences with et_occurrences.
kazu [Tue, 24 Feb 2004 03:46:42 +0000 (03:46 +0000)]
* et-forest.c: Replace et_occurences with et_occurrences.

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

20 years ago * cfgloop.h, loop-iv.c, loop-unswitch.c: Replace iv_analyse
kazu [Tue, 24 Feb 2004 03:43:59 +0000 (03:43 +0000)]
* cfgloop.h, loop-iv.c, loop-unswitch.c: Replace iv_analyse
with iv_analyze.

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

20 years ago2004-02-23 Kelley Cook <kcook@gcc.gnu.org>
hjl [Tue, 24 Feb 2004 03:27:11 +0000 (03:27 +0000)]
2004-02-23  Kelley Cook  <kcook@gcc.gnu.org>

* config/i386/i386.c: Rename pni to sse3.
* config/i386/i386.h: Likewise.
        * config/i386/i386.md: Likewise.
* config/i386/pmmintrin.h: Likewise.
* doc/extend.texi: Likewise.
* doc/invoke.texi: Likewise.

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

20 years ago2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
ian [Tue, 24 Feb 2004 02:49:24 +0000 (02:49 +0000)]
2004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>

* cp-demangle.c (__cxa_demangle): It is not an error if status is
not NULL.  It is an error if the mangled name is the same as a
built-in type name.
(main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
than cplus_demangle_v3.

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

20 years ago * dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
ian [Tue, 24 Feb 2004 02:32:50 +0000 (02:32 +0000)]
* dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
the associated #define of RETURN_ON_ALLOCATION_FAILURE.

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

20 years ago * dyn-string.h: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
ian [Tue, 24 Feb 2004 02:32:30 +0000 (02:32 +0000)]
* dyn-string.h: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
the associated #defines.

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

20 years agoDaily bump.
gccadmin [Tue, 24 Feb 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

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

20 years agoRemove support for fwritable-strings-1.c.
kazu [Mon, 23 Feb 2004 23:39:48 +0000 (23:39 +0000)]
Remove support for fwritable-strings-1.c.

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

20 years agogcc/
kazu [Mon, 23 Feb 2004 21:43:18 +0000 (21:43 +0000)]
gcc/
Remove -fwritable-strings.
* c-common.c (fix_string_type): Don't check
flag_writable_strings.
(fix_string_type): Likewise.
* c-opts.c (set_std_c89): Don't initialize
flag_writable_strings.
(set_std_c99): Likewise.
* common.opt (fwritable-strings): Remove.
* flags.h: Remove the external declaration of
flag_writable_strings.
* opts.c (common_handle_option) <OPT_fwritable_strings>:
Remove.
* toplev.c (flag_writable_strings): Remove.
(f_options): Remove an entry for writable-strings.
* varasm.c (const_hash_1) <STRING_CST>: Don't check
flag_writable_strings.
(compare_constant) <STRING_CST>: Likewise.
(build_constant_desc): Likewise.
* config/darwin.c (machopic_select_section): Likewise.
* config/arm/arm.c (AOF_ASSEMBLER): Likewise.
* config/arm/pe.c (arm_pe_encode_section_info): Likewise.
* config/iq2000/iq2000.c (iq2000_select_section): Likewise.
* config/mips/mips.c (mips_select_section): Likewise.
(mips_encode_section_info): Likewise.
* config/pa/pa.c (pa_select_section): Likewise.
* config/pa/pa.h (TEXT_SPACE_P): Likewise.
* config/v850/v850.c (v850_select_section): Likewise.
* doc/invoke.texi (-fwritable-strings): Remove.
(-fno-const-strings): Don't mention -fwritable-strings.
* doc/trouble.texi: Don't mention -fwritable-strings.

gcc/cp/
* decl.c (cxx_init_decl_processing): Don't check
flag_writable_strings.

gcc/testsuite/
* gcc.dg/fwritable-strings-1.c: Remove.

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

20 years ago2004-02-22 Zack Weinberg <zack@codesourcery.com>
zack [Mon, 23 Feb 2004 20:53:55 +0000 (20:53 +0000)]
2004-02-22  Zack Weinberg <zack@codesourcery.com>
    Nathanael Nerode <neroden@twcny.rr.com>
    Alexandre Oliva <aoliva@redhat.com>

boehm-gc:
libjava/libltdl:
* config.sub, config.guess: Replace with forwarding scripts
which invoke the master copies in the top level.

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

20 years ago * doc/install.texi: Update for switch of boehm-gc to autoconf 2.57.
neroden [Mon, 23 Feb 2004 20:29:37 +0000 (20:29 +0000)]
* doc/install.texi: Update for switch of boehm-gc to autoconf 2.57.

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

20 years ago * acinclude.m4: Remove old no-executables workaround;
neroden [Mon, 23 Feb 2004 20:26:09 +0000 (20:26 +0000)]
* acinclude.m4: Remove old no-executables workaround;
add new no-executables workaround.
* aclocal.m4: Regenerate.
* configure.in: Change prereqs to autoconf 2.57.
* configure: Regenerate with autoconf 2.57.

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

20 years ago * config/darwin.h (SUBTARGET_OPTIONS): Add -mmacosx= option.
austern [Mon, 23 Feb 2004 19:49:23 +0000 (19:49 +0000)]
* config/darwin.h (SUBTARGET_OPTIONS): Add -mmacosx= option.
(macosx_version_min_required): Declare global variable.
* config/darwin-protos.h (darwin_parse_macosx_version_name): Declare.
* config/darwin.c (macosx_version_min_required): Define variable.
(darwin_macosx_vers_tbl): Define. Table mapping text strings of
OS versions to numerical codes.
(darwin_parse_macosx_version_name): Define.  Parse -mmacosx=,
set macosx_version_min_required appropriately.
* config/i386/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
Invoke darwin_parse_macosx_version_name.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Add
darwin_parse_macosx_version_name to Darwin option handling.
* doc/invoke.texi (-mmacosx=): Document.

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

20 years ago2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 23 Feb 2004 19:17:06 +0000 (19:17 +0000)]
2004-02-23  Benjamin Kosnik  <bkoz@redhat.com>

* libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler):
Only use fputs, not write.

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

20 years ago2004-02-23 Dale Johannesen <dalej@apple.com>
dalej [Mon, 23 Feb 2004 18:54:37 +0000 (18:54 +0000)]
2004-02-23  Dale Johannesen  <dalej@apple.com>

* config/rs6000.md (movsf_hardfloat): Add POWER form of nop.
(movdf_hardfloat64):  Ditto.
(movdf_softfloat64):  Ditto.

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

20 years agoconfig/rs6000/rs6000.c (function_arg): call to
fjahanian [Mon, 23 Feb 2004 18:40:46 +0000 (18:40 +0000)]
config/rs6000/rs6000.c (function_arg): call to
rs6000_mixed_function_arg for DFmode moved to allow
normal DFmode incoming register assignment.
OKed by David Edehlson.

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

20 years ago2004-02-23 Dale Johannesen <dalej@apple.com>
dalej [Mon, 23 Feb 2004 18:36:56 +0000 (18:36 +0000)]
2004-02-23  Dale Johannesen  <dalej@apple.com>

* config/rs6000.md (movsf_hardfloat): Accept CTR-to-CTR copy.
(movdf_hardfloat64):  Ditto.

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

20 years ago * convert.c, gcov-io.c, libgcov.c, sched-int.h, sibcall.c,
kazu [Mon, 23 Feb 2004 17:02:51 +0000 (17:02 +0000)]
* convert.c, gcov-io.c, libgcov.c, sched-int.h, sibcall.c,
config/rs6000/linux.h, config/rs6000/rs6000-c.c: Update
copyright.

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

20 years ago * configure.in: Use NCN_TARGET_NONCANONICAL and friends.
neroden [Mon, 23 Feb 2004 16:19:20 +0000 (16:19 +0000)]
* configure.in: Use NCN_TARGET_NONCANONICAL and friends.
* configure: Regenerate.
* Makefile.am: Use target_noncanonical variable from configure.
* Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.

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

20 years ago2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 23 Feb 2004 15:42:28 +0000 (15:42 +0000)]
2004-02-23  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/malloc_allocator.h: Add operators ==, !=.
* include/ext/new_allocator.h: Add operators ==, !=.
* include/ext/mt_allocator.h (__mt_alloc::tune): New.
(__mt_alloc::_S_get_options): New.
(__mt_alloc::_S_set_options): New.
(__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
(__mt_alloc::_S_no_of_bins): To _S_bin_size.
Move functions out of line, simplify, format.
* src/allocator.cc: Simplify explicit instantiations.
* include/bits/allocator.h: Tweak.

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

20 years ago2004-02-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 23 Feb 2004 15:41:43 +0000 (15:41 +0000)]
2004-02-20  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/malloc_allocator.h: Add operators ==, !=.
* include/ext/new_allocator.h: Add operators ==, !=.
* include/ext/mt_allocator.h (__mt_alloc::tune): New.
(__mt_alloc::_S_get_options): New.
(__mt_alloc::_S_set_options): New.
(__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
(__mt_alloc::_S_no_of_bins): To _S_bin_size.
Move functions out of line, simplify, format.
* src/allocator.cc: Simplify explicit instantiations.
* include/bits/allocator.h: Tweak.

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

20 years ago2004-02-23 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 23 Feb 2004 15:27:49 +0000 (15:27 +0000)]
2004-02-23  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/14156
        * gcc.dg/20040223-1.c: New test.

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

20 years ago PR c/14156
pinskia [Mon, 23 Feb 2004 15:22:04 +0000 (15:22 +0000)]
    PR c/14156
        * c-typeck.c (c_expand_return): Change check for VAR_DECL
        to use DECL_P instead.

        PR c++/14156
        * typeck.c (maybe_warn_about_returning_address_of_location):
        Change check for VAR_DECL to use DECL_P instead.

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

20 years ago * config/rs6000/linux.h (OS_MISSING_POWERPC64): Define.
pinskia [Mon, 23 Feb 2004 14:54:11 +0000 (14:54 +0000)]
* config/rs6000/linux.h (OS_MISSING_POWERPC64): Define.
* config/rs6000/linux64.h (OS_MISSING_POWERPC64): Define.

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

20 years ago PR c++/14106
lerdsuwa [Mon, 23 Feb 2004 14:12:56 +0000 (14:12 +0000)]
PR c++/14106
* g++.dg/ext/typeof9.C: New test.

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