GCC Administrator
1be6bcf20c
Daily bump.
...
From-SVN: r41936
2001-05-10 07:16:09 +00:00
Zack Weinberg
6d4587f735
cppinit.c (cpp_post_options): Shut off macro expansion if -fpreprocessed.
...
* cppinit.c (cpp_post_options): Shut off macro expansion if
-fpreprocessed.
* cpplib.c (_cpp_handle_directive): If -fpreprocessed, accept
IN_I directives only if the # is in column 1 and the directive
name begins in column 2.
* cppmain.c (scan_buffer): Insert a space between # and an
identifier, when that identifier is a directive name.
* tradcpp.c (struct file_buf): Add a pointer to the next entry
in the header search path.
(enum node_type): Add T_INCLUDE_NEXT.
(directive_table): Add entry for include_next.
(do_include_next): New function.
(process_include): New routine, broken out of do_include.
(finclude): Insert 'nhd' argument, to be copied into
next_header_dir of the new buffer.
(main): Adjust to match.
* gsyslimits.h, limity.h: Un-indent #include_next.
testsuite:
* gcc.dg/cpp/direct2.c: New test.
* gcc.dg/cpp/direct2s.c: New test.
* gcc.c-torture/execute/920730-1t.c: #undef __GNUC__ at head.
From-SVN: r41932
2001-05-10 00:07:23 +00:00
Jeffrey Oldham
6ebe3121aa
ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.
...
2001-05-09 Jeffrey Oldham <oldham@codesourcery.com>
* ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.
From-SVN: r41931
2001-05-09 22:29:20 +00:00
Thiemo Seufer
8a1532886f
md5.c (md5_init_ctx): Declare constants as unsigned.
...
* md5.c (md5_init_ctx): Declare constants as unsigned.
(md5_process_block): Likewise.
From-SVN: r41930
2001-05-09 15:09:55 -04:00
Joseph Myers
10c179f3e9
objc.texi: Move from ../libobjc/objc-features.texi.
...
gcc:
* objc.texi: Move from ../libobjc/objc-features.texi. Adjust for
inclusion as a chapter of the GCC manual.
* gcc.texi: Include objc.texi.
* fdl.texi: Use @unnumberedsec for the addendum.
* Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies.
libobjc:
* objc-features.texi: Move to ../gcc/objc.texi.
* fdl.texi: Remove.
* Makefile.in: Don't generate documentation from
objc-features.texi.
From-SVN: r41927
2001-05-09 15:16:47 +01:00
Jan Hubicka
6c12e4889f
* i386.md (DImode move splitters): Use !MMX and !SSE for the condition.
...
From-SVN: r41926
2001-05-09 14:03:39 +00:00
Alexandre Oliva
d3c7d45ed9
regclass.c (scan_one_insn): Update REG_N_REFS when optimizing handling of two-address insns.
...
* regclass.c (scan_one_insn): Update REG_N_REFS when optimizing
handling of two-address insns.
From-SVN: r41925
2001-05-09 13:40:49 +00:00
Alexandre Oliva
d08d4a19e3
Makefile.in (NM_FOR_TARGET): Look for ./nm, then .../binutils/nm-new instead of ../binutils/nm.
...
* Makefile.in (NM_FOR_TARGET): Look for ./nm, then
../binutils/nm-new instead of ../binutils/nm.
From-SVN: r41924
2001-05-09 13:37:28 +00:00
Jan Hubicka
a2bafd2011
i386.md (movdi splitter): Fix the splitting condition (float_extenddftf splitter): Fix mode.
...
* i386.md (movdi splitter): Fix the splitting condition
(float_extenddftf splitter): Fix mode.
From-SVN: r41923
2001-05-09 10:19:00 +00:00
Jan Hubicka
4ea7a307cf
genrecog.c (write_switch): Avoid outputting of switch for types wider than int.
...
* genrecog.c (write_switch): Avoid outputting of switch for
types wider than int.
From-SVN: r41922
2001-05-09 10:06:20 +00:00
GCC Administrator
710bbed09d
Daily bump.
...
From-SVN: r41921
2001-05-09 07:16:39 +00:00
Benjamin Kosnik
eea790f7b3
std_cstring.h (memchr): Correct definitions.
...
2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
* include/c_std/bits/std_cstring.h (memchr): Correct definitions.
(strchr): Same.
(strpbrk): Same.
(strrchr): Same.
(strstr): Same.
* include/c_std/bits/std_cwchar.h (wcschr): Same.
(wcsbrk): Same.
(wcsrchr): Same.
(wcsstr): Same.
(wmemchr): Same.
* testsuite/21_strings/c_strings.cc: Add tests.
From-SVN: r41919
2001-05-08 23:53:55 +00:00
Andrew Haley
94bd63e512
reload1.c (copy_eh_notes): New function.
...
2001-05-03 Andrew Haley <aph@cambridge.redhat.com>
* reload1.c (copy_eh_notes): New function.
(emit_input_reload_insns): Call it.
(emit_output_reload_insns): Call it.
From-SVN: r41918
2001-05-08 14:14:11 +00:00
Alexandre Petit-Bianco
352b3f3f2a
re PR java/2538 (latest gcj no longer compiles apache xerces parser due problems with variable declarations and inner classes)
...
2001-05-07 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (build_unresolved_array_type): Set
EXPR_WFL_QUALIFICATION on the newly created wfl.
Fixes PR java/2538. Fixes PR java/2535.
(http://gcc.gnu.org/ml/gcc-patches/2001-05/msg00438.html )
From-SVN: r41917
2001-05-08 01:11:26 -07:00
GCC Administrator
f9c00bbcb7
Daily bump.
...
From-SVN: r41914
2001-05-08 07:16:41 +00:00
Zack Weinberg
76555b9b2c
Really remove this file
...
From-SVN: r41913
2001-05-08 06:45:53 +00:00
Zack Weinberg
7d25bcce9e
config.gcc (i[34567]86-*-sco3.2v4*, [...]): Delete stanzas.
...
* config.gcc (i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*):
Delete stanzas.
* config/i386/sco.h, config/i386/sco4.h, config/i386/scodbx.h,
config/i386/sco4dbx.h, config/i386/x-sco4: Delete file.
* optabs.c: Delete #ifdef BROKEN_LDEXP block.
* POTFILES.in: Remove config/i386/sco.h, config/i386/sco4.h,
config/i386/sco4dbx.h, and config/i386/scodbx.h.
From-SVN: r41912
2001-05-08 06:26:49 +00:00
Zack Weinberg
641b2721c4
cp-demangle.c (demangle_v3_with_details, [...]): Use K+R style function definition.
...
* cp-demangle.c (demangle_v3_with_details,
is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
function definition.
* ternary.c: Use K+R style function definitions. Use PTR, not
void *. Make arguments constant where possible.
* demangle.h: Use PARAMS for all prototypes.
* ternary.h: Use PARAMS for all prototypes. Use PTR, not void *.
Make arguments constant where possible.
From-SVN: r41910
2001-05-08 06:13:58 +00:00
Benjamin Kosnik
ee2f20b9c5
std_fstream.h (basic_filebuf): Change signature.
...
2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2523
* include/bits/std_fstream.h (basic_filebuf): Change signature.
* include/bits/fstream.tcc (basic_filebuf): Change bool argument
to int_type, pass in buffer size info.
* include/bits/std_streambuf.h (_M_is_indeterminate): Check for
unbuffered situation.
(underflow): Remove codecvt bits for the time being.
* include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
* include/bits/locale_facets.tcc (_M_extract): Cache dereference
values from iterators, clean.
* src/locale.cc: Ditto.
* include/bits/sbuf_iter.h: Format.
* src/ios.cc: Explicitly pass in buffer sizes at creation time.
* testsuite/27_io/narrow_stream_objects.cc: Add tests.
* testsuite/27_io/filebuf.cc: Tweaks.
* testsuite/27_io/filebuf_members.cc: Tweaks.
From-SVN: r41909
2001-05-08 03:39:50 +00:00
Benjamin Kosnik
39003c9902
std_fstream.h (basic_filebuf): Change signature.
...
2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2523
* include/bits/std_fstream.h (basic_filebuf): Change signature.
* include/bits/fstream.tcc (basic_filebuf): Change bool argument
to int_type, pass in buffer size info.
* include/bits/std_streambuf.h (_M_is_indeterminate): Check for
unbuffered situation.
(underflow): Remove codecvt bits for the time being.
* include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
* include/bits/locale_facets.tcc (_M_extract): Cache dereference
values from iterators, clean.
* src/locale.cc: Ditto.
* include/bits/sbuf_iter.h: Format.
* src/ios.cc: Explicitly pass in buffer sizes at creation time.
* testsuite/27_io/narrow_stream_objects.cc: Add tests.
* testsuite/27_io/filebuf.cc: Tweaks.
* testsuite/27_io/filebuf_members.cc: Tweaks.
From-SVN: r41908
2001-05-08 03:07:56 +00:00
Mark Mitchell
eefd41e318
* config/os/solaris/solaris2.7/bits/os_defines.h
...
(_LARGEFILE_SOURCE): Define it.
From-SVN: r41907
2001-05-08 03:02:05 +00:00
Alexandre Petit-Bianco
41ee087715
re PR java/2598 (Runtime crash regression accessing field from enclosing class from inner class)
...
2001-05-07 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (fix_constructors): Removed unecessary assignment to
local. Moved assignment to `this$<n>', fixed comments and
indentation.
(build_wfl_wrap): Fixed indentation.
Fixes PR java/2598, java/2579 and java/2658.
(http://gcc.gnu.org/ml/gcc-patches/2001-05/msg00412.html )
From-SVN: r41905
2001-05-07 12:53:15 -07:00
John David Anglin
5c8cfcd63d
pa.md (interspace_jump): Revise comment.
...
* pa.md (interspace_jump): Revise comment.
(builtin_longjmp): Block initial setup insns from delay slot of
interspace branch.
(builtin_setjmp_receiver): New expander to save and restore PIC
register.
* som.h (NM_FLAGS): Remove `-n' sort option. Revise comment.
From-SVN: r41902
2001-05-07 19:22:28 +00:00
Mark Mitchell
1a560c3a48
op2.C: Don't use `glob' as a variable.
...
* g++.old-deja/g++.other/op2.C: Don't use `glob' as a variable.
* g++.old-deja/g++.other/op3.C: Likewise.
From-SVN: r41901
2001-05-07 18:03:52 +00:00
Jeffrey A Law
1a02aff499
toplev.c (compile_file): Set up the output file before we call the various initializers for the compiler.
...
* toplev.c (compile_file): Set up the output file before we call
the various initializers for the compiler.
From-SVN: r41897
2001-05-07 09:51:21 -06:00
Jeffrey A Law
cb0bb87d89
except.c (sjlj_mark_call_sites): Do not search for assignments to non-argumment registers that are mentioned in...
...
* except.c (sjlj_mark_call_sites): Do not search for assignments to
non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
From-SVN: r41896
2001-05-07 09:45:47 -06:00
Mark Mitchell
5cdba4ff5f
splay-tree.h (splay_tree_max): New function.
...
* splay-tree.h (splay_tree_max): New function.
(splay_tree_min): Likewise.
From-SVN: r41895
2001-05-07 15:45:24 +00:00
Jeffrey A Law
b73bff7e3f
pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64.
...
* pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64.
* pa-64.h (*_TYPE_SIZE): Undefine before redefining.
From-SVN: r41893
2001-05-07 09:28:50 -06:00
GCC Administrator
e51becf539
Daily bump.
...
From-SVN: r41892
2001-05-07 07:16:38 +00:00
Zack Weinberg
3745946688
* Makefile.in (tradcpp0): Correct typo in dependency list.
...
From-SVN: r41889
2001-05-07 04:30:01 +00:00
Geoffrey Keating
d5fa86ba42
rs6000.c (rs6000_emit_prologue): Don't save the link register if we're not going to use it.
...
* config/rs6000/rs6000.c (rs6000_emit_prologue): Don't save
the link register if we're not going to use it.
* config/rs6000/rs6000.c (output_profile_hook): Fix a warning.
(output_function_profiler): Likewise.
From-SVN: r41888
2001-05-07 02:54:29 +00:00
Alan Modra
ff5a340ad5
* pa.c (compute_frame_size): 64-bit frame marker is 16 bytes.
...
From-SVN: r41887
2001-05-07 11:20:52 +09:30
Alexandre Oliva
b8ebd779d5
unroll.c (loop_iterations): Don't sign-extend abs_diff; zero-extend it.
...
* unroll.c (loop_iterations): Don't sign-extend abs_diff;
zero-extend it. Make abs_inc unsigned.
From-SVN: r41886
2001-05-06 19:51:19 +00:00
Alexandre Oliva
3c04502e2b
optabs.c (expand_binop): Sign-extend xop0 and xop1 from the widest mode in narrowing and widening operations.
...
* optabs.c (expand_binop): Sign-extend xop0 and xop1 from the
widest mode in narrowing and widening operations.
From-SVN: r41885
2001-05-06 19:47:15 +00:00
Alexandre Oliva
7cbdf57537
Whitespace change
...
From-SVN: r41884
2001-05-06 19:44:37 +00:00
Alexandre Oliva
024c02b178
* config/mips/mips.md: Sign extend CONST_INTs.
...
From-SVN: r41883
2001-05-06 19:35:41 +00:00
Andreas Jaeger
762e166bf4
invoke.texi (Option Summary): Add -momit-leaf-frame-pointer (i386 Options): Document -momit-leaf-frame-pointer.
...
* invoke.texi (Option Summary): Add -momit-leaf-frame-pointer
(i386 Options): Document -momit-leaf-frame-pointer.
From-SVN: r41881
2001-05-06 19:10:53 +02:00
Neil Booth
714a0864cc
c-typeck.c (internal_build_compound_expr): Check for array to pointer conversion just once.
...
* c-typeck.c (internal_build_compound_expr): Check for
array to pointer conversion just once.
From-SVN: r41879
2001-05-06 16:38:56 +00:00
Bryce McKinlay
7026707d15
Class.h (_Jv_Self): New union type.
...
* java/lang/Class.h (_Jv_Self): New union type.
(Class): Manipulate vtable pointer via _Jv_Self union. Thanks to
Jeff Sturm and Fergus Henderson.
* java/lang/ClassLoader.java: Remove dead code fragment.
From-SVN: r41876
2001-05-06 14:42:11 +01:00
Bryce McKinlay
2a7f63c436
configure.in: Remove warning about beta code.
...
* configure.in: Remove warning about beta code.
* configure: Rebuilt.
From-SVN: r41875
2001-05-06 13:55:28 +01:00
Neil Booth
7f75752bd9
syshdr.h: New file.
...
* gcc.dg/cpp/syshdr.h: New file.
* gcc.dg/cpp/sysmac1.c: Update.
* gcc.dg/cpp/sysmac2.c: Update.
From-SVN: r41873
2001-05-06 09:48:28 +00:00
GCC Administrator
3364a73981
Daily bump.
...
From-SVN: r41871
2001-05-06 07:16:07 +00:00
Neil Booth
7120a6fed7
* gcc.dg/cpp/sysmac1.c,sysmac2.c: Return to original file.
...
From-SVN: r41870
2001-05-05 19:18:38 +00:00
Richard Henderson
e00c13387a
* integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE.
...
From-SVN: r41868
2001-05-05 09:55:48 -07:00
Richard Henderson
45053eaf0b
except.c (remove_fixup_regions): Adjust REG_EH_REGION notes to the parent of the fixup region.
...
* except.c (remove_fixup_regions): Adjust REG_EH_REGION notes
to the parent of the fixup region.
From-SVN: r41867
2001-05-05 09:38:25 -07:00
Jakub Jelinek
2a9071bb2f
gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring "inline" keyword.
...
* gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring
"inline" keyword.
* cpp.texi (__NO_INLINE): Document it.
From-SVN: r41866
2001-05-05 14:29:39 +02:00
Neil Booth
f277b5e03b
cppfiles.c (struct include_file): New member err_no.
...
* cppfiles.c (struct include_file): New member err_no.
(find_or_create_entry): Set it.
(open_file): Don't set fds to -2. Instead, use err_no to
remember previous errors, if any.
From-SVN: r41865
2001-05-05 11:12:19 +00:00
GCC Administrator
5dc6bfd7da
Daily bump.
...
From-SVN: r41863
2001-05-05 07:16:08 +00:00
Stephane Carrez
ce8882e65f
m68hc11.c (m68hc11_gen_movhi): Optimize moves between X and Y by using sequences of xgdx and xgdy.
...
* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves
between X and Y by using sequences of xgdx and xgdy.
From-SVN: r41861
2001-05-05 08:59:32 +02:00
Stephane Carrez
a1fdc802bb
m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead of '!' for the 'D' alternative ('!' is too strong).
...
* config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead
of '!' for the 'D' alternative ('!' is too strong).
("*logicalsi3_silshl16"): Likewise.
("movstricthi"): Accept 'A' when 'd' constraint, remove spurious '+'.
("movstrictsi"): Remove spurious '+'.
("movstrictqi"): Don't accept 'A' and remove spurious '+'.
("tstqi_1", "*lshrqi3_const1"): Put 'm' constraint before 'd'.
("subqi3"): Disparage with '!' the 'x' and 'y' registers to avoid
a reload to them.
From-SVN: r41859
2001-05-05 08:51:23 +02:00