- 04 Nov, 2003 14 commits
-
-
From-SVN: r73257
Rainer Orth committed -
* config/v850/v850.md (mulhisi3): Expand the const_int case separately to avoid trying to sign extend the const. From-SVN: r73256
DJ Delorie committed -
From-SVN: r73251
Arnaud Charlet committed -
* sysdep.c: Problem discovered during IA64 VMS port. [VMS] #include <unixio.h> to get proper prototypes. * adaint.c: Issues discovered/problems fixed during IA64 VMS port. [VMS] #define _POSIX_EXIT for proper semantics. [VMS] #include <unixio.h> for proper prototypes. [VMS] (fork): #define IA64 version. (__gnat_os_exit): Remove unnecessary VMS specific code. * 3vtrasym.adb: Minor reformatting Use terminology encoded/decoded name, rather than C++ specific notion of mangling (this is the terminology used throughout GNAT). * einfo.h: Regenerated * einfo.ads, einfo.adb: Add new flag Is_Thread_Body * exp_ch6.adb: (Expand_N_Subprogram_Body): Handle expansion of thread body procedure * par-prag.adb: Add dummy entry for Thread_Body pragma * rtsfind.ads: Add entries for System.Threads entities for thread body processing * sem_attr.adb: (Analyze_Pragma, Access attributes): Check these are not applied to a thread body, since this is not permitted * sem_prag.adb: Add processing for Thread_Body pragma. Minor comment fix. * sem_res.adb: (Resolve_Call): Check for incorrect attempt to call a thread body procedure with a direct call. * snames.ads, snames.adb: Add entry for Thread_Body pragma Add names associated with thread body expansion * snames.h: Add entry for Thread_Body pragma * s-thread.adb: Add entries for thread body processing These are dummy bodies so far * s-thread.ads: Add documentation on thread body handling. Add entries for thread body processing. * sem_ch10.adb: (Build_Limited_Views): Return after posting an error in case of limited with_clause on subprograms, generics, instances or generic renamings (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause on subprograms, generics, instances or generic renamings * raise.c (setup_to_install): Correct mistake in last revision; two arguments out of order. * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c, gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright notice, missed in previous change. Remove trailing blanks and other style errors introduced in previous change. * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get rid of the wrapper for a LJM type, ensuring we don't do that if the field is addressable. This avoids potential low level type view mismatches later on, for instance in a by-reference argument passing process. * decl.c (gnat_to_gnu_field): No longer check for BLKmode being aligned at byte boundary. * decl.c (components_to_record): Do not delete the empty variants from the end of the union type. * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive operation for a derived type, an explicit declaration may use a local subtype of Boolean. * make.adb (Gnatmake): Allow main sources on the command line with a library project when it is only for compilation (no binding or linking). Part of PR ada/12806: * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as tree, not integer. * decl.c: (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree, not integer. * targtyps.c, decl.c, misc.c, gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary routines to work around change in FP sizing semantics in GCC. * utils.c: (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer. * gigi.h: (enumerate_modes): New function. * Make-lang.in: (ada/misc.o): Add real.h. * misc.c: (enumerate_modes): New function. From-SVN: r73250
Arnaud Charlet committed -
* emit-rtl.c (copy_rtx_if_shared): Don't allow MEMs with constant addresses to be shared. (force_const_mem): Return a copy of the pool entry. From-SVN: r73248
Richard Sandiford committed -
* Makefile.in (GCC_CFLAGS): Remove @WERROR@ again. Change previous ChangeLog entry to point to me as asked for by Kaveh. From-SVN: r73246
Andreas Jaeger committed -
2003-11-03 Petur Runolfsson <peturr02@ru.is> PR libstdc++/12790 * include/bits/fstream.tcc: Delete _M_last_overflowed. (basic_filebuf::basic_filebuf): Initialize _M_state_last. (basic_filebuf::open, basic_filebuf::close): Assign _M_state_beg to _M_state_cur and _M_state_last. (basic_filebuf::close): Call _M_terminate_output to handle unshift and flushing. (basic_filebuf::underflow): Assign _M_state_last, throw exception instead of calling abort when codecvt::max_length() is bad. (basic_filebuf::seekoff): Use _M_state_last when calling codecvt::length(), pass correct state to _M_seek. (basic_filebuf::seekpos): Pass __pos.state() to _M_seek. (basic_filebuf::_M_seek): Add __state_type parameter, set _M_state_cur correctly, store the resulting state in the return value and use _M_terminate_output to handle flushing and unshift. (basic_filebuf::_M_terminate_output): Flush contents of output buffer, if any, then call codecvt::unshift as needed and output the result. (basic_filebuf::sync): Move here, don't modify _M_writing or _M_reading. * include/std/std_fstream.h (basic_filebuf::_M_state_last): Declare it. (basic_filebuf::_M_last_overflowed): Delete. (basic_filebuf::_M_seek): Add __state_type parameter. (basic_filebuf::sync): Declare only. (basic_filebuf::_M_output_unshift): Delete. (basic_filebuf::_M_terminate_output): Declare it. * testsuite/testsuite_character.h: Define character class and state class plus char_traits and codecvt specializations for same for testing support for stateful encodings. * testsuite/27_io/basic_filebuf/close/12790-1.cc, * testsuite/27_io/basic_filebuf/close/char/12790-1.cc, * testsuite/27_io/basic_filebuf/close/char/12790-2.cc, * testsuite/27_io/basic_filebuf/close/char/12790-3.cc, * testsuite/27_io/basic_filebuf/close/char/12790-4.cc, * testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc, * testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc, * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc, * testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc, * testsuite/27_io/basic_filebuf/open/12790-1.cc, * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc, * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc, * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc, * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc, * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc, * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc, * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc, * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc, * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc, * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc, * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc, * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc, * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc, * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc, * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc, * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc, * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc, * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc, * testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc, * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc, * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc, * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc, * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc, * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc, * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc, * testsuite/27_io/basic_filebuf/sync/char/1.cc, * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: New tests. * testsuite/27_io/basic_filebuf/3.cc, * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc, * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc, * testsuite/27_io/basic_fstream/3.cc, * testsuite/27_io/basic_ifstream/3.cc, * testsuite/27_io/basic_ofstream/3.cc: Use streamoff as off_type and fpos<state_type> as pos_type. * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc, * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Check that sync does *not* set _M_writing to false. From-SVN: r73245
Petur Runolfsson committed -
* java/lang/natClass.cc (newInstance): Throw InstantiationException if class has no null-argument constructor. From-SVN: r73244
Bryce McKinlay committed -
2003-11-01 Anthony Green <green@redhat.com> * libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before they're used. From-SVN: r73243
Anthony Green committed -
2003-11-03 Benjamin Kosnik <bkoz@redhat.com> * include/bits/locale_facets.h (time_get::_M_extract_name): Add ctype argument. * include/bits/locale_facets.tcc: Same, use it to allow capitalized names. * include/bits/fstream.tcc: Spacing tweak. * include/bits/istream.tcc: Same. * include/bits/ostream.tcc: Same. From-SVN: r73242
Benjamin Kosnik committed -
2003-11-03 Benjamin Kosnik <bkoz@redhat.com> * include/bits/locale_facets.h (time_get::_M_extract_name): Add ctype argument. * include/bits/locale_facets.tcc: Same, use it to allow capitalized names. * include/bits/fstream.tcc: Spacing tweak. * include/bits/istream.tcc: Same. * include/bits/ostream.tcc: Same. From-SVN: r73241
Benjamin Kosnik committed -
From-SVN: r73240
Jeff Sturm committed -
2003-11-03 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in (cpp.dvi): New target split from cpp.info. (gcc.dvi): New target split from gcc.info. (gccint.dvi): New target split from gccint.info. (cppinternals.dvi): New target split from cppinternals.info (gccinstall.info): New specific rule. (gccinstall.dvi): Likewise. (dvi): Move targets to $(docobjdir). ($(docobjdir)/%.dvi): New implicit rule. ada/ 2003-11-03 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (dvi): Move targets to $(docobjdir). (gnat_ug_vms.dvi): Simplify rule and adjust target. (gnat_ug_wnt.dvi): Likewise. (gnat_ug_unx.dvi): Likewise. (gnat_ug_vxw.dvi): Likewise. (gnat_rm.dvi): Likewise. (gnat-style.dvi): Likewise. f/ 2003-11-03 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (dvi): Move targets to $(docobjdir). (g77.dvi): Simplify rule. (g77.info): Sinplify rule. (g77.1): Delete. (g77.pod): New intermediate rule. java/ 2003-11-03 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (dvi): Move targets to $(docobjdir). (gcj.dvi): Simplify rule and adjust target. (gcj.info): Simplify rule. (gcj.pod): New intermediate rule. (gcjh.pod): Likewise. (jv-scan.pod): Likewise. (jcf-dump.pod): Likewise. (gij.pod): Likewise. (jv-convert.pod): Likewise. (rmic.pod): Likewise. (rmiregistry.pod): Likewise. (gcj.1): Delete. (gcjh.1): Delete. (jv-scan.1): Delete. (jcf-dump.1): Delete. (gij.1): Delete. (jv-convert.1): Delete. (rmic.1): Delete. (rmiregistry.1): Delete. treelang/ 2003-11-03 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (dvi): Move targets to $(docobjdir). (treelang.dvi): Simplify rule and adjust target. (treelang.info): Simplify rule. (parse.o): Correct dependencies. (TREE_EXE): Delete doubled suffix append. From-SVN: r73238
Kelley Cook committed -
From-SVN: r73236
GCC Administrator committed
-
- 03 Nov, 2003 14 commits
-
-
* doc/gty.texi (tag, desc): Say more about role of desc values in selecting between tags. From-SVN: r73233
Richard Kenner committed -
From-SVN: r73232
Alexander Kabaev committed -
* doc/contrib.texi: Add Giovanni Bajo, Dara Hazeghi, Falk Hueffner, and Andrew Pinski. From-SVN: r73230
Volker Reichelt committed -
rs6000.c (rs6000_override_options): Add G3, G4, and G5 marketing names to the list of supported processors. 2003-10-28 Syd Polk <spolk@apple.com> * config/rs6000/rs6000.c (rs6000_override_options): Add G3, G4, and G5 marketing names to the list of supported processors. * config/rs6000/rs6000.h: Ditto. * doc/invoke.texi: Ditto. * config.gcc: Ditto. From-SVN: r73228
Syd Polk committed -
PR c++/12726 * g++.dg/ext/complit2.C: Replace test with self-contained version. * ChangeLog: Add missing first entry for above test. From-SVN: r73227
Volker Reichelt committed -
* fixinc/inclhack.def (stdio_va_list): Allow tab before va_list. Merge two substitutions. * fixinc/fixincl.x: Regenerate. Fixes PR bootstrap/12666. From-SVN: r73226
Rainer Orth committed -
From-SVN: r73223
Joseph Myers committed -
From-SVN: r73217
Ulrich Weigand committed -
2003-10-30 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am (my_make_i_flags): Add $(srcdir) and update comment to match. (fastjar.info): Update target to write to build directory. (%.1): New implicit rule from a .pod file. (jar.1): Delete. (grepjar.1): Delete. (jar.pod): New intermediate rule. (grepjar.pod): Likewise. * Makefile.in: Regenerate. From-SVN: r73216
Kelley Cook committed -
* i386.c (override_options): Remove hack enabling 128bit long double commited by accident. From-SVN: r73213
Jan Hubicka committed -
* c-opts.c (needValue): Do cpp_find_main_file before processing any imacros flags, so pfile->main_file is set for the latter. From-SVN: r73212
Per Bothner committed -
2003-11-03 Andreas Jaeger <aj@suse.de> Zack Weinberg <zack@codesourcery.com> * Makefile.in (GCC_CFLAGS): Allow blacklisting of warnings. (SYSCALLS.c.X-warn): Suppress warnings. Co-Authored-By: Zack Weinberg <zack@codesourcery.com> From-SVN: r73211
Andreas Jaeger committed -
Fixes PR java/12866. * parse.y (resolve_qualified_expression_name): Move test for outer field access methods from here... (check_thrown_exceptions) ...to here. From-SVN: r73210
Jeff Sturm committed -
From-SVN: r73208
GCC Administrator committed
-
- 02 Nov, 2003 12 commits
-
-
PR optimization/12845 * pa.c (output_cbranch): Use cmpb for DImode comparisons with 0. From-SVN: r73205
John David Anglin committed -
* print-rtl.c (print_rtx): Call PRINT_REG with second argument -1. * config/i386/i386.c (print_reg): Abort on a virtual register if code != -1; not if file == asm_out_file. * config/i386/i386.h (PRINT_REG): Document meaning of CODE == -1. (DEBUG_PRINT_REG): Delete, unused. From-SVN: r73203
Zack Weinberg committed -
fde-glibc.c (_GNU_SOURCE): Define to 1 instead of empty to avoid conflict with the definition from configure. * config/ia64/fde-glibc.c (_GNU_SOURCE): Define to 1 instead of empty to avoid conflict with the definition from configure. From-SVN: r73202
Andreas Schwab committed -
PR c++/9810 * call.c (build_over_call): Check access using primary template if FN is a member function template. * g++.dg/template/using8.C: New test. * g++.old-deja/g++.other/access11.C: Adjust expected error location. From-SVN: r73201
Kriang Lerdsuwanakij committed -
PR optimization/10817 * ifcvt.c (noce_emit_move_insn): Improve documentation comment. (noce_try_move): New function to optimize an if-the-else into an unconditional move, i.e. "if (a!=b) x=a; else x=b" into "x=a". (noce_process_if_block): Attempt simplification with noce_try_move. * simplify-rtx.c (simplify_ternary_operation): Some minor fixes and improvements to the optimizations of IF_THEN_ELSE expressions. (simplify_subreg): Silence signed/unsigned comparison warning. * gcc.c-torture/compile/20031102-1.c: New test case. From-SVN: r73200
Roger Sayle committed -
* gcc.c-torture/execute/va-arg-25.c: Enable only if INT_MAX == 2147483647. From-SVN: r73199
Kazu Hirata committed -
* Makefile.in (targhooks.o, reload.o): Update dependencies. (GTFILES): Add targhooks.c. (gt-targhooks.h): New rule; depend on s-gtype. * target.h (direct_pool_load_p): New hook. * target-def.h (TARGET_DIRECT_POOL_LOAD_P): New macro. (TARGET_INITIALIZER): Include it. * targhooks.h (default_direct_pool_load_p): Declare. (hook_bool_machine_mode_true): Declare. * targhooks.c: Include insn-config.h, recog.h, ggc.h and gt-targhooks.h. (pool_symbol): New variable. (default_direct_pool_load_p): New function. (hook_bool_machine_mode_true): New function. * reload.c: Include target.h. (find_reloads): If an alternative will force a constant into memory, count an extra reload if constant pool symbols are not valid addresses. If an alternative uses memory to move values between registers, count the move as two reloads rather than one. * config/s390/s390.c (TARGET_DIRECT_POOL_LOAD_P): Define. * doc/tm.texi (TARGET_DIRECT_POOL_LOAD_P): Document. From-SVN: r73196
Richard Sandiford committed -
PR optimization/12799 * postreload.c (reload_cse_move2add): Generate the add2 patterns manually. From-SVN: r73195
Eric Botcazou committed -
sparc.c (function_arg_partial_nregs): Return 0 for all complex modes whose size is lesser or equal to a word. * config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]: Return 0 for all complex modes whose size is lesser or equal to a word. Add a ??? comment for the condition used with 16-byte aligned modes. From-SVN: r73194
Eric Botcazou committed -
From-SVN: r73193
John David Anglin committed -
From-SVN: r73191
John David Anglin committed -
From-SVN: r73189
GCC Administrator committed
-