]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
20 years agostl_algobase.h (lexicographical_compare): Fix concept check.
Paolo Carlini [Wed, 12 Jan 2005 19:53:13 +0000 (19:53 +0000)] 
stl_algobase.h (lexicographical_compare): Fix concept check.

2005-01-12  Paolo Carlini  <pcarlini@suse.de>

        * include/bits/stl_algobase.h (lexicographical_compare):
        Fix concept check.

[[Split portion of a mixed commit.]]

From-SVN: r93231.1

20 years agoDaily bump.
GCC Administrator [Wed, 12 Jan 2005 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r93210

20 years agoDaily bump.
GCC Administrator [Tue, 11 Jan 2005 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r93160

20 years agore PR other/18720 (collect2 uses wrong search order if -brtl specified)
David Edelsohn [Mon, 10 Jan 2005 15:25:23 +0000 (15:25 +0000)] 
re PR other/18720 (collect2 uses wrong search order if -brtl specified)

        PR target/18720
        Backport from mainline
        * collect2.c (main): Set aixrtl_flag for -brtl option.
        (resolve_lib_name): Search for .so file extension before .a
        if aixrtl_flag set.

From-SVN: r93141

20 years agoDaily bump.
GCC Administrator [Mon, 10 Jan 2005 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r93124

20 years agoDaily bump.
GCC Administrator [Sun, 9 Jan 2005 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r93096

20 years agore PR target/19012 (ICE on testsuite/gcc.c-torture/execute/930208-1.c with -fpack...
Jakub Jelinek [Sat, 8 Jan 2005 09:01:57 +0000 (10:01 +0100)] 
re PR target/19012 (ICE on testsuite/gcc.c-torture/execute/930208-1.c with -fpack-struct -Os)

PR rtl-optimization/19012
* config/i386/i386.md (addqi_1_slp): Set memory attribute.

From-SVN: r93079

20 years agoconfigure.ac (HAVE_AS_OFFSETABLE_LO10): Fix typo.
Eric Botcazou [Sat, 8 Jan 2005 01:20:19 +0000 (02:20 +0100)] 
configure.ac (HAVE_AS_OFFSETABLE_LO10): Fix typo.

* configure.ac (HAVE_AS_OFFSETABLE_LO10): Fix typo.
* configure: Regenerate.

From-SVN: r93076

20 years agoDaily bump.
GCC Administrator [Sat, 8 Jan 2005 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r93070

20 years agoc-common.c (handle_mode_attribute): For ENUMERAL_TYPE, also copy TYPE_MODE.
Jakub Jelinek [Fri, 7 Jan 2005 19:59:05 +0000 (20:59 +0100)] 
c-common.c (handle_mode_attribute): For ENUMERAL_TYPE, also copy TYPE_MODE.

* c-common.c (handle_mode_attribute): For ENUMERAL_TYPE, also copy
TYPE_MODE.

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

From-SVN: r93064

20 years agobackport: [multiple changes]
Laurent GUERBY [Fri, 7 Jan 2005 18:52:41 +0000 (18:52 +0000)] 
backport: [multiple changes]

2005-01-06  Laurent GUERBY <laurent@guerby.net>

Backport from mainline:

2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

* ada/acats/run_acats (LD_LIBRARY_PATH): Add previous LD_LIBRARY_PATH
to LD_LIBRARY_PATH.  Export LD_LIBRARY_PATH.

2004-04-24  Laurent GUERBY  <laurent@guerby.net>
            Ulrich Weigand  <uweigand@de.ibm.com>

* ada/acats/run_all.sh: Define $target variable.

2004-04-24  Laurent GUERBY <laurent@guerby.net>

* ada/acats/run_all.sh: Handle cd2a83ccd2a91c (target_bit)
and ad8011a (target_insn).
* ada/acats/support/macro.dfs: Likewise.
* ada/acats/support/impbit.adb: New file.

From-SVN: r93061

20 years agoMAINTAINERS: Update my email address.
Laurent GUERBY [Fri, 7 Jan 2005 18:50:14 +0000 (18:50 +0000)] 
MAINTAINERS: Update my email address.

2005-01-06  Laurent GUERBY <laurent@guerby.net>

* MAINTAINERS: Update my email address.

From-SVN: r93060

20 years agoDaily bump.
GCC Administrator [Fri, 7 Jan 2005 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r93016

20 years agore PR rtl-optimization/13299 (Unsafe treatment of extended givs)
Richard Sandiford [Thu, 6 Jan 2005 19:12:04 +0000 (19:12 +0000)] 
re PR rtl-optimization/13299 (Unsafe treatment of extended givs)

        PR rtl-opt/13299
        * loop.c (get_monotonic_increment, biased_biv_fits_mode_p,
        biv_fits_mode_p, extension_within_bounds_p): New functions.
        (check_ext_dependent_givs): Use them.

From-SVN: r93003

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 6 Jan 2005 19:12:04 +0000 (19:12 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r93002

20 years agore PR rtl-optimization/10692 ([m68k] miscompilation of perl with -O2 -fPIC)
Richard Henderson [Thu, 6 Jan 2005 04:10:57 +0000 (20:10 -0800)] 
re PR rtl-optimization/10692 ([m68k] miscompilation of perl with -O2 -fPIC)

        PR rtl-opt/10692
        * reload1.c (do_input_reload): Restrict the optimization deleteing
        a previous output reload to RELOAD_FOR_INPUT.

From-SVN: r92986

20 years agoDaily bump.
GCC Administrator [Thu, 6 Jan 2005 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92978

20 years agobackport: c-typeck.c (same_translation_unit_p): Fix pasto.
Jakub Jelinek [Wed, 5 Jan 2005 23:47:02 +0000 (00:47 +0100)] 
backport: c-typeck.c (same_translation_unit_p): Fix pasto.

Backport from mainline:
2004-03-22  Diego Novillo  <dnovillo@redhat.com>

* c-typeck.c (same_translation_unit_p): Fix pasto.

* gcc.c-torture/compile/20050105-1.c: New test.

From-SVN: r92977

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 5 Jan 2005 23:47:02 +0000 (23:47 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r92976

20 years agore PR libf2c/17636 ("truncation failed in endfile" error when closing a file appended to)
Eric Botcazou [Wed, 5 Jan 2005 06:53:52 +0000 (07:53 +0100)] 
re PR libf2c/17636 ("truncation failed in endfile" error when closing a file appended to)

PR libf2c/17636
* libI77/err.c (f__nowwriting): Call fseek if end-of-file.

From-SVN: r92924

20 years agoDaily bump.
GCC Administrator [Wed, 5 Jan 2005 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92912

20 years agoDaily bump.
GCC Administrator [Tue, 4 Jan 2005 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92873

20 years agoDaily bump.
GCC Administrator [Mon, 3 Jan 2005 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92817

20 years ago* gcc.dg/pr12092-1.c: Do not run on x86_64.
Andreas Jaeger [Sun, 2 Jan 2005 21:34:07 +0000 (22:34 +0100)] 
* gcc.dg/pr12092-1.c: Do not run on x86_64.

From-SVN: r92813

20 years agostl_algobase.h (mismatch): Correct concept check.
Chris Jefferson [Sun, 2 Jan 2005 17:50:37 +0000 (17:50 +0000)] 
stl_algobase.h (mismatch): Correct concept check.

2005-01-02  Chris Jefferson  <chris@bubblescope.net>

* include/bits/stl_algobase.h (mismatch): Correct concept check.

From-SVN: r92809

20 years agore PR rtl-optimization/12092 (ICE: Floating point exception)
Roger Sayle [Sun, 2 Jan 2005 16:46:45 +0000 (16:46 +0000)] 
re PR rtl-optimization/12092 (ICE: Floating point exception)

PR rtl-optimization/12092
* loop.c (emit_prefetch_instructions): Do nothing if PREFETCH_BLOCK
is zero.

* gcc.dg/pr12092-1.c: New test case.

Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
Co-Authored-By: James E Wilson <wilson@specifixinc.com>
From-SVN: r92807

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 2 Jan 2005 16:46:45 +0000 (16:46 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r92806

20 years agoDaily bump.
GCC Administrator [Sun, 2 Jan 2005 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92795

20 years ago13189.cc: Fix, first include testsuite_hooks.h, to know whether including ext/enc_fil...
Paolo Carlini [Sat, 1 Jan 2005 23:18:47 +0000 (23:18 +0000)] 
13189.cc: Fix, first include testsuite_hooks.h, to know whether including ext/enc_filebuf.h.

2005-01-01  Paolo Carlini  <pcarlini@suse.de>

        * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.

From-SVN: r92793

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sat, 1 Jan 2005 23:18:47 +0000 (23:18 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r92792

20 years agoDaily bump.
GCC Administrator [Sat, 1 Jan 2005 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92777

20 years agoDaily bump.
GCC Administrator [Fri, 31 Dec 2004 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92749

20 years agore PR middle-end/19175 (RTL checking failures on i686-pc-linux-gnu)
Roger Sayle [Thu, 30 Dec 2004 20:23:28 +0000 (20:23 +0000)] 
re PR middle-end/19175 (RTL checking failures on i686-pc-linux-gnu)

PR middle-end/19175
* loop-unroll.c (expand_bct): Pass the code_label to the function
do_compare_rtx_and_jump, not the label ref.  Clean-up style issues.

From-SVN: r92740

20 years agonews.texi: Change GCC 3.5 to GCC 4.0
Toon Moene [Thu, 30 Dec 2004 19:36:02 +0000 (20:36 +0100)] 
news.texi: Change GCC 3.5 to GCC 4.0

2004-12-30  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Change GCC 3.5 to GCC 4.0

From-SVN: r92739

20 years agovector.tcc (erase(iterator, iterator), [...]): Qualify all calls to std::copy().
Jonathan Wakely [Thu, 30 Dec 2004 02:49:59 +0000 (02:49 +0000)] 
vector.tcc (erase(iterator, iterator), [...]): Qualify all calls to std::copy().

2004-12-29  Jonathan Wakely  <redi@gcc.gnu.org>

* include/bits/vector.tcc (erase(iterator, iterator),
operator=, _M_assign_aux(_ForwardIterator, _ForwardIterator,
forward_iterator_tag)): Qualify all calls to std::copy().

From-SVN: r92725

20 years agoDaily bump.
GCC Administrator [Thu, 30 Dec 2004 00:16:17 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92716

20 years agoDaily bump.
GCC Administrator [Wed, 29 Dec 2004 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92688

20 years agoPR c++/18384, c++/18327
Jakub Jelinek [Tue, 28 Dec 2004 20:57:56 +0000 (21:57 +0100)] 
PR c++/18384, c++/18327

PR c++/18384, c++/18327
* decl.c (reshape_init_array): Use UHWI type for max_index_cst
and index.  Convert max_index to size_type_node if it isn't
host_integerp (, 1).

* g++.dg/init/array18.C: New test.

From-SVN: r92682

20 years agovax.c (vax_address_cost, [...]): Correct casts.
John David Anglin [Tue, 28 Dec 2004 05:29:25 +0000 (05:29 +0000)] 
vax.c (vax_address_cost, [...]): Correct casts.

* vax.c (vax_address_cost, vax_rtx_cost): Correct casts.
(vax_rtx_cost): Handle small offsets for both PLUS and MINUS.

From-SVN: r92663

20 years agovax.h (CASE_DROPS_THROUGH): Don't define.
Steven Bosscher [Tue, 28 Dec 2004 05:25:59 +0000 (05:25 +0000)] 
vax.h (CASE_DROPS_THROUGH): Don't define.

rtl-optimization/12863
        * config/vax/vax.h (CASE_DROPS_THROUGH): Don't define.
        * config/vax/vax.md (casesi): Emit a test-and-branch to make sure
        that the case is in range, to make sure the casesi insn is always
        in range and never falls through.
        (casesi1): Add comment to explain why casesi never falls through.
        Remove the unnamed special case casesi pattern.

Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
From-SVN: r92661

20 years agore PR c++/14607 (Duplicate symbol "vtable for node" in files div.o and env.o)
John David Anglin [Tue, 28 Dec 2004 04:51:33 +0000 (04:51 +0000)] 
re PR c++/14607 (Duplicate symbol "vtable for node" in files div.o and env.o)

PR c++/14607.
Backported from main.
* configure.ac (HAVE_GAS_NSUBSPA_COMDAT): Add check for .NSUBSPA
COMDAT support.
* configure. config.in: Rebuilt.
* config/pa/pa-protos.h (som_text_section_asm_op,
som_readonly_data_section, som_one_only_readonly_data_section,
som_one_only_data_section, forget_section): Declare.
* pa.c (override_options): Set init_machine_status to
pa_init_machine_status.
(pa_init_machine_status): New function.
(pa_output_function_epilogue): Call forget_section if TARGET_SOM and
TARGET_GAS.
(pa_asm_output_mi_thunk): Likewise.
(som_text_section_asm_op): New function.
(pa_select_section): Call som_one_only_readonly_data_section and
som_one_only_data_section when appropriate.
* pa.h (struct machine_function): Define.
(EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS,
SOM_READONLY_DATA_SECTION_FUNCTION,
SOM_ONE_ONLY_READONLY_DATA_SECTION_FUNCTION
SOM_ONE_ONLY_DATA_SECTION_FUNCTION, FORGET_SECTION_FUNCTION): New
macros.
* som.h (ASM_OUTPUT_FUNCTION_PREFIX): Delete.
(TEXT_SECTION_ASM_OP): Call som_text_section_asm_op.
(READONLY_DATA_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
(READONLY_DATA_SECTION): Call som_readonly_data_section when not PIC.
(SUPPORTS_SOM_COMDAT): New define.
(SUPPORTS_ONE_ONLY): True if SUPPORTS_WEAK or SUPPORTS_SOM_COMDAT.
(MAKE_DECL_ONE_ONLY): Rework common support.

From-SVN: r92660

20 years agoDaily bump.
GCC Administrator [Tue, 28 Dec 2004 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92653

20 years agore PR target/17643 (ICE in propagate_one_insn, at flow.c:1582)
John David Anglin [Mon, 27 Dec 2004 00:20:56 +0000 (00:20 +0000)] 
re PR target/17643 (ICE in propagate_one_insn, at flow.c:1582)

PR target/17643
* pa.c (pa_function_ok_for_sibcall): Sibcalls are not ok when
generating code for the portable runtime.

From-SVN: r92628

20 years agoDaily bump.
GCC Administrator [Mon, 27 Dec 2004 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92624

20 years agoDaily bump.
GCC Administrator [Sun, 26 Dec 2004 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92610

20 years agoDaily bump.
GCC Administrator [Sat, 25 Dec 2004 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92598

20 years agore PR target/19147 (invalid rlwinm patterns)
Alan Modra [Fri, 24 Dec 2004 23:14:37 +0000 (23:14 +0000)] 
re PR target/19147 (invalid rlwinm patterns)

PR target/19147
* config/rs6000/rs6000.md (andsi3_internal7, andsi3_internal8): Delete.

From-SVN: r92595

20 years agoDaily bump.
GCC Administrator [Fri, 24 Dec 2004 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92577

20 years agore PR c/18282 (PR c/17384 patch causes regression from 3.4.2)
Richard Henderson [Thu, 23 Dec 2004 23:50:46 +0000 (15:50 -0800)] 
re PR c/18282 (PR c/17384 patch causes regression from 3.4.2)

        PR c/18282
        * c-decl.c (finish_enum): Retain precision acquired from an attribute.

From-SVN: r92576

20 years agoMinimal fixes for -fno-exceptions.
Paolo Carlini [Thu, 23 Dec 2004 21:53:36 +0000 (21:53 +0000)] 
Minimal fixes for -fno-exceptions.

2004-12-23  Paolo Carlini  <pcarlini@suse.de>

Minimal fixes for -fno-exceptions.
* testsuite/testsuite_abi.cc (get_symbol, examine_symbol,
create_symbols): Use __throw_exception_again, instead of
plain throw.
* testsuite/testsuite_hooks.cc (verify_demangle,
run_tests_wrapped_locale, run_tests_wrapped_env): Likewise.
(try_named_locale): Wrap the whole catch in __EXCEPTIONS.

From-SVN: r92570

20 years agore PR target/16819 (ICE with empty struct as arg)
Alexandre Oliva [Thu, 23 Dec 2004 21:39:03 +0000 (21:39 +0000)] 
re PR target/16819 (ICE with empty struct as arg)

gcc/ChangeLog:
PR target/16819
* calls.c (load_register_parameters): Don't call use_regs when
nregs is zero.
gcc/testsuite/ChangeLog:
PR target/16819
* gcc.dg/empty2.c: New.

From-SVN: r92568

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 23 Dec 2004 21:39:03 +0000 (21:39 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r92567

20 years agore PR c++/18962 (specialization of template class with inner template members and...
Alexandre Oliva [Thu, 23 Dec 2004 20:06:11 +0000 (20:06 +0000)] 
re PR c++/18962 (specialization of template class with inner template members and parameter)

gcc/cp/ChangeLog:
PR c++/18962
* pt.c (check_explicit_specialization): Use the argument list from
the definition in a template function specialization definition.
gcc/testsuite/ChangeLog:
* g++.dg/template/spec19.C: New.

From-SVN: r92564

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 23 Dec 2004 20:06:11 +0000 (20:06 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r92563

20 years agore PR c++/18757 (ICE (on invalid) in get_innermost_template_args)
Alexandre Oliva [Thu, 23 Dec 2004 16:25:50 +0000 (16:25 +0000)] 
re PR c++/18757 (ICE (on invalid) in get_innermost_template_args)

gcc/cp/ChangeLog:
PR c++/18757
* parser.c (cp_parser_template_id): Don't create a CPP_TEMPLATE_ID
if parsing failed.
gcc/testsuite/ChangeLog:
* g++.dg/parse/typename5.C: Adjust for new error.
* g++.dg/parse/typename7.C: New.

From-SVN: r92554

20 years agore PR target/19102 (-march=pentium3 breaks linux kernel compiles w/ gcc-3_4-branch...
Richard Henderson [Thu, 23 Dec 2004 01:31:17 +0000 (17:31 -0800)] 
re PR target/19102 (-march=pentium3 breaks linux kernel compiles w/ gcc-3_4-branch as of 2004/12/20)

        PR target/19102
        * config/i386/i386.c (x86_inter_unit_moves): Disable.
        (ix86_hard_regno_mode_ok): Disallow SSE2 and MMX scalar modes
        in SSE registers when only SSE1 enabled.

From-SVN: r92526

20 years agoDaily bump.
GCC Administrator [Thu, 23 Dec 2004 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92521

20 years agoDaily bump.
GCC Administrator [Wed, 22 Dec 2004 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92476

20 years agobackport: freebsd-spec.h: Use KSE pthread lib for -pthread.
David O'Brien [Tue, 21 Dec 2004 18:00:24 +0000 (18:00 +0000)] 
backport: freebsd-spec.h: Use KSE pthread lib for -pthread.

2004-12-21  David O'Brien  <obrien@FreeBSD.org>
Backport from mainline:
* config/freebsd-spec.h:  Use KSE pthread lib for -pthread.

From-SVN: r92465

20 years agoDaily bump.
GCC Administrator [Tue, 21 Dec 2004 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92441

20 years agore PR libobjc/12035 (Patch for libobjc/gc.c that fixes compilation error of Objective...
Andrew Pinski [Mon, 20 Dec 2004 22:34:18 +0000 (22:34 +0000)] 
re PR libobjc/12035 (Patch for libobjc/gc.c that fixes compilation error of Objective-C with garbage collector enabled)

2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>

        PR libobjc/12035
        * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
        they are not used.
        Include limits.h and stdlib.h.
        Define BITS_PER_WORD.

From-SVN: r92438

20 years agore PR other/19093 (g++.dg/opt/max1.C fails on ia64 and x86_64)
Andrew Pinski [Mon, 20 Dec 2004 21:09:37 +0000 (21:09 +0000)] 
re PR other/19093 (g++.dg/opt/max1.C fails on ia64 and x86_64)

2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>

PR other/19093
* g++.dg/opt/max1.C: Fix for 64bit targets.

From-SVN: r92432

20 years agoi386.c (ix86_hard_regno_mode_ok): Always accept all SSE, MMX, 3DNOW modes in SSE...
Richard Henderson [Mon, 20 Dec 2004 05:37:40 +0000 (21:37 -0800)] 
i386.c (ix86_hard_regno_mode_ok): Always accept all SSE, MMX, 3DNOW modes in SSE registers...

        * config/i386/i386.c (ix86_hard_regno_mode_ok): Always accept all SSE,
        MMX, 3DNOW modes in SSE registers; always accept all MMX, 3DNOW modes
        in MMX registers.
        * config/i386/i386.h (VALID_SSE2_REG_MODE): Don't include
        VALID_MMX_REG_MODE.
        * config/i386/i386.md (movv4sf_internal, movv4si_internal,
        movv2di_internal, movv2si_internal, movv4hi_internal,
        movv2sf_internal, movv2df_internal, movv8hi_internal,
        movv16qi_internal, movti_internal): Add leading '*' to name.
        (movv2di_internal, movv2df_internal, movv8hi_internal,
        movv16qi_internal, movv2df, movv8hi, movv16qi, movv2di,
        pushv2di, pushv8hi, pushv16qi): Enable for SSE1.
        (movv2si_internal, movv4hi_internal): Add SSE alternatives.
        (movv8qi_internal, movv2sf_internal): Likewise.
        (movtf): Simplify conditional.
        (movv2sf, pushv2sf): Enable for MMX.

From-SVN: r92410

20 years agoDaily bump.
GCC Administrator [Mon, 20 Dec 2004 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92397

20 years agore PR middle-end/19068 ([3.3 only] Wrong code for MIN_EXPR and MAX_EXPR)
Roger Sayle [Sun, 19 Dec 2004 20:01:36 +0000 (20:01 +0000)] 
re PR middle-end/19068 ([3.3 only] Wrong code for MIN_EXPR and MAX_EXPR)

PR middle-end/19068
* expr.c (expand_expr_real_1) <MAX_EXPR>: Ensure that target, op0
and op1 are all registers (or constants) before expanding the RTL
comparison sequence [to avoid reg_overlap_mentioned (target, op1)].

* g++.dg/opt/max1.C: New test case.

From-SVN: r92386

20 years agoDaily bump.
GCC Administrator [Sun, 19 Dec 2004 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92366

20 years agore PR rtl-optimization/16968 (loop optimizer miscompilation)
Eric Botcazou [Sat, 18 Dec 2004 07:58:12 +0000 (07:58 +0000)] 
re PR rtl-optimization/16968 (loop optimizer miscompilation)

PR rtl-optimization/16968
* loop.c (scan_loop): Stop scanning the loop for movable
insns as soon as an optimization barrier is encountered.

From-SVN: r92350

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sat, 18 Dec 2004 07:58:12 +0000 (07:58 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r92349

20 years agoDaily bump.
GCC Administrator [Sat, 18 Dec 2004 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92341

20 years agore PR c++/18975 (Copying objects with mutable non-static data members)
Nathan Sidwell [Fri, 17 Dec 2004 16:19:23 +0000 (16:19 +0000)] 
re PR c++/18975 (Copying objects with mutable non-static data members)

cp:
PR c++/18975
* method.c (do_build_copy_constructor): Refactor. Don't const
qualify a mutable field.
(do_build_assign_ref): Likewise.
testsuite:
PR c++/18975
* g++.dg/other/synth1.C: New.

From-SVN: r92321

20 years ago20041213-1.c: Move...
Jakub Jelinek [Fri, 17 Dec 2004 16:11:09 +0000 (17:11 +0100)] 
20041213-1.c: Move...

* gcc.c-torture/execute/20041213-1.c: Move...
* gcc.c-torture/execute/ieee/20041213-1.c: ...to here.

From-SVN: r92320

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 17 Dec 2004 16:11:09 +0000 (16:11 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r92319

20 years agoDaily bump.
GCC Administrator [Fri, 17 Dec 2004 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92288

20 years agore PR other/18508 ("basename: too few arguments" when building without bootstrap)
H.J. Lu [Thu, 16 Dec 2004 19:16:22 +0000 (19:16 +0000)] 
re PR other/18508 ("basename: too few arguments" when building without bootstrap)

2004-12-16  H.J. Lu  <hongjiu.lu@intel.com>

PR other/18508
* config/alpha/t-osf4 (SHLIB_LINK): Use `.backup' as the suffix
to back up the existing shared library.
* config/arm/t-netbsd (SHLIB_LINK): Likewise.
* config/mips/t-iris5-6 (SHLIB_LINK): Likewise.
* config/pa/t-hpux-shlib (SHLIB_LINK): Likewise.
* config/sh/t-linux (SHLIB_LINK): Likewise.
* config/t-libunwind-elf (SHLIBUNWIND_LINK): Likewise.
* config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
* config/t-slibgcc-elf-ver (SHLIB_LINK): Likewise.
* config/t-slibgcc-sld (SHLIB_LINK): Likewise.

From-SVN: r92277

20 years agore PR middle-end/18493 (gcc doesn't like switch blocks without case/default labels)
Roger Sayle [Thu, 16 Dec 2004 14:42:49 +0000 (14:42 +0000)] 
re PR middle-end/18493 (gcc doesn't like switch blocks without case/default labels)

PR middle-end/18493
* c-typeck.c (c_finish_case): Rechain statements if we didn't
encounter any case labels or a default.

* gcc.dg/switch-4.c: New test case.

From-SVN: r92264

20 years agore PR middle-end/18882 (wrong results with complex long double)
Eric Botcazou [Thu, 16 Dec 2004 10:23:32 +0000 (10:23 +0000)] 
re PR middle-end/18882 (wrong results with complex long double)

PR middle-end/18882
* function.c (assign_stack_local_1): Use BITS_PER_UNIT alignment
when passed -2 as 'align'.
(put_var_into_stack): Use 'bool' as the type for the three local
predicates.  Adjust calls to put_reg_into_stack.
When passed a CONCAT, instruct put_reg_into_stack to use
a consecutive stack slot for the second part.
(put_reg_into_stack): Remove 'promoted_mode' parameter, add
'consecutive_p' parameter.  Turn the three predicates into 'bool'
parameters.  Retrieve the register mode from 'reg'.
When consecutive_p is true, instruct assign_stack_local_1 to use
BITS_PER_UNIT alignment.
(put_addressof_into_stack): Use 'bool' as the type for the two
local predicates. Adjust call to put_reg_into_stack.

From-SVN: r92256

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 16 Dec 2004 10:23:32 +0000 (10:23 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r92255

20 years agore PR middle-end/18590 (ICE in add_insn_before, at emit-rtl.c:3599)
Eric Botcazou [Thu, 16 Dec 2004 10:03:02 +0000 (11:03 +0100)] 
re PR middle-end/18590 (ICE in add_insn_before, at emit-rtl.c:3599)

PR middle-end/18590
* function.c (fixup_var_refs_insns_with_hash): Do not invoke
fixup_var_refs_insn on insns marked as deleted.

From-SVN: r92253

20 years agore PR target/19028 (ICE in libjava)
Richard Henderson [Thu, 16 Dec 2004 09:48:32 +0000 (01:48 -0800)] 
re PR target/19028 (ICE in libjava)

        PR target/19028
        * config/i386/i386.md (sse compare splitter): Test for SF and DFmode
        explicitly instead of using VALID_SSE_REG_MODE.

From-SVN: r92252

20 years agore PR target/19005 (Error: bad register name `%sil')
Richard Henderson [Thu, 16 Dec 2004 01:51:22 +0000 (17:51 -0800)] 
re PR target/19005 (Error: bad register name `%sil')

        PR target/19005
        * config/i386/i386.md (swaphi_1): Swap with swaphi_2, allow with
        optimize_size.
        (swapqi_1): Rename from swapqi.  Enable only for no partial reg
        stall and optimize_size.
        (swapqi_2): New.
        (swaphi_1, swaphi_2, swapqi_1): Add athlon_decode.
        (swapsi, swaphi_1, swaphi_2, swapqi_1, swapdi): Remove modrm override.

From-SVN: r92241

20 years agoDaily bump.
GCC Administrator [Thu, 16 Dec 2004 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92235

20 years agore PR target/18153 (-static-libgcc links in libunwind.so.7)
H.J. Lu [Thu, 16 Dec 2004 00:15:03 +0000 (00:15 +0000)] 
re PR target/18153 (-static-libgcc links in libunwind.so.7)

2004-12-15  H.J. Lu  <hongjiu.lu@intel.com>

PR target/18153
* configure.ac: Define HAVE_LD_STATIC_DYNAMIC if linker supports
-Bstatic/-Bdynamic option.
* config.in: Regenerated.
* configure: Likewise.

* gcc.c (init_spec): Pass -Bstatic/-Bdynamic to ld for static
-lunwind if possible.

From-SVN: r92234

20 years agore PR target/19010 (sse and mmx parameter passing broken)
Richard Henderson [Wed, 15 Dec 2004 20:03:23 +0000 (12:03 -0800)] 
re PR target/19010 (sse and mmx parameter passing broken)

        PR target/19010
        * config/i386/i386.c (gen_reg_or_parallel): New.
        (function_arg): Use it.
        (ix86_hard_regno_mode_ok): Test SSE1 and SSE2 separately,
        MMX and 3DNOW separately.
        (ix86_rtx_costs): Simplify FLOAT_EXTEND case.
        * config/i386/i386.h (VALID_SSE2_REG_MODE): Move SSE2 cases from ...
        (VALID_SSE_REG_MODE): ... here.
        * config/i386/i386.md (movv4sf_internal): Validate one MEM.
        (movv4si_internal): Likewise.
        (movv2di_internal): Likewise.  Enable for SSE2 only.
        (movv2di): Enable for SSE2 only.
        (pushv4si): Enable for SSE1.

From-SVN: r92215

20 years agore PR c++/17972 (const/pure functions result in bad asm)
Eric Botcazou [Wed, 15 Dec 2004 19:17:57 +0000 (19:17 +0000)] 
re PR c++/17972 (const/pure functions result in bad asm)

PR c++/17972
* tree-inline.c (expand_call_inline): Set TREE_SIDE_EFFECTS
on the STMT_EXPR wrapping up the inlined body.

From-SVN: r92213

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 15 Dec 2004 19:17:57 +0000 (19:17 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r92212

20 years agore PR preprocessor/15167 (Internal compiler error with "#pragma once")
Eric Botcazou [Wed, 15 Dec 2004 13:41:28 +0000 (14:41 +0100)] 
re PR preprocessor/15167 (Internal compiler error with "#pragma once")

PR preprocessor/15167
* cppfiles.c (destroy_cpp_file): New function.
(should_stack_file): Make a new file if the
compared file is still stacked.

From-SVN: r92198

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 15 Dec 2004 13:41:28 +0000 (13:41 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r92197

20 years agoAdd missing entry.
Eric Botcazou [Wed, 15 Dec 2004 13:35:11 +0000 (13:35 +0000)] 
Add missing entry.

From-SVN: r92195

20 years agore PR other/18665 (-ftrapv borks up simple integer arithmetic)
Eric Botcazou [Wed, 15 Dec 2004 12:34:40 +0000 (13:34 +0100)] 
re PR other/18665 (-ftrapv borks up simple integer arithmetic)

PR other/18665
* libgcc-std.ver (GCC_3.4.4): Inherit from GCC_3.4.2.
Export __absvti2, __addvti3, __mulvti3, __negvti2 and __subvti3.
* libgcc-darwin.ver (GCC_3.4.4): Inherit from GCC_3.4.
Export __absvti2, __addvti3, __mulvti3, __negvti2 and __subvti3.
* libgcc2.c (__addvsi3): Rename to __addvSI3.
New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
(__addvdi3): Rename to __addvDI3.
(__subvsi3): Rename to __subvSI3.  Use word type for the result.
New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
(__subvdi3): Rename to __subvDI3.
(_mulvsi3): Rename to _mulvSI3.
New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
(_mulvdi3): Rename to _mulvDI3.
(__negvsi2): Rename to __negvSI2.
New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
(__negvdi2): Rename to __negvDI2.
(__absvsi2): Rename to __absvSI2.
New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
(__absvdi2): Rename to __absvDI2.
* libgcc2.h (64-bit targets): Define COMPAT_SIMODE_TRAPPING_ARITHMETIC.
(__absvSI2, __addvSI3, __subvSI3, __mulvSI3, __negvSI2, __absvDI2,
__addvDI3, __subvDI3, __mulvDI3, __negvDI2): Define to the appropriate
symbol and declare.
(__absvsi2, __addvsi3, __subvsi3, __mulvsi3, __negvsi2): Declare if
COMPAT_SIMODE_TRAPPING_ARITHMETIC.

From-SVN: r92189

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 15 Dec 2004 12:34:40 +0000 (12:34 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r92188

20 years agoDaily bump.
GCC Administrator [Wed, 15 Dec 2004 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92168

20 years agoinvoke.texi (IA-64 options): Add existing options that weren't already listed.
Steve Ellcey [Tue, 14 Dec 2004 21:48:34 +0000 (21:48 +0000)] 
invoke.texi (IA-64 options): Add existing options that weren't already listed.

* doc/invoke.texi (IA-64 options): Add existing options that
weren't already listed.

From-SVN: r92161

20 years agore PR middle-end/18951 (Invalid code generated by expand_errno_check)
Jakub Jelinek [Tue, 14 Dec 2004 18:12:32 +0000 (19:12 +0100)] 
re PR middle-end/18951 (Invalid code generated by expand_errno_check)

PR middle-end/18951
* builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2): Avoid
using arguments passed to save_expr after that call.

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

From-SVN: r92153

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 14 Dec 2004 18:12:32 +0000 (18:12 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r92152

20 years ago* gcc.dg/i386-sse-10.c: Fix typo in options.
Richard Henderson [Tue, 14 Dec 2004 05:33:01 +0000 (21:33 -0800)] 
* gcc.dg/i386-sse-10.c: Fix typo in options.

From-SVN: r92127

20 years agore PR middle-end/18730 (cppexp.c:1076: error: unrecognizable insn)
John David Anglin [Tue, 14 Dec 2004 03:12:03 +0000 (03:12 +0000)] 
re PR middle-end/18730 (cppexp.c:1076: error: unrecognizable insn)

PR middle-end/18730
* emit-rtl.c (get_first_nonnote_insn, get_last_nonnote_insn): When
the first/last insn is a sequence, return the first/last insn of the
sequence.

From-SVN: r92125

20 years agore PR target/17990 (sse used for negate without -mfpmath=sse)
Richard Henderson [Tue, 14 Dec 2004 01:57:50 +0000 (17:57 -0800)] 
re PR target/17990 (sse used for negate without -mfpmath=sse)

        PR target/17990
        * config/i386/i386.md (negsf2): Fix condition for using sse.
        (negdf2, abssf2, absdf2): Likewise.
        (negsf2_if, abssf2_if): Don't disable if sse enabled.
        (movv4sf_internal splitter): Postpone til after reload.
        (movv2di_internal splitter): Likewise.

From-SVN: r92119

20 years agore PR target/18002 ('while' loop performace regression on avr target)
Roger Sayle [Tue, 14 Dec 2004 01:47:30 +0000 (01:47 +0000)] 
re PR target/18002 ('while' loop performace regression on avr target)

PR target/18002
PR middle-end/18424
Backport from mainline

2004-03-20  Richard Sandiford  <rsandifo@redhat.com>
* Makefile.in (dojump.o): Depend on $(GGC_H) and dojump.h.
(GTFILES): Add $(srcdir)/dojump.h.
(gt-dojump.h): New dependency.
* dojump.c (and_reg, and_test, shift_test): New static variables.
(prefer_and_bit_test): New function.
(do_jump): Use it to choose between (X & (1 << C)) and (X >> C) & 1.

2004-03-21  Andrew Pinski  <pinskia@gcc.gnu.org>
* dojump.c (prefer_and_bit_test): Fix which part of
the and_test is replaced.

2004-12-10  Roger Sayle  <roger@eyesopen.com>
* dojump.c (do_jump): When attempting to reverse the effects of
fold_single_bit_test, we need to STRIP_NOPS and narrowing type
conversions, and handle BIT_XOR_EXPR that's used to invert the
sense of the single bit test.

From-SVN: r92117

20 years agore PR middle-end/17930 (-mfpmath=sse creates illegal code (movapd with misaligned...
Richard Henderson [Tue, 14 Dec 2004 01:24:36 +0000 (17:24 -0800)] 
re PR middle-end/17930 (-mfpmath=sse creates illegal code (movapd with misaligned argument))

        PR middle-end/17930
        * toplev.c (rest_of_compilation): Fix computation of
        preferred_incoming_stack_boundary.

From-SVN: r92115

20 years agoDaily bump.
GCC Administrator [Tue, 14 Dec 2004 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92110