1. 10 May, 2001 6 commits
    • dj's avatar
      * c-common.c (combine_strings): Widen strings in a · 8195e9ca
      dj authored
      host-endian-independent way.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41941 138bc75d-0d04-0410-961f-82ee72b054a4
      8195e9ca
    • jsm28's avatar
      * c-parse.in: Remove many shift/reduce conflicts. Update · 84af1724
      jsm28 authored
      	%expect values.
      	(declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea,
      	declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea,
      	declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea,
      	declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea,
      	declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea,
      	declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea,
      	declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea,
      	declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea, declspecs_ts,
      	declspecs_nots, declspecs_ts_nosa, declspecs_nots_nosa,
      	declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs,
      	maybe_type_quals_setattrs, typespec_nonattr, typespec_attr,
      	typespec_reserved_nonattr, typespec_reserved_attr,
      	typespec_nonreserved_nonattr, maybe_setattrs, structsp_attr,
      	structsp_nonattr, components_notype, component_notype_declarator,
      	absdcl1_ea, absdcl1_noea, direct_absdcl1, absdcl_maybe_attribute,
      	firstparm, setspecs_fp): New
      	(typed_declspecs, reserved_declspecs, typed_typespecs,
      	reserved_typespecquals, declmods, typespec, typespecqual_reserved,
      	typed_declspecs_no_prefix_attr reserved_declspecs_no_prefix_attr
      	declmods_no_prefix_attr, nonempty_type_quals, structsp,
      	type_quals): Remove.  Users updated.
      	(initdecls, notype_initdecls, after_type_declarator,
      	parm_declarator, notype_declarator, absdcl1, components, ivars):
      	Don't allow attributes at the start of a declarator; include them
      	in the production containing the declarator instead.  Always
      	require type specifiers before trying to redeclare a typedef name.
      	(typename): Allow for attributes but warn that they are ignored.
      	(parmlist, firstparm, setspecs_fp): Include attributes in
      	parmlist; suck them off the parser stack in firstparm using
      	setspecs_fp.
      
      testsuite:
      	* gcc.c-torture/compile/20010313-1.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41940 138bc75d-0d04-0410-961f-82ee72b054a4
      84af1724
    • law's avatar
      * ifcvt.c (merge_if_block): Use any_uncondjump_p, not simplejump_p · cc2e708d
      law authored
              to determine if a block has an unconditional jump at its end.
      
              * jump.c (jump_optimize_1): When converting a conditional jump
              to an unconditional jump, build the jump using gen_jump instead
              of just modify operands in-place.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41939 138bc75d-0d04-0410-961f-82ee72b054a4
      cc2e708d
    • bkoz's avatar
      · de4ff3bb
      bkoz authored
      2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
      	libgloss_link_flags to find crt0.o for targets that use libgloss
      	instead of newlib.
      	Change LDFLAGS to LIBS.
      	Consistently name procedures libstdc++-XXX.
      	* testsuite/libstdc++.tests/tests.exp: Use new procedure names.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41938 138bc75d-0d04-0410-961f-82ee72b054a4
      de4ff3bb
    • gccadmin's avatar
      Daily bump. · 2642c1c0
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41936 138bc75d-0d04-0410-961f-82ee72b054a4
      2642c1c0
    • zack's avatar
      * cppinit.c (cpp_post_options): Shut off macro expansion if · 946ce1b7
      zack authored
      	-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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41932 138bc75d-0d04-0410-961f-82ee72b054a4
      946ce1b7
  2. 09 May, 2001 9 commits
  3. 08 May, 2001 10 commits
    • bkoz's avatar
      · 34d4b81a
      bkoz authored
      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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41919 138bc75d-0d04-0410-961f-82ee72b054a4
      34d4b81a
    • aph's avatar
      2001-05-03 Andrew Haley <aph@cambridge.redhat.com> · d8c23d3f
      aph authored
              * reload1.c (copy_eh_notes): New function.
              (emit_input_reload_insns): Call it.
              (emit_output_reload_insns): Call it.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41918 138bc75d-0d04-0410-961f-82ee72b054a4
      d8c23d3f
    • apbianco's avatar
      2001-05-07 Alexandre Petit-Bianco <apbianco@redhat.com> · b2b8161f
      apbianco authored
      	* 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 )
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41917 138bc75d-0d04-0410-961f-82ee72b054a4
      b2b8161f
    • gccadmin's avatar
      Daily bump. · 8e7a928d
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41914 138bc75d-0d04-0410-961f-82ee72b054a4
      8e7a928d
    • zack's avatar
      Really remove this file · 68c2bc37
      zack authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41913 138bc75d-0d04-0410-961f-82ee72b054a4
      68c2bc37
    • zack's avatar
      * config.gcc (i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*): · 85c2519d
      zack authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41912 138bc75d-0d04-0410-961f-82ee72b054a4
      85c2519d
    • zack's avatar
      * cp-demangle.c (demangle_v3_with_details, · e5f55ef4
      zack authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41910 138bc75d-0d04-0410-961f-82ee72b054a4
      e5f55ef4
    • bkoz's avatar
      · 535df215
      bkoz authored
      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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41909 138bc75d-0d04-0410-961f-82ee72b054a4
      535df215
    • bkoz's avatar
      · 519e77eb
      bkoz authored
      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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41908 138bc75d-0d04-0410-961f-82ee72b054a4
      519e77eb
    • mmitchel's avatar
      * config/os/solaris/solaris2.7/bits/os_defines.h · 03ad6663
      mmitchel authored
      	(_LARGEFILE_SOURCE): Define it.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41907 138bc75d-0d04-0410-961f-82ee72b054a4
      03ad6663
  4. 07 May, 2001 11 commits
  5. 06 May, 2001 4 commits