1. 18 May, 2005 11 commits
    • invoke.texi (SPARC options): Document that -mapp-regs is the default on Solaris too. · d14f5ecb
      	* doc/invoke.texi (SPARC options): Document that -mapp-regs is
      	the default on Solaris too.
      
      From-SVN: r99890
      Eric Botcazou committed
    • testsuite_hooks.cc: Remove try_named_locale. · f63a8495
      2005-05-18  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/testsuite_hooks.cc: Remove try_named_locale.
      	* testsuite/testsuite_hooks.h: Remove try_named_locale.
      	* testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
      	* testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
      	the above.
      	* testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
      	dg-require-namedlocale.
      	* testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
      	* testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc:
      	Likewise.
      	* testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
      	* testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
      	* testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise.
      	* testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
      	* testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
      	* testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
      	* testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.
      	* testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.
      	* testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
      	Likewise.
      	* testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
      	* testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.
      	* testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
      	* testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/collate/compare/char/1.cc: Likewise.
      	* testsuite/22_locale/collate/compare/char/2.cc: Likewise.
      	* testsuite/22_locale/collate/compare/char/3.cc: Likewise.
      	* testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.
      	* testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/collate/hash/char/2.cc: Likewise.
      	* testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/collate/transform/char/2.cc: Likewise.
      	* testsuite/22_locale/collate/transform/char/3.cc: Likewise.
      	* testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
      	Likewise.
      	* testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
      	* testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/ctype/is/char/2.cc: Likewise.
      	* testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/facet/2.cc: Likewise.
      	* testsuite/22_locale/locale/cons/12352.cc: Likewise.
      	* testsuite/22_locale/locale/cons/12438.cc: Likewise.
      	* testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
      	* testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
      	* testsuite/22_locale/locale/cons/2.cc: Likewise.
      	* testsuite/22_locale/locale/cons/4.cc: Likewise.
      	* testsuite/22_locale/locale/cons/5.cc: Likewise.
      	* testsuite/22_locale/locale/cons/7.cc: Likewise.
      	* testsuite/22_locale/locale/cons/7222-env.cc: Likewise.
      	* testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
      	* testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
      	* testsuite/22_locale/messages/members/char/1.cc: Likewise.
      	* testsuite/22_locale/messages/members/char/2.cc: Likewise.
      	* testsuite/22_locale/messages/members/char/3.cc: Likewise.
      	* testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/1.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/10.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/11.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/12.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/13.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/15.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/16.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/17.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/18.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/2.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/3.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/4.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/money_put/put/char/1.cc: Likewise.
      	* testsuite/22_locale/money_put/put/char/2.cc: Likewise.
      	* testsuite/22_locale/money_put/put/char/3.cc: Likewise.
      	* testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.
      	* testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
      	* testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
      	* testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
      	Likewise.
      	* testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
      	* testsuite/22_locale/num_get/get/char/1.cc: Likewise.
      	* testsuite/22_locale/num_get/get/char/3.cc: Likewise.
      	* testsuite/22_locale/num_get/get/char/5.cc: Likewise.
      	* testsuite/22_locale/num_get/get/char/6.cc: Likewise.
      	* testsuite/22_locale/num_get/get/char/9.cc: Likewise.
      	* testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
      	* testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.
      	* testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.
      	* testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
      	* testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/num_put/put/char/1.cc: Likewise.
      	* testsuite/22_locale/num_put/put/char/20909.cc: Likewise.
      	* testsuite/22_locale/num_put/put/char/20914.cc: Likewise.
      	* testsuite/22_locale/num_put/put/char/3.cc: Likewise.
      	* testsuite/22_locale/num_put/put/char/5.cc: Likewise.
      	* testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise.
      	* testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
      	* testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
      	* testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
      	* testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
      	* testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
      	* testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
      	* testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
      	* testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
      	* testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
      	* testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
      	* testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.
      	* testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
      	* testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
      	* testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
      	* testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
      	* testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
      	* testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
      	* testsuite/22_locale/time_put/put/char/2.cc: Likewise.
      	* testsuite/22_locale/time_put/put/char/3.cc: Likewise.
      	* testsuite/22_locale/time_put/put/char/4.cc: Likewise.
      	* testsuite/22_locale/time_put/put/char/6.cc: Likewise.
      	* testsuite/22_locale/time_put/put/char/7.cc: Likewise.
      	* testsuite/22_locale/time_put/put/char/8.cc: Likewise.
      	* testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.
      	* testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.
      	* testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
      	* testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
      	* testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
      	* testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
      	* testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
      	* testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.
      	* testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
      	* testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
      	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
      	Likewise.
      	* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
      	Likewise.
      	* testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
      	* testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
      	* testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
      	* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
      	* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
      	* testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
      	* testsuite/27_io/objects/wchar_t/10.cc: Likewise.
      	* testsuite/27_io/objects/wchar_t/11.cc: Likewise.
      	* testsuite/27_io/objects/wchar_t/12.cc: Likewise.
      	* testsuite/27_io/objects/wchar_t/13.cc: Likewise.
      	* testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
      	* testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
      
      From-SVN: r99889
      Paolo Carlini committed
    • sol2.h (TARGET_DEFAULT): Add back MASK_APP_REGS. · 5b7451a6
      	* config/sparc/sol2.h (TARGET_DEFAULT): Add back MASK_APP_REGS.
      	* config/sparc/sol2-64.h (TARGET_DEFAULT): Likewise.
      	* config/sparc/sp-elf.h (TARGET_DEFAULT): Delete.
      
      From-SVN: r99885
      Eric Botcazou committed
    • Makefile.am (Makefile.deps): Do not use \0, it is unportable. · e75f9a8f
      2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.am (Makefile.deps): Do not use \0, it is unportable.
      	* Makefile.in: Regenerate.
      
      From-SVN: r99884
      Paolo Bonzini committed
    • tree-ssa-pre.c (find_or_generate_expression): CALL_EXPR is okay too. · a3cf80ec
      2005-05-17  Daniel Berlin  <dberlin@dberlin.org>
      
      	* tree-ssa-pre.c (find_or_generate_expression): CALL_EXPR
      	is okay too.
      
      From-SVN: r99882
      Daniel Berlin committed
    • Fixup the date of last entry · a21946f5
      From-SVN: r99881
      R. Kelley Cook committed
    • configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. · 8107bc83
      2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
      	Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
      	* aclocal.m4, configure, config.h.in, include/config.h.in,
      	Makefile.in, include/Makefile.in, testsuite/Makefile.in,
      	external/Makefile.in, external/sax/Makefile.in,
      	external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
      
      From-SVN: r99880
      Kelley Cook committed
    • configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. · a097ef55
      2005-05-03  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
      	Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
      	* Makefile.am (ACLOCAL_AMFLAGS): Remove -I ../config.
      	* aclocal.m4, configure, fficonfig.h.in, Makefile.in,
      	include/Makefile.in, testsuite/Makefile.in: Regenerate.
      
      From-SVN: r99879
      Kelley Cook committed
    • configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. · 12e5fe37
      2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
      	Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
      	* Makefile.am: Remove ACLOCAL_AMFLAGS.
      	* aclocal.m4, Makefile.in, configure, config.h.in: Regenerate.
      
      From-SVN: r99878
      Kelley Cook committed
    • re PR libgcj/18220 (Test case libjava.lang/Process_3 does not end if "sed" not available) · 6bca4ff6
      2005-05-17  David Daney  <ddaney@avtrex.com>
      
      	PR libgcj/18220
      	* testsuite/libjava.lang/Process_3.java (run):  Exit on error.
      
      From-SVN: r99877
      David Daney committed
    • Daily bump. · b4cbb631
      [[Split portion of a mixed commit.]]
      
      From-SVN: r99871.2
      GCC Administrator committed
  2. 17 May, 2005 29 commits
    • Update maintainers · dde60f60
      From-SVN: r99862
      Daniel Berlin committed
    • re PR libstdc++/19664 (libstdc++ headers should have pop/push of the visibility… · 271bed0e
      re PR libstdc++/19664 (libstdc++ headers should have pop/push of the visibility around the declarations)
      
      2005-05-17  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR C++/19664
      	* decl2.c (determine_visibility): Don't set visibility to
      	hidden if it has been set explicitly by user.
      
      From-SVN: r99861
      H.J. Lu committed
    • timevar.def (TV_SCEV_CONST): New timevar. · 684aaf29
      	* timevar.def (TV_SCEV_CONST): New timevar.
      	* tree-optimize.c (init_tree_optimization_passes): Add
      	pass_scev_cprop.
      	* tree-pass.h (pass_scev_cprop): Declare.
      	* tree-scalar-evolution.c (scev_const_prop): New function.
      	* tree-scalar-evolution.h (scev_const_prop): Declare.
      	* tree-ssa-loop.c (gate_scev_const_prop, pass_scev_cprop):
      	New.
      	* tree-cfg.c (replace_uses_by): Export.
      	* tree-flow.h (replace_uses_by): Declare.
      
      From-SVN: r99860
      Zdenek Dvorak committed
    • Remove typo. · 7dc5e635
      From-SVN: r99859
      Mike Stump committed
    • Yet more Objective-C++... · 6e955430
              * c-common.h (objc_finish_try_stmt): Add.
              (objc_build_synchronized): Add.
              (objc_generate_write_barrier): Add.
              * stub-objc.c (objc_build_synchronized): Add return value.
              (objc_finish_try_stmt): Likewise.
              (objc_generate_write_barrier): Add.
      
              * c-common.h (objc_rewrite_function_call): Add.
              * c-typeck.c (build_function_call): Allow objc to rewrite
              FUNCTION_DECLs.
              (build_modify_expr): Allow objc to generate write barriers.
              * c.opt (Wassign-intercept): Add.
              (Wstrict-selector-match): Add.
              (fobjc-call-cxx-cdtors): Add.
              (fobjc-direct-dispatch): Add.
              (fobjc-gc): Add.
              * dbxout.c (get_lang_number): Add Objective-C++ support.
              * doc/invoke.texi (-fobjc-call-cxx-cdtors): Likewise.
              (-Wstrict-selector-match): Likewise.
              (-fobjc-direct-dispatch): Likewise.
              (-Wassign-intercept): Likewise.
              (Overall Options): Likewise.
              * gengtype.c (get_output_file_with_visibility): Likewise.
              * stub-objc.c (objc_rewrite_function_call): Add.
              * config/darwin.h (ASM_OUTPUT_LABELREF): Improved quoting support.
      
              * c-common.c (flag_objc_exceptions): Remove.
              (flag_objc_sjlj_exceptions): Remove.
              * c-decl.c (objc_mark_locals_volatile): Don't change decls
              that are already ok.
              * c-opts.c (c_common_handle_option, case
              OPT_fobjc_exceptions): Remove.
              (case OPT_fobjc_sjlj_exceptions): Remove
              * c.opt (fobjc-call-cxx-cdtors): Have opt create the flag.
              (fobjc-exceptions): Likewise.
              (fobjc-sjlj-exceptions): Likewise.
              * config/rs6000/darwin.h (OFFS_MSGSEND_FAST): Add.
              (OFFS_ASSIGNIVAR_FAST): Add.
      
      From-SVN: r99858
      Ziemowit Laski committed
    • Yet more Objective-C++... · 38b9c8c3
              * objc-act.c (objc_finish_try_stmt): Add return value.
              (objc_build_synchronized): Likewise.
      
              * objc-act.c (objc_is_gcable_type): Add.
              (objc_substitute_decl): Add.
              (objc_build_ivar_assignment): Add.
              (objc_build_global_assignment): Add.
              (objc_build_strong_cast_assignment): Add.
              (objc_is_ivar_reference_p): Add.
              (objc_is_global_reference_p): Add.
              (objc_generate_write_barrier): Add.
              (objc_rewrite_function_call): Add.
              (objc_gimplify_expr): Add Objective-C++ support.
              * objc-act.h (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Likewise.
              (SIZEOF_OBJC_TYPE_LANG_SPECIFIC): Add.
              (INIT_TYPE_OBJC_INFO): Add Objective-C++ support.
              (DUP_TYPE_OBJC_INFO): Likewise.
              (struct imp_entry): Add field has_cxx_cdtors.
              (struct imp_entry *imp_list): Add OCTI_UMSG_FAST_DECL,
              OCTI_METH_LIST_TEMPL, OCTI_METH_PROTO_LIST_TEMPL,
              OCTI_IVAR_LIST_TEMPL, OCTI_ASSIGN_IVAR_DECL,
              OCTI_ASSIGN_IVAR_FAST_DECL, OCTI_ASSIGN_GLOBAL_DECL,
              OCTI_ASSIGN_STRONGCAST_DECL.
              (umsg_fast_decl): Add.
              (objc_assign_ivar_decl): Add.
              (objc_assign_ivar_fast_decl): Add.
              (objc_assign_global_decl): Add.
              (objc_assign_strong_cast_decl): Add.
              (objc_method_list_ptr): Add.
              (objc_method_proto_list_ptr): Add.
              (objc_ivar_list_ptr): Add.
      
              * objc-act.c (should_call_super_dealloc): Add.
              (OBJC_VERSION): Bump to 6.
              (objc_is_gcable_type): Add.
              (objc_substitute_decl): Add.
              (objc_build_ivar_assignment): Add.
              (objc_build_global_assignment): Add.
              (objc_build_strong_cast_assignment): Add.
              (objc_is_gcable_p): Add.
              (objc_is_ivar_reference_p): Add.
              (objc_is_global_reference_p): Add.
              (generate_shared_structures): Add flags parameter.
              (objc_generate_cxx_ctor_or_dtor): Add.
              (objc_generate_cxx_cdtors): Add.
              (add_class): Add name parameter.
              (objc_types_share_size_and_alignment): Add.
              (comp_proto_with_proto): Add strict parameter.
              (CLS_HAS_CXX_STRUCTORS): Add.
              (TAG_ASSIGNIVAR): Add.
              (TAG_ASSIGNGLOBAL): Add.
              (TAG_ASSIGNSTRONGCAST): Add.
              (TAG_MSGSEND_FAST): Add.
              (TAG_ASSIGNIVAR_FAST): Add.
              (TAG_CXX_CONSTRUCT): Add.
              (TAG_CXX_DESTRUCT): Add.
              (OBJC_LOOKUP_CLASS): Add.
              (OBJC_LOOKUP_NO_SUPER): Add.
              (objc_finish_file): Add pch support.
              (objc_finish_implementation): Add Objective-C++ support.
              (synth_module_prologue): Likewise.
              (synth_module_prologue): Add fast dispatching.
              (objc_get_class_reference): Add Objective-C++ support.
              (objc_generate_write_barrier): Likewise.
              (next_sjlj_build_enter_and_setjmp): Likewise.
              (objc_begin_try_stmt): Likewise.
              (build_next_objc_exception_stuff): Add fast ivar support.
              (build_private_template): Mark the record as used so debug
              information is generated.
              (build_protocol_template): Add Objective-C++ support.
              (objc_method_parm_type) Likewise.
              (objc_generate_cxx_ctor_or_dtor): Likewise.
              (objc_generate_cxx_cdtors): Likewise.
              (build_protocol_initializer): Likewise.
              (build_category_template): Likewise.
              (build_class_template): Likewise.
              (build_method_list_template): Likewise.
              (build_category_initializer): Likewise.
              (build_shared_structure_initializer): Likewise.
              (objc_finish_message_expr): Likewise.
              (build_objc_method_call): Add fast dispatch support.
              (lookup_method_static): Add support to end search at superclasses.
              (add_method_to_hash_list): Add strict parameter to
              comp_proto_with_proto.
              (objc_add_method): Likewise.
              (objc_add_method): Also set the interface_value.
              (add_instance_variable): Add Objective-C++ support.
              (objc_is_public): Likewise.
              (start_class): Likewise.
              (continue_class): Likewise.
              (encode_aggregate_within): Likewise.
              (start_method_def): Likewise.
              (objc_start_function): Clear current_function_returns_value
              and current_function_returns_null.
              (really_start_method): Add Objective-C++ support.
              (objc_finish_method_definition): Add warning for missing
              [super dealloc].
              (finish_objc): Add Objective-C++ support.
              (generate_objc_image_info): Likewise.
              (objc_lookup_ivar): Likewise.
              * objc-act.h (TYPE_HAS_OBJC_INFO): Likewise.
              (INIT_TYPE_OBJC_INFO): Likewise.
              (DUP_TYPE_OBJC_INFO): Likewise.
      
      From-SVN: r99857
      Ziemowit Laski committed
    • sparc.md (movhi): Do not test constness of operand #1 twice. · 3193108e
      	* config/sparc/sparc.md (movhi): Do not test constness
      	of operand #1 twice.
      	(movsi): Likewise.
      	(movdi): Unconditionally accept zero as second operand
      	when the first is memory.
      	(movdi_insn_sp32): Handle above case.
      	(DImode splitter): Use predicates.
      	(DImode splitter): Use const_zero_operand predicate.
      	(movsf_insn): Swap 2 alternatives.
      
      From-SVN: r99856
      Eric Botcazou committed
    • Yet more Objective-C++... · e58a9aa1
              * cp-objcp-common.h (cxx_get_alias_set): Move from
              here...
              (cxx_warn_unused_global_decl): Likewise.
              (cp_expr_size): Likewise.
              (cp_tree_size): Likewise.
              (cp_var_mod_type_p): Likewise.
              (cxx_initialize_diagnostics): Likewise.
              (cxx_types_compatible_p): Likewise.
              * cp-tree.h: to here.
              (do_poplevel): Add.
              * lex.c (D_OBJC): Add.
              (init_reswords): Add.
              * Make-lang.in (cp/pt.o): Add cp/cp-objcp-common.h.
              * parser.c: Add c-common.h include.
              * pt.c: Add c-common.h and cp-objcp-common.h includes.
              (template_args_equal): Use objc_comptypes as well.
              (tsubst_copy_and_build): Use objcp_tsubst_copy_and_build as well.
              * semantics.c (do_poplevel): Remove static.
      
              * decl.c (objc_mark_locals_volatile): Don't change decls that are
              already ok.
              * decl2.c (generate_ctor_or_dtor_function): Add code to initialize
              Objective C++ early enough.
              * lex.c (struct resword reswords): Add Objective-C++ support.
              * parser.c (cp_lexer_get_preprocessor_token): Add Objective-C++.
              (cp_parser_objc_message_receiver): Add.
              (cp_parser_objc_message_args): Likewise.
              (cp_parser_objc_message_expression): Likewise.
              (cp_parser_objc_encode_expression): Likewise.
              (cp_parser_objc_defs_expression): Likewise.
              (cp_parser_objc_protocol_expression): Likewise.
              (cp_parser_objc_selector_expression): Likewise.
              (cp_parser_objc_expression): Likewise.
              (cp_parser_objc_visibility_spec): Likewise.
              (cp_parser_objc_method_type): Likewise.
              (cp_parser_objc_protocol_qualifiers): Likewise.
              (cp_parser_objc_typename): Likewise.
              (cp_parser_objc_selector_p): Likewise.
              (cp_parser_objc_selector): Likewise.
              (cp_parser_objc_method_keyword_params): Likewise.
              (cp_parser_objc_method_tail_params_opt): Likewise.
              (cp_parser_objc_interstitial_code): Likewise.
              (cp_parser_objc_method_signature): Likewise.
              (cp_parser_objc_method_prototype_list): Likewise.
              (cp_parser_objc_method_definition_list): Likewise.
              (cp_parser_objc_class_ivars): Likewise.
              (cp_parser_objc_identifier_list): Likewise.
              (cp_parser_objc_alias_declaration): Likewise.
              (cp_parser_objc_class_declaration): Likewise.
              (cp_parser_objc_protocol_declaration): Likewise.
              (cp_parser_objc_protocol_refs_opt): Likewise.
              (cp_parser_objc_superclass_or_category): Likewise.
              (cp_parser_objc_class_interface): Likewise.
              (cp_parser_objc_class_implementation): Likewise.
              (cp_parser_objc_end_implementation): Likewise.
              (cp_parser_objc_declaration): Likewise.
              (cp_parser_objc_try_catch_finally_statement): Likewise.
              (cp_parser_objc_synchronized_statement): Likewise.
              (cp_parser_objc_throw_statement): Likewise.
              (cp_parser_objc_statement): Likewise.
              (cp_parser_primary_expression): Add Objective-C++.
              (cp_parser_statement): Likewise.
              (cp_parser_declaration): Likewise.
              (cp_parser_simple_type_specifier): Likewise.
              (cp_parser_type_name): Likewise.
              (cp_parser_parameter_declaration_list): Likewise.
              (cp_parser_member_declaration) Likewise.
              * tree.c: Include debug.h.
              * typeck.c (composite_pointer_type): Add Objective-C++ support.
              (finish_class_member_access_expr): Likewise.
              (build_function_call): Allow objc to rewrite FUNCTION_DECLs.
              (build_modify_expr): Allow objc to generate write barriers.
      
              * Make-lang.in (cp/tree.o): Add debug.h.
              * tree.c (lvalue_p_1, case CONST_DECL): Add.
      
      From-SVN: r99855
      Ziemowit Laski committed
    • trans-types.c (gfc_array_range_type): New variable. · b4838d29
      	* trans-types.c (gfc_array_range_type): New variable.
      	(gfc_init_types): Initialize gfc_array_range_type.
      	(gfc_get_array_type_bounds): Use gfc_array_range_type.
      
      From-SVN: r99854
      Zdenek Dvorak committed
    • tree-ssa-loop-ivopts.c (find_bivs, [...]): Apply expand_simple_operations to bases of the ivs. · d7bf3bcf
      	* tree-ssa-loop-ivopts.c (find_bivs, find_givs_in_stmt_scev): Apply
      	expand_simple_operations to bases of the ivs.
      	(tree_int_cst_sign_bit): Export.
      	* tree-flow.h (expand_simple_operations): Declare.
      	* tree-ssa-loop-niter.c (number_of_iterations_cond): Use
      	tree_int_cst_sign_bit.
      	(expand_simple_operations): Export.
      	* tree.h (tree_int_cst_sign_bit): Declare.
      
      From-SVN: r99853
      Zdenek Dvorak committed
    • Yet more Objective-C++... · 98273e5a
              * Make-lang.in (objcp/objcp-lang.o): Add tree-gimple.h
              (objcp/objcp-decl.o): Likewise.
              (objcp/objcp-act.o): Likewise.
              * objcp-lang.c (LANG_HOOKS_GIMPLIFY_EXPR): Add.
      
      From-SVN: r99852
      Ziemowit Laski committed
    • Yet more Objective-C++... · 26515aa9
              * objc.dg/method-5.m: Update.
              * objc.dg/method-6.m: Update.
              * objc.dg/method-7.m: Update.
              * objc.dg/method-9.m: Update.
              * objc.dg/try-catch-2.m: Update.
      
      From-SVN: r99851
      Ziemowit Laski committed
    • tree-cfg.c (tree_can_merge_blocks_p): Allow phi nodes in the merged block. · 38965eb2
      	* tree-cfg.c (tree_can_merge_blocks_p): Allow phi nodes in the
      	merged block.
      	(replace_uses_by): New function.
      	(tree_merge_blocks): Eliminate the phi nodes in the merged block.
      	* tree-flow.h (fold_stmt_inplace): Declare.
      	* tree-ssa-ccp.c (fold_stmt_inplace): New function.
      	* tree-ssa-dom.c (tree_ssa_dominator_optimize): Update dominance
      	info after cfg cleanup.
      
      From-SVN: r99850
      Zdenek Dvorak committed
    • cfgloop.h (just_once_each_iteration_p): Declaration changed. · 6c878b23
      	* cfgloop.h (just_once_each_iteration_p): Declaration changed.
      	* cfgloopanal.c (just_once_each_iteration_p): Make the loop argument
      	const.
      
      From-SVN: r99849
      Zdenek Dvorak committed
    • ggc-page.c (ggc_alloc_stat): Record amount of memory allocated. · 8d18c628
      	* ggc-page.c (ggc_alloc_stat): Record amount of memory allocated.
      	* ggc-zone.c (ggc_alloc_zone_1): Ditto.
      	* timevar.c (timevar_ggc_mem_total): New variable.
      	(GGC_MEM_BOUND): New constant.
      	(get_time): Record ggc memory status.
      	(timevar_accumulate): Accumulate amount of ggc memory.
      	(timevar_print): Print consumption of ggc memory.
      	* timevar.def (TV_FIND_REFERENCED_VARS, TV_TREE_REDPHI,
      	TV_TREE_LOOP_BOUNDS, TV_TREE_LOOP_IVCANON, TV_TREE_VECTORIZATION,
      	TV_TREE_LINEAR_TRANSFORM): Shorten strings to fit in 22 characters.
      	* timevar.h (struct timevar_time_def): Add ggc_mem field.
      	(timevar_ggc_mem_total): Declare.
      
      From-SVN: r99848
      Zdenek Dvorak committed
    • tree-into-ssa.c (update_ssa): Clean up by shortening the live range of DFS. · 9caf90a8
      	* tree-into-ssa.c (update_ssa): Clean up by shortening the
      	live range of DFS.
      
      From-SVN: r99847
      Kazu Hirata committed
    • cris.md (ncond, [...]): Remove separate define_code_attr. · 221ca267
      	* config/cris/cris.md (ncond, ocode, rcond): Remove separate
      	define_code_attr.
      	("b<ncond:code>", "b<ocond:code>", "b<rcond:code>")
      	("*b<ncond:code>_reversed", "*b<ocond:code>_reversed")
      	("*b<rcond:code>_reversed", "s<ncond:code>", "s<rcond:code>")
      	("s<ocond:code>"): Rename from respectively "b<ncond>",
      	"b<ocond>", "b<rcond>", ("*b<ncond>_reversed",
      	"*b<ocond>_reversed", "*b<rcond>_reversed", "s<ncond>",
      	"s<rcond>" and "s<ocond>".
      	("b<ocond:code>", "*b<ocond:code>_reversed")
      	("*b<rcond:code>_reversed"): Remove extraneous backslashes in
      	output statement section.
      
      From-SVN: r99846
      Hans-Peter Nilsson committed
    • struct-layout-1_generate.c (iterative_hash): Remove little-endian optimizations. · a3a02333
      	* gcc.dg/compat/struct-layout-1_generate.c (iterative_hash):
      	Remove little-endian optimizations.
      
      From-SVN: r99844
      Mark Mitchell committed
    • * c-typeck.c (common_type): Also handle BOOLEAN_TYPEs. · b2232745
      From-SVN: r99843
      Roger Sayle committed
    • unit.c (get_unit): Mark argument as unused. · a0f94629
      	* io/unit.c (get_unit): Mark argument as unused.
      	(init_units): Avoid warning about signed comparision.
      
      From-SVN: r99842
      Andreas Jaeger committed
    • cgraph.h (cgraph_node): Add 'lowered' state. · e21aff8a
      	* cgraph.h (cgraph_node): Add 'lowered' state.
      	(cgraph_lower_function): Declare.
      	* cgraphunit.c (cgraph_finalize_function): Initialize lowered flag.
      	(cgraph_lower_function): New function.
      	(cgraph_create_edges): Deal with lowered function bodies.
      	(verify_cgraph_node): Likewise.
      	(cgraph_analyze_function): Do lowering job.
      	(cgraph_build_static_cdtor): Likewise.
      	* function.h (struct function): Add saved_eh and saved_cfg.
      	* integrate.c (copy_decl_for_inlining): Kill LABEL_DECL_UID field.
      	* tree-cfg.c (fold_cond_expr_cond): Export.
      	* tree-flow.h (fold_cond_expr_cond): Declare.
      	* tree-inline.c: Include basic-block, ggc, tree-flow, except.h and
      	pointer-set.
      	(struct_inline_data): Kill fnd, first_inlined_fn, ret_label,
      	in_target_cleanup_p, tree_pruner, tsi; add callee, caller and
      	callee_cfun, block, eh_region, eh_region_offset.
      	(inlining_p): New predicate.
      	(remap_decl): Update for new inline_data; declare newly created inline
      	vars in low gimple way.
      	(copy_body_r): Update for new datastructure, simplify some of handling
      	when we are in gimple; remap LABEL_DECLs for EH; copy TREE_BLOCK;
      	deal with RESX_EXPRs.
      	(copy_bb): New.
      	(copy_edges_for_bb): Likewise.
      	(remap_decl_1): New.
      	(copy_cfg_body): New.
      	(copy_generic_body): Rewrite to work on low gimple.
      	(copy_body): Turn into simple wrapper around copy_cfg_body.
      	(setup_one_parameter): Insert new statements into given basic block.
      	(initialize_initialized_parameters): Likewise, reorganize way things are
      	gimplified.
      	(declare_return_variable): Update for new inline data datastructure.
      	(inline_forbidden_p): Work on low gimple.
      	(estimate_num_insns): Likewise.
      	(expand_call_inline): Work on CFG.
      	(push_cfun, pop_cfun): New functions.
      	(cfun_stack): New stack.
      	(add_lexical_block): New function.
      	(gimple_expand_calls_inline): Work on basic block.
      	(optimize_inline_calls): Likewise.
      	(clone_body, save_body, unsave_ewpr_now): Update for new
      	datastructures.
      	(declare_inline_vars): Work on block instead of bind_expr.
      	(inlining_p): New predicate.
      	* tree-inline.h (push_cfun, pop_cfun): Declare.
      	* tree-optimize.c: Include except.h
      	(all_lowering_passes): New variable.
      	(execute_fixup_cfg, pass_fixup_cfg): New pass.
      	(init_tree_optimization_passes): Move some to all_lowering_passes.
      	(tree_lowering_passes): New function.
      	(tree_rest_of_compilation): Register cfg hooks; save/unsave eh.
      
      Co-Authored-By: Dale Johannesen <dalej@apple.com>
      Co-Authored-By: Jan Hubicka <jh@suse.cz>
      Co-Authored-By: Stuart Hastings <stuart@apple.com>
      
      From-SVN: r99840
      Steven Bosscher committed
    • configure.ac: Add additional warning flags. · 8f2a1406
      	* configure.ac: Add additional warning flags.
      	* configure: Regenerate.
      
      	* io/write.c (calculate_G_format): Remove unused parameter.
      	(output_float): Remove unused parameter.
      	(write_float): Change callers.
      	(nml_write_obj): Avoid signed warning.
      	Make variable const to support -Wwrite-strings.
      
      	* io/unix.c (fd_alloc, mmap_open, mmap_sfree, mem_sfree,
      	mem_truncate): Mark argument as unused.
      
      	* io/unit.c (get_unit): Mark argument as unused.
      	(init_units): Avoid warning about signed comparision.
      
      	* io/transfer.c (next_record_r): Remove unused parameter.
      	(next_record_w): Remove unused parameter.
      	(next_record): Change callers.
      	(iolength_transfer): Mark arguments as unused.
      
      	* io/open.c: Add initializer.
      
      	* io/list_read.c (read_character): Mark argument as unused.
      	(nml_match_name): Add const to make compile with -Wwrite-strings.
      
      	* io/format.c: Add initializer.
      
      From-SVN: r99839
      Andreas Jaeger committed
    • * unwind-dw2-fde-darwin.c: Include tsystem.h. · 2ba99e3d
      From-SVN: r99838
      Nathan Sidwell committed
    • Makefile.in (tree-ssa-forwprop.o): Depend on langhooks.h. · a564d0f1
      	* Makefile.in (tree-ssa-forwprop.o): Depend on langhooks.h.
      	* tree-ssa-forwprop.c: Include langhooks.h.
      	(forward_propagate_addr_expr_into_variable_array_index): New.
      	(forward_propagate_addr_expr): New.
      	(tree_ssa_forward_propagate_single_use_vars): Loop over all
      	the statements in the block instead of just the last statement.
      	Call forward_propagate_addr_expr as needed.
      	(pass_forwprop): Update the SSA graph after forward propagation is
      	complete.
      
      	* g++.dg/tree-ssa/pr18414.C: New test.
      	* gcc.dg/tree-ssa/pr18414.C: New test.
      	* gcc.dg/tree-ssa/pr17141-1.C: New test.
      	* gcc.dg/tree-ssa/pr17141-2.C: New test.
      
      From-SVN: r99837
      Jeff Law committed
    • unwind-dw2-fde-glibc.c (base_from_cb_data, [...]): Use gcc_assert and… · 79d0dfa3
      unwind-dw2-fde-glibc.c (base_from_cb_data, [...]): Use gcc_assert and gcc_unreachable as appropriate.
      
      	* unwind-dw2-fde-glibc.c (base_from_cb_data,
      	_Unwind_IteratePhdrCallback): Use gcc_assert and gcc_unreachable as
      	appropriate.
      	* unwind-dw2-fde.c (__deregister_frame_info_bases,
      	base_from_object, fde_split, end_fde_sort): Likewise.
      	* unwind-dw2.c (_Unwind_GetGR, _Unwind_SetGR, execute_stack_op,
      	execute_cfa_program, _Unwind_SetSpColumn, uw_update_context_1,
      	uw_init_context_1): Likewise.
      	* unwind.inc (_Unwind_RaiseException_Phase2, _Unwind_Resume,
      	_Unwind_Resume_or_Rethrow): Likewise.
      	* unwind-pe.h (__gxx_abort): Do not define.
      	(size_of_encoded_value, base_of_encoded_value,
      	read_encoded_value_with_base): Use gcc_unreachable.
      	* unwind.h (_Unwind_GetTextRelBase): Likewise.
      
      From-SVN: r99835
      Nathan Sidwell committed
    • * config/arm/lib1funcs.asm (cfi_pop, cfi_push, cfi_start) · d0f11b16
      	(cfi_end): New macros.
      	(RETLDM): Use cfi_pop.  Expect an eight byte stack frame.
      	(ARM_LDIV0, THUMB_LDIV0, DIV_FUNC_END): Use CFI macros.  Create
      	an eight byte stack frame.
      	(__NR_tkill): Define.
      	(__div0): Use gettid tkill on GNU/Linux.
      	(_arm_return): Add CFI.
      	(Lchange_\register, .Lchange_lr): Create an eight byte stack frame.
      
      From-SVN: r99834
      Daniel Jacobowitz committed
    • configure.ac: Remove spaces around assignment to gcc_cv_ld_sysroot. · 7032df40
      	* configure.ac: Remove spaces around assignment to
      	gcc_cv_ld_sysroot.
      	* configure: Regenerated.
      
      From-SVN: r99833
      Daniel Jacobowitz committed
    • generate-random.c: Do not include libiberty.h. · 1f76e417
      2005-05-17  Richard Guenther  <rguenth@gcc.gnu.org>
      
       	* gcc.dg/compat/generate-random.c: Do not include
       	libiberty.h.
       	* gcc.dg/compat/generate-random_r.c: Likewise.
      
      From-SVN: r99832
      Richard Guenther committed
    • aix.h (TARGET_ALTIVEC_VRSAVE): Delete. · df01da37
              * config/rs6000/aix.h (TARGET_ALTIVEC_VRSAVE): Delete.
              * config/rs6000/rs6000.c (rs6000_explicit_options): Add
              aix_struct_ret.
              (rs6000_override_options): Do not protect TARGET_ALTIVEC_VRSAVE.
              Modify aix_struct_return variable, not target_flags.
              (rs6000_handle_option): Do not protect TARGET_ALTIVEC_VRSAVE.
              (rs6000_return_in_memory): Test aix_struct_return.
              * config/rs6000/rs6000.opt (maix-struct-return): Convert to
              independent variable.  Report mxl-compat.
      
      From-SVN: r99831
      David Edelsohn committed