]>
git.ipfire.org Git - thirdparty/gcc.git/log
Simon Martin [Sat, 28 Jul 2007 20:12:42 +0000 (20:12 +0000)]
re PR c++/30917 (ICE with friend in local class (to a function))
gcc/cp/
2007-07-28 Simon Martin <simartin@users.sourceforge.net>
Mark Mitchell <mark@codesourcery.com>
PR c++/30917
* name-lookup.c (lookup_name_real): Non namespace-scope bindings can be
hidden due to friend declarations in local classes.
gcc/testsuite/
2007-07-28 Simon Martin <simartin@users.sourceforge.net>
PR c++/30917
* g++.dg/lookup/friend11.C: New test.
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r127023
GCC Administrator [Sat, 28 Jul 2007 00:16:50 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r127007
Mark Mitchell [Fri, 27 Jul 2007 21:46:33 +0000 (21:46 +0000)]
re PR c++/32346 (long long bitfield passed to int argument incorrectly)
PR c++/32346
* call.c (convert_for_arg_passing): Only widen bitfields to their
declared types if necessary.
PR c++/32346
* g++.dg/expr/bitfield9.C: New test.
From-SVN: r126999
GCC Administrator [Fri, 27 Jul 2007 00:16:36 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126966
GCC Administrator [Thu, 26 Jul 2007 00:16:53 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126939
Dorit Nuzman [Wed, 25 Jul 2007 08:51:12 +0000 (08:51 +0000)]
re PR target/25413 (wrong alignment or incorrect address computation in vectorized code on Pentium 4 SSE)
2007-07-25 Dorit Nuzman <dorit@il.ibm.com>
Devang Patel <dpatel@apple.com>
PR tree-optimization/25413
* targhooks.c (default_builtin_vector_alignment_reachable): New.
* targhooks.h (default_builtin_vector_alignment_reachable): New.
* tree.h (contains_packed_reference): New.
* expr.c (contains_packed_reference): New.
* tree-vect-analyze.c (vector_alignment_reachable_p): New.
(vect_enhance_data_refs_alignment): Call
vector_alignment_reachable_p.
* target.h (vector_alignment_reachable): New builtin.
* target-def.h (TARGET_VECTOR_ALIGNMENT_REACHABLE): New.
* config/rs6000/rs6000.c (rs6000_vector_alignment_reachable): New.
(TARGET_VECTOR_ALIGNMENT_REACHABLE): Define.
2007-07-25 Dorit Nuzman <dorit@il.ibm.com>
Devang Patel <dpatel@apple.com>
Uros Bizjak <ubizjak@gmail.com>
PR tree-optimization/25413
* lib/target-supports.exp (check_effective_target_vect_aligned_arrays):
New procedure to check if arrays are naturally aligned to the vector
alignment boundary.
* gcc.dg/vect/vect-align-1.c: New.
* gcc.dg/vect/vect-align-2.c: New.
* gcc.dg/vect/pr25413.c: New.
* gcc.dg/vect/pr25413a.c: New.
Co-Authored-By: Devang Patel <dpatel@apple.com>
Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r126904
GCC Administrator [Wed, 25 Jul 2007 00:16:42 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126895
Richard Guenther [Tue, 24 Jul 2007 12:30:10 +0000 (12:30 +0000)]
backport: tree-if-conv.c (find_phi_replacement_condition): Unshare "*cond" before forcing it to gimple operand.
2007-07-24 Richard Guenther <rguenther@suse.de>
Backport from mainline:
2007-07-16 Richard Guenther <rguenther@suse.de>
Uros Bizjak <ubizjak@gmail.com>
* tree-if-conv.c (find_phi_replacement_condition): Unshare
"*cond" before forcing it to gimple operand.
From-SVN: r126874
Paolo Carlini [Tue, 24 Jul 2007 09:18:39 +0000 (09:18 +0000)]
re PR c++/30535 (ICE with invalid template operator)
/cp
2007-07-24 Paolo Carlini <pcarlini@suse.de>
PR c++/30535
* pt.c (unify): Never pass error_mark_node to template_decl_level.
/testsuite
2007-07-24 Paolo Carlini <pcarlini@suse.de>
PR c++/30535
* g++.dg/template/operator10.C: New.
From-SVN: r126871
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
GCC Administrator [Tue, 24 Jul 2007 00:16:47 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126863
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
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
GCC Administrator [Mon, 23 Jul 2007 00:16:48 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126831
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
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
GCC Administrator [Sun, 22 Jul 2007 00:16:42 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126819
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
GCC Administrator [Sat, 21 Jul 2007 00:16:50 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126806
GCC Administrator [Fri, 20 Jul 2007 00:16:40 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126793
Mark Mitchell [Thu, 19 Jul 2007 14:31:06 +0000 (14:31 +0000)]
Mark as release
From-SVN: r126786
Mark Mitchell [Thu, 19 Jul 2007 14:31:04 +0000 (14:31 +0000)]
Mark ChangeLog
From-SVN: r126785
Mark Mitchell [Thu, 19 Jul 2007 14:31:02 +0000 (14:31 +0000)]
Mark ChangeLog
From-SVN: r126784
Mark Mitchell [Thu, 19 Jul 2007 14:31:00 +0000 (14:31 +0000)]
Mark ChangeLog
From-SVN: r126783
Mark Mitchell [Thu, 19 Jul 2007 14:30:52 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126782
Mark Mitchell [Thu, 19 Jul 2007 14:30:47 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126781
Mark Mitchell [Thu, 19 Jul 2007 14:30:44 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126780
Mark Mitchell [Thu, 19 Jul 2007 14:30:40 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126779
Mark Mitchell [Thu, 19 Jul 2007 14:30:32 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126778
Mark Mitchell [Thu, 19 Jul 2007 14:30:28 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126777
Mark Mitchell [Thu, 19 Jul 2007 14:30:25 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126776
Mark Mitchell [Thu, 19 Jul 2007 14:30:22 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126775
Mark Mitchell [Thu, 19 Jul 2007 14:30:19 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126774
Mark Mitchell [Thu, 19 Jul 2007 14:30:16 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126773
Mark Mitchell [Thu, 19 Jul 2007 14:30:13 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126772
Mark Mitchell [Thu, 19 Jul 2007 14:30:09 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126771
Mark Mitchell [Thu, 19 Jul 2007 14:30:05 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126770
Mark Mitchell [Thu, 19 Jul 2007 14:30:01 +0000 (14:30 +0000)]
Mark ChangeLog
From-SVN: r126769
Mark Mitchell [Thu, 19 Jul 2007 14:29:58 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126768
Mark Mitchell [Thu, 19 Jul 2007 14:29:56 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126767
Mark Mitchell [Thu, 19 Jul 2007 14:29:53 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126766
Mark Mitchell [Thu, 19 Jul 2007 14:29:51 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126765
Mark Mitchell [Thu, 19 Jul 2007 14:29:48 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126764
Mark Mitchell [Thu, 19 Jul 2007 14:29:45 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126763
Mark Mitchell [Thu, 19 Jul 2007 14:29:37 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126762
Mark Mitchell [Thu, 19 Jul 2007 14:29:35 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126761
Mark Mitchell [Thu, 19 Jul 2007 14:29:33 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126760
Mark Mitchell [Thu, 19 Jul 2007 14:29:31 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126759
Mark Mitchell [Thu, 19 Jul 2007 14:29:29 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126758
Mark Mitchell [Thu, 19 Jul 2007 14:29:26 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126757
Mark Mitchell [Thu, 19 Jul 2007 14:29:23 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126756
Mark Mitchell [Thu, 19 Jul 2007 14:29:21 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126755
Mark Mitchell [Thu, 19 Jul 2007 14:29:19 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126754
Mark Mitchell [Thu, 19 Jul 2007 14:29:16 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126753
Mark Mitchell [Thu, 19 Jul 2007 14:29:14 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126752
Mark Mitchell [Thu, 19 Jul 2007 14:29:11 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126751
Mark Mitchell [Thu, 19 Jul 2007 14:29:09 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126750
Mark Mitchell [Thu, 19 Jul 2007 14:29:06 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126749
Mark Mitchell [Thu, 19 Jul 2007 14:29:04 +0000 (14:29 +0000)]
Mark ChangeLog
From-SVN: r126748
Mark Mitchell [Thu, 19 Jul 2007 14:28:59 +0000 (14:28 +0000)]
Mark ChangeLog
From-SVN: r126747
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
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
GCC Administrator [Thu, 19 Jul 2007 00:16:40 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126737
GCC Administrator [Wed, 18 Jul 2007 00:16:50 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126709
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
GCC Administrator [Tue, 17 Jul 2007 00:16:39 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126696
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
GCC Administrator [Mon, 16 Jul 2007 00:16:48 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126665
GCC Administrator [Sun, 15 Jul 2007 00:16:49 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126649
GCC Administrator [Sat, 14 Jul 2007 00:16:40 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126633
GCC Administrator [Fri, 13 Jul 2007 00:16:36 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126608
GCC Administrator [Thu, 12 Jul 2007 00:16:35 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126563
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
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
GCC Administrator [Wed, 11 Jul 2007 00:16:35 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126531
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
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
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
GCC Administrator [Tue, 10 Jul 2007 00:16:47 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126502
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
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
GCC Administrator [Mon, 9 Jul 2007 00:16:49 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126475
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
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
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
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
GCC Administrator [Sun, 8 Jul 2007 00:16:41 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126453
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
Joseph Myers [Sat, 7 Jul 2007 19:20:55 +0000 (20:20 +0100)]
* zh_CN.po: Update.
From-SVN: r126445
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
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
GCC Administrator [Sat, 7 Jul 2007 00:16:50 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126430
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
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
GCC Administrator [Fri, 6 Jul 2007 00:16:42 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126394
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
Mark Mitchell [Thu, 5 Jul 2007 18:11:48 +0000 (18:11 +0000)]
Fix typo
From-SVN: r126375
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
GCC Administrator [Thu, 5 Jul 2007 00:16:58 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r126341
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