]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
18 years agore PR tree-optimization/32723 (memory hog in solve_graph)
Richard Guenther [Tue, 24 Jul 2007 07:30:47 +0000 (07:30 +0000)] 
re PR tree-optimization/32723 (memory hog in solve_graph)

2007-07-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/32723
Backport from mainline:
2007-03-09  Daniel Berlin  <dberlin@dberlin.org>

        * tree-ssa-structalias.c (shared_bitmap_info_t): New structure.
        (shared_bitmap_table): New variable.
        (shared_bitmap_hash): New function.
        (shared_bitmap_eq): Ditto
        (shared_bitmap_lookup): Ditto.
        (shared_bitmap_add): Ditto.
        (find_what_p_points_to): Rewrite to use shared bitmap hashtable.
        (init_alias_vars): Init shared bitmap hashtable.
        (delete_points_to_sets): Delete shared bitmap hashtable.

From-SVN: r126867

18 years agoDaily bump.
GCC Administrator [Tue, 24 Jul 2007 00:16:47 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126863

18 years agoreload1.c (choose_reload_regs): Set reload_spill_index for regs chosen during find_re...
Bernd Schmidt [Mon, 23 Jul 2007 17:22:34 +0000 (17:22 +0000)] 
reload1.c (choose_reload_regs): Set reload_spill_index for regs chosen during find_reloads.

* reload1.c (choose_reload_regs): Set reload_spill_index for regs
chosen during find_reloads.

From-SVN: r126854

18 years agoconfigure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.
Rainer Orth [Mon, 23 Jul 2007 12:54:02 +0000 (12:54 +0000)] 
configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.

* configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.
* configure: Regenerate.

From-SVN: r126848

18 years agoDaily bump.
GCC Administrator [Mon, 23 Jul 2007 00:16:48 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126831

18 years agore PR fortran/32678 ([4.2, 4.1]GFortan works incorrectly when writing with FORMAT Tx)
Jerry DeLisle [Sun, 22 Jul 2007 04:05:00 +0000 (04:05 +0000)] 
re PR fortran/32678 ([4.2, 4.1]GFortan works incorrectly when writing with FORMAT Tx)

2007-07-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/32678
* gfortran.dg/fmt_t_5.f90: New test.

From-SVN: r126823

18 years agore PR libfortran/32752 (Segfault on WRITE with modified unix_stream structure)
Jerry DeLisle [Sun, 22 Jul 2007 04:02:57 +0000 (04:02 +0000)] 
re PR libfortran/32752 (Segfault on WRITE with modified unix_stream structure)

2007-07-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/32752
PR libgfortran/32678
Backport from trunk.
* io/transfer.c (formatted_transfer_scalar): If stream I/O, set
bytes_used to zero. Fix off by one error in calculation of pos and
skips. Don't allow pending_spaces to go negative.

From-SVN: r126822

18 years agoDaily bump.
GCC Administrator [Sun, 22 Jul 2007 00:16:42 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126819

18 years agore PR target/32641 (C99 fpclassify, isinf, isfinite, isnormal may raise FP exceptions)
Kaveh R. Ghazi [Sat, 21 Jul 2007 21:57:21 +0000 (21:57 +0000)] 
re PR target/32641 (C99 fpclassify, isinf, isfinite, isnormal may raise FP exceptions)

fixincludes:
PR target/32641

* inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
solaris_math_7): Constify and make FP exception-safe.
* tests/base/iso/math_c99.h: Update.

* fixincl.x: Regenerate.

gcc/testsuite:
* gcc.dg/c99-math-double-1.c: Mark test variables as volatile.
Test negative numbers also.
* gcc.dg/c99-math-float-1.c: Likewise.
* gcc.dg/c99-math-long-double-1.c: Likewise.
* gcc.dg/c99-math.h: Check for FP exceptions.  Update for negative
test inputs.

From-SVN: r126815

18 years agoDaily bump.
GCC Administrator [Sat, 21 Jul 2007 00:16:50 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126806

18 years agoDaily bump.
GCC Administrator [Fri, 20 Jul 2007 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126793

18 years agoMark as release releases/gcc-4.2.1
Mark Mitchell [Thu, 19 Jul 2007 14:31:06 +0000 (14:31 +0000)] 
Mark as release

From-SVN: r126786

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:31:04 +0000 (14:31 +0000)] 
Mark ChangeLog

From-SVN: r126785

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:31:02 +0000 (14:31 +0000)] 
Mark ChangeLog

From-SVN: r126784

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:31:00 +0000 (14:31 +0000)] 
Mark ChangeLog

From-SVN: r126783

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:52 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126782

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:47 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126781

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:44 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126780

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:40 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126779

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:32 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126778

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:28 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126777

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:25 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126776

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:22 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126775

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:19 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126774

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:16 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126773

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:13 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126772

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:09 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126771

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:05 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126770

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:30:01 +0000 (14:30 +0000)] 
Mark ChangeLog

From-SVN: r126769

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:58 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126768

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:56 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126767

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:53 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126766

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:51 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126765

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:48 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126764

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:45 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126763

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:37 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126762

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:35 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126761

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:33 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126760

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:31 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126759

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:29 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126758

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:26 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126757

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:23 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126756

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:21 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126755

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:19 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126754

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:16 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126753

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:14 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126752

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:11 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126751

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:09 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126750

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:06 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126749

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:29:04 +0000 (14:29 +0000)] 
Mark ChangeLog

From-SVN: r126748

18 years agoMark ChangeLog
Mark Mitchell [Thu, 19 Jul 2007 14:28:59 +0000 (14:28 +0000)] 
Mark ChangeLog

From-SVN: r126747

18 years agogcc.pot: Regenerate.
Mark Mitchell [Thu, 19 Jul 2007 04:20:26 +0000 (04:20 +0000)] 
gcc.pot: Regenerate.

* gcc.pot: Regenerate.

* cpplib.pot: Regenerate.

From-SVN: r126741

18 years agoRevert:
Paolo Bonzini [Thu, 19 Jul 2007 03:25:32 +0000 (03:25 +0000)] 
Revert:

2007-07-09  Paolo Bonzini  <bonzini@gnu.org>

PR middle-end/32004
* function.c (rest_of_match_asm_constraints): Pass PROP_REG_INFO.

2007-07-06  Paolo Bonzini  <bonzini@gnu.org>

PR middle-end/32004
* function.c (match_asm_constraints_1, rest_of_match_asm_constraints,
pass_match_asm_constraints): New.
* passes.c (init_optimization_passes): Add new pass.
* stmt.c (expand_asm_operands): Set cfun->has_asm_statement.
* function.h (struct function): Add has_asm_statement bit.
(current_function_has_asm_statement): New.
* tree-pass.h (pass_match_asm_constraints): New.

From-SVN: r126740

18 years agoDaily bump.
GCC Administrator [Thu, 19 Jul 2007 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126737

18 years agoDaily bump.
GCC Administrator [Wed, 18 Jul 2007 00:16:50 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126709

18 years agofptr.c: Update license header.
John David Anglin [Tue, 17 Jul 2007 22:30:59 +0000 (22:30 +0000)] 
fptr.c: Update license header.

* config/pa/fptr.c: Update license header.
* config/pa/milli64.S: Likewise.

From-SVN: r126707

18 years agoDaily bump.
GCC Administrator [Tue, 17 Jul 2007 00:16:39 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126696

18 years agore PR target/32753 (building a crosscompiler for arm-elf fails because of an error...
Paul Brook [Mon, 16 Jul 2007 13:03:07 +0000 (13:03 +0000)] 
re PR target/32753 (building a crosscompiler for arm-elf fails because of an error in cirrus.md)

2007-07-16  Paul Brook  <paul@codesourcery.com>

PR target/32753
gcc/
* config/arm/cirrus.md (cirrus_arm_movsi_insn): Remove dead insn.

From-SVN: r126680

18 years agoDaily bump.
GCC Administrator [Mon, 16 Jul 2007 00:16:48 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126665

18 years agoDaily bump.
GCC Administrator [Sun, 15 Jul 2007 00:16:49 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126649

18 years agoDaily bump.
GCC Administrator [Sat, 14 Jul 2007 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126633

18 years agoDaily bump.
GCC Administrator [Fri, 13 Jul 2007 00:16:36 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126608

18 years agoDaily bump.
GCC Administrator [Thu, 12 Jul 2007 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126563

18 years agore PR c++/31027 (Compiler segfaults in simple virtual inheritance situation)
Paolo Carlini [Wed, 11 Jul 2007 21:54:36 +0000 (21:54 +0000)] 
re PR c++/31027 (Compiler segfaults in simple virtual inheritance situation)

2007-07-11  Paolo Carlini  <pcarlini@suse.de>

PR c++/31027
* g++.dg/inherit/virtual4.C: New.

From-SVN: r126559

18 years agobackport: re PR fortran/31823 (COMPLEX not documented)
Brooks Moses [Wed, 11 Jul 2007 06:25:47 +0000 (23:25 -0700)] 
backport: re PR fortran/31823 (COMPLEX not documented)

Backport from trunk:
PR fortran/31823
* intrinsic.texi (CMPLX): Document result kind.
(COMPLEX): Add documentation.

From-SVN: r126538

18 years agoDaily bump.
GCC Administrator [Wed, 11 Jul 2007 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126531

18 years agore PR target/32538 (All libgomp tests fail to link on IRIX 6: copysignl undefined)
Rainer Orth [Tue, 10 Jul 2007 18:03:28 +0000 (18:03 +0000)] 
re PR target/32538 (All libgomp tests fail to link on IRIX 6: copysignl undefined)

PR target/32538
* config/mips/iris6.h (LIBGCC_SPEC): Add libm.

From-SVN: r126521

18 years agore PR libgcj/28190 (libjava bootstrap failure on IRIX 6.5: stdint.h misdetection)
Rainer Orth [Tue, 10 Jul 2007 17:55:20 +0000 (17:55 +0000)] 
re PR libgcj/28190 (libjava bootstrap failure on IRIX 6.5: stdint.h misdetection)

PR libgcj/28190
* inclhack.def (irix_stdint_c99): New fix.
* fixincl.x: Regenerate.
* tests/base/stdint.h: New test.

From-SVN: r126518

18 years agore PR libgcj/32651 (libjava fails to build on IRIX 6.5)
Rainer Orth [Tue, 10 Jul 2007 17:02:57 +0000 (17:02 +0000)] 
re PR libgcj/32651 (libjava fails to build on IRIX 6.5)

PR libgcj/32651
* configure.host (mips-sgi-irix6*): Set sysdeps_dir.
Disable interpreter.

From-SVN: r126516

18 years agoDaily bump.
GCC Administrator [Tue, 10 Jul 2007 00:16:47 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126502

18 years agore PR middle-end/32004 (can't find a register in class 'GENERAL_REGS' while reloading...
Paolo Bonzini [Mon, 9 Jul 2007 15:37:32 +0000 (15:37 +0000)] 
re PR middle-end/32004 (can't find a register in class 'GENERAL_REGS' while reloading 'asm')

2007-07-09  Paolo Bonzini  <bonzini@gnu.org>

PR middle-end/32004
* function.c (rest_of_match_asm_constraints): Pass PROP_REG_INFO.

From-SVN: r126487

18 years agore PR tree-optimization/32681 (ice for legal C code with flags -ffast-math -O3 ...
Uros Bizjak [Mon, 9 Jul 2007 13:31:46 +0000 (15:31 +0200)] 
re PR tree-optimization/32681 (ice for legal C code with flags -ffast-math  -O3 -ftree-vectorize)

PR tree-optimization/32681
* tree-if-conv.c (find_phi_replacement_condition): Use the condition
saved in second_edge->aux when first_bb is a loop header.

From-SVN: r126484

18 years agoDaily bump.
GCC Administrator [Mon, 9 Jul 2007 00:16:49 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126475

18 years agoc99-math-double-1.c, [...]: Test subnormals.
Kaveh R. Ghazi [Sun, 8 Jul 2007 20:22:34 +0000 (20:22 +0000)] 
c99-math-double-1.c, [...]: Test subnormals.

* gcc.dg/c99-math-double-1.c, gcc.dg/c99-math-float-1.c,
c99-math-long-double-1.c, c99-math.h: Test subnormals.

From-SVN: r126464

18 years agos-osinte-rtems.ads: Correct prototype of pthread_sigmask.
Laurent Guerby [Sun, 8 Jul 2007 14:18:34 +0000 (14:18 +0000)] 
s-osinte-rtems.ads: Correct prototype of pthread_sigmask.

2007-07-05  Joel Sherrill <joel.sherrill@oarcorp.com>

        * s-osinte-rtems.ads: Correct prototype of pthread_sigmask.

From-SVN: r126459

18 years agore PR fortran/32554 ([4.2 Only] Bug in P formatting)
Jerry DeLisle [Sun, 8 Jul 2007 02:24:37 +0000 (02:24 +0000)] 
re PR fortran/32554 ([4.2 Only] Bug in P formatting)

2007-07-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/32554
* gfortran.dg/fmt_p_1.f90: New test.

From-SVN: r126457

18 years agore PR fortran/32554 ([4.2 Only] Bug in P formatting)
Jerry DeLisle [Sun, 8 Jul 2007 02:20:10 +0000 (02:20 +0000)] 
re PR fortran/32554 ([4.2 Only] Bug in P formatting)

2007-07-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/32554
Backport from trunk.
* io/write.c (output_float): Set edigits to a fixed size, avoiding
variation in field width calculation and eliminate buffer overrun.

From-SVN: r126456

18 years agoDaily bump.
GCC Administrator [Sun, 8 Jul 2007 00:16:41 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126453

18 years agore PR target/31331 ([avr] ICE on function attribute syntax for main())
Anatoly Sokolov [Sat, 7 Jul 2007 19:30:37 +0000 (23:30 +0400)] 
re PR target/31331 ([avr] ICE on function attribute syntax for main())

PR target/31331
* config/avr/avr.c (avr_naked_function_p): Handle receiving a type
rather than a decl.
(avr_attribute_table): Make "naked" attribute apply to function types
rather than to decls.
(avr_handle_fntype_attribute): New function.

From-SVN: r126446

18 years ago* zh_CN.po: Update.
Joseph Myers [Sat, 7 Jul 2007 19:20:55 +0000 (20:20 +0100)] 
* zh_CN.po: Update.

From-SVN: r126445

18 years agore PR c++/32232 (ICE in resolve_overloaded_unification)
Mark Mitchell [Sat, 7 Jul 2007 19:16:09 +0000 (19:16 +0000)] 
re PR c++/32232 (ICE in resolve_overloaded_unification)

PR c++/32232
* pt.c (resolve_overloaded_unification): Robustify.  Return a
bool, not an int.
(type_unification_real): Adjust accordingly.
PR c++/32232
* g++.dg/template/overload9.C: New test.

From-SVN: r126443

18 years agore PR c++/32245 (wrong POD type initialization with pointer to member)
Mark Mitchell [Sat, 7 Jul 2007 02:02:37 +0000 (02:02 +0000)] 
re PR c++/32245 (wrong POD type initialization with pointer to member)

PR c++/32245
* init.c (build_zero_init): Always build an initializer for
non-static storage.
* typeck2.c (build_functional_cast): Use build_zero_init.

PR c++/32251
* init.c (build_new_1): Always pass the allocation function to
build_op_delete_call.
* call.c (build_op_delete_call): Handle operator delete with a
variable-argument list.  Do not issue an error when no matching
deallocation function is available for a new operator.

PR c++/31992
* cp-tree.h (any_value_dependent_elements_p): Declare it.
* decl.c (value_dependent_init_p): New function.
(cp_finish_decl): Use it.
* pt.c (value_dependent_expression_p): Use
any_value_dependent_elements_p.
* parser.c (cp_parser_primary_expression): Add comment about
treating dependent qualified names as integral
constant-expressions.

PR c++/32245
* g++.dg/init/ptrmem4.C: New test.

PR c++/32251
* g++.dg/init/new21.C: Likewise.

PR c++/31992
* g++.dg/template/static30.C: Likewise.

From-SVN: r126433

18 years agoDaily bump.
GCC Administrator [Sat, 7 Jul 2007 00:16:50 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126430

18 years agore PR middle-end/32004 (can't find a register in class 'GENERAL_REGS' while reloading...
Paolo Bonzini [Fri, 6 Jul 2007 15:10:10 +0000 (15:10 +0000)] 
re PR middle-end/32004 (can't find a register in class 'GENERAL_REGS' while reloading 'asm')

2007-07-06  Paolo Bonzini  <bonzini@gnu.org>

PR middle-end/32004
* function.c (match_asm_constraints_1, rest_of_match_asm_constraints,
pass_match_asm_constraints): New.
* passes.c (init_optimization_passes): Add new pass.
* stmt.c (expand_asm_operands): Set cfun->has_asm_statement.
* function.h (struct function): Add has_asm_statement bit.
(current_function_has_asm_statement): New.
* tree-pass.h (pass_match_asm_constraints): New.

From-SVN: r126418

18 years agore PR rtl-optimization/32450 (-pg causes miscompilation)
Uros Bizjak [Fri, 6 Jul 2007 09:49:52 +0000 (11:49 +0200)] 
re PR rtl-optimization/32450 (-pg causes miscompilation)

        PR rtl-optimization/32450
        * function.c (thread_prologue_and_epilogue_insns): Emit blockage insn
        to ensure that instructions are not moved into the prologue when
        profiling is on.

testsuite/ChangeLog:

        PR rtl-optimization/32450
        * gcc.dg/pr32450.c: New runtime test.

From-SVN: r126407

18 years agoDaily bump.
GCC Administrator [Fri, 6 Jul 2007 00:16:42 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126394

18 years agoMAINTAINERS (OS Port Maintainers): Add myself as IRIX, Tru64 UNIX maintainer.
Rainer Orth [Thu, 5 Jul 2007 18:52:58 +0000 (18:52 +0000)] 
MAINTAINERS (OS Port Maintainers): Add myself as IRIX, Tru64 UNIX maintainer.

* MAINTAINERS (OS Port Maintainers): Add myself as IRIX, Tru64 UNIX
maintainer.

From-SVN: r126379

18 years agoFix typo
Mark Mitchell [Thu, 5 Jul 2007 18:11:48 +0000 (18:11 +0000)] 
Fix typo

From-SVN: r126375

18 years agore PR libstdc++/31957 (Build of compiler fails with 'error: #endif without #if')
Joerg Richter [Thu, 5 Jul 2007 11:46:00 +0000 (11:46 +0000)] 
re PR libstdc++/31957 (Build of compiler fails with 'error: #endif without #if')

2007-07-05  Joerg Richter  <joerg.richter@pdv-fs.de>

PR libstdc++/31957
* include/Makefile.am: Work around an AIX sed oddity.
* include/Makefile.in: Regenerate.

From-SVN: r126363

18 years agoDaily bump.
GCC Administrator [Thu, 5 Jul 2007 00:16:58 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126341

18 years agore PR target/31388 (ICE building libiberty multilib for mips16 multilibs)
Mark Mitchell [Wed, 4 Jul 2007 17:18:22 +0000 (17:18 +0000)] 
re PR target/31388 (ICE building libiberty multilib for mips16 multilibs)

PR c++/31388
* cp-tree.h (ARITHMETIC_TYPE): Include COMPLEX_TYPE.
* typeck.c (type_after_usual_arithmetic_conversions): Adjust, as
COMPLEX_TYPE is now an ARITHMETIC_TYPE.
* init.c (build_zero_init): Adjust, as
COMPLEX_TYPE is now a SCALAR_TYPE.
* typeck2.c (digest_init): Allow brace-enclosed initializers for
COMPLEX_TYPE, even though that is now a SCALAR_TYPE.

PR c++/31338
* g++.dg/ext/complex2.C: New test.

From-SVN: r126329

18 years agore PR tree-optimization/32500 (Loop optimization limits range to size of array used...
Richard Guenther [Wed, 4 Jul 2007 12:38:23 +0000 (12:38 +0000)] 
re PR tree-optimization/32500 (Loop optimization limits range to size of array used inside loop)

2007-07-04  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/32500
* tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
Only use basic blocks that are always executed to infer loop bounds.

* gcc.c-torture/execute/pr32500.c: New testcase.

From-SVN: r126315

18 years agore PR tree-optimization/31966 (Miscompiles valid code with -ftree-vectorize)
Uros Bizjak [Wed, 4 Jul 2007 05:40:58 +0000 (07:40 +0200)] 
re PR tree-optimization/31966 (Miscompiles valid code with -ftree-vectorize)

PR tree-optimization/31966
PR tree-optimization/32533
* tree-if-conv.c (add_to_dst_predicate_list): Use "edge", not
"basic_block" description as its third argument.  Update function
calls to get destination bb from "edge" argument.  Save "cond" into
aux field of the edge.  Update prototype for changed arguments.
(if_convertible_loop_p): Clear aux field of incoming edges if bb
contains phi node.
(find_phi_replacement_condition): Operate on incoming edges, not
on predecessor blocks.  If there is a condition saved in the
incoming edge aux field, AND it with incoming bb predicate.
Return source bb of the first edge.
(clean_predicate_lists): Clean aux field of outgoing node edges.
(tree_if_conversion): Do not initialize cond variable. Move
variable declaration into the loop.
(replace_phi_with_cond_gimple_modify_stmt): Remove unneded
initializations of new_stmt, arg0 and arg1 variables.

testsuite/ChangeLog:

PR tree-optimization/31966
PR tree-optimization/32533
* gcc.dg/tree-ssa/pr31966.c: New runtime test.
* gfortran.dg/pr32533.f90: Ditto.

From-SVN: r126301

18 years agore PR target/32506 (cross compile sh64-superh-linux-gnu internal compiler error:...
Kaz Kojima [Wed, 4 Jul 2007 04:57:59 +0000 (04:57 +0000)] 
re PR target/32506 (cross compile sh64-superh-linux-gnu internal compiler error: in change_address_1, at emit-rtl.c:1800)

PR target/32506
Backport from mainline.
* config/sh/sh.md (udivsi3_i1_media): Use target_reg_operand
predicate instead of target_operand.
(divsi3_i1_media, divsi3_media_2): Likewise.

From-SVN: r126299

18 years agoDaily bump.
GCC Administrator [Wed, 4 Jul 2007 00:16:54 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126289

18 years agore PR c++/32609 (ICE in htab_clear_slot at libiberty/hashtab.c:722)
Richard Guenther [Tue, 3 Jul 2007 15:26:59 +0000 (15:26 +0000)] 
re PR c++/32609 (ICE in htab_clear_slot at libiberty/hashtab.c:722)

2007-07-03  Richard Guenther  <rguenther@suse.de>

PR c++/32609
* class.c (fixed_type_or_null): Re-lookup the hashtable slot
after recursing.

From-SVN: r126261

18 years agobackport: re PR rtl-optimization/30113 (ICE in trunc_int_for_mode)
Richard Guenther [Tue, 3 Jul 2007 14:33:16 +0000 (14:33 +0000)] 
backport: re PR rtl-optimization/30113 (ICE in trunc_int_for_mode)

2007-07-03  Richard Guenther  <rguenther@suse.de>

        Backport from mainline:
        2006-12-11  Zdenek Dvorak <dvorakz@suse.cz>

        PR rtl-optimization/30113
        * loop-iv.c (implies_p): Require the mode of the operands to be
        scalar.

From-SVN: r126259

18 years agore PR target/28307 (pthread functions in libgcc not weak any more on Tru64 UNIX)
Rainer Orth [Tue, 3 Jul 2007 13:43:01 +0000 (13:43 +0000)] 
re PR target/28307 (pthread functions in libgcc not weak any more on Tru64 UNIX)

PR target/28307
* gthr-posix.h [SUPPORTS_WEAK && GTHREAD_USE_WEAK]
(__gthrw_pragma): Provide default definition.
(__gthrw2): Use it.
* gthr-posix.c (__gthrw_pragma): Define.

From-SVN: r126254

18 years agoDaily bump.
GCC Administrator [Tue, 3 Jul 2007 00:16:39 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r126240

18 years agoc99-math.h: Fix typo.
Kaveh R. Ghazi [Mon, 2 Jul 2007 21:37:02 +0000 (21:37 +0000)] 
c99-math.h: Fix typo.

* gcc.dg/c99-math.h: Fix typo.

From-SVN: r126236