]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
22 years agore PR c++/7524 ([Regression from GCC 2.95.3] f(const float arg[3]) fails)
Mark Mitchell [Wed, 16 Oct 2002 18:53:29 +0000 (18:53 +0000)] 
re PR c++/7524 ([Regression from GCC 2.95.3] f(const float arg[3]) fails)

PR c++/7524
* method.c (do_build_assign_ref): Use cp_build_qualified_type, not
build_qualified_type.

PR c++/7524
* g++.dg/init/array7.C: New test.

From-SVN: r58216

22 years agocalls.c (expand_call): Take current_function_pretend_args_size into account when...
J"orn Rennecke [Wed, 16 Oct 2002 18:15:54 +0000 (18:15 +0000)] 
calls.c (expand_call): Take current_function_pretend_args_size into account when...

        * calls.c (expand_call): Take current_function_pretend_args_size
        into account when setting argblock for sibcalls.

From-SVN: r58211

22 years agore PR target/7396 (ix86: cmpgt_ss, cmpge_ss, cmpngt_ss, and cmpnge_ss SSE intriniscs...
Jan Hubicka [Wed, 16 Oct 2002 17:45:27 +0000 (19:45 +0200)] 
re PR target/7396 (ix86:  cmpgt_ss, cmpge_ss, cmpngt_ss, and cmpnge_ss SSE intriniscs are broken)

PR target/7396
* i386.c (builtin_description):Drop cmpg[te]s[sd].
* xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
swapped alternative.

From-SVN: r58210

22 years agoDaily bump.
GCC Administrator [Wed, 16 Oct 2002 07:16:26 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r58190

22 years ago* fold-const.c (fold): Fix a typo.
Jakub Jelinek [Tue, 15 Oct 2002 22:10:00 +0000 (00:10 +0200)] 
* fold-const.c (fold): Fix a typo.

From-SVN: r58181

22 years agore PR target/7370 (ICE in fixup_var_refs_1 on s390x)
Ulrich Weigand [Tue, 15 Oct 2002 18:38:25 +0000 (18:38 +0000)] 
re PR target/7370 (ICE in fixup_var_refs_1 on s390x)

PR target/7370
* gcc.c-torture/compile/20021015-1.c: New test.

PR target/8232
* gcc.c-torture/compile/20021015-2.c: New test.

From-SVN: r58174

22 years agore PR target/7370 (ICE in fixup_var_refs_1 on s390x)
Ulrich Weigand [Tue, 15 Oct 2002 18:34:36 +0000 (18:34 +0000)] 
re PR target/7370 (ICE in fixup_var_refs_1 on s390x)

PR target/7370
* config/s390/s390.md ("*addsi3_inv"): New pattern.

PR target/8232
* config/s390/s390.md ("cmpstrsi"): Convert length operand
from SImode to Pmode.

From-SVN: r58171

22 years agoinstall.texi: Formatting changes for conformance to HTML 4.01.
Janis Johnson [Tue, 15 Oct 2002 16:16:58 +0000 (16:16 +0000)] 
install.texi: Formatting changes for conformance to HTML 4.01.

2002-10-15  Janis Johnson  <janis187@us.ibm.com>

* doc/install.texi: Formatting changes for conformance to HTML 4.01.

From-SVN: r58167

22 years ago* gcc.c-torture/execute/20021015-1.c: New test.
Ulrich Weigand [Tue, 15 Oct 2002 14:45:48 +0000 (14:45 +0000)] 
* gcc.c-torture/execute/20021015-1.c: New test.

From-SVN: r58162

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 15 Oct 2002 14:45:48 +0000 (14:45 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r58161

22 years agore PR rtl-optimization/7409 (loop optimization)
Ulrich Weigand [Tue, 15 Oct 2002 14:42:52 +0000 (14:42 +0000)] 
re PR rtl-optimization/7409 (loop optimization)

PR opt/7409
* loop.c (loop_regs_scan): Mark registers used for function
argument passing as MAY_NOT_OPTIMIZE.

From-SVN: r58160

22 years agoDaily bump.
GCC Administrator [Tue, 15 Oct 2002 07:16:23 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r58151

22 years agore PR preprocessor/7862 (Interrupting gcc -MD removes .d file but not .o)
Neil Booth [Mon, 14 Oct 2002 21:55:26 +0000 (21:55 +0000)] 
re PR preprocessor/7862 (Interrupting gcc -MD removes .d file but not .o)

2002-10-14  Neil Booth  <neil@daikokuya.co.uk>

        PR preprocessor/7862
        PR preprocessor/8190
        * gcc.c (cpp_unique_options): Don't delete .d files.
        Remove stray whitespace.

From-SVN: r58140

22 years agoi386.h (ASM_OUTPUT_REG_PUSH, [...]): Handle TARGET_64BIT.
Jakub Jelinek [Mon, 14 Oct 2002 21:24:25 +0000 (23:24 +0200)] 
i386.h (ASM_OUTPUT_REG_PUSH, [...]): Handle TARGET_64BIT.

* config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
Handle TARGET_64BIT.

* gcc.dg/20021014-1.c: New test.

From-SVN: r58138

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 14 Oct 2002 21:24:25 +0000 (21:24 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r58137

22 years agore PR rtl-optimization/6631 (Miscompiled structure access)
Mark Mitchell [Mon, 14 Oct 2002 21:04:33 +0000 (21:04 +0000)] 
re PR rtl-optimization/6631 (Miscompiled structure access)

PR optimization/6631
* Makefile.in (function.o): Depend on langhooks.h.
* alias.c (objects_must_conflict_p): Check honor_readonly when
examining TYPE_READONLY.
* function.c (assign_stack_temp_for_type): Likewise.

PR optimization/6631
* g++.dg/opt/const2.C: New test.

From-SVN: r58134

22 years agore PR c++/7176 (g++ confused by friend and static member with same name)
Mark Mitchell [Mon, 14 Oct 2002 07:46:30 +0000 (07:46 +0000)] 
re PR c++/7176 (g++ confused by friend and static member with same name)

PR c++/7176
* lex.c (do_identifier): Add another option for the parsing
parameter.
* parse.y (do_id): Use it.

PR c++/7176
* g++.dg/parse/friend1.C: New test.
* g++.old-deja/g++.pt/memtemp64.C: Adjust.

From-SVN: r58119

22 years agoDaily bump.
GCC Administrator [Mon, 14 Oct 2002 07:16:31 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r58111

22 years agoDaily bump.
GCC Administrator [Sun, 13 Oct 2002 07:16:23 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r58094

22 years agotree.c (tree_size): Revise expressions using TREE_CODE_LENGTH and TREE_VEC_LENGTH...
John David Anglin [Sat, 12 Oct 2002 18:08:37 +0000 (18:08 +0000)] 
tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH and TREE_VEC_LENGTH to ensure values...

* tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH and
TREE_VEC_LENGTH to ensure values are promoted before doing subtraction.

From-SVN: r58089

22 years agoDaily bump.
GCC Administrator [Sat, 12 Oct 2002 07:16:22 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r58082

22 years agocompat.texi: Add info about C++ libraries.
Janis Johnson [Sat, 12 Oct 2002 00:01:18 +0000 (00:01 +0000)] 
compat.texi: Add info about C++ libraries.

2002-10-11  Janis Johnson  <janis187@us.ibm.com>

* doc/compat.texi: Add info about C++ libraries.

From-SVN: r58076

22 years agore PR c++/5661 (Gcc 3.0.3 Seg faults compiling bad code)
Mark Mitchell [Fri, 11 Oct 2002 22:42:21 +0000 (22:42 +0000)] 
re PR c++/5661 (Gcc 3.0.3 Seg faults compiling bad code)

PR c++/5661
* g++.dg/ext/vlm1.C: New test.
* g++.dg/ext/vlm2.C: Likewise.

PR c++/5661
* cp-tree.h (variably_modified_type_p): New function.
(grokdeclarator) Tighten check for variably modified types as
fields.
* pt.c (convert_template_argument): Do not allow variably modified
types as template arguments.
* tree.c (variably_modified_type_p): New function.

From-SVN: r58070

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 11 Oct 2002 22:42:21 +0000 (22:42 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r58069

22 years agostd_limits.h (__glibcpp_char_digits10): Fix Typo.
Gabriel Dos Reis [Fri, 11 Oct 2002 20:20:47 +0000 (20:20 +0000)] 
std_limits.h (__glibcpp_char_digits10): Fix Typo.

        * include/std/std_limits.h (__glibcpp_char_digits10): Fix Typo.
        (__glibcpp_char_digits10): Likewise.

From-SVN: r58061

22 years agoinit.c (build_field_list): Provide uses_unions_p with a default value.
Jason Molenda [Fri, 11 Oct 2002 18:10:59 +0000 (18:10 +0000)] 
init.c (build_field_list): Provide uses_unions_p with a default value.

2002-10-11  Jason Molenda  <jmolenda@apple.com>

* init.c (build_field_list): Provide uses_unions_p with a default
value.

From-SVN: r58057

22 years agoLeave diagnostics as is.
Gabriel Dos Reis [Fri, 11 Oct 2002 18:05:43 +0000 (18:05 +0000)] 
Leave diagnostics as is.

From-SVN: r58055

22 years agoPRs C++/6803, C++/7721 and C++/7803
Gabriel Dos Reis [Fri, 11 Oct 2002 18:00:46 +0000 (18:00 +0000)] 
PRs C++/6803, C++/7721 and C++/7803

        PRs C++/6803, C++/7721 and C++/7803
        * decl.c (grokdeclarator): Gracefully handle template-name as
        decl-specifier.

From-SVN: r58054

22 years agoPR libstdc++/8071, libstdc++/8127, c++/6745
Jonathan Lennox [Fri, 11 Oct 2002 08:15:58 +0000 (08:15 +0000)] 
PR libstdc++/8071, libstdc++/8127, c++/6745

2002-10-10  Jonathan Lennox  <lennox@cs.columbia.edu>

        PR libstdc++/8071, libstdc++/8127, c++/6745
        * streambuf.tcc (__copy_streambufs): Handle cases where
        __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
        * testsuite/27_io/ostream_inserter_other.cc (test05): Add.

From-SVN: r58049

22 years agoDaily bump.
GCC Administrator [Fri, 11 Oct 2002 07:16:26 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r58044

22 years agore PR target/5610 (Not clear how to get FP operations to use SSE)
Jan Hubicka [Thu, 10 Oct 2002 17:48:51 +0000 (19:48 +0200)] 
re PR target/5610 (Not clear how to get FP operations to use SSE)

PR target/5610
* invoke.texi (-msse-math): Kill
(-msse): Add note to mfpmath=sse.

From-SVN: r58020

22 years agore PR rtl-optimization/7951 (ICE on -march=pentium4 -O2 -mfpmath=sse)
Jan Hubicka [Thu, 10 Oct 2002 15:40:20 +0000 (17:40 +0200)] 
re PR rtl-optimization/7951 (ICE on -march=pentium4 -O2 -mfpmath=sse)

PR ice/7951
* reload1.c (emit_input_reload_insns): Use constrain_operands
instead of constraint_accepts_reg_p to verify optimization.
(constraint_accepts_reg_p): Kill

From-SVN: r58016

22 years agore PR target/7723 (Internal compiler error - Pentium3 sse - gcc 3.2)
Jan Hubicka [Thu, 10 Oct 2002 15:07:16 +0000 (17:07 +0200)] 
re PR target/7723 (Internal compiler error - Pentium3 sse - gcc 3.2)

PR target/7723
* i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.

From-SVN: r58013

22 years agoDaily bump.
GCC Administrator [Thu, 10 Oct 2002 07:16:22 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r58005

22 years agore PR c/7353 (Compiler dies on known working code (as of gcc 3.0))
Zack Weinberg [Wed, 9 Oct 2002 21:31:03 +0000 (21:31 +0000)] 
re PR c/7353 (Compiler dies on known working code (as of gcc 3.0))

PR c/7353
gcc:
* c-decl.c (start_decl): Unconditionally issue error for
'typedef foo = bar'.
(finish_decl): Remove special case for TYPE_DECL with initializer.

* doc/extend.texi: Delete "Naming Types" section.  Change all
cross-references to that section to refer to "Typeof" instead.
Add the useful safe-max()-macro example from "Naming Types" to
"Typeof", rewritten using that extension.

gcc/cp:
* decl.c (start_decl): Unconditionally issue error for
'typedef foo = bar'.
(cp_finish_decl): Remove special case for TYPE_DECL with initializer.
(grokdeclarator): Remove redundant error for 'typedef foo = bar'.

gcc/testsuite:
* g++.dg/ext/typedef-init.C: New test.
* gcc.dg/typedef-init.c: New test.

From-SVN: r57997

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 9 Oct 2002 21:31:03 +0000 (21:31 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57996

22 years agoi386.c (ix86_register_move_cost): Increase cost for secondary_memory_needed pairs.
Richard Henderson [Wed, 9 Oct 2002 17:52:44 +0000 (10:52 -0700)] 
i386.c (ix86_register_move_cost): Increase cost for secondary_memory_needed pairs.

        * config/i386/i386.c (ix86_register_move_cost): Increase cost
        for secondary_memory_needed pairs.

From-SVN: r57988

22 years agore PR rtl-optimization/7792 (ICE with -march=athlon-xp -O2)
Jan Hubicka [Wed, 9 Oct 2002 17:12:26 +0000 (19:12 +0200)] 
re PR rtl-optimization/7792 (ICE with -march=athlon-xp -O2)

PR opt/7912
PR opt/7390
* i386.c (athlon_cost): Fix the move costs.

From-SVN: r57986

22 years agoDaily bump.
GCC Administrator [Wed, 9 Oct 2002 07:16:25 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r57972

22 years ago* libgcc2.c (__floatdisf): Properly cure double rounding.
Alan Modra [Wed, 9 Oct 2002 00:33:12 +0000 (00:33 +0000)] 
* libgcc2.c (__floatdisf): Properly cure double rounding.

From-SVN: r57967

22 years agore PR c++/7754 (ICE SIGSEGV on union with template parameter)
Mark Mitchell [Tue, 8 Oct 2002 22:53:21 +0000 (22:53 +0000)] 
re PR c++/7754 (ICE SIGSEGV on union with template parameter)

PR c++/7754
* decl2.c (finish_anon_union): Do not expand anonymous unions when
procesing template functions.
* pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable
type. Call layout_decl.
(tsubst_expr, case DECL_STMT): Handle anonymous unions.

From-SVN: r57962

22 years agore PR c++/7484 (warning with -Wmissing-declarations)
Gabriel Dos Reis [Tue, 8 Oct 2002 22:28:36 +0000 (22:28 +0000)] 
re PR c++/7484 (warning with -Wmissing-declarations)

PR doc/7484
* doc/invoke.texi (Option Summary): List
-Wmissing-declarations as a C only option.

From-SVN: r57959

22 years agot-linux64 (MULTILIB_OPTIONS): Remove mno-app-regs|mcmodel=medany.
Jakub Jelinek [Tue, 8 Oct 2002 21:58:53 +0000 (23:58 +0200)] 
t-linux64 (MULTILIB_OPTIONS): Remove mno-app-regs|mcmodel=medany.

2002-10-08  Jakub Jelinek  <jakub@redhat.com>

* config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
mno-app-regs|mcmodel=medany.
(MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
(MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
(CRTSTUFF_T_CFLAGS): Define.

From-SVN: r57955

22 years agoDaily bump.
GCC Administrator [Tue, 8 Oct 2002 07:16:22 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r57914

22 years ago* Makefile.in (CFLAGS_FOR_TARGET): Add -O2.
Kaveh R. Ghazi [Mon, 7 Oct 2002 20:47:05 +0000 (20:47 +0000)] 
* Makefile.in (CFLAGS_FOR_TARGET): Add -O2.

From-SVN: r57905

22 years ago* decl2.c: Complete reversion of c++/7754.
Richard Henderson [Mon, 7 Oct 2002 09:54:27 +0000 (02:54 -0700)] 
* decl2.c: Complete reversion of c++/7754.

From-SVN: r57896

22 years agore PR c/7411 (cistore.c:392: Internal compiler error in instantiate_virtual_regs_1...
Eric Botcazou [Mon, 7 Oct 2002 07:39:20 +0000 (09:39 +0200)] 
re PR c/7411 (cistore.c:392: Internal compiler error in instantiate_virtual_regs_1, at function.c:3974)

 PR c/7411
 * expr.c (expand_expr) [PLUS]: Simplify after the operands
 have been expanded in EXPAND_NORMAL mode.

Co-Authored-By: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
From-SVN: r57884

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 7 Oct 2002 07:39:20 +0000 (07:39 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57883

22 years agoDaily bump.
GCC Administrator [Mon, 7 Oct 2002 07:18:06 +0000 (07:18 +0000)] 
Daily bump.

From-SVN: r57877

22 years agoMakefile.am (all-multi): Fix multilib parallel build.
Kaveh R. Ghazi [Mon, 7 Oct 2002 04:37:05 +0000 (04:37 +0000)] 
Makefile.am (all-multi): Fix multilib parallel build.

boehm-gc:
* Makefile.am (all-multi): Fix multilib parallel build.
libf2c:
* Makefile.in (all): Fix multilib parallel build.
libffi:
* Makefile.am (all-multi): Fix multilib parallel build.
libiberty:
* Makefile.in (all): Fix multilib parallel build.
libjava:
* Makefile.am (all-multi): Fix multilib parallel build.
libobjc:
* Makefile.in (all): Fix multilib parallel build.
libstdc++-v3:
* Makefile.am (all-multi): Fix multilib parallel build.
zlib:
* Makefile.am (all-multi): Fix multilib parallel build.

From-SVN: r57874

22 years ago* config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
Richard Henderson [Mon, 7 Oct 2002 04:21:05 +0000 (21:21 -0700)] 
* config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.

From-SVN: r57872

22 years agore PR rtl-optimization/6627 (-fno-align-functions regression from 2.95)
Roger Sayle [Sun, 6 Oct 2002 23:02:12 +0000 (23:02 +0000)] 
re PR rtl-optimization/6627 (-fno-align-functions regression from 2.95)

PR optimization/6627
* toplev.c (force_align_functions_log): New global variable.
* flags.h (force_align_functions_log): Add extern prototype.
* varasm.c (assemble_start_function): Use it to force minimum
function alignment.
* config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
minimum function alignment to one byte.
(TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
the least significant bit of vtable member function pointers.
* tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
here from cp/cp-tree.h.

* cp/cp-tree.h (enum ptrmemfunc_vbit_where_t): Delete definition
from here, and move it to tree.h.
* cp/decl.c (cxx_init_decl_processing): If storing the vbit
in function pointers, ensure that force_align_functions_log
is atleast one.

* java/lang.c (java_init): If storing the vbit in function
pointers, ensure that force_align_functions_log is atleast
one to aid compatability with g++ vtables.

From-SVN: r57869

22 years ago* gcc.dg/cpp/_Pragma4.c: New test.
Neil Booth [Sun, 6 Oct 2002 09:46:45 +0000 (09:46 +0000)] 
* gcc.dg/cpp/_Pragma4.c: New test.

From-SVN: r57863

22 years agoDebian BTS Bug #157416
Neil Booth [Sun, 6 Oct 2002 09:12:19 +0000 (09:12 +0000)] 
Debian BTS Bug #157416

Debian BTS Bug #157416
* cpplib.c (destringize_and_run): Kludge around getting
tokens from in-progress macros.
(_cpp_do__Pragma): Simplify.

From-SVN: r57862

22 years ago* Forgotten.
Frank Ch. Eigler [Sun, 6 Oct 2002 09:02:41 +0000 (09:02 +0000)] 
* Forgotten.

From-SVN: r57861

22 years ago* cppinit.c (init_standard_includes, parse_option): Use strncmp.
Frank Ch. Eigler [Sun, 6 Oct 2002 08:21:21 +0000 (08:21 +0000)] 
* cppinit.c (init_standard_includes, parse_option): Use strncmp.

From-SVN: r57860

22 years agoDaily bump.
GCC Administrator [Sun, 6 Oct 2002 07:16:25 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r57855

22 years agogcc.c (set_multilib_dir): Don't access *end.
Jakub Jelinek [Sat, 5 Oct 2002 21:32:10 +0000 (23:32 +0200)] 
gcc.c (set_multilib_dir): Don't access *end.

* gcc.c (set_multilib_dir): Don't access *end.
Use memcpy instead of strncpy.  Don't write beyond malloced buffer.
(print_multilib_info): Don't show paths starting with ".:".
* genmultilib: Add new option, "yes" if multilibs are enabled.
Update comments.  If multilibs not enabled, print .:${osdirout}
for each directory.  If multilibs are enabled, always print
${dirout}:${osdirout}, even if the two are the same.
* Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
Pass all MULTILIB_* variables to genmultilib even if
--disable-multilib but MULTILIB_OSDIRNAMES is not empty.

* gcc.c (print_multi_os_directory): New variable.
(option_map): Support --print-multi-os-directory.
(struct prefix_list): Add os_multilib field.
(multilib_os_dir): New variable.
(static_specs): Add multilib_options.
(find_a_file): Add multilib argument.  Search in GCC or OS multilib
subdirs if non-zero.
(read_specs, execute): Update callers.
(find_file): Likewise.  Don't prefix name with multilib_dir, instead
pass 1 as multilib option.
(display_help): Include --print-multi-os-directory.
(add_prefix): Add os_multilib argument.  Initialize pl->os_multilib.
(process_command): Update callers.  Handle --print-multi-os-directory.
(do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
set.
(main): Update find_a_file and add_prefix callers.
Handle print_multi_os_directory.
(struct mdswitchstr): New.
(mdswitches, n_mdswitches): New variables.
(used_arg): Add MULTILIB_DEFAULT switches too if they are not
present on the command line nor their mutually incompatible
switches.
(default_arg): Optimize.
(set_multilib_dir): Compute multilib_os_dir.  Initialize mdswitches
array.
(print_multilib_info): Only print GCC multilib dir name, not OS
multilib dirname.
* genmultilib: Add osdirnames parameter.  Output multilib_options
variable.  If osdirnames is specified, output dirnames as
dirname:osdirname.
* mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
to compute libgcc_s soname and install path.
* Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
(s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
argument.

* config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
(SHLIB_SLIBDIR_SUFFIXES): Remove.
* config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
(STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
and -m64.
* config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
(SHLIB_SLIBDIR_SUFFIXES): Remove.
* config/sparc/sol2-bi.h (STARTFILE_SPEC32, STARTFILE_SPEC64): Remove.
(STARTFILE_ARCH_SPEC): Remove.
(STARTFILE_SPEC): Add values-X*.o here.
* config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
(SHLIB_SLIBDIR_SUFFIXES): Remove.
* config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
(STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between m32 and
!m32.
* config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
(SHLIB_SLIBDIR_SUFFIXES): Remove.

From-SVN: r57853

22 years agore PR preprocessor/8120 (cpp concatenation doesn't work as described)
Neil Booth [Sat, 5 Oct 2002 09:36:28 +0000 (09:36 +0000)] 
re PR preprocessor/8120 (cpp concatenation doesn't work as described)

PR preprocessor/8120
* doc/cpp.texi: Update documentation of bad use of ##.

From-SVN: r57842

22 years agoDaily bump.
GCC Administrator [Sat, 5 Oct 2002 07:16:24 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r57836

22 years agopt.c (tsubst_decl, [...]): Back out the last change.
H.J. Lu [Fri, 4 Oct 2002 18:27:08 +0000 (18:27 +0000)] 
pt.c (tsubst_decl, [...]): Back out the last change.

2002-10-04  H.J. Lu  (hjl@gnu.org)

* pt.c (tsubst_decl, case VAR_DECL): Back out the last change.
(tsubst_expr, case DECL_STMT): Likewise.

From-SVN: r57825

22 years agoDaily bump.
GCC Administrator [Fri, 4 Oct 2002 07:16:27 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r57806

22 years agore PR c++/7754 (ICE SIGSEGV on union with template parameter)
Mark Mitchell [Fri, 4 Oct 2002 05:25:15 +0000 (05:25 +0000)] 
re PR c++/7754 (ICE SIGSEGV on union with template parameter)

PR c++/7754
* decl2.c (finish_anon_union): Do not expand anonymous unions when
procesing template functions.
* pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable
type. Call layout_decl.
(tsubst_expr, case DECL_STMT): Handle anonymous unions.

From-SVN: r57803

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 4 Oct 2002 05:25:15 +0000 (05:25 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57802

22 years ago* i386.h (CPP_SPECS): fix defines for -msse, -msse2, -mpentium2,3.
Jan Hubicka [Thu, 3 Oct 2002 21:16:11 +0000 (23:16 +0200)] 
* i386.h (CPP_SPECS): fix defines for -msse, -msse2, -mpentium2,3.

From-SVN: r57789

22 years agotoplev.c (rest_of_compilation): Dump loops before clobbering the structure.
Jan Hubicka [Thu, 3 Oct 2002 19:40:46 +0000 (21:40 +0200)] 
toplev.c (rest_of_compilation): Dump loops before clobbering the structure.

* toplev.c (rest_of_compilation): Dump loops before clobbering
the structure.

        * expr.c (force_operand): Use expand_simple_* to handle more
        cases.

* i386.c (q_regs_operand): Use ANY_QI_REG_P.

* i386.c (override_options): Fix stack alignment.
(classify_argument): Handle variable sized types.
(ix86_expand_int_movcc): Avoid RTL sharing problem.

* i386.md (prefetch_sse_rex, prefetch_3dnow_rex): New.
(prefetch): Properly handle 64bit case.

* i386.c (classify_argument): Properly compute word size of the analyzed object.

* jump.c (reg_or_subregno): New function.
* rtl.h (reg_or_subregno): Declare
* unroll.c (find_splittable_givs): Handle subregs.

        Richard Sandiford  <rsandifo@redhat.com>:

        * expr.c (force_operand): Fix reversed move.

Andreas Jaeger  <aj@suse.de>:

* config/i386/linux64.h (STARTFILE_PREFIX_SPEC): New.

Janis Johnson  <janis187@us.ibm.com>:

* loop.c (emit_prefetch_instructions): Several small fixes.

From-SVN: r57784

22 years agoDaily bump.
GCC Administrator [Thu, 3 Oct 2002 07:16:25 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r57767

22 years agore PR c++/7188 (Segfault with template class and recursive (incorrect) initalizer...
Mark Mitchell [Thu, 3 Oct 2002 06:55:01 +0000 (06:55 +0000)] 
re PR c++/7188 (Segfault with template class and recursive (incorrect) initalizer list.)

PR c++/7188.
* init.c (expand_member_init): Allow a FIELD_DECL to be passed in
directly.
* pt.c (tsubst_initializer_list): Use expand_member_init.

PR c++/7188.
* testsuite/g++.dg/template/meminit1.C: New test.

From-SVN: r57763

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 3 Oct 2002 06:55:01 +0000 (06:55 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57762

22 years agoloop.c (scan_loop): Don't mark separate insns out of a libcall for moving.
J"orn Rennecke [Wed, 2 Oct 2002 18:08:00 +0000 (18:08 +0000)] 
loop.c (scan_loop): Don't mark separate insns out of a libcall for moving.

Thu Sep  5 00:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
        * loop.c (scan_loop): Don't mark separate insns out of a libcall
        for moving.
        (move_movables): Abort if we see the first insn of a libcall.

Thu Sep  5 00:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
        * gcc.c-torture/execute/loop-14.c: New test.

From-SVN: r57744

22 years agoDaily bump.
GCC Administrator [Wed, 2 Oct 2002 07:16:28 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r57732

22 years agore PR middle-end/7151 ([sparc] ICE when compiling for UltraSPARC)
David S. Miller [Wed, 2 Oct 2002 03:47:05 +0000 (20:47 -0700)] 
re PR middle-end/7151 ([sparc] ICE when compiling for UltraSPARC)

2002-09-30  David S. Miller  <davem@redhat.com>

PR middle-end/7151
* config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
(movdi reg/reg split): Match only on sparc32, and v9 when int regs.

From-SVN: r57722

22 years agoreload1.c (gen_reload:SECONDARY_MEMORY_NEEDED): Handle SUBREG.
David S. Miller [Wed, 2 Oct 2002 03:40:35 +0000 (20:40 -0700)] 
reload1.c (gen_reload:SECONDARY_MEMORY_NEEDED): Handle SUBREG.

2002-10-01  David S. Miller  <davem@redhat.com>
    Jan Hubicka <jh@suse.cz>

* reload1.c (gen_reload:SECONDARY_MEMORY_NEEDED): Handle SUBREG.
* reload.c (push_reload:SECONDARY_MEMORY_NEEDED): Likewise.

Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r57721

22 years agoMakefile.am (check-abi): Add @ to rule.
Phil Edwards [Wed, 2 Oct 2002 01:06:40 +0000 (01:06 +0000)] 
Makefile.am (check-abi): Add @ to rule.

2002-10-01  Phil Edwards  <pme@gcc.gnu.org>

* Makefile.am (check-abi):  Add @ to rule.
* Makefile.in:  Regenerated.

From-SVN: r57716

22 years agore PR libstdc++/8096 (deque::at() throws std::range_error instead of std::out_of_range)
Phil Edwards [Wed, 2 Oct 2002 00:58:52 +0000 (00:58 +0000)] 
re PR libstdc++/8096 (deque::at() throws std::range_error instead of std::out_of_range)

2002-10-01  Phil Edwards  <pme@gcc.gnu.org>

PR libstdc++/8096
* include/bits/stl_deque.h (deque::_M_range_check):  Throw
out_of_range, not range_error.

From-SVN: r57714

22 years agoDaily bump.
GCC Administrator [Tue, 1 Oct 2002 07:16:24 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r57677

22 years agoxtensa.h (REG_CLASS_NAMES, [...]): Add new RL_REGS register class.
Bob Wilson [Mon, 30 Sep 2002 20:34:09 +0000 (20:34 +0000)] 
xtensa.h (REG_CLASS_NAMES, [...]): Add new RL_REGS register class.

        * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
        Add new RL_REGS register class.
        (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
        Call xtensa_preferred_reload_class for both input and output reloads.
        * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
        (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
        instead of either AR_REGS or GR_REGS classes.
        (xtensa_secondary_reload_class): Use new RL_REGS class.
        * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.

From-SVN: r57667

22 years ago[multiple changes]
John David Anglin [Mon, 30 Sep 2002 17:35:45 +0000 (17:35 +0000)] 
[multiple changes]

2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>

* cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.

2002-08-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>

* cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
at head.
(remove_dup_nonsys_dirs): New function.
(remove_dup_dirs): Change argument head to head_ptr.  Remove warnings.
(merge_include_chains): Remove non-system include directories from
quote and bracket include chains when they duplicate equivalent system
directories.
* doc/cpp.texi (-I): Update.
* doc/cppopts.texi (-I): Update.
* doc/install.texi (--with-local-prefix): Further document usage of
this option.
* doc/invoke.texi (-I): Update.

From-SVN: r57658

22 years agoarm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
Richard Earnshaw [Mon, 30 Sep 2002 11:54:00 +0000 (11:54 +0000)] 
arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.

* arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
(MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
that we have a SImode access, and only then if reload hasn't completed;
for all other cases, use LO_REGS.

From-SVN: r57645

22 years agoDaily bump.
GCC Administrator [Mon, 30 Sep 2002 07:16:32 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r57639

22 years agolinux64.h (STARTFILE_SPEC32, [...]): Kill hardcoded paths.
David S. Miller [Mon, 30 Sep 2002 05:45:04 +0000 (22:45 -0700)] 
linux64.h (STARTFILE_SPEC32, [...]): Kill hardcoded paths.

2002-09-29  David S. Miller  <davem@redhat.com>

* config/sparc/linux64.h (STARTFILE_SPEC32, ENDFILE_SPEC32): Kill
hardcoded paths.

From-SVN: r57636

22 years agoDaily bump.
GCC Administrator [Sun, 29 Sep 2002 07:16:25 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r57618

22 years agolocale_facets.tcc (num_put::_M_widen_int): Deal correctly with grouped, showbased...
Paolo Carlini [Sat, 28 Sep 2002 15:30:50 +0000 (17:30 +0200)] 
locale_facets.tcc (num_put::_M_widen_int): Deal correctly with grouped, showbased (oct or hex) zero.

2002-09-28  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_facets.tcc (num_put::_M_widen_int):
Deal correctly with grouped, showbased (oct or hex) zero.
* testsuite/22_locale/num_put_members_char.cc: Add test05.
* testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.

From-SVN: r57615

22 years agoDaily bump.
GCC Administrator [Sat, 28 Sep 2002 07:16:23 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r57604

22 years agore PR preprocessor/8055 (PATCH: cpp0 dies with SIG11 when building FreeBSD kernel)
Zack Weinberg [Sat, 28 Sep 2002 00:32:16 +0000 (00:32 +0000)] 
re PR preprocessor/8055 (PATCH: cpp0 dies with SIG11 when building FreeBSD kernel)

2002-09-27  Alexander N. Kabaev <ak03@gte.com>

PR preprocessor/8055
* cppmacro.c (stringify_arg): Do not overflow the buffer
with the terminating NUL when the argument to be stringified
has no tokens.
* gcc.dg/cpp/20020927-1.c: New.

From-SVN: r57601

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sat, 28 Sep 2002 00:32:16 +0000 (00:32 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57600

22 years agoDaily bump.
GCC Administrator [Fri, 27 Sep 2002 07:16:52 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r57581

22 years agotrunctfdf.c: New.
David S. Miller [Fri, 27 Sep 2002 04:15:32 +0000 (21:15 -0700)] 
trunctfdf.c: New.

2002-09-26  David S. Miller  <davem@redhat.com>

* gcc.c-torture/compile/trunctfdf.c: New.

From-SVN: r57579

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 27 Sep 2002 04:15:32 +0000 (04:15 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57578

22 years agoAdd missing PR number to changelog entry.
David S. Miller [Fri, 27 Sep 2002 04:10:52 +0000 (21:10 -0700)] 
Add missing PR number to changelog entry.

From-SVN: r57575

22 years agore PR rtl-optimization/7335 (Sparc: ICE in verify_wide_reg (flow.c:557) with long...
David S. Miller [Fri, 27 Sep 2002 04:09:07 +0000 (21:09 -0700)] 
re PR rtl-optimization/7335 (Sparc: ICE in verify_wide_reg (flow.c:557) with long double and optimization)

2002-09-26  David S. Miller  <davem@redhat.com>

PR optimization/7335
* calls.c (emit_library_call_value_1): Passing args by reference
converts a CONST function into a PURE one.

From-SVN: r57574

22 years ago* lib/target-supports.exp (check_weak_available): Handle solaris2.
Kaveh R. Ghazi [Fri, 27 Sep 2002 02:13:06 +0000 (02:13 +0000)] 
* lib/target-supports.exp (check_weak_available): Handle solaris2.

From-SVN: r57570

22 years agosched-deps.c (sched_analyze_insn): Make clobber insns depend on call insns.
Richard Henderson [Fri, 27 Sep 2002 01:13:28 +0000 (18:13 -0700)] 
sched-deps.c (sched_analyze_insn): Make clobber insns depend on call insns.

        * sched-deps.c (sched_analyze_insn): Make clobber insns depend
        on call insns.

From-SVN: r57568

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 27 Sep 2002 01:13:28 +0000 (01:13 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57567

22 years ago* gcc.c-torture/execute/loop-15.c: New.
Alan Modra [Thu, 26 Sep 2002 23:12:17 +0000 (08:42 +0930)] 
* gcc.c-torture/execute/loop-15.c: New.

From-SVN: r57560

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 26 Sep 2002 23:12:17 +0000 (23:12 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57559

22 years agodoloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust by absolute loop...
Alan Modra [Thu, 26 Sep 2002 23:10:38 +0000 (23:10 +0000)] 
doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust by absolute loop increment, not loop increment.

* doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
by absolute loop increment, not loop increment.

From-SVN: r57558

22 years agore PR target/7842 ([REGRESSION] sparc code gen bug)
David S. Miller [Thu, 26 Sep 2002 10:20:03 +0000 (03:20 -0700)] 
re PR target/7842 ([REGRESSION] sparc code gen bug)

2002-09-25  David S. Miller  <davem@redhat.com>

PR target/7842
* config/sparc/sparc.c (set_extends): SImode ASHIFT does not
extend.

From-SVN: r57537

22 years agore PR target/7842 ([REGRESSION] sparc code gen bug)
David S. Miller [Thu, 26 Sep 2002 10:19:11 +0000 (03:19 -0700)] 
re PR target/7842 ([REGRESSION] sparc code gen bug)

2002-09-25  David S. Miller  <davem@redhat.com>

PR target/7842
* gcc.c-torture/execute/shiftdi.c: New test.

From-SVN: r57536

22 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 26 Sep 2002 10:19:11 +0000 (10:19 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'.

From-SVN: r57535