OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
bwilson [Sat, 26 Apr 2003 00:39:02 +0000 (00:39 +0000)]
* config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
addition of __PIC__ and __pic__ macros.
* config/xtensa/xtensa.h: Clean up indentation.

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

19 years ago2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 26 Apr 2003 00:23:18 +0000 (00:23 +0000)]
2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/10132
* include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
exception specifications.
(basic_filebuf::close): Same.
(basic_filebuf::_M_pback_destroy): Same.
(basic_filebuf::_M_destroy_internal_buffer): Same.
(basic_filebuf): Remove __res_type typedef.
* src/fstream.cc: Same.
* include/bits/fstream.tcc
(basic_filebuf::_M_convert_to_external): Simplify.
(basic_filebuf::seekoff): Use has_facet before use_facet.
(basic_filebuf::close): Add exception specification of throw().
* testsuite/27_io/basic_filebuf/cons: New.
* testsuite/27_io/basic_filebuf/cons/wchar_t: New.
* testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.

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

19 years agoDaily bump.
gccadmin [Sat, 26 Apr 2003 00:17:04 +0000 (00:17 +0000)]
Daily bump.

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

19 years ago * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Remove definition of
bwilson [Sat, 26 Apr 2003 00:06:51 +0000 (00:06 +0000)]
    * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Remove definition of
        _GNU_SOURCE.  Add definitions of __PIC__ and __pic__.
        (SUBTARGET_CPP_SPEC): Define.
        (LIB_SPEC): Delete.
        * config/xtensa/xtensa-protos.h (xtensa_declare_object): Delete.
        * config/xtensa/xtensa.c (xtensa_declare_object): Delete.
        * config/xtensa/xtensa.h (CPP_SPEC, SUBTARGET_CPP_SPEC, EXTRA_SPECS):
        Define.
        (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete.
        (ASM_OUTPUT_ALIGNED_BSS, BSS_SECTION_ASM_OP): Define.

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

19 years agoAdd the new file.
hjl [Fri, 25 Apr 2003 22:55:18 +0000 (22:55 +0000)]
Add the new file.

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

19 years ago2003-04-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 Apr 2003 22:51:02 +0000 (22:51 +0000)]
2003-04-25  H.J. Lu <hjl@gnu.org>

* gcc.dg/ia64-sync-4.c: New test.

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

19 years ago2003-04-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 Apr 2003 22:09:12 +0000 (22:09 +0000)]
2003-04-25  H.J. Lu <hjl@gnu.org>

* config/ia64/ia64.c (ia64_expand_compare_and_swap): Add rmode
for return mode.
(ia64_expand_builtin): Set rmode to SImode for
IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_SI,
IA64_BUILTIN_VAL_COMPARE_AND_SWAP_SI and
IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_DI. Set remode to DImode
for IA64_BUILTIN_VAL_COMPARE_AND_SWAP_DI.

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

19 years ago * MAINTAINERS (Write After Approval): Upgrade myself from
bangerth [Fri, 25 Apr 2003 22:06:51 +0000 (22:06 +0000)]
    * MAINTAINERS (Write After Approval): Upgrade myself from
       GNATS only to write-after-approval. Update my mail address.

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

19 years ago2003-04-25 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 25 Apr 2003 21:15:01 +0000 (21:15 +0000)]
2003-04-25  Phil Edwards  <pme@gcc.gnu.org>

* configure.in (make_compare_target):  Test for GNU cmp and set this
variable appropriately.
* Makefile.in (compare, compare3, compare4, compare-lean, compare3-lean,
compare4-lean): Rename actual targets to slowcompare*.  New compare*
targets depend on names based on make_compare_target.
* configure:  Regenerated.

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

19 years ago * config/ia64/ia64.c (ia64_compute_frame_size): Allow inline asm
rth [Fri, 25 Apr 2003 21:02:25 +0000 (21:02 +0000)]
    * config/ia64/ia64.c (ia64_compute_frame_size): Allow inline asm
        to clobber ar.pfs and ar.unat.
        (ia64_expand_prologue): Force alloc instruction if ar.pfs saved;
        fix test for spilling ar.pfs to the stack.

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

19 years ago PR opt/10315
rth [Fri, 25 Apr 2003 17:43:58 +0000 (17:43 +0000)]
    PR opt/10315
        * config/rs6000/rs6000.c (rs6000_emit_move): Only elide proper
        checks during reload; use validize_mem instead of adjust_address.

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

19 years ago (OS Port Maintainers: freebsd): Add myself.
ljrittle [Fri, 25 Apr 2003 17:32:13 +0000 (17:32 +0000)]
(OS Port Maintainers: freebsd): Add myself.

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

19 years ago2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 25 Apr 2003 17:23:21 +0000 (17:23 +0000)]
2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_classes.h
(locale::_S_extra_categories_size): Remove.
* src/locale.cc: Remove _S_extra_categories_size.
* src/localename.cc: Same.
* config/locale/gnu/c_locale.cc: Same.
* config/locale/generic/c_locale.cc: Same.

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

19 years ago2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
aph [Fri, 25 Apr 2003 16:48:13 +0000 (16:48 +0000)]
2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>

        * include/jvm.h: (_Jv_GetNbArgs) added
        (_Jv_GetSafeArg) added
        (_Jv_SetArgs) added
        * prims.cc: (_Jv_GetNbArgs) implemented
        (_Jv_GetSafeArg) implemented
        (_Jv_SetArgs) implemented
        (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
        setting _Jv_argc and _Jv_argv
        * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
        instead of _Jv_argv
        * java/lang/natRuntime.cc: (insertSystemProperties) use
        _Jv_GetSafeArg() instead of _Jv_argv

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

19 years ago * gcc.c-torture/execute/string-opt-18.c: Clean up. Fix copyright date.
ghazi [Fri, 25 Apr 2003 15:37:19 +0000 (15:37 +0000)]
* gcc.c-torture/execute/string-opt-18.c: Clean up.  Fix copyright date.

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

19 years ago2003-04-26 Ben Elliston <bje@wasabisystems.com>
bje [Fri, 25 Apr 2003 15:24:30 +0000 (15:24 +0000)]
2003-04-26  Ben Elliston  <bje@wasabisystems.com>

* config/arm/arm.c (arm_adjust_cost): Correct logic that tests the
return values from recog_memoized().

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

19 years ago2003-04-24 Richard Sandiford <rsandifo@redhat.com>
bkoz [Fri, 25 Apr 2003 02:52:57 +0000 (02:52 +0000)]
2003-04-24  Richard Sandiford  <rsandifo@redhat.com>

* src/localename.cc (__gnu_cxx::facet_vec): Correct types.

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

19 years ago PR opt/8705
danglin [Fri, 25 Apr 2003 00:58:28 +0000 (00:58 +0000)]
PR opt/8705
* gcse.c (try_replace_reg): On a successful substitution of a constant
into a single set, try to simplify the source of the set.
* loop.c (scan_loop): Don't try to optimize a MODE_CC set with a
constant source.

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

19 years agoDaily bump.
gccadmin [Fri, 25 Apr 2003 00:17:08 +0000 (00:17 +0000)]
Daily bump.

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

19 years ago2003-04-24 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 24 Apr 2003 20:39:50 +0000 (20:39 +0000)]
2003-04-24  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/17_intro/howto.html:  Update some links.
* docs/html/18_support/howto.html:  Link doxygen numeric_limits notes.
* docs/html/27_io/howto.html:  Link doxygen stdio_filebuf notes.
* docs/html/ext/howto.html:  Link to demangler notes and API.
* docs/html/faq/index.html:  Remove trailing whitespace.
(1.4, 2.4, 3.8, 4.1):  Bring up to date.
(5.6):  Change to a bulleted list.

* docs/html/faq/index.txt, docs/html/documentation.html,
docs/html/17_intro/porting.html:  Regenerate.

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

19 years ago * cpplex.c (cpp_token_len): Tighten up.
neil [Thu, 24 Apr 2003 20:03:57 +0000 (20:03 +0000)]
* cpplex.c (cpp_token_len): Tighten up.
(cpp_token_as_text): Need extra byte now.
* cpplib.c (glue_header_name): Need extra 2 bytes.
* cppmacro.c (cpp_macro_definition): Need extra byte.

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

19 years ago2003-04-24 Alexander Kabaev <kan@FreeBSD.ORG>
ljrittle [Thu, 24 Apr 2003 19:15:29 +0000 (19:15 +0000)]
2003-04-24  Alexander Kabaev <kan@FreeBSD.ORG>

* config/sparc/sparc.md (umulsidi3, mulsidi3): Avoid using
const_umulsidi3_sp32 and const_mulsidi3_sp32 on 64bit targets
where they might be not present. Use their _sp64 equivalent
instead.

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

19 years ago * i386.md (cvtsi2sdq): Fix typo in previous patch.
hubicka [Thu, 24 Apr 2003 18:43:22 +0000 (18:43 +0000)]
* i386.md (cvtsi2sdq): Fix typo in previous patch.

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

19 years ago2003-04-24 Krister Walfridsson <cato@df.lth.se>
kristerw [Thu, 24 Apr 2003 18:35:45 +0000 (18:35 +0000)]
2003-04-24  Krister Walfridsson  <cato@df.lth.se>

        * configure.in: Check whether mbstowcs works.
        * configure, config.in: Regenerate.
        * intl.c: Use HAVE_WORKING_MBSTOWCS.

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

19 years ago * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
bosch [Thu, 24 Apr 2003 17:54:20 +0000 (17:54 +0000)]
* 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
a-wttest.ads, ada-tree.h, ada.ads, ada.h,
adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
ali.adb, ali.ads, alloc.ads, argv.c,
atree.adb, atree.ads, atree.h, aux-io.c,
back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
binde.adb, binde.ads, binderr.adb, binderr.ads,
bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
butil.adb, butil.ads, cal.c, calendar.ads,
casing.adb, casing.ads, ceinfo.adb, checks.adb,
checks.ads, cio.c, comperr.adb, comperr.ads,
config-lang.in, csets.adb, csets.ads, csinfo.adb,
cstand.adb, cstand.ads, cuintp.c, debug.adb,
debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
dec-io.ads, dec.ads, deftarg.c, directio.ads,
einfo.adb, einfo.ads, elists.adb, elists.ads,
elists.h, errno.c, errout.adb, errout.ads,
eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
freeze.adb, freeze.ads, frontend.adb, frontend.ads,
g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
inline.adb, inline.ads, interfac.ads, ioexcept.ads,
itypes.adb, itypes.ads, krunch.adb, krunch.ads,
layout.adb, layout.ads, lib-list.adb, lib-load.adb,
lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
lib.adb, lib.ads, live.adb, live.ads,
machcode.ads, make.adb, make.ads, makeusg.adb,
makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
mlib.ads, namet.adb, namet.ads, nlists.adb,
nlists.ads, opt.adb, opt.ads, osint-b.adb,
osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
osint.ads, output.adb, output.ads, par-ch10.adb,
par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
par-tchk.adb, par-util.adb, par.adb, par.ads,
prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
prj.adb, prj.ads, repinfo.adb, repinfo.ads,
restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
snames.ads, sprint.adb, sprint.ads, stand.adb,
stand.ads, stringt.adb, stringt.ads, style.adb,
style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
switch-m.ads, switch.adb, switch.ads, system.ads,
table.adb, table.ads, targparm.adb, targparm.ads,
tbuild.adb, tbuild.ads, text_io.ads, trans.c,
tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
ttypef.ads, ttypes.ads, types.adb, types.ads,
uintp.adb, uintp.ads, uname.adb, uname.ads,
unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
usage.adb, usage.ads, validsw.adb, validsw.ads,
widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
formatting and other trivial changes from ACT.

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

19 years ago * call.c (print_z_candidates): Fix off by one error.
rsandifo [Thu, 24 Apr 2003 17:34:49 +0000 (17:34 +0000)]
    * call.c (print_z_candidates): Fix off by one error.

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

19 years ago2003-04-24 H.J. Lu <hjl@gnu.org>
hjl [Thu, 24 Apr 2003 17:23:57 +0000 (17:23 +0000)]
2003-04-24  H.J. Lu <hjl@gnu.org>

* config/ia64/ia64.c (ia64_init_builtins): Add si_ftype_pdi_di_di
for __sync_bool_compare_and_swap_di for int return type.

* config/ia64/ia64intrin.h (__sync_bool_compare_and_swap_di):
Change return type to int.
(__sync_bool_compare_and_swap): Likewise.

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

19 years agocp:
nathan [Thu, 24 Apr 2003 16:31:31 +0000 (16:31 +0000)]
cp:
PR c++/10337
* call.c (joust): Don't warn about conversion ops that are exact
or cv-conversions. Rearrange to avoid multiple type comparisons.
testsuite:
PR c++/10337
* g++.dg/warn/conv1.C: New test.
* g++.old-deja/g++.other/conv7.C: Adjust.
* g++.old-deja/g++.other/overload14.C: Adjust.

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

19 years ago * cfgbuild.c (make_edges): Do not use next_nonnote_insn when
hubicka [Thu, 24 Apr 2003 15:53:22 +0000 (15:53 +0000)]
* cfgbuild.c (make_edges):  Do not use next_nonnote_insn when
looking for fallthru edge.

* athlon.md (athlon-agu, athlon-store, athlon-fany, athlon-faddmul):
Fix.
(athlon-load2, athlon-store2, athlon-fpsched, athlon-fpload,
athlon-fvector): New.
(athlon_*): Revisit to match new optimization guide.
* i386.c (ix86_adjust_cost):  Fix memory operand costs on Athlon/k8
* i386.md (cvt??2?? patterns): Fix modes.
(fistp patterns): Set modes.

Accidentaly commited with my earlier reload patch:
PR c/10308
* reload.c (find_reloads_address_1): Reload plus at the place of
index register.

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

19 years ago New GCOV_TAG_FUNCTION layout
nathan [Thu, 24 Apr 2003 09:46:17 +0000 (09:46 +0000)]
New GCOV_TAG_FUNCTION layout
* coverage.c (struct function_list): Replace name with ident.
(struct counts_entry): Likewise.
(fn_ident): New.
(htab_counts_entry_hash, htab_counts_entry_eq,
htab_counts_entry_del): Adjust.
(reads_count_file, get_coverage_counts,
coverage_begin_output, coverage_end_function): Adjust.
(build_fn_info_type, build_fn_info_value): Likewise.
* gcov-dump.c (tag_function): Adjust.
* gcov-io.c (gcov_write_string, gcov_read_string): Not in LIBGCOV.
* gcov-io.h (gcov_write_string, gcov_read_string): Not in LIBGCOV.
* gcov.c (struct function_info): Add ident.
(read_graph_file, read_count_file): Adjust.
* libgcov.c (gcov_exit): Adjust.

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

19 years ago PR c++/10471
mmitchel [Thu, 24 Apr 2003 05:54:46 +0000 (05:54 +0000)]
PR c++/10471
* call.c (build_cxx_call): Robustify.

PR c++/10471
* g++.dg/template/defarg2.C: New test.

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

19 years ago PR opt/8300
rth [Thu, 24 Apr 2003 04:32:58 +0000 (04:32 +0000)]
PR opt/8300
* toplev.c (rest_of_compilation): Delay no_new_pseudos until
after initialize_uninitialized_subregs; update reg info assuming
new pseudos were created.

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

19 years agoDaily bump.
gccadmin [Thu, 24 Apr 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

19 years ago * Makefile.in (c-lex.o, LIBCPP_OBJS, cpplex.o): Update.
neil [Wed, 23 Apr 2003 22:44:06 +0000 (22:44 +0000)]
* Makefile.in (c-lex.o, LIBCPP_OBJS, cpplex.o): Update.
* c-lex.c (MULTIBYTE_CHARS): Remove conditionals.
(lex_string): Take cpp_string with full spelling.
(cb_ident): Update.
(c_lex): Update diagnostics.
* cpplex.c (SPELL_NUMBER, SPELL_STRING): Combine into SPELL_LITERAL.
(create_literal): New.
(lex_string): Unterminated literals have type CPP_OTHER.
(_cpp_lex_direct): Update calls to lex_string.  Use create_literal
for CPP_OTHER.
(cpp_token_len, cpp_spell_token, cpp_output_token): Simplify.
(_cpp_equiv_tokens, cpp_interpret_charconst): Update.
* cpplib.c (parse_include, do_line, do_linemarker,
destringize_and_run): Update for token storing full spelling.
* cpplib.h: Update token spelling types.
* cppmacro.c (stringify_arg, check_trad_stringification):
Update for token storing full spelling.
cp:
* Make-lang.in (lex.o): Remove mbchar.h.
* lex.c (MULTIBYTE_CHARS): Lose.
* parser.c (cp_lexer_get_preprocessor_token): CPP_OTHER handled
in c-lex.c.
testsuite:
* gcc.dg/cpp/include2.c: Update.
* gcc.dg/cpp/multiline-2.c: New.
* gcc.dg/cpp/multiline.c: Update.
* gcc.dg/cpp/strify2.c: Update.
* gcc.dg/cpp/trad/literals-2.c: Update.

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

19 years ago2003-04-23 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 23 Apr 2003 22:34:51 +0000 (22:34 +0000)]
2003-04-23  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
belongs to basic_filebuf.
* testsuite/27_io/basic_fstream/3.cc: Likewise.
* testsuite/27_io/basic_ifstream/3.cc: Likewise.
* testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
instantiation (now belongs to basic_filebuf).
* testsuite/27_io/basic_iostream/3.cc: Likewise.
* testsuite/27_io/basic_istream/3.cc: Likewise.
* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
_S_pback_size now belongs to basic_filebuf.
* testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
instantiation (now belongs to basic_filebuf).
* testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
belongs to basic_filebuf.
* testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
instantiation (now belongs to basic_filebuf).
* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
_S_pback_size now belongs to basic_filebuf.
* testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
instantiation (now belongs to basic_filebuf).
* testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
to basic_filebuf.
* testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
instantiation (now belongs to basic_filebuf).
* testsuite/27_io/basic_stringstream/3.cc: Likewise.

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

19 years ago2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 23 Apr 2003 22:31:44 +0000 (22:31 +0000)]
2003-04-23  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
* configure: Regenerated.

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

19 years ago * g++.dg/other/packed1.C: XFAIL hppa*-*-*.
danglin [Wed, 23 Apr 2003 21:42:14 +0000 (21:42 +0000)]
* g++.dg/other/packed1.C: XFAIL hppa*-*-*.

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

19 years ago2003-04-23 Benjamin Kosnik <bkoz@belmont.constant.com>
bkoz [Wed, 23 Apr 2003 19:30:33 +0000 (19:30 +0000)]
2003-04-23  Benjamin Kosnik  <bkoz@belmont.constant.com>

* config/locale/generic/c_locale.h (__convert_from_v): Use
attribute unused.

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

19 years ago * resolve.cc (_Jv_PrepareClass): Round size up to alignment
tromey [Wed, 23 Apr 2003 19:09:56 +0000 (19:09 +0000)]
* resolve.cc (_Jv_PrepareClass): Round size up to alignment
required by this object.  Search superclasses to find required
alignment.
(get_alignment_from_class): Use alignment of type as it appears
in a struct.
(ALIGNOF): New macro.
(struct aligner): New helper structure.

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

19 years ago * g++.dg/parse/typedef1.C: Tweak after fix for PR 10428.
mmitchel [Wed, 23 Apr 2003 18:28:31 +0000 (18:28 +0000)]
* g++.dg/parse/typedef1.C: Tweak after fix for PR 10428.

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

19 years ago * config/s390/s390.c (s390_expand_cmpstr): Disable CLC loop.
uweigand [Wed, 23 Apr 2003 17:13:11 +0000 (17:13 +0000)]
* config/s390/s390.c (s390_expand_cmpstr): Disable CLC loop.

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

19 years ago* arm.h (TARGET_OPTIONS): Add value field.
rearnsha [Wed, 23 Apr 2003 16:39:30 +0000 (16:39 +0000)]
* arm.h (TARGET_OPTIONS): Add value field.

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

19 years ago PR c++/9847
mmitchel [Wed, 23 Apr 2003 16:27:27 +0000 (16:27 +0000)]
PR c++/9847
* cp-tree.h (duplicate_tag_error): Remove.
* class.c (duplicate_tag_error): Remove.
* semantics.c (begin_class_definition): Return immediately for a
duplicate class definition.

PR c++/10451
* decl.c (grokdeclarator): Correct logic for "mutable" errors.

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

19 years ago * doc/extend.texi: Remove duplicate 2003 copyright date.
mmitchel [Wed, 23 Apr 2003 16:11:34 +0000 (16:11 +0000)]
* doc/extend.texi: Remove duplicate 2003 copyright date.

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

19 years agoremove my write after aproval entry
nathan [Wed, 23 Apr 2003 14:05:34 +0000 (14:05 +0000)]
remove my write after aproval entry

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

19 years ago * Makefile.in (LIBGCC_DEPS): Add gcov headers.
nathan [Wed, 23 Apr 2003 14:05:11 +0000 (14:05 +0000)]
* Makefile.in (LIBGCC_DEPS): Add gcov headers.
(libgcov.a): Depends on LIBGCC_DEPS.
* basic-block.h (profile_info): Moved here from coverage.h. Made
a pointer.
* coverage.c (struct function_list): Fixed array of counter types.
(struct counts_entry): Keyed by counter type, contains summary.
(profile_info): Moved to profile.c.
(prg_ctr_mask, prg_n_ctrs, fn_ctr_mask, fn_n_ctrs): New global
vars.
(profiler_label): Remove.
(ctr_labels): New.
(set_purpose, label_for_tag, build_counter_section_fields,
build_counter_section_value, build_counter_section_data_fields,
build_counter_section_data_values, build_function_info_fields,
build_function_info_value, gcov_info_fields, gcov_info_value): Remove.
(build_fn_info_type, build_fn_info_value, build_ctr_info_type,
build_ctr_info_value, build_gcov_info): New.
(htab_counts_entry_hash, htab_counts_entry_eq): Adjust.
(reads_counts_file): Adjust.
(get_coverage_counts): Takes counter number. Add summary
parameter. Adjust.
(coverage_counter_ref): Tkaes counter number. Adjust. Lazily
create counter array labels.
(coverage_end_function): Adjust.
(create_coverage): Adjust.
(find_counters_section): Remove.
* coverage.h (MAX_COUNTER_SECTIONS): Remove.
(struct section_info, struct profile_info): Remove.
(profile_info): Moved to basic-block.h.
(coverage_counter_ref): Takes a counter number.
(get_coverage_counts): Takes a counter number. Added summary
parameter.
(find_counters_section): Remove.
* gcov-dump.c (tag_arc_counts): Rename to ...
(tag_counters): ... here. Adjust.
(tag_table): Move tag_counters to 3rd entry. Remove
PROGRAM_PLACEHOLDER and PROGRAM_INCORRECT entries.
(dump_file): Check for counter tag values here.
(tag_summary): Adjust.
* gcov-io.c (gcov_write_summary, gcov_read_summary): Adjust.
* gcov-io.h (GCOV_LOCKED): New.
(GCOV_TAG_ARC_COUNTS): Rename to ...
(GCOV_TAG_COUNTS_BASE): ... here.
(GCOV_TAG_PLACEHOLDER_SUMMARY, GCOV_TAG_INCORRECT_SUMMARY):
Remove.
(GCOV_COUNTER_ARCS, GCOV_COUNTERS, GCOV_NAMES): New.
(GCOV_TAG_FOR_COUNTER, GCOV_COUNTER_FOR_TAG,
GCOV_TAG_IS_COUNTER): New.
(struct gcov_ctr_summary): New.
(struct gcov_summary): Adjust.
(struct gcov_counter_section): Remove.
struct gcov_counter_section_data): Remove.
(struct gcov_function_info): Rename to ...
(struct gcov_fn_info): ... here. Adjust.
(struct gcov_ctr_info): New.
(struct gcov_info): Adjust.
* gcov.c (read_count_file): Adjust.
(output_lines): Adjust.
* libgcov.c (gcov_exit): Adjust.
(__gcov_flush): Adjust.
* mklibgcc.in (libgcc2_c_dep): Add gcov headers.
* predict.c (maybe_hot_bb_p, probably_cold_bb_p,
probably_never_executed_bb_p, compute_frequency_function): Adjust
profile_info use.
* profile.c (struct counts_entry): Remove.
(profile_info): Define here.
(get_exec_counts): Adjust get_coverage_counts call.
(compute_branch_probablilities): Remove find_counters_section
call.
(gen_edge_profiler): Adjust coverage_counter_ref call.
* tracer.c (tail_duplicate): Adjust profile_info use.

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

19 years ago PR optimization/10339
sayle [Wed, 23 Apr 2003 13:09:36 +0000 (13:09 +0000)]
PR optimization/10339
* builtins.c (expand_builtin_strcmp): Try to emit cmpstrsi insn
directly instead of unsafely transforming call into a memcmp.
(expand_builtin_strncmp): Likewise.

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

19 years agoMissed tellg() comment from previous checkin somehow.
pme [Wed, 23 Apr 2003 07:21:27 +0000 (07:21 +0000)]
Missed tellg() comment from previous checkin somehow.

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

19 years ago2003-04-23 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 23 Apr 2003 07:05:18 +0000 (07:05 +0000)]
2003-04-23  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/ext/howto.html ('LWG Issues'):  Add issue 60, partial
implementation only.
* include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
Comment and change to comply with DR 60 and the effect on gcount().
* include/std/std_istream.h:  Update comments.
* testsuite/27_io/basic_istream/putback/char/1.cc (test01):  Add
comments about reasons for tests.  Test sync() against gcount().
* testsuite/27_io/basic_istream/seekg/char/2.cc:  New file, test
for effect on gcount().
* testsuite/27_io/basic_istream/tellg/char/2.cc:  New file, test
for effect on gcount().

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

19 years ago * alias.c (mark_constant_function): Check for constancy and
sayle [Wed, 23 Apr 2003 02:47:41 +0000 (02:47 +0000)]
* alias.c (mark_constant_function):  Check for constancy and
purity even of void functions.  Update both the function decl
and the cgraph RTL info with the results.

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

19 years ago * real.c (do_add): Change to return a bool indicating that the
sayle [Wed, 23 Apr 2003 02:46:03 +0000 (02:46 +0000)]
* real.c (do_add): Change to return a bool indicating that the
result of the operation may be inexact due to loss of precision.
(do_multiply): Likewise.
(do_divide): Likewise.

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

19 years ago * MAINTAINERS (java): Remove Alexandre Petit-Bianco.
mmitchel [Wed, 23 Apr 2003 02:44:37 +0000 (02:44 +0000)]
* MAINTAINERS (java): Remove Alexandre Petit-Bianco.

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

19 years agoDaily bump.
gccadmin [Wed, 23 Apr 2003 00:17:11 +0000 (00:17 +0000)]
Daily bump.

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

19 years ago * dwarf2out.c (fde_table_allocated): Mark with GTY.
ljrittle [Wed, 23 Apr 2003 00:06:31 +0000 (00:06 +0000)]
* dwarf2out.c (fde_table_allocated): Mark with GTY.
(decl_die_table_allocated): Likewise.
(abbrev_die_table_allocated): Likewise.
(line_info_table_allocated): Likewise.
(separate_line_info_table_allocated): Likewise.
(pubname_table_allocated): Likewise.
(arange_table_allocated): Likewise.
(ranges_table_allocated): Likewise.
(decl_die_table_in_use): Unconditionalize; mark with GTY.
(abbrev_die_table_in_use): Likewise.
(line_info_table_in_use): Likewise.
(separate_line_info_table_in_use): Likewise.
(pubname_table_in_use): Likewise.
(arange_table_in_use): Likewise.
(ranges_table_in_use): Likewise.
(have_location_lists): Likewise.
(emitcount): New GTY-marked static, moved...
(maybe_emit_file): ...from here.
(label_num): New GTY-marked static, moved...
(gen_internal_sym): ...from here.

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

19 years agoStrip carriage returns
zack [Tue, 22 Apr 2003 23:41:28 +0000 (23:41 +0000)]
Strip carriage returns

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

19 years ago PR 8866
rth [Tue, 22 Apr 2003 23:17:46 +0000 (23:17 +0000)]
    PR 8866
        * rtl.h (MEM_NOTRAP_P): New.
        (MEM_COPY_ATTRIBUTES): Copy it.
        * rtlanal.c (may_trap_p): Check it.
        * expr.c (do_tablejump): Set it.
        * doc/rtl.texi (Flags): Document it.

        * cfgrtl.c (try_redirect_by_replacing_jump): Revert last three changes.

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

19 years ago * config/alpha/alpha.c (alpha_expand_prologue [OPEN_VMS_ABI]): Don't
kenner [Tue, 22 Apr 2003 22:58:05 +0000 (22:58 +0000)]
* config/alpha/alpha.c (alpha_expand_prologue [OPEN_VMS_ABI]): Don't
set FRP on stack adjustment for outgoing args if frame_pointer_needed.

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

19 years ago PR c++/10446
mmitchel [Tue, 22 Apr 2003 22:53:01 +0000 (22:53 +0000)]
PR c++/10446
* search.c (lookup_fnfields_1): Handle empty slots in the method
vector.

PR c++/10446
* g++.dg/parse/crash3.C: New test.

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

19 years ago * gthr-gnat.h, gthr-gnat.c: new sources for implementation of
kenner [Tue, 22 Apr 2003 21:52:04 +0000 (21:52 +0000)]
    * gthr-gnat.h, gthr-gnat.c: new sources for implementation of
        --enable-threads=gnat.
        * Makefile.in: Add gthr-gnat.c to LIB2ADDEH.
        * configure.in: Add gnat to the list of thread packages
        * configure: Rebuild.
        * config/t-linux: Add gthr-gnat.c to LIB2ADDEH and LIB2ADDEHDEP

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

19 years ago * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
ljrittle [Tue, 22 Apr 2003 21:06:56 +0000 (21:06 +0000)]
* testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
Adjust timing.

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

19 years ago PR c++/10428
mmitchel [Tue, 22 Apr 2003 21:05:58 +0000 (21:05 +0000)]
PR c++/10428
* g++.dg/parse/elab1.C: New test.

PR c++/10428
* decl.c (check_elaborated_type_specifier): New function, split
out from ...
(xref_tag): ... here.  Use the new function in more places.

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

19 years ago * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
ghazi [Tue, 22 Apr 2003 19:58:57 +0000 (19:58 +0000)]
* vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
(main): Test that we don't write too much data.

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

19 years ago * cpplex.c (_cpp_get_fresh_line): Pop the buffer if return_at_eof.
neil [Tue, 22 Apr 2003 19:54:20 +0000 (19:54 +0000)]
* cpplex.c (_cpp_get_fresh_line): Pop the buffer if return_at_eof.

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

19 years agoRemove conflict indicator.
dpatel [Tue, 22 Apr 2003 19:53:37 +0000 (19:53 +0000)]
Remove conflict indicator.

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

19 years ago * cpptrad.c (_cpp_replacement_text_len): Add check for macro parameter count.
dpatel [Tue, 22 Apr 2003 19:52:51 +0000 (19:52 +0000)]
    * cpptrad.c (_cpp_replacement_text_len): Add check for macro parameter count.
        (_cpp_copy_replacement_text): Same.

        * gcc.dg/cpp/trad/funlike-5.c: New test.

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

19 years ago * c-lex.c (c_lex): Handle CPP_OTHER differently.
neil [Tue, 22 Apr 2003 19:28:00 +0000 (19:28 +0000)]
* c-lex.c (c_lex): Handle CPP_OTHER differently.
* cppexp.c (_cpp_parse_expr): Similarly.
* cpplex.c (SPELL_CHAR): Remove.
(_cpp_lex_direct): Stray chars are saved as byte strings.
(cpp_spell_token, cpp_output_token, _cpp_equiv_token): Don't
handle SPELL_CHAR.
(cpp_avoid_paste): Update handling of CPP_OTHER.
* cpplib.h: Spell CPP_OTHER like a number.
(struct cpp_token): Remove member c.
* cppmacro.c (stringify_arg): Update handling of CPP_OTHER.

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

19 years ago2003-04-22 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 22 Apr 2003 17:32:25 +0000 (17:32 +0000)]
2003-04-22  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (_S_pback_size, _M_pback,
_M_pback_cur_save, _M_pback_end_save, _M_pback_init,
_M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
(basic_streambuf::basic_streambuf()): Adjust.
* include/std/std_fstream.h (_S_pback_size, _M_pback,
_M_pback_cur_save, _M_pback_end_save, _M_pback_init,
_M_pback_create(), _M_pback_destroy()): Moved here
from basic_streambuf.
* include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
Adjust.
(basic_filebuf::_S_pback_size): Add declaration.
* include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
Remove declaration.

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

19 years ago * gbl-ctors.h: Add special license exception.
mmitchel [Tue, 22 Apr 2003 17:21:04 +0000 (17:21 +0000)]
* gbl-ctors.h: Add special license exception.
* libgcc2.h: Likewise.
* tsystem.h: Likewise.
* gcov-io.h: Likewise.

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

19 years agoAdded myself as SCO maintainer
jkj [Tue, 22 Apr 2003 16:46:30 +0000 (16:46 +0000)]
Added myself as SCO maintainer

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

19 years ago * fold-const.c (fold_range_test): Use RANGE_TEST_NON_SHORT_CIRCUIT
dje [Tue, 22 Apr 2003 15:01:18 +0000 (15:01 +0000)]
    * fold-const.c (fold_range_test): Use RANGE_TEST_NON_SHORT_CIRCUIT
        macro defaulting to original BRANCH_COST heuristic.
        * doc/tm.texi (RANGE_TEST_NON_SHORT_CIRCUIT): Document.

        * config/rs6000/rs6000.h (RANGE_TEST_NON_SHORT_CIRCUIT): Define.

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

19 years ago2003-04-21 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Tue, 22 Apr 2003 13:20:57 +0000 (13:20 +0000)]
2003-04-21  Andreas Tobler <a.tobler@schweiz.ch>

        * g++.dg/other/packed1.C: Fix dg options.

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

19 years ago2003-04-22 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 22 Apr 2003 13:06:55 +0000 (13:06 +0000)]
2003-04-22  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/t-spe: Merge in t-fprules into file.

        * config.gcc: Add t-spe to powerpc-eabispe.

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

19 years agoFixed calls to putenv().
jkj [Tue, 22 Apr 2003 12:44:06 +0000 (12:44 +0000)]
Fixed calls to putenv().

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

19 years ago.:
nathan [Tue, 22 Apr 2003 12:28:51 +0000 (12:28 +0000)]
.:
* ginclude/stddef.h: Provide C++ safe offsetof.
testsuite:
* g++.dg/other/offsetof2.C: New test.

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

19 years agoFix typo in comment.
kenner [Tue, 22 Apr 2003 12:09:09 +0000 (12:09 +0000)]
Fix typo in comment.

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

19 years ago * function.c (purge_addressof_1): In (mem (addressof (reg))) case
amylaar [Tue, 22 Apr 2003 11:41:58 +0000 (11:41 +0000)]
* function.c (purge_addressof_1): In (mem (addressof (reg))) case
for reg notes, if there are no substitutions, just use a SUBREG.

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

19 years ago * rtti.c (throw_bad_typeid): Use build_cxx_call.
mmitchel [Tue, 22 Apr 2003 07:48:02 +0000 (07:48 +0000)]
* rtti.c (throw_bad_typeid): Use build_cxx_call.

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

19 years ago * Makefile.in (calls.o): Depend on except.h.
mmitchel [Tue, 22 Apr 2003 05:44:12 +0000 (05:44 +0000)]
* Makefile.in (calls.o): Depend on except.h.
* calls.c: Include except.h.
(emit_call_1): Call note_eh_region_may_contain_throw if
appropriate.
* except.c (eh_region): Add may_contain_throw.
(expand_eh_region_end_cleanup): Do not include handler code when
it cannot be reached.
(note_eh_region_may_contain_throw): New function.
* except.h (note_eh_region_may_contain_throw): New function.

* call.c (build_over_call): Use build_cxx_call.
(build_cxx_call): New method, split out of build_over_call.
* cp-tree.h (language_function): Add can_throw.
(build_cxx_call): Declare it.
* decl.c (finish_function): If a function does not contain any
calls to functions that can throw an exception, indicate that
fact.
* decl2.c (mark_used): Do not defer the instantiation of
functions, if the current function does not throw.
* optimize.c (maybe_clone_body): Copy TREE_NOTHROW to the clones.
* pt.c (instantiate_decl): Make sure import_export_decl is called
before emitting things.
* rtti.c (throw_bad_cast): Use build_cxx_call.
(build_dynamic_cast_1): Likewise.
* typeck.c (build_function_call): Likewise.

* g++.dg/template/recurse.C: Adjust location of error messages.

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

19 years agoDaily bump.
gccadmin [Tue, 22 Apr 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

19 years ago * config/i386/winnt.c (i386_pe_mark_dllimport): Revert previous
mmitchel [Mon, 21 Apr 2003 23:23:39 +0000 (23:23 +0000)]
* config/i386/winnt.c (i386_pe_mark_dllimport): Revert previous
changes.

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

19 years agoRefine last change.
kenner [Mon, 21 Apr 2003 22:39:26 +0000 (22:39 +0000)]
Refine last change.

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

19 years ago * fold-const.c (fold, case PLUS_EXPR and case MULT_EXPR): Restore
kenner [Mon, 21 Apr 2003 22:27:49 +0000 (22:27 +0000)]
* fold-const.c (fold, case PLUS_EXPR and case MULT_EXPR): Restore
a number of conversions required for type consistency and previously
stripped off by STRIP_NOPS.

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

19 years ago * doc/rtl.texi (RTX_UNCHANGING_P): Point to true_dependence for
kenner [Mon, 21 Apr 2003 22:13:01 +0000 (22:13 +0000)]
* doc/rtl.texi (RTX_UNCHANGING_P): Point to true_dependence for
details of conflict handling.

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

19 years ago2003-04-21 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 21 Apr 2003 21:47:58 +0000 (21:47 +0000)]
2003-04-21  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_override_options): No SPE means
        64-bit long doubles.

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

19 years ago2003-04-21 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 21 Apr 2003 21:47:57 +0000 (21:47 +0000)]
2003-04-21  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_override_options): No SPE means
        64-bit long doubles.

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

19 years ago2003-04-21 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 21 Apr 2003 21:44:44 +0000 (21:44 +0000)]
2003-04-21  Paolo Carlini  <pcarlini@unitus.it>

Consistently use _M_in_beg instead of eback(), _M_in_cur
instead of gptr(), and so on.
* include/bits/fstream.tcc (pbackfail, imbue): Here.
* include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
* include/bits/streambuf.tcc (sbumpc, sputbackc,
__copy_streambufs): Ditto.
* include/std/std_streambuf.h (sgetc): Ditto.

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

19 years agoRevert hunks not part of last patch.
kenner [Mon, 21 Apr 2003 21:35:44 +0000 (21:35 +0000)]
Revert hunks not part of last patch.

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

19 years ago * expmed.c (extract_bit_field): Reverse operands of && condition to
kenner [Mon, 21 Apr 2003 21:32:06 +0000 (21:32 +0000)]
* expmed.c (extract_bit_field): Reverse operands of && condition to
        prevent a potential division by zero in the previously first branch.
* config/pa/pa.md (extv, extzv): FAIL if the bitfield length is zero.

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

19 years agocommit two parts of my last patch that escaped, somehow
nathan [Mon, 21 Apr 2003 21:23:43 +0000 (21:23 +0000)]
commit two parts of my last patch that escaped, somehow

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

19 years ago * calls.c (expand_call): Prevent sibcall optimization for calls to
kenner [Mon, 21 Apr 2003 21:08:50 +0000 (21:08 +0000)]
* calls.c (expand_call): Prevent sibcall optimization for calls to
nested subprograms.

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

19 years ago * fold-const.c (extract_muldiv, case CONVERT_EXPR): Detect case
kenner [Mon, 21 Apr 2003 20:58:05 +0000 (20:58 +0000)]
* fold-const.c (extract_muldiv, case CONVERT_EXPR): Detect case
when conversion overflows.

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

19 years ago * stor-layout.c (layout_decl): Don't set DECL_SIZE_UNIT if already set.
kenner [Mon, 21 Apr 2003 20:43:21 +0000 (20:43 +0000)]
* stor-layout.c (layout_decl): Don't set DECL_SIZE_UNIT if already set.

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

19 years ago * dwarf2out.c (is_ada, is_ada_subrange_type): New functions.
kenner [Mon, 21 Apr 2003 20:39:04 +0000 (20:39 +0000)]
* dwarf2out.c (is_ada, is_ada_subrange_type): New functions.
(subrange_type_die): Likewise.
(modified_type_die): Emit a subrange_type DIE for Ada subrange types.
(is_c_family, is_cxx, is_java, is_fortran): Return bool and clean up.

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

19 years ago Break out coverage routines to new file.
nathan [Mon, 21 Apr 2003 19:48:10 +0000 (19:48 +0000)]
   Break out coverage routines to new file.
        * Makefile.in (COVERAGE_H): New variable
        (C_OBJS): Add coverage.o
        (coverage.o): New target.
        (profile.o, loop-init.o, sched-ebb.o, predict.o, tracer.o): Adjust
        dependencies.
        (GTFILES): Adjust.
        (gt-coverage.h): New target.
        (gt-profile.h): Remove.
        * profile.h: Remove. Move to ...
        * coverage.h: ... here. New. #include gcov-io.h.
        * gcov-io.h: Move function definitions to ...
        * gcov-io.c: ... here. New.
        * profile.c: Move coverage routines to coverage.c.
        (instrument_edges, get_exec_counts, branch_prob, init_branch_prob,
        end_branch_prob): Adjust.
        * coverage.c: New. Coverage routines from profile.c
        (coverage_counter_ref, coverage_init, coverage_finish,
        coverage_end_function, coverage_begin_output,
        coverage_counter_ref, get_coverage_counts): Define.
        * gcov-dump.c, gcov.c: #include gcov-io.c.
        * libgcov.c: Likewise. Adjust.
        * loop-init.c: Don't #include profile.h
        * tracer.c, predict.c, sched-ebb.c: Adjust #includes.
        * rtl.h: Add coverage prototypes.
        * toplev.c (compile_file): Init coverage, not branch_prob.
        Always call coverage_finish.
        (rest_of_compilation): Call coverage_end_function.

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

19 years ago2003-04-21 Matt Kraai <kraai@alumni.cmu.edu>
janis [Mon, 21 Apr 2003 19:35:19 +0000 (19:35 +0000)]
2003-04-21  Matt Kraai  <kraai@alumni.cmu.edu>

* config/rs6000/rs6000.md (*movsf_softfloat): Add "h" <- "0" case.

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

19 years ago2003-04-21 Matt Kraai <kraai@alumni.cmu.edu>
janis [Mon, 21 Apr 2003 19:34:43 +0000 (19:34 +0000)]
2003-04-21  Matt Kraai  <kraai@alumni.cmu.edu>

* config/rs6000/rs6000.md (*movsf_softfloat): Add "h" <- "0" case.

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

19 years ago * c-ppoutput.c (cb_include): Don't take a cpp_token.
neil [Mon, 21 Apr 2003 19:21:59 +0000 (19:21 +0000)]
* c-ppoutput.c (cb_include): Don't take a cpp_token.
* cppfiles.c: Don't undef strcmp.
(find_include_file): Don't take a cpp_token.  Check for empty
file names.
(_cpp_execute_include, _cpp_compare_file_date): Don't take a cpp_token.
(cpp_push_include): Simplify.
* cpphash.h (_cpp_execute_include, _cpp_compare_file_date): Update.
* cpplib.c (glue_header_name): Return the file name, not a cpp_token.
(parse_include): Similary.  Don't check for zero-length filenames.
(do_include_common, do_pragma_dependency): Update accordingly.
* cpplib.h (struct cpp_callbacks): Change prototype of include.

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

19 years ago2003-04-21 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 21 Apr 2003 18:46:44 +0000 (18:46 +0000)]
2003-04-21  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/sstream.tcc (pbackfail, overflow):
Formatting fixes.

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

19 years ago * MAINTAINERS (gcov): Add myself and Jan Hubicka.
nathan [Mon, 21 Apr 2003 18:43:10 +0000 (18:43 +0000)]
* MAINTAINERS (gcov): Add myself and Jan Hubicka.

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

19 years ago2003-04-21 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 21 Apr 2003 18:11:51 +0000 (18:11 +0000)]
2003-04-21  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (uflow()): It's used only by
basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
therefore do not consider the _M_buf_unified == true case.

* include/std/std_streambuf.h (sgetc()): Restore __ret variable.

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