gcc.git
18 years agoin_out_parameter.adb: New test.
Olivier Hainque [Thu, 14 Sep 2006 14:24:22 +0000 (14:24 +0000)]
in_out_parameter.adb: New test.

* gnat.dg/in_out_parameter.adb: New test.

From-SVN: r116945

18 years agoUpdate list of tests requiring stack checking Add handling of tests using Ada...
Arnaud Charlet [Thu, 14 Sep 2006 10:12:03 +0000 (12:12 +0200)]
Update list of tests requiring stack checking Add handling of tests using Ada...

Update list of tests requiring stack checking
Add handling of tests using Ada 95 semantics and thus requiring -gnat95 switch

From-SVN: r116944

18 years ago* posix-threads.cc: Include "posix.h".
Andreas Schwab [Thu, 14 Sep 2006 09:55:47 +0000 (09:55 +0000)]
* posix-threads.cc: Include "posix.h".

From-SVN: r116943

18 years agoatomicity.h: Move to...
Benjamin Kosnik [Thu, 14 Sep 2006 09:48:15 +0000 (09:48 +0000)]
atomicity.h: Move to...

2006-09-13  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/atomicity.h: Move to...
* include/ext/atomicity.h: ...here.
* include/bits/concurrence.h: Move to...
* include/ext/concurrence.h: ...here.
* include/Makefile.am (ext_headers): Additions.
(bits_headers): Subtractions.
* include/Makefile.in: Regenerate.

* include/ext/bitmap_allocator.h (_Mutex), __threads_enabled,
_Lock, _Auto_Lock): Subsume into...
* include/bits/concurrence.h (__mutex): ..this. Error check
locking and unlocking.
(lock): Uglify to...
(__scoped_lock): Use __mutex.
(__glibcxx_mutex_define_initialized): Remove.
(__glibcxx_mutex_type): Remove.

* include/tr1/boost_shared_ptr.h: Formating tweaks, adjustments.
(_Lock_policy): Move from here...
* include/ext/concurrence.h: ... to here.
(__shared_ptr_default_lock_mode): To __default_lock_policy.
(_S_lockfree): To _S_atomic.
Document.

* libsupc++/guard.cc (static_mutex): Subsume into and fixup for...
* include/ext/concurrence.h (__recursive_mutex): ...this. Error
check locking and unlocking.
* libsupc++/eh_alloc.cc: Use __scoped_lock.

* config/os/aix/atomicity.h: Fixups for include paths, mutex to
__scoped_mutex change, removal of locking defines.
* config/os/irix/atomicity.h: Same.
* config/cpu/cris/atomicity.h: Same.
* config/cpu/m68k/atomicity.h: Same.
* config/cpu/hppa/atomicity.h: Same.
* config/cpu/mips/atomicity.h: Same.
* config/cpu/sparc/atomicity.h: Same.
* config/cpu/i386/atomicity.h: Same.
* config/cpu/i486/atomicity.h: Same.
* config/cpu/sh/atomicity.h: Same.
* config/cpu/generic/atomicity_mutex/atomicity.h: Same.
* include/ext/pool_allocator.h: Same.
* include/ext/bitmap_allocator.h: Same.
* include/ext/rc_string_base.h: Same.
* include/ext/mt_allocator.h: Same.
* include/bits/locale_classes.h: Same.
* include/bits/basic_string.h: Same.
* include/bits/ios_base.h: Same.
* include/tr1/memory: Same.
* src/pool_allocator.cc: Same.
* src/mt_allocator.cc: Same.
* src/locale_init.cc: Same.
* src/ios.cc: Same.
* src/locale.cc: Same.
* src/bitmap_allocator.cc: Same.
* src/ios_init.cc: Same.
* src/debug.cc: Same.

From-SVN: r116942

18 years agoposix.cc (_Jv_platform_nanotime): Return nanoseconds, not microseconds; use gettimeof...
Geoffrey Keating [Thu, 14 Sep 2006 01:17:31 +0000 (01:17 +0000)]
posix.cc (_Jv_platform_nanotime): Return nanoseconds, not microseconds; use gettimeofday when available.

* posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
microseconds; use gettimeofday when available.
* posix-threads.cc (_Jv_CondWait): Improve accuracy and range of
timeout calculation.
* testsuite/libjava.lang/Thread_Sleep_2.java: New.
* testsuite/libjava.lang/Thread_Sleep_2.out: New.
* testsuite/libjava.lang/Thread_Sleep_2.xfail: New.

From-SVN: r116941

18 years agotree-ssa.texi (Jumps): RESULT_DECL can also be an operand of a RETURN_EXPR
Aldy Hernandez [Thu, 14 Sep 2006 01:17:15 +0000 (01:17 +0000)]
tree-ssa.texi (Jumps): RESULT_DECL can also be an operand of a RETURN_EXPR

        * doc/tree-ssa.texi (Jumps): RESULT_DECL can also be an operand
        of a RETURN_EXPR

From-SVN: r116940

18 years agore PR debug/28980 (ICE in loc_descriptor_from_tree_1 with -g)
Andrew Pinski [Thu, 14 Sep 2006 00:37:14 +0000 (00:37 +0000)]
re PR debug/28980 (ICE in loc_descriptor_from_tree_1 with -g)

2006-09-13  Andrew Pinski  <pinskia@physics.uc.edu>

PR debug/28980
        * dwarf2out.c (loc_descriptor_from_tree_1): Handle
        FUNCTION_DECL.

2006-09-13  Andrew Pinski  <pinskia@physics.uc.edu>

PR debug/28980
        * gcc.c-torture/compile/debugvlafunction-1.c: New test.

From-SVN: r116939

18 years agoDaily bump.
GCC Administrator [Thu, 14 Sep 2006 00:17:28 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116937

18 years agore PR other/23541 (All error messages produce segfault)
Eric Botcazou [Wed, 13 Sep 2006 21:23:28 +0000 (23:23 +0200)]
re PR other/23541 (All error messages produce segfault)

PR other/23541
PR other/26507
Backport from gettext repository:

2003-09-04  Bruno Haible  <bruno@clisp.org>
* dgettext.c: Include <locale.h> after gettextP.h, not before. This
ensures that libintl_dcgettext is correctly declared on Solaris.
(Needed because Solaris <locale.h> includes libintl.h.)
* dngettext.c: Likewise, for the libintl_dcngettext declaration.

From-SVN: r116931

18 years agore PR ada/29025 (procedure doesn't modify In Out parameter)
Olivier Hainque [Wed, 13 Sep 2006 18:48:21 +0000 (18:48 +0000)]
re PR ada/29025 (procedure doesn't modify In Out parameter)

PR ada/29025
* trans.c (gnat_gimplify_expr) <ADDR_EXPR>: When taking the address
of a SAVE_EXPR, just make the operand addressable/not-readonly and
let the common gimplifier code make and propagate a temporary copy.
(call_to_gnu): Clarify the use of SAVE_EXPR for not addressable
out/in-out actuals and defer setting the addressable/readonly bits
to the gimplifier.

From-SVN: r116929

18 years agore PR ada/28591 (ICE in splice_child_die, at dwarf2out.c:5513)
Eric Botcazou [Wed, 13 Sep 2006 18:40:26 +0000 (18:40 +0000)]
re PR ada/28591 (ICE in splice_child_die, at dwarf2out.c:5513)

PR ada/28591
* decl.c (components_to_record): Defer emitting debug info for the
record type associated with the variant until after we are sure to
actually use it.

From-SVN: r116928

18 years agore PR ada/21952 (Annoying "attribute directive ignored" warnings)
Eric Botcazou [Wed, 13 Sep 2006 18:27:24 +0000 (18:27 +0000)]
re PR ada/21952 (Annoying "attribute directive ignored" warnings)

PR ada/21952
* gigi.h (gnat_internal_attribute_table): Declare.
* misc.c (LANG_HOOKS_ATTRIBUTE_TABLE): Define to above.
* utils.c (gnat_internal_attribute_table): New global variable.
(builtin_function): Always call decl_attributes on the builtin.
(handle_const_attribute): New static function.
(handle_nothrow_attribute): Likewise.

From-SVN: r116926

18 years agobasic-block.h (bb_has_eh_pred): Fix comment.
Andreas Krebbel [Wed, 13 Sep 2006 13:00:57 +0000 (13:00 +0000)]
basic-block.h (bb_has_eh_pred): Fix comment.

* basic-block.h (bb_has_eh_pred): Fix comment.

From-SVN: r116922

18 years agotrans-expr.c (gfc_add_interface_mapping): For characters, dereference pointer if...
Wolfgang Gellerich [Wed, 13 Sep 2006 12:36:26 +0000 (12:36 +0000)]
trans-expr.c (gfc_add_interface_mapping): For characters, dereference pointer if necessary and then perform the cast.

2006-09-13  Wolfgang Gellerich  <gellerich@de.ibm.com>

* trans-expr.c (gfc_add_interface_mapping): For characters, dereference
pointer if necessary and then perform the cast.

From-SVN: r116921

18 years agoflow.c (calculate_global_regs_live): Invalidate eh registers on eh edges.
Andreas Krebbel [Wed, 13 Sep 2006 10:59:03 +0000 (10:59 +0000)]
flow.c (calculate_global_regs_live): Invalidate eh registers on eh edges.

2006-09-13  Andreas Krebbel  <krebbel1@de.ibm.com>

* flow.c (calculate_global_regs_live): Invalidate eh registers
on eh edges. Renamed invalidated_by_call to invalidated_by_eh_edge.
(propagate_block): Handle eh registers as if they were set at basic
block start.
* except.c (dw2_build_landing_pads): Don't emit clobbers for eh
registers.
* global.c (global_conflicts): Make eh registers to conflict with
pseudos live at basic block begin.
* basic_block.h (bb_has_eh_pred): New function.

From-SVN: r116920

18 years agore PR rtl-optimization/28982 (Incorrect reloading of automodification expressions)
Richard Sandiford [Wed, 13 Sep 2006 06:30:59 +0000 (06:30 +0000)]
re PR rtl-optimization/28982 (Incorrect reloading of automodification expressions)

gcc/
PR rtl-optimization/28982
* reload.c (find_reloads_address_1): Use RELOAD_OTHER for the
index of a PRE_MODIFY or POST_MODIFY address.
* reload1.c (inc_for_reload): Use find_replacement on the original
base and index registers.

gcc/testsuite/
PR rtl-optimization/28982
* gcc.c-torture/execute/pr28982a.c: New test.
* gcc.c-torture/execute/pr28982b.c: Likewise.

From-SVN: r116919

18 years agoinvoke.texi (mpreferred-stack-boundary): Remove exception for -Os.
H.J. Lu [Wed, 13 Sep 2006 05:59:30 +0000 (05:59 +0000)]
invoke.texi (mpreferred-stack-boundary): Remove exception for -Os.

2006-09-12  H.J. Lu  <hongjiu.lu@intel.com>

* doc/invoke.texi (mpreferred-stack-boundary): Remove exception
for -Os. Update __m128 alignment requirement.

From-SVN: r116917

18 years agoasm-support-darwin.s: New.
Eric Christopher [Wed, 13 Sep 2006 01:07:27 +0000 (01:07 +0000)]
asm-support-darwin.s: New.

2006-09-12  Eric Christopher  <echristo@apple.com>

        * gcc.target/x86_64/abi/asm-support-darwin.s: New.
        * gcc.target/x86_64/abi/abi-x86_64.exp: Use.

From-SVN: r116916

18 years agore PR c/28768 (Preprocessor doesn't parse tokens correctly?)
Joseph Myers [Wed, 13 Sep 2006 01:04:18 +0000 (02:04 +0100)]
re PR c/28768 (Preprocessor doesn't parse tokens correctly?)

libcpp:
PR c/28768
PR preprocessor/14634
* lex.c (lex_string): Pedwarn for unterminated literals.

libgomp:
* configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument
to AC_DEFINE.
* configure: Regenerate.

gcc/testsuite:
* gcc.dg/cpp/include2.c, gcc.dg/cpp/macspace1.c,
gcc.dg/cpp/macspace2.c, gcc.dg/cpp/multiline.c,
gcc.dg/cpp/trad/literals-2.c: Update expected diagnostics.

From-SVN: r116915

18 years agoDaily bump.
GCC Administrator [Wed, 13 Sep 2006 00:17:09 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116913

18 years ago* cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.
Jan Hubicka [Tue, 12 Sep 2006 22:54:38 +0000 (00:54 +0200)]
* cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.

From-SVN: r116909

18 years agore PR rtl-optimization/28243 (internal consistency failure when building fontforge...
Eric Botcazou [Tue, 12 Sep 2006 21:48:40 +0000 (23:48 +0200)]
re PR rtl-optimization/28243 (internal consistency failure when building fontforge with -O3 -fPIC -ftracer)

PR rtl-optimization/28243
* combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
the insn to which the note was originally attached.

From-SVN: r116906

18 years ago* expr.c (push_value): Always flush quick stack.
Tom Tromey [Tue, 12 Sep 2006 19:51:08 +0000 (19:51 +0000)]
* expr.c (push_value): Always flush quick stack.

From-SVN: r116905

18 years agore PR fortran/28971 (ICE: Segmentation fault on valid code)
Paul Thomas [Tue, 12 Sep 2006 19:38:48 +0000 (19:38 +0000)]
re PR fortran/28971 (ICE: Segmentation fault on valid code)

2006-09-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28971
gfortran.dg/pr28971.f90: New test to act as a backstop in case
this undiagnosed regression reappears.

From-SVN: r116904

18 years agodwarf2out.c (file_table_last_lookup): Move this GC'd declaration outside of #ifdef...
Andrew Pinski [Tue, 12 Sep 2006 19:31:09 +0000 (19:31 +0000)]
dwarf2out.c (file_table_last_lookup): Move this GC'd declaration outside of #ifdef DWARF2_DEBUGGING_INFO to fix...

* dwarf2out.c (file_table_last_lookup): Move this GC'd declaration
outside of #ifdef DWARF2_DEBUGGING_INFO to fix bootstrap failure
on platforms that don't use dwarf for debug info.

Co-Authored-By: Roger Sayle <roger@eyesopen.com>
From-SVN: r116903

18 years agore PR java/29013 (gcj generates a MetalLookAndFeel class that fails cacao's verifier)
Tom Tromey [Tue, 12 Sep 2006 19:00:48 +0000 (19:00 +0000)]
re PR java/29013 (gcj generates a MetalLookAndFeel class that fails cacao's verifier)

gcc/java
PR java/29013:
* jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Always note
the push of the called method's return result.
libjava
PR java/29013:
* testsuite/libjava.lang/PR29013.out: Likewise.
* testsuite/libjava.lang/PR29013.java: New file.

From-SVN: r116902

18 years agojvspec.c (lang_specific_driver): Read spec file even if -fsyntax-only.
Tom Tromey [Tue, 12 Sep 2006 18:54:36 +0000 (18:54 +0000)]
jvspec.c (lang_specific_driver): Read spec file even if -fsyntax-only.

* jvspec.c (lang_specific_driver): Read spec file even if
-fsyntax-only.

From-SVN: r116901

18 years agore PR middle-end/28493 (Wrong address of stack object used for destructor call on...
Jason Merrill [Tue, 12 Sep 2006 18:02:36 +0000 (14:02 -0400)]
re PR middle-end/28493 (Wrong address of stack object used for destructor call on PPC)

        PR middle-end/28493
        * builtins.c (expand_builtin_setjmp_receiver): Clobber
        hard_frame_pointer_rtx after using it to update the frame pointer.

From-SVN: r116900

18 years agoeh_globals.cc: Remove __gnu_internal.
Benjamin Kosnik [Tue, 12 Sep 2006 17:48:45 +0000 (17:48 +0000)]
eh_globals.cc: Remove __gnu_internal.

2006-09-12  Benjamin Kosnik  <bkoz@redhat.com>

* libsupc++/eh_globals.cc: Remove __gnu_internal.
* config/io/basic_file_stdio.cc: Same.
* config/abi/compatibility.h: Same.
* config/cpu/generic/atomicity_mutex/atomicity.h: Same.
* config/cpu/sh/atomicity.h: Same.

From-SVN: r116899

18 years agotarget-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef.
Roger Sayle [Tue, 12 Sep 2006 17:29:05 +0000 (17:29 +0000)]
target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef.

* target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef.
(TARGET_ASM_CLOSE_PAREN): Likewise.
* config/alpha/osf5.h (TARGET_ASM_OPEN_PAREN): Define.
(TARGET_ASM_CLOSE_PAREN): Likewise.

From-SVN: r116898

18 years agore PR target/22223 (New testsuite failure on Tru64 UNIX V5.1B: gcc.c-torture/compile...
Roger Sayle [Tue, 12 Sep 2006 17:13:55 +0000 (17:13 +0000)]
re PR target/22223 (New testsuite failure on Tru64 UNIX V5.1B: gcc.c-torture/compile/20050622-1.c)

PR target/22223
* config/alpha/alpha.c (alpha_start_function): Don't emit stack
frame information for frames larger than 512 Kbytes on Tru64 when
using the native assembler.

From-SVN: r116895

18 years agoc-torture.exp (c-torture-compile, [...]): Treat $srcdir as a literal.
Kazu Hirata [Tue, 12 Sep 2006 17:12:49 +0000 (17:12 +0000)]
c-torture.exp (c-torture-compile, [...]): Treat $srcdir as a literal.

* lib/c-torture.exp (c-torture-compile, c-torture-execute):
Treat $srcdir as a literal.
* lib/fortran-torture.exp (fortran-torture-compile,
fortran-torture-execute): Likewise.
* lib/objc-torture.exp (objc-torture-compile,
objc-torture-execute): Likewise.
* lib/profopt.exp (profopt-execute): Likewise.

From-SVN: r116894

18 years agore PR libffi/23935 ($PREFIX/include/ffi.h needs to go to a target- and -version-depen...
David Daney [Tue, 12 Sep 2006 16:51:43 +0000 (16:51 +0000)]
re PR libffi/23935 ($PREFIX/include/ffi.h needs to go to a target- and -version-dependent location)

PR libffi/23935
* include/Makefile.am: Install both ffi.h and ffitarget.h in
$(libdir)/gcc/$(target_alias)/$(gcc_version)/include.
* aclocal.m4: Regenerated for automake 1.9.6.
* Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.

From-SVN: r116893

18 years ago* testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.
Tom Tromey [Tue, 12 Sep 2006 16:28:43 +0000 (16:28 +0000)]
* testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.

From-SVN: r116892

18 years agore PR middle-end/4520 (cselib.c hash_rtx incorrectly hashes based on rtx address)
Roger Sayle [Tue, 12 Sep 2006 16:02:31 +0000 (16:02 +0000)]
re PR middle-end/4520 (cselib.c hash_rtx incorrectly hashes based on rtx address)

PR middle-end/4520
PR bootstrap/28784
* cselib.c (cselib_hash_rtx): Avoid hashing on the address of labels
and symbols.  Instead use the implementation from cse.c's hash_rtx.

From-SVN: r116891

18 years agore PR java/28754 (java.lang.nullPointerException while accessing final static members...
Tom Tromey [Tue, 12 Sep 2006 15:55:07 +0000 (15:55 +0000)]
re PR java/28754 (java.lang.nullPointerException while accessing final static members of an interface)

PR java/28754:
* expr.c (expand_java_field_op): Initialize field's declaring
interface if necessary.

From-SVN: r116890

18 years agore PR java/28892 (assignment to static field not in class initializer)
Tom Tromey [Tue, 12 Sep 2006 15:47:26 +0000 (15:47 +0000)]
re PR java/28892 (assignment to static field not in class initializer)

PR java/28892:
* expr.c (expand_java_field_op): No error for assignments not in
class initializer or constructor.

From-SVN: r116889

18 years agore PR middle-end/28071 (A file that can not be compiled in reasonable time/space)
Jan Hubicka [Tue, 12 Sep 2006 10:11:04 +0000 (12:11 +0200)]
re PR middle-end/28071 (A file that can not be compiled in reasonable time/space)

PR rtl-optimization/28071
* tree-vect-transform.c (vect_create_data_ref_ptr): Kill cast.
(vect_transform_loop): Likewise.
* tree-vectorizer.c (new_loop_vec_info): Likewise.
(new_loop_vec_info): Likewise.
(destroy_loop_vec_info): Likewise.
* tree-dfa.c (create_var_ann): Use GCC_CNEW.
(create_stmt_ann): Likewise.
(create_tree_ann): Rename to ...
(create_tree_common_ann): ... this one; allocate only the common part
of annotations.
* tree-vn.c (set_value_handle): Use get_tree_common_ann.
(get_value_handle): Likewise.
* tree-ssa-pre.c (phi_translate): Delay annotation allocation for
get_tree_common_ann.
* tree-vectorizer.h (set_stmt_info): Take stmt annotation.
(vinfo_for_stmt): Use stmt annotations.
* tree-flow.h (tree_ann_common_t): New type.
(tree_common_ann, get_tree_common_ann, create_tree_common_ann): New.
(tree_ann, get_tree_ann, create_tree_ann): New.
* tree-flow-inline.h (get_function_ann): Do more type checking.
(stmt_ann): Likewise.
(tree_ann): Rename to ...
(tree_common_ann): ... this one; return ony common_ann
(get_tree_ann): Rename to ...
(tree_common_ann): This one; return only common_ann.
* tree-vect-patterns.c (vect_pattern_recog_1): Update call
of set_stmt_info.

From-SVN: r116886

18 years agoFix some whitespace issues in the changelog.
Andrew Pinski [Tue, 12 Sep 2006 07:51:16 +0000 (00:51 -0700)]
Fix some whitespace issues in the changelog.

From-SVN: r116883

18 years agoFix some whitespace issues in the changelog.
Andrew Pinski [Tue, 12 Sep 2006 07:49:23 +0000 (00:49 -0700)]
Fix some whitespace issues in the changelog.

From-SVN: r116882

18 years agoFix some whitespace issues in the changelog.
Andrew Pinski [Tue, 12 Sep 2006 07:48:26 +0000 (00:48 -0700)]
Fix some whitespace issues in the changelog.

From-SVN: r116881

18 years agoFix some whitespace issues in the changelog.
Andrew Pinski [Tue, 12 Sep 2006 07:46:08 +0000 (00:46 -0700)]
Fix some whitespace issues in the changelog.

From-SVN: r116880

18 years agoFix some whitespace issues in the changelog.
Andrew Pinski [Tue, 12 Sep 2006 07:44:52 +0000 (00:44 -0700)]
Fix some whitespace issues in the changelog.

From-SVN: r116879

18 years agoFix some whitespace issues in the changelog.
Andrew Pinski [Tue, 12 Sep 2006 07:44:18 +0000 (00:44 -0700)]
Fix some whitespace issues in the changelog.

From-SVN: r116878

18 years agoFix some whitespace issues in the changeLog.
Andrew Pinski [Tue, 12 Sep 2006 07:43:23 +0000 (00:43 -0700)]
Fix some whitespace issues in the changeLog.

From-SVN: r116877

18 years agoFix some white space issues in the changelog.
Andrew Pinski [Tue, 12 Sep 2006 07:42:10 +0000 (00:42 -0700)]
Fix some white space issues in the changelog.

From-SVN: r116876

18 years agoFix white space issues in the ChangeLog.
Andrew Pinski [Tue, 12 Sep 2006 07:39:10 +0000 (00:39 -0700)]
Fix white space issues in the ChangeLog.

From-SVN: r116875

18 years agoconfig.gcc (i[34567]86-*-darwin*): Set with_arch and with_cpu by default.
Geoffrey Keating [Tue, 12 Sep 2006 06:09:05 +0000 (06:09 +0000)]
config.gcc (i[34567]86-*-darwin*): Set with_arch and with_cpu by default.

* config.gcc (i[34567]86-*-darwin*): Set with_arch and
with_cpu by default.

From-SVN: r116874

18 years agodwarf2out.c (dwarf_file_data): New.
Geoffrey Keating [Tue, 12 Sep 2006 05:54:00 +0000 (05:54 +0000)]
dwarf2out.c (dwarf_file_data): New.

* dwarf2out.c (dwarf_file_data): New.
(enum dw_val_class): Add dw_val_class_file.
(struct dw_val_struct): Add val_file.
(file_table): Change to a hash table.
(file_table_emitted): Delete.
(file_table_last_lookup_index): Delete.
(emitcount): Delete.
(last_emitted_file): New.
(lookup_filename): Change prototype to return a struct dwarf_file_data.
(init_file_table): Delete.
(maybe_emit_file): Change prototype to take a struct dwarf_file_data.
(AT_addr): Add comment.
(add_AT_file): New.
(AT_file): New.
(get_AT_file): New.
(print_die): Handle dw_val_class_file.
(print_dwarf_line_table): Update for new file table structure.
(attr_checksum): Do checksum a filename.
(same_dw_val_p, same_attr_p): Do compare a filename.
(size_of_die): Handle dw_val_class_file.
(value_format): Likewise.
(output_die): Likewise.  Also, call maybe_emit_file here.
(struct file_info): Constify filenames.  Make file_idx a pointer
to a struct dwarf_file_data.
(struct dir_info): Constify directory names.  Remove 'used' field.
(struct file_name_acquire_data): New.
(file_name_acquire): New.
(output_file_names): Modify to handle new file data structures.
(add_src_coords_attributes): Use add_AT_file.
(add_call_src_coords_attributes): Likewise.
(dwarf2out_imported_module_or_decl): Likewise.
(gen_subprogram_die): Modify for new file data structures.
(gen_variable_die): Likewise.
(file_table_eq): New.
(file_table_hash): New.
(file_table_last_lookup): New.
(lookup_filename): Rewrite to handle new file data structures.
(maybe_emit_file): Rewrite to handle new file data structures.
(dwarf2out_source_line): Always call lookup_filename and
maybe_emit_file.
(dwarf2out_init): Create file_table here.
(prune_unused_types_walk_attribs): Don't call maybe_emit_file here.
(file_table_relative_p): New.
(dwarf2out_finish): Change detection of relative filenames
to work with new file data structures.  Move output_line_info call
after debug_info output.

From-SVN: r116873

18 years agore PR testsuite/28950 (regex wrong for testing on darwin in gcc/testsuite/gcc.target...
Jack Howarth [Tue, 12 Sep 2006 00:34:18 +0000 (00:34 +0000)]
re PR testsuite/28950 (regex wrong for testing on darwin in gcc/testsuite/gcc.target/powerpc/ppc-and-1.c)

2006-09-11  Jack Howarth  <howarth@bromo.med.uc.edu>

        PR testsuite/28950
        * gcc.target/powerpc/ppc-and-1.c: Fix regex.

From-SVN: r116867

18 years agoDaily bump.
GCC Administrator [Tue, 12 Sep 2006 00:17:24 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116865

18 years agointrinsic.c: Update Copyright date.
Steven G. Kargl [Mon, 11 Sep 2006 22:29:39 +0000 (22:29 +0000)]
intrinsic.c: Update Copyright date.

2006-09-11  Steven G. Kargl  <kargl@gcc.gnu.org>

* intrinsic.c: Update Copyright date.
* intrinsic.h: Ditto.

From-SVN: r116861

18 years agore PR target/13685 (Building simple test application with -march=pentium3 -Os gives...
H.J. Lu [Mon, 11 Sep 2006 21:34:06 +0000 (21:34 +0000)]
re PR target/13685 (Building simple test application with -march=pentium3 -Os gives SIGSEGV (unaligned sse instruction))

gcc/

2006-09-11  H.J. Lu  <hongjiu.lu@intel.com>

PR target/13685
PR target/27537
PR target/28621
* config/i386/i386.c (override_options): Always default to 16
byte stack boundary.

gcc/testsuite/

2006-09-11  H.J. Lu  <hongjiu.lu@intel.com>

PR target/13685
* gcc.target/i386/pr13685.c: New test.

From-SVN: r116860

18 years agore PR target/28672 (Gcc went into infinite loop when building libstdc++)
Alexandre Oliva [Mon, 11 Sep 2006 21:30:07 +0000 (21:30 +0000)]
re PR target/28672 (Gcc went into infinite loop when building libstdc++)

2006-09-11  Alexandre Oliva  <aoliva@redhat.com>

PR target/28672
* var-tracking.c (dump_dataflow_set): Start dumping at
register zero.
(clobber_variable_part): Kill only the variable part in
registers holding it, leaving other variables alone.

From-SVN: r116859

18 years agoextend.texi (Other Builtins): Actually use the macro argument in the documentation...
Josh Triplett [Mon, 11 Sep 2006 21:25:45 +0000 (21:25 +0000)]
extend.texi (Other Builtins): Actually use the macro argument in the documentation example for...

2006-09-11  Josh Triplett  <josh@freedesktop.org>

* doc/extend.texi (Other Builtins): Actually use the macro
argument in the documentation example for
__builtin_types_compatible_p.

From-SVN: r116858

18 years agore PR rtl-optimization/28726 (-fsched2-use-superblock produces wrong code)
Eric Botcazou [Mon, 11 Sep 2006 19:28:11 +0000 (21:28 +0200)]
re PR rtl-optimization/28726 (-fsched2-use-superblock produces wrong code)

PR rtl-optimization/28726
* sched-deps.c (sched_analyze_reg): New function extracted from...
(sched_analyze_1): ...here.  Call it to analyze references to
registers.  Treat again writes to a stack register as writing to the
register.
(sched_analyze_2): ...and here.  Call it to analyze references to
registers.  Treat again reads of a stack register as reading the
register.

From-SVN: r116855

18 years agonrv3.c: Increase size of structure.
Josh Conner [Mon, 11 Sep 2006 18:54:29 +0000 (18:54 +0000)]
nrv3.c: Increase size of structure.

* gcc.dg/nrv3.c: Increase size of structure.
* gcc.dg/nrv4.c: Likewise.
* gcc.dg/nrv5.c: Likewise.

From-SVN: r116854

18 years agore PR classpath/28580 (HTTP HEAD fails on chuncked encoding)
David Daney [Mon, 11 Sep 2006 18:15:27 +0000 (18:15 +0000)]
re PR classpath/28580 (HTTP HEAD fails on chuncked encoding)

       PR classpath/28580
       * gnu/java/net/protocol/http/Request.java (readResponse):  Call
       createResponseBodyStream in more cases and with new parameter.
       (createResponseBodyStream):  Added new parameter mayHaveBody. Handle
       HEAD and !mayHaveBody responses specially.

From-SVN: r116853

18 years agore PR target/27287 (returning constant double)
Guenter Roeck [Mon, 11 Sep 2006 17:05:15 +0000 (17:05 +0000)]
re PR target/27287 (returning constant double)

2006-09-11  Guenter Roeck  <guenter@roeck-us.net>
            David Edelsohn  <edelsohn@gnu.org>

        PR target/27287
        * config/rs6000/spe.md (frob_df_di): Remove %H.
        (frob_di_df): Remove %H.  Change evmergelo to mr.
        (frob_di_df_2): Remove %H.  Change evldd to two loads.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r116850

18 years agocpp.texi: Fix names of charset options.
Hideki Iwamoto [Mon, 11 Sep 2006 08:33:49 +0000 (17:33 +0900)]
cpp.texi: Fix names of charset options.

gcc/
2006-09-11  Hideki Iwamoto  <h-iwamoto@kit.hi-ho.ne.jp>

* doc/cpp.texi: Fix names of charset options.

From-SVN: r116841

18 years agore PR fortran/28890 (ICE on write)
Paul Thomas [Mon, 11 Sep 2006 05:02:58 +0000 (05:02 +0000)]
re PR fortran/28890 (ICE on write)

2006-09-11  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28890
trans-expr.c (gfc_conv_function_call): Obtain the string length
of a dummy character(*) function from the symbol if it is not
already translated.  For a call to a character(*) function, use
the passed, hidden string length argument, which is available
from the backend_decl of the formal argument.
resolve.c (resolve_function): It is an error if a function call
to a character(*) function is other than a dummy procedure or
an intrinsic.

2006-09-11  Paul Thomas  <pault@gcc.gnu.org>

PR libfortran/28890
gfortran.dg/assumed_charlen_function_5.f90: New test.

From-SVN: r116839

18 years agore PR c++/28991 (Static constructor emitted instead of initialized variable)
Mark Mitchell [Mon, 11 Sep 2006 00:40:15 +0000 (00:40 +0000)]
re PR c++/28991 (Static constructor emitted instead of initialized variable)

PR c++/28991
* cp-objcp-common.c (cxx_staticp): New function.
* cp-objcp-common.h (LANG_HOOOKS_STATICP): Use it.
* cp-tree.h (cxx_staticp): New function.
PR c++/289991
* g++.dg/init/static3.C: New test.

From-SVN: r116838

18 years agoDaily bump.
GCC Administrator [Mon, 11 Sep 2006 00:17:28 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116836

18 years agore PR testsuite/29007 (FAIL: gcc.dg/long-long-cst1.c execution test)
Andrew Pinski [Sun, 10 Sep 2006 23:15:31 +0000 (23:15 +0000)]
re PR testsuite/29007 (FAIL: gcc.dg/long-long-cst1.c execution test)

2006-09-10  Andrew Pinski  <pinskia@physics.uc.edu>

        PR testsuite/29007
        * gcc.dg/long-long-cst1.c (t): Add cast to
        __SIZE_TYPE__ before casting to int.
        (main): Return 0 on success.

From-SVN: r116832

18 years agore PR target/29009 (ice in kernel build)
Andrew Pinski [Sun, 10 Sep 2006 23:05:00 +0000 (23:05 +0000)]
re PR target/29009 (ice in kernel build)

2006-09-10  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/29009
        * config/i386/i386.c (override_options): Use 128-bit
        stack boundary always for 64bits.

From-SVN: r116831

18 years agore PR rtl-optimization/28636 (Miscompiled loop)
Eric Botcazou [Sun, 10 Sep 2006 21:27:36 +0000 (23:27 +0200)]
re PR rtl-optimization/28636 (Miscompiled loop)

PR rtl-optimization/28636
* combine.c (force_to_mode): Test for side-effects before
substituting by zero.
(simplify_shift_const): Likewise for zero or other constants.

From-SVN: r116827

18 years agore PR middle-end/26983 (Missing label with builtin_setjmp/longjmp)
Steven Bosscher [Sun, 10 Sep 2006 20:08:58 +0000 (20:08 +0000)]
re PR middle-end/26983 (Missing label with builtin_setjmp/longjmp)

PR middle-end/26983

gcc/
* builtins.c (expand_builtin_setjmp): Force next_lab to be
preserved.

testsuite/
* gcc.dg/pr26983.c: New test.

From-SVN: r116826

18 years agore PR target/29006 (Incorrect zeroing of unaligned 64-bit fields on MIPS targets)
Richard Sandiford [Sun, 10 Sep 2006 19:28:48 +0000 (19:28 +0000)]
re PR target/29006 (Incorrect zeroing of unaligned 64-bit fields on MIPS targets)

gcc/
PR target/29006
* config/mips/mips-protos.h (mips_mem_fits_mode_p): Declare.
* config/mips/mips.c (mips_expand_unaligned_store): Use the mode
returned by mode_for_size, rather than the mode of src itself,
to choose between 32-bit and 64-bit patterns.
(mips_mem_fits_mode_p): New function.
* config/mips/mips.md (mov_<load>l, mov_<load>r): Use it to check
that the size of the source matches the size of the destination.
(mov_<store>l, mov_<store>r): Likewise.

gcc/testsuite/
PR target/29006
* gcc.c-torture/execute/pr29006.c: New test.

From-SVN: r116822

18 years agodarwin.c (machopic_select_rtx_section): Add CONST_VECTOR for literal16.
Eric Christopher [Sun, 10 Sep 2006 19:28:17 +0000 (19:28 +0000)]
darwin.c (machopic_select_rtx_section): Add CONST_VECTOR for literal16.

2006-09-10  Eric Christopher  <echristo@apple.com>

        * config/darwin.c (machopic_select_rtx_section): Add CONST_VECTOR
        for literal16.

From-SVN: r116821

18 years agoAdd missing ChangeLog entry.
H.J. Lu [Sun, 10 Sep 2006 17:33:17 +0000 (10:33 -0700)]
Add missing ChangeLog entry.

From-SVN: r116820

18 years agore PR fortran/28947 (Double MATMUL() uses wrong array elements)
Paul Thomas [Sun, 10 Sep 2006 17:21:44 +0000 (17:21 +0000)]
re PR fortran/28947 (Double MATMUL() uses wrong array elements)

2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR libfortran/28947
* m4/matmul.m4: For the case where the second input argument is
transposed, ensure that the case with rank (a) == 1 is
correctly calculated.
* generated/matmul_r4.c: Regenerate.
* generated/matmul_r8.c: Regenerate.
* generated/matmul_r10.c: Regenerate.
* generated/matmul_r16.c: Regenerate.
* generated/matmul_c4.c: Regenerate.
* generated/matmul_c8.c: Regenerate.
* generated/matmul_c10.c: Regenerate.
* generated/matmul_c16.c: Regenerate.
* generated/matmul_i4.c: Regenerate.
* generated/matmul_i8.c: Regenerate.
* generated/matmul_i16.c: Regenerate.

2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR libfortran/28947
gfortran.dg/matmul_4.f90: New test.

From-SVN: r116817

18 years agore PR fortran/28959 (ICE on derived type with host association)
Paul Thomas [Sun, 10 Sep 2006 17:17:57 +0000 (17:17 +0000)]
re PR fortran/28959 (ICE on derived type with host association)

2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28959
trans-types.c (gfc_get_derived_type): Use the parent namespace of
the procedure if the type's own namespace does not have a parent.

2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28959
gfortran.dg/used_types_10: New test.

From-SVN: r116816

18 years agore PR fortran/28923 (Bad triplet interpretation in initialization)
Paul Thomas [Sun, 10 Sep 2006 17:13:29 +0000 (17:13 +0000)]
re PR fortran/28923 (Bad triplet interpretation in initialization)

2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28923
expr.c (find_array_section): Only use the array lower and upper
bounds for the start and end of the sections, where the expr is
NULL.

2006-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR libfortran/28923
gfortran.dg/array_initializer_2.f90: Fill in missing index start value.
gfortran.dg/array_initializer_3.f90: New test.

From-SVN: r116815

18 years ago* MAINTAINERS: Add self as soft-fp maintainer.
Joseph Myers [Sun, 10 Sep 2006 10:51:11 +0000 (11:51 +0100)]
* MAINTAINERS: Add self as soft-fp maintainer.

From-SVN: r116813

18 years agostl_heap.h (sort_heap): Iterator post-decrement is only required to be convertible...
Paolo Carlini [Sun, 10 Sep 2006 09:23:59 +0000 (09:23 +0000)]
stl_heap.h (sort_heap): Iterator post-decrement is only required to be convertible to the iterator type.

2006-09-10  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_heap.h (sort_heap): Iterator post-decrement is
only required to be convertible to the iterator type.

From-SVN: r116812

18 years agore PR target/28995 (libgfortran build now fails on Darwin PPC)
Eric Christopher [Sun, 10 Sep 2006 07:09:38 +0000 (07:09 +0000)]
re PR target/28995 (libgfortran build now fails on Darwin PPC)

2006-09-09  Eric Christopher  <echristo@apple.com>

        PR target/28995
        * config/darwin.c (machopic_select_rtx_section): Add TARGET_64BIT
        for literal16.

From-SVN: r116810

18 years agore PR fortran/28914 (Code inside loop hangs; outside loop runs normally; runs OK...
Jerry DeLisle [Sun, 10 Sep 2006 04:58:29 +0000 (04:58 +0000)]
re PR fortran/28914 (Code inside loop hangs; outside loop runs normally; runs OK on other compilers)

2006-09-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/28914
* gfortran.dg/actual_array_constructor_3.f90: New test.

From-SVN: r116809

18 years agore PR fortran/28914 (Code inside loop hangs; outside loop runs normally; runs OK...
Paul Thomas [Sun, 10 Sep 2006 04:53:18 +0000 (04:53 +0000)]
re PR fortran/28914 (Code inside loop hangs; outside loop runs normally; runs OK on other compilers)

2006-09-09  Paul Thomas <pault@gcc.gnu.org>

PR fortran/28914
* trans-array.c (gfc_trans_array_constructor_value): Create a temporary
loop variable to hold the current loop variable in case it is modified
by the array constructor.

From-SVN: r116808

18 years agodwarf2out.c (convert_cfa_to_fb_loc_list): Handle DW_CFA_set_loc.
Roger Sayle [Sun, 10 Sep 2006 00:28:05 +0000 (00:28 +0000)]
dwarf2out.c (convert_cfa_to_fb_loc_list): Handle DW_CFA_set_loc.

* dwarf2out.c (convert_cfa_to_fb_loc_list): Handle DW_CFA_set_loc.

Co-Authored-By: Nicolas Setton <setton@adacore.com>
From-SVN: r116807

18 years agoDaily bump.
GCC Administrator [Sun, 10 Sep 2006 00:17:35 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116805

18 years ago* config/m68k/m68k.md (bungt_rev): New pattern.
Andreas Schwab [Sat, 9 Sep 2006 22:59:53 +0000 (22:59 +0000)]
* config/m68k/m68k.md (bungt_rev): New pattern.

From-SVN: r116801

18 years agore PR c++/28996 (ICE with statement forming unused static member function reference)
Jason Merrill [Sat, 9 Sep 2006 22:26:53 +0000 (18:26 -0400)]
re PR c++/28996 (ICE with statement forming unused static member function reference)

        PR c++/28996
        * cvt.c (convert_to_void): Strip COMPONENT_REF to functions.

From-SVN: r116800

18 years agore PR target/26778 (GCC4 moves the result of a conditional block through inadequate...
Paolo Bonzini [Sat, 9 Sep 2006 12:43:32 +0000 (12:43 +0000)]
re PR target/26778 (GCC4 moves the result of a conditional block through inadequate registers)

gcc:
2006-09-09  Paolo Bonzini  <bonzini@gnu.org>
    Dale Johannesen  <dalej@apple.com>

PR target/26778
* regclass.c (struct reg_pref): Update documentation.
(regclass): Set prefclass to NO_REGS if memory is the best option.
(record_reg_classes): Cope with a prefclass set to NO_REGS.

gcc/testsuite:
2006-09-09  Eric Christopher  <echristo@apple.com>

PR target/26778
* gcc.target/i386/pr26778.c: New testcase.

Co-Authored-By: Dale Johannesen <dalej@apple.com>
From-SVN: r116798

18 years agoMAINTAINERS: Add myself as avr maintainer.
Anatoly Sokolov [Sat, 9 Sep 2006 12:25:57 +0000 (16:25 +0400)]
MAINTAINERS: Add myself as avr maintainer.

* MAINTAINERS: Add myself as avr maintainer.
Remove Marek Michalkiewicz as avr maintainer.

From-SVN: r116797

18 years agoconfig.gcc (i?86-*-darwin): Add 64-bit HWI support.
Eric Christopher [Sat, 9 Sep 2006 00:27:47 +0000 (00:27 +0000)]
config.gcc (i?86-*-darwin): Add 64-bit HWI support.

2006-09-08  Eric Christopher  <echristo@apple.com>

        * config.gcc (i?86-*-darwin): Add 64-bit HWI support.
        * config/t-slibgcc-darwin: Support x86_64 multilib.
        * config/i386/i386.h (JUMP_TABLES_IN_TEXT_SECTION):
        Return 1 for x86_64-darwin.
        * config/i386/t-darwin: Add m64 multilib.
        (LIB2_SIDITI_CONV_FUNCS): Use.
        (LIB2FUNCS_EXTRA): Ditto.
        * config/i386/darwin.h: Support x86_64.
        * config/i386/i386.c (override_options): Turn on flag_pic
        for x86_64-darwin. Disable flag_omit_pointer.
        (get_pc_thunk_name): Assert !TARGET_64BIT.
        (legitimate_address_p): Disable machopic addressing for
        x86_64.
        (legitimize_pic_address): Ditto.
        (ix86_expand_move): Ditto.
        (ix86_expand_call): Ditto.
        (machopic_output_stub): Ditto.
        * config/darwin.c (machopic_select_section): Support literal16.
        (machopic_select_rtx_section): Ditto.
        * config/darwin-sections.def: Ditto.
        * config/darwin-64.c: New.

2006-09-08  Eric Christopher  <echristo@apple.com>

        * gcc.target/i386/20060512-3.c: Run test on ilp32 only.
        * gcc.target/i386/memcpy-1.c: Ditto.
        * gcc.target/i386/asm-1.c: Ditto.
        * gcc.target/i386/20060512-4.c: Ditto.
        * gcc.target/i386/compress-float-387.c: Ditto.
        * gcc.target/i386/20060512-1.c: Ditto.
        * gcc.target/i386/compress-float-sse.c: Ditto.
        * gcc.target/i386/20060512-2.c: Ditto.
        * gcc.target/i386/compress-float-sse-pic.c: Ditto.
        * gcc.target/i386/stack-prot-kernel.c: Ditto.
        * gcc.target/i386/compress-float-387-pic.c: Ditto.
        * gcc.dg/pr26449.c: Ditto.
        * gcc.dg/attr-ms_struct-2.c: Ditto.
        * gcc.dg/attr-ms_struct-1.c: Ditto.
        * gcc.misc-tests/linkage.exp: Fix 64-bit darwin support.

2006-09-08  Eric Christopher  <echristo@apple.com>

        * configure.ac: Add 64-bit HWI support for i?86-darwin.

From-SVN: r116795

18 years agoDaily bump.
GCC Administrator [Sat, 9 Sep 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116793

18 years agore PR c/28504 (ICE with variable sized array)
Joseph Myers [Fri, 8 Sep 2006 23:41:21 +0000 (00:41 +0100)]
re PR c/28504 (ICE with variable sized array)

PR c/28504
* c-tree.h (struct c_arg_info): Add pending_sizes.
* c-parser.c (c_parser_parms_declarator,
c_parser_parms_list_declarator): Initialize pending_sizes.
* c-decl.c (get_parm_info): Initialize pending_sizes.
(get_parm_info): Set pending_sizes.
(grokdeclarator): Call put_pending_sizes for parameters for
function definition only.

testsuite:
* gcc.dg/vla-10.c: New test.

From-SVN: r116789

18 years agore PR c++/28858 (Algorithm to find the end of a template parameter list is flawed)
Volker Reichelt [Fri, 8 Sep 2006 22:56:44 +0000 (22:56 +0000)]
re PR c++/28858 (Algorithm to find the end of a template parameter list is flawed)

PR c++/28858
* parser.c (cp_parser_skip_until_found): Rename to
cp_parser_skip_to_end_of_template_parameter_list.  Remove last two
parameters.  Track levels of '< ... >'.  Stop at '{', '}', or ';'.
Reorganize.  Adjust comment.
(cp_parser_template_declaration_after_export): Adjust call.
(cp_parser_enclosed_template_argument_list): Likewise.

* g++.dg/parse/template20.C: New test.
* g++.dg/template/operator8.C: Remove obsolete part.
* g++.dg/parse/def-tmpl-arg1.C: Adjust error-markers.
* g++.old-deja/g++.pt/crash65.C: Likewise.

From-SVN: r116788

18 years agoreduction3.f90: Change -2147483648 to -huge(i)-1 to avoid overflow.
Steven G. Kargl [Fri, 8 Sep 2006 20:57:55 +0000 (20:57 +0000)]
reduction3.f90: Change -2147483648 to -huge(i)-1 to avoid overflow.

2006-09-08  Steven G. Kargl  <kargl@gcc.gnu.org>

* testsuite/libgomp.fortran/reduction3.f90: Change
-2147483648 to -huge(i)-1 to avoid overflow.
* testsuite/libgomp.fortran/reduction4.f90: Change
Z'ffffffff' to not(0) to avoid overflow.

From-SVN: r116786

18 years agorandom.tcc (poisson_distribution<>::operator()): Avoid potential warnings when _IntTy...
Paolo Carlini [Fri, 8 Sep 2006 14:40:47 +0000 (14:40 +0000)]
random.tcc (poisson_distribution<>::operator()): Avoid potential warnings when _IntType is unsigned.

2006-09-08  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/random.tcc (poisson_distribution<>::operator()):
Avoid potential warnings when _IntType is unsigned.

From-SVN: r116779

18 years agore PR middle-end/27724 (internal compiler error: no-op convert from 4 to 8 bytes...
Jason Merrill [Fri, 8 Sep 2006 05:11:40 +0000 (01:11 -0400)]
re PR middle-end/27724 (internal compiler error: no-op convert from 4 to 8 bytes in initializer)

        PR middle-end/27724
        * varasm.c (output_constant): Only strip actual no-op conversions.

From-SVN: r116777

18 years ago006-09-07 Andrew Pinski <pinskia@physics.uc.edu>
Andrew Pinski [Fri, 8 Sep 2006 02:49:11 +0000 (19:49 -0700)]
006-09-07  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/28906
        * init.c (build_new_1): Build a distinct type copy
        for the array type that was returned from
        build_cplus_array_type.
2006-09-07  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/28906
        * g++.dg/other/array3.C: New test.
        * g++.dg/other/array4.C: New test.
        * g++.dg/other/array5.C: New test.

From-SVN: r116776

18 years agore PR target/13685 (Building simple test application with -march=pentium3 -Os gives...
Jason Merrill [Fri, 8 Sep 2006 00:28:30 +0000 (20:28 -0400)]
re PR target/13685 (Building simple test application with -march=pentium3 -Os gives SIGSEGV (unaligned sse instruction))

        PR target/13685
        * config/i386/i386.c (override_options): Use 128-bit
        stack boundary if -msse.

From-SVN: r116775

18 years agodarwin.h (MACHO_SYMBOL_FLAG_VARIABLE): Update comment.
Eric Christopher [Fri, 8 Sep 2006 00:22:49 +0000 (00:22 +0000)]
darwin.h (MACHO_SYMBOL_FLAG_VARIABLE): Update comment.

2006-09-07  Eric Christopher  <echristo@apple.com>

        * config/darwin.h (MACHO_SYMBOL_FLAG_VARIABLE): Update
        comment.
        * config/i386/darwin.h (MACHO_SYMBOL_FLAG_VARIABLE):
        Redefine.

From-SVN: r116774

18 years agoDaily bump.
GCC Administrator [Fri, 8 Sep 2006 00:17:33 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r116772

18 years agodwarf2out.c: Remove strange characters from comment above dwarf2out_frame_debug_expr.
Geoffrey Keating [Thu, 7 Sep 2006 23:11:40 +0000 (23:11 +0000)]
dwarf2out.c: Remove strange characters from comment above dwarf2out_frame_debug_expr.

* dwarf2out.c: Remove strange characters from comment above
dwarf2out_frame_debug_expr.

From-SVN: r116767

18 years agodebug.h (_GLIBCXX_DEBUG_ONLY): New.
Benjamin Kosnik [Thu, 7 Sep 2006 22:48:50 +0000 (22:48 +0000)]
debug.h (_GLIBCXX_DEBUG_ONLY): New.

2006-09-08  Benjamin Kosnik  <bkoz@redhat.com>

* include/debug/debug.h (_GLIBCXX_DEBUG_ONLY): New.
* include/ext/bitmap_allocator.h (_BALLOC_SANITY_CHECK,
_BALLOC_ASSERT): Remove. Use _GLIBCXX_DEBUG,
_GLIBCXX_DEBUG_ASSERT.
* include/ext/pb_ds/hash_policy.hpp (PB_DS_DBG_ASSERT): Convert to
_GLIBCXX_DEBUG_ASSERT. Formatting corrections.
(PB_DS_DBG_VERIFY): Remove, unused.
(PB_DS_DBG_ONLY): Convert to _GLIBCXX_DEBUG blocks.
* include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/
insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/
binomial_heap_base_.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_base_/
split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
erase_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
insert_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
insert_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
debug_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
debug_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/
erase_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
* include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
* include/ext/pb_ds/detail/unordered_iterator/
const_point_iterator.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/head.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/
split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
erase_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
debug_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
debug_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
erase_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/types_traits.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
* include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
* include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
left_child_next_sibling_heap_.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
const_iterator.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
const_point_iterator.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/map_debug_base.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
* include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/
iterators_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/
rc_binomial_heap_.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
* include/ext/pb_ds/detail/rc_binomial_heap_/
split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
* include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
* testsuite/util/regression/res_mng/forced_exception.hpp: Same.
* testsuite/util/regression/res_mng/dbg_ex_allocator_base.hpp: Same.
* testsuite/util/regression/res_mng/dbg_ex_allocator.hpp: Same.
* testsuite/util/rng/twister_rand_gen.cc
* testsuite/util/native_type/assoc/native_multimap.hpp: Same.
* testsuite/util/native_type/assoc/native_hash_multimap.hpp: Same.

From-SVN: r116766

18 years agore PR c++/27371 (Does not warn about unused function result (__attribute__((warn_unus...
Jason Merrill [Thu, 7 Sep 2006 22:47:34 +0000 (18:47 -0400)]
re PR c++/27371 (Does not warn about unused function result (__attribute__((warn_unused_result))))

        PR c++/27371
        * cvt.c (convert_to_void): Enable previous change.

From-SVN: r116765

18 years agodarwin.h (HANDLE_SYSV_PRAGMA): Move from here...
Eric Christopher [Thu, 7 Sep 2006 21:07:24 +0000 (21:07 +0000)]
darwin.h (HANDLE_SYSV_PRAGMA): Move from here...

2006-09-07  Eric Christopher  <echristo@apple.com>

        * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Move from here...
        * config/darwin.h: ... to here.

From-SVN: r116762

18 years agoAdd the entry for g++.dg/warn/unused-result1.C.
H.J. Lu [Thu, 7 Sep 2006 21:07:17 +0000 (14:07 -0700)]
Add the entry for g++.dg/warn/unused-result1.C.

From-SVN: r116761