OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years agoPR optimization/9812
wilson [Mon, 7 Jul 2003 03:42:23 +0000 (03:42 +0000)]
PR optimization/9812
* rtl.h (mem_for_const_double): Delete prototype.
* varasm.c (mem_for_const_double): Delete function.
* config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
(LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
* config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
(LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
* config/m68k/m68k.md (movxf): Add reload_in_progress guard.  Add
comment about confused support for XFmode constants.

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

20 years agoDaily bump.
gccadmin [Mon, 7 Jul 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
hubicka [Mon, 7 Jul 2003 00:05:11 +0000 (00:05 +0000)]
* cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.

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

20 years ago * call.c: Fix comment formatting.
kazu [Sun, 6 Jul 2003 23:23:46 +0000 (23:23 +0000)]
* call.c: Fix comment formatting.
* class.c: Likewise.
* cp-tree.h: Likewise.
* decl.c: Likewise.
* decl2.c: Likewise.
* error.c: Likewise.
* method.c: Likewise.
* name-lookup.c: Likewise.
* parser.c: Likewise.
* pt.c: Likewise.
* rtti.c: Likewise.
* search.c: Likewise.
* typeck.c: Likewise.

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

20 years ago * config/h8300/h8300.c: Fix comment typos.
kazu [Sun, 6 Jul 2003 23:05:13 +0000 (23:05 +0000)]
* config/h8300/h8300.c: Fix comment typos.
* config/h8300/h8300.md: Likewise.
* config/i386/athlon.md: Likewise.
* config/i386/i386.c: Likewise.
* config/i386/pentium.md: Likewise.
* config/ia64/ia64.c: Likewise.
* config/ia64/itanium1.md: Likewise.
* config/ia64/itanium2.md: Likewise.
* config/m32r/m32r.md: Likewise.
* config/m68hc11/m68hc11.c: Likewise.
* config/mcore/mcore.c: Likewise.
* config/mips/sr71k.md: Likewise.
* config/mips/t-iris5-as: Likewise.
* config/mmix/mmix.h: Likewise.
* config/ns32k/ns32k.h: Likewise.
* config/ns32k/NOTES: Fix a typo.

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

20 years ago PR c++/11345
mmitchel [Sun, 6 Jul 2003 22:21:35 +0000 (22:21 +0000)]
PR c++/11345
* search.c (lookup_base_r): Remove is_non_public and
within_current_scope parameters.  Remove other dead code.
(lookup_base): Adjust call to lookup_base_r.
(adjust_result_of_qualified_name_lookup): Improve comment.
* semantics.c (finish_call_expr): Use maybe_dummy_object.

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

20 years ago2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 6 Jul 2003 21:45:37 +0000 (21:45 +0000)]
2003-07-06  H.J. Lu <hongjiu.lu@intel.com>

* demangle.h: Support C++.

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

20 years ago * stmt.c: Convert remaining prototypes to ISO C90.
aj [Sun, 6 Jul 2003 20:42:56 +0000 (20:42 +0000)]
* stmt.c: Convert remaining prototypes to ISO C90.
* cfglayout.c: Likewise.
* dbxout.c: Likewise.
* gcc.c: Likewise.
* genemit.c: Likewise.

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

20 years ago * bad.c: Convert () to (void) in function definitions.
aj [Sun, 6 Jul 2003 20:32:17 +0000 (20:32 +0000)]
* bad.c: Convert () to (void) in function definitions.
* bld.c: Likewise.
* data.c: Likewise.
* equiv.c: Likewise.
* expr.c: Likewise.
* global.c: Likewise.
* implic.c: Likewise.
* info.c: Likewise.
* intdoc.c: Likewise.
* intrin.c: Likewise.
* lab.c: Likewise.
* lex.c: Likewise.
* malloc.c: Likewise.
* src.c: Likewise.
* st.c: Likewise.
* sta.c: Likewise.
* stb.c: Likewise.
* stc.c: Likewise.
* std.c: Likewise.
* ste.c: Likewise.
* storag.c: Likewise.
* stt.c: Likewise.
* stw.c: Likewise.
* symbol.c: Likewise.
* top.c: Likewise.
* where.c: Likewise.

* com.c: Convert prototypes to ISO C90.
* com.h: Likewise.
* g77spec.c: Likewise.

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

20 years ago2003-07-06 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 6 Jul 2003 20:30:55 +0000 (20:30 +0000)]
2003-07-06  Phil Edwards  <pme@gcc.gnu.org>

* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS):  Do not test for binutils
2.11 with globbing backport fix.
* aclocal.m4, configure:  Regenerated.

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

20 years agoAdd entries for last round of ISO C90 conversions.
aj [Sun, 6 Jul 2003 19:05:17 +0000 (19:05 +0000)]
Add entries for last round of ISO C90 conversions.

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

20 years ago * c-common.h (c_comon_handle_filename,
neil [Sun, 6 Jul 2003 19:01:21 +0000 (19:01 +0000)]
* c-common.h (c_comon_handle_filename,
c_common_missing_arguement): New.
* c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
LANG_HOOKS_MISSING_ARGUMENT): New.
* c-opts.c (missing_arg): Rename c_common_missing_argument,
update to be an appropriate langhook.
(c_common_handle_option): Don't handle filenames.
(c_common_handle_filename): New.
* hooks.c (hook_void_constcharptr,
hook_bool_constcharptr_size_t_false): New.
* hooks.h (hook_void_constcharptr,
hook_bool_constcharptr_size_t_false): New.
* langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
LANG_HOOKS_MISSING_ARGUMENT): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): Add handle_filename and
missing_argument.
* opts.c (handle_option): Don't handle filenames here, but ...
(handle_options): ... here.
(common_handle_option): Don't handle missing arguments here.
* objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
LANG_HOOKS_MISSING_ARGUMENT): New.
ada:
* misc.c (gnat_handle_option): Don't handle filenames.
cp:
* cp-lang.c (LANG_HOOKS_HANDLE_FILENAME,
LANG_HOOKS_MISSING_ARGUMENT): Override.
f:
* top.c (ffe_handle_option): Don't handle filenames.
java:
* lang.c (java_handle_option): Don't handle filenames.

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

20 years ago * basic-block.h: Convert prototypes to ISO C90.
aj [Sun, 6 Jul 2003 18:59:38 +0000 (18:59 +0000)]
* basic-block.h: Convert prototypes to ISO C90.
* c-parse.in: Likewise.
* c-pragma.h: Likewise.
* c-typeck.c: Likewise.
* cfghooks.h: Likewise.
* cfgloopanal.c: Likewise.
* dbxout.h: Likewise.
* debug.h: Likewise.
* dwarf2asm.h: Likewise.
* gcov.c: Likewise.
* gengtype-lex.l: Likewise.
* sched-int.h: Likewise.
* timevar.c: Likewise.

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

20 years ago * Makfile.in: Remove traces of mbchar.
neil [Sun, 6 Jul 2003 18:50:45 +0000 (18:50 +0000)]
* Makfile.in: Remove traces of mbchar.
* c-parse.in (MULTIBYTE_CHARS): Remove.
* config.in (MULTIBYTE_CHARS): Remove.
* configure: Remove --enable-mbchar.
* configure.in: Remove --enable-mbchar.
* mbchar.c, mbchar.h: Remove.
* system.h: Poison MULTIBYTE_CHARS.
* config/linux-aout.h (MULTIBYTE_CHARS): Remove.
* config/linux.h (MULTIBYTE_CHARS): Remove.
* config/svr4.h (MULTIBYTE_CHARS): Remove.
* config/sparc/linux.h (MULTIBYTE_CHARS): Remove.

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

20 years ago * varray.c (varray_check_failed): Fix typo.
aj [Sun, 6 Jul 2003 17:01:47 +0000 (17:01 +0000)]
* varray.c (varray_check_failed): Fix typo.

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

20 years ago * unroll.c: Convert prototypes to ISO C90.
aj [Sun, 6 Jul 2003 16:53:24 +0000 (16:53 +0000)]
* unroll.c: Convert prototypes to ISO C90.
* varasm.c: Likewise.
* varray.c: Likewise.
* varray.h: Likewise.
* vmsdbgout.c: Likewise.
* xcoffout.c: Likewise.
* xcoffout.h: Likewise.

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

20 years ago * gcov-io.h: Add a local time stamp.
nathan [Sun, 6 Jul 2003 14:51:48 +0000 (14:51 +0000)]
* gcov-io.h: Add a local time stamp.
(struct gcov_info): Add stamp field.
(gcov_truncate): New.
* coverage.c (read_counts_file): Skip the stamp.
(coverage_begin_output): Write the stamp.
(build_gcov_info): Declare and init the stamp.
(coverage_finish): Only unlink data file, if stamp is zero.
* gcov-dump.c (dump_file): Dump the stamp.
* gcov.c (bbg_stamp): New.
(release_structures): Clear bbg_stamp.
(read_graph_file): Read stamp.
(read_count_file): Check stamp.
* libgcov.c (gcov_exit): Check stamp and truncate if needed.

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

20 years ago * tree.h (default_flag_random_seed): Remove.
nathan [Sun, 6 Jul 2003 14:48:56 +0000 (14:48 +0000)]
* tree.h (default_flag_random_seed): Remove.
* toplev.h (local_tick): Declare.
* tree.c (flag_random_seed, default_flag_random_seed): Move to
toplev.c.
(append_random_chars): Don't call default_flag_random_seed.
* toplev.c (flag_random_seed): Define here. Set local_tick.
(local_tick): Define.
(randomize): New, moved from tree.c.
(print_switch_values): Adjust.
(toplev_main): Call randomize.

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

20 years ago * tree.h (crc32_string): Declare.
nathan [Sun, 6 Jul 2003 14:40:49 +0000 (14:40 +0000)]
* tree.h (crc32_string): Declare.
* tree.c (append_random_chars): Remove.
(crc32_string): New.
(get_file_function_name_long): Use crc32_string here.

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

20 years ago * sbitmap.c: Convert prototypes to ISO C90.
aj [Sun, 6 Jul 2003 12:35:56 +0000 (12:35 +0000)]
* sbitmap.c: Convert prototypes to ISO C90.
* sbitmap.h: Likewise.
* scan-decls.c: Likewise.
* scan.c: Likewise.
* sched-deps.c: Likewise.
* sched-ebb.c: Likewise.
* sched-int.h: Likewise.
* sched-rgn.c: Likewise.
* sched-vis.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* sreal.c: Likewise.
* sreal.h: Likewise.
* ssa-ccp.c: Likewise.
* ssa-dce.c: Likewise.
* ssa.c: Likewise.
* ssa.h: Likewise.
* stack.h: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* stringpool.c: Likewise.
* target.h: Likewise.
* timevar.c: Likewise.
* timevar.h: Likewise.
* tlink.c: Likewise.
* tracer.c: Likewise.
* tree-inline.c: Likewise.
* tree-inline.h: Likewise.
* tree.c: Likewise.
* tree.h: Likewise.

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

20 years ago2003-07-06 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 6 Jul 2003 11:24:43 +0000 (11:24 +0000)]
2003-07-06  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
if output is at all possible (!_M_reading), cannot be active.

* include/std/std_fstream.h: Tweak comments to doxygen style.

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

20 years ago * genattrtab.h: Convert prototypes to ISO C90.
aj [Sun, 6 Jul 2003 10:00:00 +0000 (10:00 +0000)]
* genattrtab.h: Convert prototypes to ISO C90.

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

20 years agoAdjust last entry.
aj [Sun, 6 Jul 2003 09:59:25 +0000 (09:59 +0000)]
Adjust last entry.

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

20 years ago * jump.c: Convert prototypes to ISO C90.
aj [Sun, 6 Jul 2003 09:56:09 +0000 (09:56 +0000)]
* jump.c: Convert prototypes to ISO C90.
* langhooks-def.h: Likewise.  Add extern to prototypes.
* langhooks.c: Likewise.
* langhooks.h: Likewise.
* lcm.c: Likewise.
* local-alloc.c: Likewise.
* loop-init.c: Likewise.
* loop-unroll.c: Likewise.
* loop-unswitch.c: Likewise.
* loop.c: Likewise.
* loop.h: Likewise. Add extern to prototypes.
* machmode.h: Likewise.
* main.c: Likewise.
* mbchar.c: Likewise.
* mbchar.h: Likewise.
* mkdeps.c: Likewise.
* mkdeps.h: Likewise.
* optabs.c: Likewise.
* optabs.h: Likewise.
* output.h: Likewise.
* gccspec.c: Likwise.
* postreload.c: Likewise.
* prefix.c: Likewise.
* prefix.h: Likewise.
* print-rtl.c: Likewise.
* print-tree.c: Likewise.
* profile.c: Likewise.
* read-rtl.c: Likewise.
* real.c: Likewise.
* real.h: Likewise.
* recog.c: Likewise.
* recog.h: Likewise.
* reg-stack.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* regrename.c: Likewise.
* regs.h: Likewise.
* reload.c: Likewise.
* reload.h: Likewise.
* reload1.c: Likewise.
* reorg.c: Likewise.
* resource.c: Likewise.
* resource.h: Likewise.
* rtl-error.c: Likewise.
* rtl.c: Likewise.
* rtl.h: Likewise.
* rtlanal.c: Likewise.

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

20 years ago2003-07-06 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 6 Jul 2003 09:37:11 +0000 (09:37 +0000)]
2003-07-06  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_classes.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/bits/locale_facets.tcc: Likewise.
* src/locale.cc: Likewise.
* src/localename.cc: Likewise.

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

20 years ago * gcc.c: Convert prototypes to ISO C90.
aj [Sun, 6 Jul 2003 06:15:36 +0000 (06:15 +0000)]
* gcc.c: Convert prototypes to ISO C90.
* gcc.h: Likewise.
* gcov-dump.c: Likewise.
* gcov-iov.c: Likewise.
* gcse.c: Likewise.
* genattrtab.h: Likewise.
* ggc.h: Likewise.
* global.c: Likewise.
* graph.c: Likewise.
* graph.h: Likewise.
* hosthooks.h: Likewise.
* hooks.h: Likewise.
* hooks.c: Likewise.
* hashtable.h: Likewise.
* hashtable.c: Likewise.
* haifa-sched.c: Likewise.
* integrate.h: Likewise.
* integrate.c: Likewise.
* input.h: Likewise.
* ifcvt.c: Likewise.

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

20 years ago2003-07-06 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 6 Jul 2003 04:37:22 +0000 (04:37 +0000)]
2003-07-06  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/allocator_traits.h:  Fix doxygen markup.
* include/ext/mt_allocator.h:  Likewise.

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

20 years ago2003-07-06 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 6 Jul 2003 04:30:10 +0000 (04:30 +0000)]
2003-07-06  Phil Edwards  <pme@gcc.gnu.org>

* testsuite/testsuite_hooks.h:  Guard against a missing unlink().

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

20 years ago2003-07-05 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 6 Jul 2003 04:07:36 +0000 (04:07 +0000)]
2003-07-05  Phil Edwards  <pme@gcc.gnu.org>

* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS):  Bump minimal version
requirement.  Add port_specific_symbol_file variable.
* configure.host:  Add docs for port_specific_symbol_file.
Clean up try_cpu block for x86.
* config/linker-map.gnu:  No more "last symbol can't have a
semicolon" kaka.  Add hook for port-specific symbols.
* src/Makefile.am:  Remove trailing whitespace.
(libstdc++-symbol.ver):  Detect the presence of port-specific
symbols, and add them accordingly.

* docs/html/17_intro/porting.texi:  Bring up to date.

* src/Makefile.in, aclocal.m4, configure,
docs/html/17_intro/porting.html:  Regenerated.

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

20 years ago PR c++/11431
mmitchel [Sun, 6 Jul 2003 03:30:57 +0000 (03:30 +0000)]
PR c++/11431
* typeck.c (build_static_cast): Check for reference conversions
earlier.

* cp-tree.h (perform_integral_promotions): Declare.
* call.c (build_addr_func): Use decay_conversion.
(convert_arg_to_ellipsis): Likewise.  Remove misleading comment.
(convert_for_arg_passing): Use perform_integral_promotions.
* cvt.c (build_expr_type_conversion): Use decay_conversion.
(type_promotes_to): Do not return a cv-qualified type.
* decl.c (grok_reference_init): Fix formatting.
(get_atexit_node): Use decay_conversion.
(build_enumerator): Use perform_integral_promotions.
* init.c (build_vec_init): Use decay_conversion.
* semantics.c (finish_expr_stmt): Likewise.
(finish_switch_cond): Use perform_integral_promotions.
* typeck.c (default_conversion): Likewise.
(perform_integral_promotions): New function.
(build_indirect_ref): Use decay_conversion.
(build_array_ref): Use perform_integral_promotions.
(convert_arguments): Use decay_conversion.
(build_unary_op): Use perform_integral_promotions.
(build_c_cast): Use decay_conversion.
(build_modify_expr): Likewise.
(convert_for_initialization): Likewise.
* typeck2.c (build_x_arrow): Likewise.

* g++.old-deja/g++.jason/typeid1.C: Make it a compile test, not a
run test.

PR c++/11431
* g++.dg/expr/static_cast3.C: New test.

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

20 years ago2003-07-05 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 6 Jul 2003 03:14:37 +0000 (03:14 +0000)]
2003-07-05  Phil Edwards  <pme@gcc.gnu.org>

* scripts/create_testsuite_files:  New file.
* testsuite/Makefile.am (all-local, check-performance):  Use it.
* testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests):  Remove.
* testsuite/Makefile.in:  Regenerated.

* testsuite/performance/filebuf_sputc.cc:  Remove the temporary
files at the end.
* testsuite/performance/fstream_seek_write.cc:  Likewise.
* testsuite/performance/ofstream_insert_float.cc:  Likewise.
* testsuite/performance/ofstream_insert_int.cc:  Likewise.
* testsuite/abi_check.cc (main):  Nicer spacing in usage output.

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

20 years ago2003-07-05 Gawain Bolton <gp.bolton@computer.org>
bkoz [Sun, 6 Jul 2003 00:58:52 +0000 (00:58 +0000)]
2003-07-05  Gawain Bolton  <gp.bolton@computer.org>

* include/bits/stl_list.h: Performance and memory usage
improvements.
* include/bits/list.tcc: Likewise.

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

20 years agoDaily bump.
gccadmin [Sun, 6 Jul 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * combine.c (nonzero_bits1): Fix a warning.
kazu [Sat, 5 Jul 2003 21:10:08 +0000 (21:10 +0000)]
* combine.c (nonzero_bits1): Fix a warning.

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

20 years ago2003-07-05 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 5 Jul 2003 20:44:17 +0000 (20:44 +0000)]
2003-07-05  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_complex.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/std/std_memory.h: Likewise.
* include/std/std_valarray.h: Likewise.

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

20 years ago * config/h8300/h8300.c (compute_mov_length): Correct the
kazu [Sat, 5 Jul 2003 18:58:40 +0000 (18:58 +0000)]
* config/h8300/h8300.c (compute_mov_length): Correct the
length of loading CONST0_RTX (SFmode).

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

20 years ago * toplev.c (output_clean_symbol_name): Remove.
nathan [Sat, 5 Jul 2003 16:11:53 +0000 (16:11 +0000)]
* toplev.c (output_clean_symbol_name): Remove.
* toplev.h (output_clean_symbol_name): Remove.
* config/alpha/alpha.c (unicosmk_output_module_name): Use
lbasename & clean_symbol_name.

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

20 years ago2003-07-05 Gawain Bolton <gp.bolton@computer.org>
bkoz [Sat, 5 Jul 2003 15:47:09 +0000 (15:47 +0000)]
2003-07-05  Gawain Bolton  <gp.bolton@computer.org>

* include/bits/stl_tree.h: _Rb_tree_rebalance():  Add local
          variable for grandparent and use const

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

20 years ago * ggc.h: Follow spelling conventions.
kazu [Sat, 5 Jul 2003 15:39:59 +0000 (15:39 +0000)]
* ggc.h: Follow spelling conventions.
* config/i386/i386.c: Likewise.
* config/i386/winnt.c: Likewise.
* config/rs6000/rs6000.c: Likewise.

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

20 years ago * bt-load.c: Fix comment typos.
kazu [Sat, 5 Jul 2003 15:17:36 +0000 (15:17 +0000)]
* bt-load.c: Fix comment typos.
* c-incpath.c: Likewise.
* cfg.c: Likewise.
* cfgcleanup.c: Likewise.
* cfgloop.h: Likewise.
* cfgloopmanip.c: Likewise.
* cfgrtl.c: Likewise.
* diagnostic.h: Likewise.
* dwarfout.c: Likewise.
* emit-rtl.c: Likewise.
* et-forest.c: Likewise.
* et-forest.h: Likewise.
* expr.c: Likewise.
* gcse.c: Likewise.
* genattr.c: Likewise.
* jump.c: Likewise.
* langhooks.h: Likewise.
* local-alloc.c: Likewise.
* loop-unroll.c: Likewise.
* loop-unswitch.c: Likewise.
* ra-build.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* rtl.def: Likewise.
* rtlanal.c: Likewise.
* sched-ebb.c: Likewise.
* sched-rgn.c: Likewise.
* simplify-rtx.c: Likewise.
* ssa.c: Likewise.
* tracer.c: Likewise.
* tree.c: Likewise.

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

20 years ago2003-07-05 Zack Weinberg <zack@codesourcery.com>
aj [Sat, 5 Jul 2003 14:44:29 +0000 (14:44 +0000)]
2003-07-05  Zack Weinberg  <zack@codesourcery.com>

* cppcharset.c: Use the correct return type for the fallback iconv
macro.

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

20 years agoSat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
hubicka [Sat, 5 Jul 2003 14:40:59 +0000 (14:40 +0000)]
Sat Jul  5 16:18:53 CEST 2003  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>

Blame to Jan Hubicka  <jh@suse.cz>
* cfglayout.c (record_effective_endpoints): Split insns before
first basic block correctly.

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

20 years ago2003-07-05 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 5 Jul 2003 13:37:39 +0000 (13:37 +0000)]
2003-07-05  Toon Moene  <toon@moene.indiv.nluug.nl>

PR Fortran/11301
* com.c (ffecom_sym_transform_): Only install
FFEINFO_whereGLOBAL symbols in the global binding
level if not -fno-globals.

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

20 years ago2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Sat, 5 Jul 2003 12:55:09 +0000 (12:55 +0000)]
2003-07-05  David Billinghurst <David.Billinghurst@riotinto.com>

* testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
* testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
* testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
  * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
  * testsuite/27_io/objects/char/7.cc: Ditto
  * testsuite/27_io/objects/char/9661-1.cc: Ditto

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

20 years ago * tree.h (contains_placeholder_p): Now returns bool.
kenner [Sat, 5 Jul 2003 11:54:57 +0000 (11:54 +0000)]
* tree.h (contains_placeholder_p): Now returns bool.
(CONTAINS_PLACEHOLDER_P): New macro.
(type_contains_placeholder_p): New function.
* tree.c (save_expr): Remove code avoiding folding COMPONENT_REF.
(contains_placeholder_p): Now returns bool.
Rework to use CONTAINS_PLACEHOLDER_P macro.
(type_contains_placeholder_p): New function.
* fold-const.c (fold, case COMPONENT_REF): Don't fold if
type_contains_placeholder_p.
(fold_range_test, fold_mathfn_compare, fold_inf_compare, fold):
Use CONTAINS_PLACEHOLDER_P macro.
* builtins.c (fold_builtin): Likewise.
* calls.c (initialize_argument_information): Likewise.
* emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
* explow.c (expr_size): Likewise.
* expr.c (store_constructor, get_inner_reference): Likewise.
* function.c (assign_parms): Likewise.
* stor-layout.c (variable_size): Likewise.

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

20 years ago * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
kenner [Sat, 5 Jul 2003 11:51:54 +0000 (11:51 +0000)]
* expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS
if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.

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

20 years ago * genattrtab.c (write_attr_get): Revert part of last patch to
aj [Sat, 5 Jul 2003 11:23:01 +0000 (11:23 +0000)]
* genattrtab.c (write_attr_get): Revert part of last patch to
always write out a prototype.

* genemit.c (gen_split): Readd lost unused attributes in last
patch.

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

20 years ago * cfgloopmanip.c (force_single_succ_latches): Force latch to be
rakdver [Sat, 5 Jul 2003 10:23:33 +0000 (10:23 +0000)]
* cfgloopmanip.c (force_single_succ_latches): Force latch to be
different from header.

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

20 years ago2003-07-05 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 5 Jul 2003 08:18:58 +0000 (08:18 +0000)]
2003-07-05  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_bitset.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.

* include/std/std_fstream.h: Change comment to doxygen style.

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

20 years agoMissed one in last change.
schwab [Sat, 5 Jul 2003 07:38:12 +0000 (07:38 +0000)]
Missed one in last change.

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

20 years ago * config/m68k/m68k.c: Remove code protected by CRDS.
schwab [Sat, 5 Jul 2003 07:33:06 +0000 (07:33 +0000)]
* config/m68k/m68k.c: Remove code protected by CRDS.
* config/m68k/m68k.md: Likewise.

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

20 years ago PR driver/11417
neil [Sat, 5 Jul 2003 07:20:32 +0000 (07:20 +0000)]
PR driver/11417
* c-opts.c (permit_fortran_options): New.
(c_common_init_options): Accept fortran front end options if
it looks like we might be preprocessing Fortran.
(c_common_handle_option): Don't reject switch if permit_fotran_options.

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

20 years ago2003-07-05 Phil Edwards <pme@gcc.gnu.org>
pme [Sat, 5 Jul 2003 06:00:05 +0000 (06:00 +0000)]
2003-07-05  Phil Edwards  <pme@gcc.gnu.org>

* include/std/std_limits.h:  More CPP->CXX changes.
* scripts/check_survey.in:  Likewise.

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

20 years ago * genattr.c (internal_dfa_insn_code): Output prototype.
ghazi [Sat, 5 Jul 2003 05:27:22 +0000 (05:27 +0000)]
* genattr.c (internal_dfa_insn_code): Output prototype.
* genattrtab.c: Don't output unnecessary decls, output in ISO C.
* genautomata.c: Likewise.
* genconditions.c: Likewise.
* genemit.c: Likewise.
* genextract.c: Likewise.
* gengenrtl.c: Likewise.
* gengtype.c: Likewise.
* genopinit.c: Likewise.
* genoutput.c: Likewise.
* genpeep.c: Likewise.
* genrecog.c: Likewise.

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

20 years ago2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 5 Jul 2003 04:05:45 +0000 (04:05 +0000)]
2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>

Move from CPP to CXX.
* include/bits/c++config: Move to GLIBCXX from GLIBCPP.
* testsuite/Makefile.am: Same.
* testsuite/Makefile.in: Regenerate.
* po/Makefile.am: Same.
* po/Makefile.in: Regenerate.
* libsupc++/Makefile.am: Same.
* libsupc++/Makefile.in: Regenerate.
* libmath/Makefile.am: Same.
* libmath/Makefile.in: Regenerate.
* include/Makefile.am: Same.
* include/Makefile.in: Regenerate.
* src/Makefile.am: Same.
* src/Makefile.in: Regenerate.
* acconfig.h: Same.
* configure.host: Same.
* configure.in: Same.
* configure: Regenerate.
* acinclude.m4: Same.
* aclocal.m4: Same.
* src: Change all files in this directory.
* testsuite: Same.
* include: Same, standardize include guards.
* config: Same.
* libsupc++: Same.

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

20 years ago * call.c: Fix comment typos.
kazu [Sat, 5 Jul 2003 03:02:05 +0000 (03:02 +0000)]
* call.c: Fix comment typos.
* class.c: Likewise.
* cp-tree.h: Likewise.
* cvt.c: Likewise.
* decl2.c: Likewise.
* decl.c: Likewise.
* init.c: Likewise.
* mangle.c: Likewise.
* parser.c: Likewise.
* pt.c: Likewise.
* search.c: Likewise.
* semantics.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise

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

20 years ago PR c/11428
kazu [Sat, 5 Jul 2003 02:32:53 +0000 (02:32 +0000)]
PR c/11428
* expr.c (do_store_flag): Pass in the correct result type
when calling fold_single_bit_test.
* fold-const.c (fold_single_bit_test): Use result_type for the
result when folding a sign bit test.

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

20 years ago * pex-win32.c (pexecute): Mark parameters this_pname and
dannysmith [Sat, 5 Jul 2003 00:52:07 +0000 (00:52 +0000)]
* pex-win32.c (pexecute): Mark parameters this_pname and
temp_base as unused. Remove unused variables retries,
sleep_interval. Initialize org_stdin, org_stdout.
(pwait): Mark parameter flags as unused.

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

20 years ago * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
zack [Sat, 5 Jul 2003 00:24:00 +0000 (00:24 +0000)]
* cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
(struct cpp_options): Add narrow_charset, wide_charset,
bytes_big_endian fields.  Remove EBCDIC field.
(cpp_init_iconv, cpp_interpret_string): New external interfaces.

* cpphash.h: Include <iconv.h> if we have it, otherwise
provide a dummy definition of iconv_t.
(struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
(_cpp_valid_ucn): Update prototype.
(_cpp_destroy_iconv): New prototype.

* doc/cpp.texi: Document character set handling.
* doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
* doc/extend.texi: Delete entire section on multiline strings.
Rewrite section on __FUNCTION__ etc now that these are
variables in C.

* cppucnid.tab, cppucnid.pl: New files.
* cppucnid.h: New generated file.
* cppcharset.c: Include cppucnid.h.  Lots of commentary added.
(iconv_open, iconv, iconv_close): Provide dummy definitions
if !HAVE_ICONV.
(SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
_cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
emit_numeric_escape, convert_hex, convert_oct, convert_escape,
cpp_interpret_string, narrow_str_to_charconst,
wide_str_to_charconst): New.
(ucn_valid_in_identifier): Use a binary search through the
ucnranges table defined in cppucnid.h, not a long chain of if
statements.
(_cpp_valid_ucn): Add a limit pointer.  Downgrade "universal
character names are only valid in C++ and C99" to a warning.
Issue the "meaning of \[uU] is different in traditional C"
warning here.  Take care not to let iconv see an invalid UCS
value if we get a malformed UCN.  Issue an error if we don't
have iconv.
(cpp_interpret_charconst): Moved here from cpplex.c.  Use
cpp_interpret_string to do the heavy lifting.

* cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
narrow_charset, wide_charset fields of options structure.
(cpp_destroy): Call _cpp_destroy_iconv.
* cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
(maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
(cpp_interpret_charconst): Moved to cppcharset.c.
* cpplib.c (dequote_string): Delete.
(interpret_string_notranslate): New.
(do_line, do_linemarker): Use interpret_string_notranslate.

* Makefile.in (cppcharset.o): Depend on cppucnid.h.

* c-common.c (fname_string, combine_strings): Delete.
* c-common.h (fname_string, combine_strings): Delete prototypes.
* c-lex.c (ignore_escape_flag): Delete.
(cb_ident): Use cpp_interpret_string, not lex_string.
(get_nonpadding_token): New function.
(c_lex): Handle Objective-C @-prefixed identifiers and strings here.
Adjust calls to lex_string.  Don't write *value twice.
(lex_string): Now handles string constant concatenation.
Most of the work handed off to cpp_interpret_string.
Call fix_string_type here.
* c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
FUNC_NAME, throughout.
(OBJC_STRING): New token type.
(primary:STRING): No need to call fix_string_type here.
(primary:objc_string): Make that OBJC_STRING.
(objc_string nonterminal): Delete.
(yylexname): Delete code to handle fake string constants.
(yylexstring): Delete entirely.
(_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING.  No need
to handle CPP_ATSIGN.

* c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
* c-opts.c (missing_arg, c_common_handle_option): Handle
OPT_fexec_charset_ and OPT_fwide_exec_charset_.
(c_common_init): Set cpp_opts->bytes_big_endian, not
cpp_opts->EBCDIC.  Call cpp_init_iconv.
(print_help): Document -fexec-charset= and -fexec-wide-charset=.
(TARGET_EBCDIC): Delete default definition.

* objc/objc-act.c (build_objc_string_object): No need to
handle string constant concatenation.

cp:
* parser.c (cp_lexer_read_token): No need to handle string
constant concatenation.

testsuite:
* gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c
everywhere.
* gcc.dg/concat.c: Concatenation of string constants with
__FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error.
* gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp.
* gcc.dg/cpp/escape-2.c: Use wide character constants where
necessary to avoid multi-character character constant warning.
* gcc.dg/cpp/escape.c: Likewise.
* gcc.dg/cpp/ucs.c: Likewise.
Remove backslashes from dg-bogus comments, as they confuse Tcl.
Fix a typo.

libstdc++-v3:
* testsuite/22_locale/collate/compare/wchar_t/2.cc
* testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
* testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
* testsuite/22_locale/collate/hash/wchar_t/2.cc
* testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
* testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
* testsuite/22_locale/collate/transform/wchar_t/2.cc
* testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
* testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
XFAIL on all targets.

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

20 years ago * doc/install.texi: Fix typos.
kazu [Sat, 5 Jul 2003 00:19:47 +0000 (00:19 +0000)]
* doc/install.texi: Fix typos.
* doc/invoke.texi: Likewise.
* doc/tm.texi: Likewise.

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

20 years agoDaily bump.
gccadmin [Sat, 5 Jul 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * config/pa/fptr.c: Fix comment typos.
kazu [Sat, 5 Jul 2003 00:08:11 +0000 (00:08 +0000)]
* config/pa/fptr.c: Fix comment typos.
* config/pa/pa-64.h: Likewise.
* config/pa/pa.c: Likewise.
* config/pa/pa.h: Likewise.
* config/rs6000/603.md: Likewise.
* config/rs6000/7xx.md: Likewise.
* config/rs6000/darwin.h: Likewise.
* config/rs6000/freebsd.h: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.md: Likewise.
* config/rs6000/spe.h: Likewise.

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

20 years ago * Makefile.tpl (all-bootstrap): Depend on maybe-all-intl.
zack [Fri, 4 Jul 2003 23:07:22 +0000 (23:07 +0000)]
* Makefile.tpl (all-bootstrap): Depend on maybe-all-intl.
* Makefile.in: Regenerate.

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

20 years ago PR c/11428
kazu [Fri, 4 Jul 2003 22:56:24 +0000 (22:56 +0000)]
PR c/11428
* gcc.c-torture/compile/20030704-1.c: New.

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

20 years ago * gcc.c-torture/compile/20030704-1.c: New.
kazu [Fri, 4 Jul 2003 22:55:07 +0000 (22:55 +0000)]
* gcc.c-torture/compile/20030704-1.c: New.

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

20 years ago2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 4 Jul 2003 22:33:04 +0000 (22:33 +0000)]
2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
* aclocal.m4: Regenerate.
* configure: Regenerate.

2003-07-04  Jerry Quinn  <jlquinn@optonline.net>

* include/bits/locale_facets.tcc (__int_to_char): Move common case
to the top.

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

20 years ago * config/s390/2064.md: Change GNU CC to GCC.
uweigand [Fri, 4 Jul 2003 22:29:03 +0000 (22:29 +0000)]
* config/s390/2064.md: Change GNU CC to GCC.
* config/s390/2084.md: Likewise.
* config/s390/fixdfdi.h: Likewise.
* config/s390/linux.h: Likewise.
* config/s390/s390-modes.def: Likewise.
* config/s390/s390-protos.h: Likewise.
* config/s390/s390.c: Likewise.
* config/s390/s390.h: Likewise.
* config/s390/s390.md: Likewise.
* config/s390/s390x.h: Likewise.

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

20 years ago * expr.c (do_store_flag): Pass in the correct result type
law [Fri, 4 Jul 2003 22:00:19 +0000 (22:00 +0000)]
    * expr.c (do_store_flag): Pass in the correct result type
        when calling fold_single_bit_test.
        * fold-const.c (fold_single_bit_test): Use result_type for the
        result when folding a sign bit test.

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

20 years ago * opts.c (common_handle_options): Negate sense of -falign- switches.
neil [Fri, 4 Jul 2003 21:47:22 +0000 (21:47 +0000)]
* opts.c (common_handle_options): Negate sense of -falign- switches.

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

20 years ago2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 4 Jul 2003 21:24:35 +0000 (21:24 +0000)]
2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
            Petur Runolfsson  <peturr02@ru.is>

* config/io/basic_file_stdio.cc: Revert.

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

20 years ago2003-07-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 4 Jul 2003 20:41:28 +0000 (20:41 +0000)]
2003-07-04  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/deque.tcc: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/bits/gslice_array.h: Likewise.
* include/bits/indirect_array.h: Likewise.
* include/bits/list.tcc: Likewise.
* include/bits/mask_array.h: Likewise.
* include/bits/slice_array.h: Likewise.

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

20 years ago2003-07-04 Gawain Bolton <gbolton@free.fr>
bkoz [Fri, 4 Jul 2003 20:37:01 +0000 (20:37 +0000)]
2003-07-04  Gawain Bolton  <gbolton@free.fr>

* include/bits/stl_tree.h: Performance and memory usage
improvements.

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

20 years agoFix it again.
hjl [Fri, 4 Jul 2003 20:09:00 +0000 (20:09 +0000)]
Fix it again.

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

20 years agoFix typo.
hjl [Fri, 4 Jul 2003 19:51:03 +0000 (19:51 +0000)]
Fix typo.

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

20 years ago2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 4 Jul 2003 19:45:55 +0000 (19:45 +0000)]
2003-07-04  H.J. Lu <hongjiu.lu@intel.com>

* Makefile.tpl: Replace PWD with PWD_COMMAND.
* Makefile.in: Regenerated.

gcc/

2003-07-04  H.J. Lu <hongjiu.lu@intel.com>

* config-ml.in: Replace PWD with PWD_COMMAND.
* Makefile.in: Likewise.

gcc/ada/

2003-07-04  H.J. Lu <hongjiu.lu@intel.com>

* Make-lang.in: Replace PWD with PWD_COMMAND.
* Makefile.adalib: Likewise.
* Makefile.in: Likewise.

gcc/treelang/

2003-07-04  H.J. Lu <hongjiu.lu@intel.com>

* Make-lang.in: Replace PWD with PWD_COMMAND.

libf2c/

2003-07-04  H.J. Lu <hongjiu.lu@intel.com>

* Makefile.in: Replace PWD with PWD_COMMAND.

libstdc++-v3/

2003-07-04  H.J. Lu <hongjiu.lu@intel.com>

* Makefile.am: Replace PWD with PWD_COMMAND.
* Makefile.in: Regenerated.
* docs/html/Makefile: Likewise.

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

20 years ago * cfgloopanal.c (count_strange_loop_iterations): New static function.
rakdver [Fri, 4 Jul 2003 18:53:41 +0000 (18:53 +0000)]
* cfgloopanal.c (count_strange_loop_iterations): New static function.
(constant_iterations, count_loop_iterations, simple_loop_exit_p):
Handle strange loops.

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

20 years ago2003-07-04 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Fri, 4 Jul 2003 18:47:09 +0000 (18:47 +0000)]
2003-07-04  Toon Moene  <toon@moene.indiv.nluug.nl>

* install.texi: Even the g77 manpage is derived from
the full g77 manual.

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

20 years agotop:
zack [Fri, 4 Jul 2003 18:18:54 +0000 (18:18 +0000)]
top:
* intl: New directory; see intl/ChangeLog for details.
* ABOUT-NLS, config.rpath: Import from gettext 0.12.1.
* Makefile.tpl: all-gcc depends on maybe-all-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: New file - copy of gettext.m4 from binutils
CVS, with added AC_ISC_POSIX macro from gcc/aclocal.m4.
gcc:
* ABOUT-NLS: Delete.
* intl: Delete entire directory.
* aclocal.m4: Include ../config/gettext.m4.  Delete
AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
* configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
Remove intl/Makefile from all_outputs.
* configure, config.in: Regenerate.
* Makefile.in: Expunge all references to intl subdirectory.
Add -I../intl to INCLUDES.
* intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
intl:
* Makefile.in: Remove unnecessary capabilities for
installation, build of shared libraries, generation of
distribution tarballs, etc.  Fix all the places that rely on
the parent directory.  Don't generate libgnuintl.h from
anything; do generate $(objdir)/libintl.h from libgnuintl.h if
necessary.  Adjust DEFS for use of config.h.
* libgnuintl.h.in: Rename libgnuintl.h.
* README: New file.
* config.charset, ref-add.sin, ref-del.sin: Delete (unused).
* COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant).
* aclocal.m4: New; generated per instructions in gettext manual.
* configure.in: New; written from scratch for this configuration.
* configure, config.h.in: Generated.
contrib:
* gcc_update: Remove gcc/intl/plural.c from list.
Add new generated files intl/plural.c, intl/configure,
intl/config.h.in.

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

20 years ago2003-07-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 4 Jul 2003 18:14:27 +0000 (18:14 +0000)]
2003-07-04  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/valarray_array.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/bits/vector.tcc: Likewise.

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

20 years ago2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 4 Jul 2003 18:10:10 +0000 (18:10 +0000)]
2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>

* include/Makefile.am: Update target_ to host_.
* include/Makefile.in: Regenerate.
* src/Makefile.am: Same.
* src/Makefile.in: Regenerate.

* config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.

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

20 years ago2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 4 Jul 2003 17:36:38 +0000 (17:36 +0000)]
2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
--enable-libstdcxx-debug-flags.
(GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
(GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
* aclocal.m4: Regenerate.
* configure: Same.
* docs/html/configopts.html: Update.

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

20 years ago * gcc_release: Execute gcc.gnu.org-only operations which are
gerald [Fri, 4 Jul 2003 17:25:31 +0000 (17:25 +0000)]
* gcc_release: Execute gcc.gnu.org-only operations which are
related to diff generation only if diffs have been requested.
(build_sources): Improve tracing and an error message related
to tagging.

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

20 years ago * gcc.dg/compat/fnptr-by-value-1_x.c: Add a prototype for testva.
kazu [Fri, 4 Jul 2003 16:44:37 +0000 (16:44 +0000)]
* gcc.dg/compat/fnptr-by-value-1_x.c: Add a prototype for testva.

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

20 years ago2003-07-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 4 Jul 2003 16:36:26 +0000 (16:36 +0000)]
2003-07-04  Paolo Carlini  <pcarlini@unitus.it>

Revert the fix for libstdc++/11378.

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

20 years ago2003-07-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 4 Jul 2003 16:15:15 +0000 (16:15 +0000)]
2003-07-04  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/11378
* include/std/std_fstream.h (xsputn): In the unbuffered case,
provided always_noconv(), issue directly _M_file.xsputn.
* testsuite/performance/filebuf_unbuf_sputn.cc: New.

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

20 years ago * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
sayle [Fri, 4 Jul 2003 12:42:01 +0000 (12:42 +0000)]
* config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
* config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.

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

20 years ago2003-07-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 4 Jul 2003 12:10:13 +0000 (12:10 +0000)]
2003-07-04  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/stl_list.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/bits/stl_queue.h: Likewise.
* include/bits/stl_raw_storage_iter.h: Likewise.
* include/bits/stl_tempbuf.h: Likewise.
* include/bits/stl_tree.h: Likewise.
* include/bits/stl_uninitialized.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/ext/rope: Change includes order.

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

20 years ago2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 4 Jul 2003 09:10:48 +0000 (09:10 +0000)]
2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>

* configure.host (fpos_include_dir): Fix.

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

20 years ago PR c++/5287, PR c++/7910, PR c++/11021
dannysmith [Fri, 4 Jul 2003 07:52:38 +0000 (07:52 +0000)]
PR c++/5287, PR c++/7910,  PR c++/11021
* testsuite/g++.dg/ext/dllimport1.C: Add mingw32 as target. Add
tests for warnings.
* testsuite/g++.dg/ext/dllimport2.C: Add tests for warnings.
* testsuite/g++.dg/ext/dllimport3.C: Likewise.
* testsuite/g++.dg/ext/dllimport4.C: New file.
* testsuite/g++.dg/ext/dllimport5.C: New file.
* testsuite/g++.dg/ext/dllimport6.C: New file.
* testsuite/g++.dg/ext/dllimport7.C: New file.
* testsuite/g++.dg/ext/dllimport8.C: New file.
* testsuite/g++.dg/ext/dllimport9.C: New file.
* testsuite/g++.dg/ext/dllimport10.C: New file.
* testsuite/g++.dg/ext/dllexport1.C: New file.

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

20 years ago PR c++/5287, PR c++/7910, PR c++/11021
dannysmith [Fri, 4 Jul 2003 07:42:11 +0000 (07:42 +0000)]
PR c++/5287, PR c++/7910,  PR c++/11021
* config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
dllimport attribute if function is defined at declaration, but
report error instead. Likewise for dllimport'd variable
definitions.  Set implicit TREE_PUBLIC for dllimport'd variables
declared within functions, Report error if dllimport or dllexport
symbol is not global.
(i386_pe_dllimport_p): Ignore dllimport attribute of functions
if defined after declaration or if inlined. Don't allow definition
of static data members of C++ classes. Don't dllimport virtual
methods.
(i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
(i386_pe_mark_dllimport): Remove unnecessary checks.
(i386_pe_encode_section_info): Warn if the dllimport attribute
and symbol prefix have been instantiated and then overridden.

* doc/extend.texi: Document dllimport and dllexport attributes.

* config/i386/winnt.c (i386_pe_output_labelref): Fix indents.

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

20 years ago2003-07-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 4 Jul 2003 07:22:19 +0000 (07:22 +0000)]
2003-07-04  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/stl_heap.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/bits/stl_iterator_base_funcs.h: Likewise.

* include/bits/stl_algo.h: Qualify __iterator_category too.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_bvector.h: Likewise.

* include/bits/stl_algo.h: Don't qualify the pair type.

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

20 years ago2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 4 Jul 2003 07:15:30 +0000 (07:15 +0000)]
2003-07-03  Benjamin Kosnik  <bkoz@redhat.com>

* include/Makefile.am (target_headers): Add fpos.h
(bits_headers): Remove.
* include/Makefile.in: Regenerate.
* configure.in: Add FPOS_INC_SRCDIR, substitute it.
* configure: Regenerate.
* configure.host: Add fpos_include_dir.
* config/os/gnu-linux/fpos.h: New.
* config/os/generic/fpos.h: Add.
* include/bits/fpos.h: Remove.

* config/io/c_io_stdio.h: Remove fpos_t typedef.

* include/bits/fstream.tcc: Tweaks.
* include/std/std_fstream.h: Same.

* testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
* testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
* testsuite/27_io/fpos/mbstate_t/2.cc: Same.
* testsuite/27_io/fpos/mbstate_t/3.cc: Same.
* testsuite/27_io/fpos/1.cc: New.

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

20 years ago2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 4 Jul 2003 07:14:54 +0000 (07:14 +0000)]
2003-07-03  Benjamin Kosnik  <bkoz@redhat.com>

* include/Makefile.am (target_headers): Add fpos.h
(bits_headers): Remove.
* include/Makefile.in: Regenerate.
* configure.in: Add FPOS_INC_SRCDIR, substitute it.
* configure: Regenerate.
* configure.host: Add fpos_include_dir.
* config/os/gnu-linux/fpos.h: New.
* config/os/generic/fpos.h: Add.
* include/bits/fpos.h: Remove.

* config/io/c_io_stdio.h: Remove fpos_t typedef.

* include/bits/fstream.tcc: Tweaks.
* include/std/std_fstream.h: Same.

* testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
* testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
* testsuite/27_io/fpos/mbstate_t/2.cc: Same.
* testsuite/27_io/fpos/mbstate_t/3.cc: Same.
* testsuite/27_io/fpos/1.cc: New.

2003-07-03  Benjamin Kosnik  <bkoz@redhat.com>
    Petur Runolfsson  <peturr02@ru.is>

* include/std/std_streambuf.h: Remove _M_pos.
* config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
* config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
use fread/fwrite instead of read/write.
* testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
* testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
before reading again.
* testsuite/27_io/objects/char/6.cc: Tweak.

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

20 years agoPatch from Uwe Stieber.
wilson [Fri, 4 Jul 2003 06:01:50 +0000 (06:01 +0000)]
Patch from Uwe Stieber.
* config/kaos.h (CPP_PREDEFINES): Delete.
(TARGET_OS_CPP_BUILTINS): New.

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

20 years ago * call.c (build_addr_func): Handle bound pointers-to-members.
mmitchel [Fri, 4 Jul 2003 05:05:19 +0000 (05:05 +0000)]
* call.c (build_addr_func): Handle bound pointers-to-members.
(build_method_call): Do not call resolve_offset_ref.
(implicit_conversion): Likewise.
(resolve_scoped_fn_name): Use finish_non_static_data_member, not
resolve_offset_ref.
(resolve_args): Do not call resolve_offset_ref.
(build_conditional_expr): Likewise.
(build_new_method_call): Likewise.
* cp-tree.def (OFFSET_REF): Update documentation.
(cp_convert_to_pointer): Update handling of conversions from
pointers to members to pointers.
(ocp_convert): Do not call resolve_offset_ref.
(convert_to_void): Likewise.
(build_expr_type_conversion): Likewise.
(delete_sanity): Likewise.
(resolve_offset_ref): Simplify greatly.
(build_vec_delete): Do not call resolve_offset_ref.
* parser.c (cp_parser_postfix_expression): Call resolve_offset_ref
if appropriate.
(cp_parser_unary_expression): Use
cp_parser_simple_cast_expression.
(cp_parser_delete_expression): Likewise.
(cp_parser_cast_expression): Likewise.
(cp_parser_pm_expression): Use cp_parser_binary_op.
(cp_parser_simple_cast_expression): New function.
* rtti.c (build_dynamic_cast_1): Do not call resolve_offset_ref.
* semantics.c (finish_increment_expr): Likewise.
(finish_typeof): Likewise.
* tree.c (lvalue_p_1): Do not handle OFFSET_REF.
* typeck.c (require_complete_type): Do not handle OFFSET_REFs.
(decay_conversion): Do not call resolve_offset_ref.
(finish_class_member_access_expr): Likewise.
(convert_arguments): Likewise.
(build_x_binary_op): Handle DOTSTAR_EXPR.
(condition_conversion): Do not call resolve_offset_ref.
(unary_complex_lvalue): Likewise.
(build_static_cast): Likewise.
(build_reinterpret_cast): Likewise.
(build_const_cast): Likewise.
(build_c_cast): Likewise.
(build_modify_expr): Likewise.
(convert_for_assignment): Likewise.
(convert_for_initialization): Likewise.
* typeck2.c (build_x_arrow): Likewise.
(build_m_component_ref): Simplify.

* g++.old-deja/g++.jason/typeid1.C: Add dg-error marker.
* g++.old-deja/g++.mike/net36.C: Tweak error messages.

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

20 years agogcc:
ghazi [Fri, 4 Jul 2003 01:55:50 +0000 (01:55 +0000)]
gcc:
* c-aux-info.c: Include toplev.h after c-tree.h.
* c-common.c: Likewise.
(GCC_DIAG_STYLE): Undef.
* c-semantics.c (GCC_DIAG_STYLE): Define.
* c-tree.h (GCC_DIAG_STYLE): Likewise.
* diagnostic.h (inform): Move prototype to toplev.h.
* jump.c: Include diagnostic.h before toplev.h.
* toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
(warning, error, fatal_error, pedwarn, sorry, inform,
error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.

cp:
* cp-tree.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_CXXDIAG): Define.
(cp_error_at, cp_warning_at, cp_pedwarn_at): Mark with
ATTRIBUTE_GCC_CXXDIAG.

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

20 years agoDaily bump.
gccadmin [Fri, 4 Jul 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
rakdver [Thu, 3 Jul 2003 23:50:05 +0000 (23:50 +0000)]
* cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
at all if edge is not specified.
(can_copy_bbs_p, copy_bbs): New.
* cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
* cfgloop.c (get_loop_body): Comment more precisely.
* cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
(scale_bbs_frequencies): Fix comment typo.
(can_duplicate_loop_p): Use can_copy_bbs_p.
(duplicate_loop_to_header_edge): Simplify by using copy_bbs.

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

20 years ago2003-7-03 Devang Patel <dpatel@apple.com>
dpatel [Thu, 3 Jul 2003 23:17:53 +0000 (23:17 +0000)]
2003-7-03  Devang Patel <dpatel@apple.com>

        * c-opts.c (c_common_parse_file): Remove extra
        debug_hooks->start_source_file call.

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

20 years ago * misc.c (gnat_argv): Revert last change.
kraai [Thu, 3 Jul 2003 21:49:54 +0000 (21:49 +0000)]
* misc.c (gnat_argv): Revert last change.
(gnat_handle_option, gnat_init_options): Copy arguments.

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