[Bug c++/41865] New: map as class static member variable causing crash on process exit
Hi, Our application is crashing at the time of exit when a static member variable of this following typedef is getting cleared by garbage collecter: typedef STL_NS::mapconst char *, FBOperator, STLLessCompareStringNoCase FBOperatorPrecedence; This map is defined as protected: static FBOperatorPrecedence ops_; static int init_; static int fillit(); fillit() function is used to populate this map as below: ops_[+] = FBOperator( n, FBOperator::Binary, OPPLUS, false, FBOperand::operator+ ); ops_[-] = FBOperator( n, FBOperator::Binary, OPMINUS, false, FBOperand::operator- ); ops_[*] = FBOperator( n, FBOperator::Binary, OPTIMES, false, FBOperand::operator* ); ops_[/] = FBOperator( n, FBOperator::Binary, OPDIV,false, FBOperand::operator/ ); ops_[] = FBOperator( n, FBOperator::Binary, OPLT, false, FBOperand::operator ); ops_[] = FBOperator( n, FBOperator::Binary, OPGT, false, FBOperand::operator ); ops_[=] = FBOperator( n, FBOperator::Binary, OPLTEQ, false, FBOperand::operator= ); ops_[=] = FBOperator( n, FBOperator::Binary, OPGTEQ, false, FBOperand::operator= ); ops_[=] = FBOperator( n, FBOperator::Binary, OPEQ, false, FBOperand::operator== ); ops_[==] = FBOperator( n, FBOperator::Binary, OPEQ, false, FBOperand::operator== ) ; ops_[is ]= FBOperator( n, FBOperator::Binary, OPEQ, false, FBOperand::operator== ); ops_[!=] = FBOperator( n, FBOperator::Binary, OPNE, false, FBOperand::operator!= ) ; ops_[] = FBOperator( n, FBOperator::Binary, OPNE, false, FBOperand::operator!= ); ops_[isnot] = FBOperator( n, FBOperator::Binary, OPNE, false, FBOperand::operator!= ); ops_[] = FBOperator( n++, FBOperator::Binary, OPLAND, false, FBOperand::operator ); ops_[] = FBOperator( n, FBOperator::Binary, OPBAND, false, FBOperand::bitwiseand); ops_[and]= FBOperator( n, FBOperator::Binary, OPLAND, false, FBOperand::operator ); ops_[AND]= FBOperator( n, FBOperator::Binary, OPLAND, false, FBOperand::operator ); ops_[or] = FBOperator( n, FBOperator::Binary, OPLOR,false, FBOperand::operator|| ); ops_[OR] = FBOperator( n, FBOperator::Binary, OPLOR,false, FBOperand::operator|| ); ops_[||] = FBOperator( n, FBOperator::Binary, OPLOR,false, FBOperand::operator|| ); ops_[|] = FBOperator( n, FBOperator::Binary, OPBOR,false, FBOperand::bitwiseor ); ops_[in] = FBOperator( n, FBOperator::Binary, OPIN, true, FBOperand::in ); ops_[notin] = FBOperator( n, FBOperator::Binary, OPNOTIN, true, FBOperand::notin ); ops_[like] = FBOperator( n, FBOperator::Binary, OPLIKE, true, FBOperand::like ); ops_[notlike]= FBOperator( n, FBOperator::Binary, OPNOTLIKE,true, FBOperand::notlike ); ops_[!] = FBOperator( ++n, FBOperator::Unary, OPNOT,false, (opfn)0 ); ops_[not]= FBOperator( ++n, FBOperator::Unary, OPNOT,false, (opfn)0 ); When program exits, at that time this static member variable gets deleted by garbage collector causes program to abort. Following output is shown on the screen: *** glibc detected *** ./a.out: double free or corruption (!prev): 0x00544250 *** === Backtrace: = /lib64/libc.so.6[0x2b1a463ab34e] /lib64/libc.so.6(__libc_free+0x6c)[0x2b1a463ac95c] ./a.out[0x420299] ./a.out[0x4202c1] ./a.out[0x42030c] ./a.out[0x420355] ./a.out[0x42033b] ./a.out[0x42033b] ./a.out[0x42033b] ./a.out[0x42033b] ./a.out[0x4209ce] ./a.out[0x420a23] ./a.out[0x41651e] /lib64/libc.so.6(exit+0x87)[0x2b1a463722a7] /lib64/libc.so.6(__libc_start_main+0xfb)[0x2b1a4635d15b] ./a.out(__gxx_personality_v0+0xa9)[0x404c59] === Memory map: 0040-0043a000 r-xp 00:20 916340 /home/gborse/a.out 00539000-0053b000 rw-p 00039000 00:20 916340 /home/gborse/a.out 0053b000-0055c000 rw-p 0053b000 00:00 0 [heap] 2b1a459e3000-2b1a459fe000 r-xp 08:02 350653 /lib64/ld-2.4.so 2b1a459fe000-2b1a45a0 rw-p 2b1a459fe000 00:00 0 2b1a45afd000-2b1a45aff000 rw-p 0001a000 08:02 350653 /lib64/ld-2.4.so 2b1a45aff000-2b1a45c6e000 r-xp 08:11 345510 /app/thirdpartylibs/gmrACE-5.6-64/lib/libACE-5.6.so 2b1a45c6e000-2b1a45d6e000 ---p 0016f000 08:11 345510 /app/thirdpartylibs/gmrACE-5.6-64/lib/libACE-5.6.so 2b1a45d6e000-2b1a45db2000 rw-p 0016f000 08:11 345510 /app/thirdpartylibs/gmrACE-5.6-64/lib/libACE-5.6.so 2b1a45db2000-2b1a45db3000 rw-p 2b1a45db2000 00:00 0 2b1a45db3000-2b1a45e82000 r-xp 08:11 1016022 /app/devtools/gcc-4.2.3/lib64/libstdc++.so.6.0.9 2b1a45e82000-2b1a45f82000 ---p 000cf000 08:11 1016022 /app/devtools/gcc-4.2.3/lib64/libstdc++.so.6.0.9 2b1a45f82000-2b1a45fa3000 rw-p 000cf000 08:11 1016022 /app/devtools/gcc-4.2.3/lib64/libstdc++.so.6.0.9 2b1a45fa3000-2b1a45fb5000 rw-p 2b1a45fa3000 00:00
[Bug c++/41856] g++.dg/lookup/extern-c-redecl[3,4] .C scan-assembler fails on darwin
--- Comment #5 from dodji at seketeli dot org 2009-10-29 07:22 --- Subject: Re: g++.dg/lookup/extern-c-redecl[3,4] .C scan-assembler fails on darwin Thanks for testing. How about this one ? diff --git a/gcc/testsuite/g++.dg/lookup/extern-c-redecl3.C b/gcc/testsuite/g++.dg/lookup/extern-c-redecl3.C index 00ff4a9..117c6d1 100644 --- a/gcc/testsuite/g++.dg/lookup/extern-c-redecl3.C +++ b/gcc/testsuite/g++.dg/lookup/extern-c-redecl3.C @@ -1,8 +1,9 @@ // Contributed by Dodji Seketeli do...@redhat.com // Origin: PR c++/41020 +// { dg-options } // { dg-do compile } -// { dg-final { scan-assembler-not call\[\t \]+_Z4forkv } } -// { dg-final { scan-assembler call\[\t \]+fork } } +// { dg-final { scan-assembler-not call\[\t \]+.*?_Z4forkv { target i?86-*-* x86_64-*-* } } } +// { dg-final { scan-assembler call\[\t \]+_?fork { target i?86-*-* x86_64-*-* } } } extern C int fork (void); diff --git a/gcc/testsuite/g++.dg/lookup/extern-c-redecl4.C b/gcc/testsuite/g++.dg/lookup/extern-c-redecl4.C index 9dfa54d..a4515fd 100644 --- a/gcc/testsuite/g++.dg/lookup/extern-c-redecl4.C +++ b/gcc/testsuite/g++.dg/lookup/extern-c-redecl4.C @@ -1,10 +1,9 @@ // Contributed by Dodji Seketeli do...@redhat.com // Origin: PR c++/41020 -// Avoid the -ansi -pedantic option // { dg-options } // { dg-do compile } -// { dg-final { scan-assembler call\[\t \]+_Z4forkv } } +// { dg-final { scan-assembler call\[\t \]+.*?_Z4forkv { target i?86-*-* x86_64-*-* } } } class frok { -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41856
[Bug libstdc++/41865] map as class static member variable causing crash on process exit
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal Component|c++ |libstdc++ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41865
[Bug fortran/41866] New: Wrong standard in docs for ISO_FORTRAN_ENV
http://gcc.gnu.org/onlinedocs/gfortran/ISO_005fFORTRAN_005fENV.html lists ISO_FORTRAN_ENV. The standard is marked as Fortran 2003 but INT{8,16,32} and REAL{32,64,128} are Fortran 2008 -- Summary: Wrong standard in docs for ISO_FORTRAN_ENV Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: documentation Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41866
[Bug libstdc++/41865] map as class static member variable causing crash on process exit
--- Comment #1 from ganesh dot borse at credit-suisse dot com 2009-10-29 09:02 --- Compiler information: g++ -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ./configure --prefix=/app/devtools/gcc-4.2.3 --exec-prefix=/app/devtools/gcc-4.2.3 --with-mpfr=/app/devtools/mpfr-2.2.1 --with-mpfr-include=/app/devtools/mpfr-2.2.1 --with-mpfr-lib=/app/devtools/mpfr-2.2.1/.libs --with-gmp=/app/devtools/gmp-4.2.2 --with-gmp-include=/app/devtools/gmp-4.2.2 --with-gmp-lib=/app/devtools/gmp-4.2.2/.libs --enable-languages=c,c++,fortran Thread model: posix gcc version 4.2.3 = OS information: uname -a Linux vsgl36a-1031 2.6.16.46-0.12-smp #1 SMP Thu May 17 14:00:09 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux cat /etc/SuSE-release SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41865
[Bug rtl-optimization/41862] valgrind warns about using uninitialized variable with -fgcse-sm
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-29 10:25 --- Steven knows this code best. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||stevenb dot gcc at gmail dot ||com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41862
[Bug c++/41863] [4.5 Regression] segfault with sizeof in template parameter
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-29 10:26 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords||ice-on-valid-code Last reconfirmed|-00-00 00:00:00 |2009-10-29 10:26:13 date|| Target Milestone|--- |4.5.0 Version|unknown |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41863
[Bug libstdc++/41865] map as class static member variable causing crash on process exit
--- Comment #2 from paolo dot carlini at oracle dot com 2009-10-29 10:40 --- Garbage collector? Which garbage collector? In any case, please provide a small, self-contained, snippet, which can be use to reproduce the problem. Thanks. -- paolo dot carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41865
[Bug libstdc++/41530] [c++0x] Cannot move-construct std::tuple from a different type of std::tuple
--- Comment #9 from paolo dot carlini at oracle dot com 2009-10-29 10:41 --- Fixed for mainline. -- paolo dot carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41530
[Bug rtl-optimization/41862] valgrind warns about using uninitialized variable with -fgcse-sm
--- Comment #4 from steven at gcc dot gnu dot org 2009-10-29 10:57 --- Mine. Investigating. -- steven at gcc dot gnu dot org changed: What|Removed |Added CC|stevenb dot gcc at gmail dot| |com | AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2009-10-29 10:57:51 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41862
[Bug tree-optimization/41750] [4.5 Regression] gcc 4.5.0 miscompiles binutils
--- Comment #20 from rainer at emrich-ebersheim dot de 2009-10-29 12:37 --- (In reply to comment #19) I have downloaded binutils 2.20 and compiled the file on a native ia64 compiler. I have only managed to look at the dumps but so far could not see any problem there. I will have another look on Thursday. I'm not sure, but by my impression that's a host issue, no? So, I doubt that working on target will get you any further. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750
[Bug tree-optimization/41775] [4.5 Regression] IPA-SRA: ice in rewrite_stmt, at tree-into-ssa.c:1302
--- Comment #6 from jamborm at gcc dot gnu dot org 2009-10-29 12:41 --- Subject: Bug 41775 Author: jamborm Date: Thu Oct 29 12:40:48 2009 New Revision: 153699 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153699 Log: 2009-10-29 Martin Jambor mjam...@suse.cz PR tree-optimization/41775 * tree-sra.c (build_ref_for_offset): Unshare *expr if not NULL. (generate_subtree_copies): Do not unshare agg. (load_assign_lhs_subreplacements): Do not unshare rhs. (sra_modify_assign): Do not unshare exprs. (propagate_subacesses_accross_link): Renamed to propagate_subaccesses_across_link. * testsuite/g++.dg/torture/pr41775.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/torture/pr41775.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-sra.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41775
[Bug tree-optimization/41775] [4.5 Regression] IPA-SRA: ice in rewrite_stmt, at tree-into-ssa.c:1302
--- Comment #7 from jamborm at gcc dot gnu dot org 2009-10-29 12:50 --- I did. This is now fixed. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41775
[Bug tree-optimization/41750] [4.5 Regression] gcc 4.5.0 miscompiles binutils
--- Comment #21 from jamborm at gcc dot gnu dot org 2009-10-29 13:44 --- (In reply to comment #20) I'm not sure, but by my impression that's a host issue, no? So, I doubt that working on target will get you any further. Perhaps, I don't know (or do you mean that you know that the native compiler does not have this problem?). I have also built a cross-compiler x86_64-ia64 but when I feed the attachment in comment #14 to it, it segfaults at -O2 regardless of -fno-ipa-sra (it segfaults at /home/jamborm/gcc/mine/gcc/config/ia64/ia64.c:7032). Nevertheless, I can get the IPA-SRA dump file from the cross compiler and it is (as I belive it should be) almost identical to the one from the native compiler and I still don't see any problem there. I admit that at the moment I am not sure what to look at next... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750
[Bug c++/41856] g++.dg/lookup/extern-c-redecl[3,4] .C scan-assembler fails on darwin
--- Comment #6 from dominiq at lps dot ens dot fr 2009-10-29 14:36 --- Without test the part '.*?' in the rerexps seems odd. Why not '.*' only? My practice of regexp taught me that '.*' is asking for trouble and, when possible, should be replaced by [^some pattern]*. Why not call[^Z]*Z4forkv (not regtested, but it works when grepping the assembly)? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41856
[Bug c/41867] New: Translation time Floating Point precision is too small
The following code fails on (at least) Intel x86/x87 systems running Linux: /* * From C99: * 6.6 Constant expressions * * #5 An expression that evaluates to a constant is required in several * contexts. If a floating expression is evaluated in the translation * environment, the arithmetic precision and range shall be at least * as great as if the expression were being evaluated in the execution * environment. */ #include float.h /* *_EPSILON */ #include stdio.h /* printf() */ /* * Compute epsilon == Unit Last Place; may be + or - depends upon rounding. */ #define Q2 (((4.F /3.F - 1.F ) - 1.F /4.F )*3.F - 1.F /4.F ) /* * File scope is translation time */ static long double fs_ld2 = Q2; static double fs_d2 = Q2; static float fs_f2 = Q2; int main(void){ /* * Local scope is runtime */ long double ls_ld2 = Q2; double ls_d2 = Q2; float ls_f2 = Q2; if( fs_ld2 != ls_ld2 ){ (void)printf( 1: BFP: translation time != runtime\n); } if( fs_d2 != ls_d2 ){ (void)printf( 2: BFP: translation time != runtime\n); } if( fs_f2 != ls_f2 ){ (void)printf( 3: BFP: translation time != runtime\n); } if( fs_ld2 != fs_d2 ){ (void)printf( 7: BFP: translation time: variable precision\n); } if( fs_d2 != fs_f2 ){ (void)printf( 8: BFP: translation time: variable precision\n); } if( ls_ld2 != ls_d2 ){ (void)printf(11: BFP:runtime: variable precision\n); } if( ls_d2 != ls_f2 ){ (void)printf(12: BFP:runtime: variable precision\n); } (void)printf(ls_ld2=%Lg\n, ls_ld2); (void)printf(ls_d2 =%g\n, ls_d2); (void)printf(ls_f2 =%g\n, ls_f2); (void)printf(LD_EPS=%Lg\n, LDBL_EPSILON); (void)printf( D_EPS=%g\n, DBL_EPSILON); (void)printf( F_EPS=%g\n, FLT_EPSILON); (void)printf(fs_ld2=%Lg\n, fs_ld2); (void)printf(fs_d2 =%g\n, fs_d2); (void)printf(fs_f2 =%g\n, fs_f2); return 0; } -- Summary: Translation time Floating Point precision is too small Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tydeman at tybor dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41867
[Bug target/41868] New: cell microcode instruction is generated for a trivial loop with -O2 optimizations, hurting performance badly
/***/ void __attribute__((noinline)) y() { asm volatile (# nop\n); } void __attribute__((noinline)) x(long c) { while (c--) y(); } int main() { /* Run total 3.2G iterations */ x(16); x(16); return 0; } /***/ $ gcc -O2 -mcpu=cell -mtune=cell -mwarn-cell-microcode -o test-O2 test.c test.c: In function x: test.c:9: warning: emitting microcode insn {ai.|addic.} %0,%1,%2 [*adddi3_internal3] #38 $ time ./test-O2 real0m56.385s user0m56.232s sys 0m0.138s $ gcc -Os -mcpu=cell -mtune=cell -mwarn-cell-microcode -o test-Os test.c $ time ./test-Os real0m24.149s user0m24.086s sys 0m0.060s -- Summary: cell microcode instruction is generated for a trivial loop with -O2 optimizations, hurting performance badly Product: gcc Version: 4.4.2 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: siarhei dot siamashka at gmail dot com GCC build triplet: powerpc64-unknown-linux-gnu GCC host triplet: powerpc64-unknown-linux-gnu GCC target triplet: powerpc64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41868
[Bug fortran/41869] New: ICE segfault when reading module file
The following program ICEs with test.f90:25:0: internal compiler error: Segmentation fault The problem is related to PUBIC vs. PRIVATE visibility. It is no regression as 4.1.2, 4.2.1, 4.3.3, 4.4.1 and 4.5 crash. The program compiles with NAG f95 and g95. Valgrind shows: ==31812== Invalid read of size 8 ==31812==at 0x4F4B80: mio_pointer_ref (module.c:2233) ==31812==by 0x6D05D0F: ??? ==31812==by 0x4F6698: mio_symbol_ref (module.c:2494) ==31812==by 0x4F7137: mio_expr (module.c:3029) gdb shows: Program received signal SIGSEGV, Segmentation fault. mio_pointer_ref (gp=0x28) at /home/tob/projects/gcc-trunk-checkout/gcc/fortran/module.c:2233 2233 p = get_pointer (*((char **) gp)); (gdb) bt #0 mio_pointer_ref (gp=0x28) at /home/tob/projects/gcc-trunk-checkout/gcc/fortran/module.c:2233 #1 0x004f6699 in mio_symbol_ref (symp=value optimized out) at /home/tob/projects/gcc-trunk-checkout/gcc/fortran/module.c:2494 #2 0x004f7138 in mio_expr (ep=0x13a96c0) at /home/tob/projects/gcc-trunk-checkout/gcc/fortran/module.c:3029 #3 0x004f7a7a in mio_array_spec (asp=value optimized out) at /home/tob/projects/gcc-trunk-checkout/gcc/fortran/module.c:2134 #4 0x004f7d07 in mio_symbol (sym=0x13a7930) at /home/tob/projects/gcc-trunk-checkout/gcc/fortran/module.c:3540 #5 0x004f81d0 in write_symbol (n=40, sym=0x13a7930) at /home/tob/projects/gcc-trunk-checkout/gcc/fortran/module.c:4725 #6 0x004f8360 in write_symbol0 (st=value optimized out) at /home/tob/projects/gcc-trunk-checkout/gcc/fortran/module.c:4765 module fox_m_fsys_array_str contains pure function str_vs(vs) result(s) character, dimension(:), intent(in) :: vs character(len=size(vs)) :: s s = transfer(vs, s) end function str_vs pure function vs_str(s) result(vs) character(len=*), intent(in) :: s character, dimension(len(s)) :: vs vs = transfer(s, vs) end function vs_str end module fox_m_fsys_array_str module fox_m_fsys_format private interface str module procedure str_logical_array end interface str interface len module procedure str_logical_array_len end interface public :: str contains pure function str_logical_array_len(la) result(n) logical, dimension(:), intent(in) :: la end function str_logical_array_len pure function str_logical_array(la) result(s) logical, dimension(:), intent(in) :: la character(len=len(la)) :: s end function str_logical_array pure function checkFmt(fmt) result(good) character(len=*), intent(in) :: fmt logical :: good good = len(fmt) 0 end function checkFmt end module fox_m_fsys_format module m_dom_dom use fox_m_fsys_array_str, only: str_vs, vs_str end module m_dom_dom module FoX_dom use fox_m_fsys_format use m_dom_dom end module FoX_dom -- Summary: ICE segfault when reading module file Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41869
[Bug target/41868] cell microcode instruction (addic.) is generated for a trivial loop with -O2 optimizations, hurting performance badly
--- Comment #1 from siarhei dot siamashka at gmail dot com 2009-10-29 15:21 --- -O2: 0010 .x: 10: 2c 23 00 00 cmpdi r3,0 14: 7c 08 02 a6 mflrr0 18: f8 01 00 10 std r0,16(r1) 1c: f8 21 ff 81 stdur1,-128(r1) 20: 41 82 00 1c beq-3c .x+0x2c 24: f8 61 00 70 std r3,112(r1) 28: 48 00 00 01 bl 28 .x+0x18 2c: e8 01 00 70 ld r0,112(r1) 30: 35 20 ff ff addic. r9,r0,-1 34: f9 21 00 70 std r9,112(r1) 38: 40 82 ff f0 bne+28 .x+0x18 3c: 38 21 00 80 addir1,r1,128 40: e8 01 00 10 ld r0,16(r1) 44: 7c 08 03 a6 mtlrr0 48: 4e 80 00 20 blr 4c: 00 00 00 00 .long 0x0 50: 00 00 00 01 .long 0x1 54: 80 00 00 00 lwz r0,0(0) -Os: 0010 .x: 10: fb e1 ff f8 std r31,-8(r1) 14: 7c 08 02 a6 mflrr0 18: f8 01 00 10 std r0,16(r1) 1c: 7c 7f 1b 78 mr r31,r3 20: f8 21 ff 81 stdur1,-128(r1) 24: 48 00 00 08 b 2c .x+0x1c 28: 48 00 00 01 bl 28 .x+0x18 2c: 2f bf 00 00 cmpdi cr7,r31,0 30: 3b ff ff ff addir31,r31,-1 34: 40 9e ff f4 bne+cr7,28 .x+0x18 38: 38 21 00 80 addir1,r1,128 3c: e8 01 00 10 ld r0,16(r1) 40: eb e1 ff f8 ld r31,-8(r1) 44: 7c 08 03 a6 mtlrr0 48: 4e 80 00 20 blr 4c: 00 00 00 00 .long 0x0 50: 00 00 00 01 .long 0x1 54: 80 01 00 00 lwz r0,0(r1) -- siarhei dot siamashka at gmail dot com changed: What|Removed |Added CC||siarhei dot siamashka at ||gmail dot com Keywords||missed-optimization Summary|cell microcode instruction |cell microcode instruction |is generated for a trivial |(addic.) is generated for a |loop with -O2 optimizations,|trivial loop with -O2 |hurting performance badly |optimizations, hurting ||performance badly http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41868
[Bug fortran/41777] Wrong-code with POINTER-returning GENERIC function
--- Comment #13 from burnus at gcc dot gnu dot org 2009-10-29 15:24 --- Subject: Bug 41777 Author: burnus Date: Thu Oct 29 15:24:38 2009 New Revision: 153706 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153706 Log: 2009-10-29 Tobias Burnus bur...@net-b.de PR fortran/41777 * trans-expr.c * (gfc_conv_procedure_call,gfc_conv_expr_reference): Use for generic EXPR_FUNCTION the attributes of the specific function. 2009-10-29 Tobias Burnus bur...@net-b.de PR fortran/41777 gfortran.dg/associated_target_3.f90: New testcase. Added: trunk/gcc/testsuite/gfortran.dg/associated_target_3.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/check.c trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41777
[Bug fortran/41777] Wrong-code with POINTER-returning GENERIC function
--- Comment #14 from burnus at gcc dot gnu dot org 2009-10-29 15:28 --- Committed attachment 18925. As written in comment 10 (and later), that patch fixes the reduced test case from comment 1 but not the original one (comment 0), nor the LOC issue nor the half-working new example of comment 10. [When debugging, I also found PR 41869.] -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41777
[Bug c/41867] Translation time Floating Point precision is too small
--- Comment #1 from joseph at codesourcery dot com 2009-10-29 15:47 --- Subject: Re: New: Translation time Floating Point precision is too small On Thu, 29 Oct 2009, tydeman at tybor dot com wrote: The following code fails on (at least) Intel x86/x87 systems running Linux: Please explain what you mean by fails. With what options did you compile it? How was GCC configured? What did it output? What did you want it to output instead? Why do you think what it output was wrong? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41867
[Bug target/28808] Alignment problem in __gthread_once_t in vxWorks
--- Comment #3 from aaron at aarongraham dot com 2009-10-29 15:53 --- It appears that this one is fixed as of SVN revision 146566: http://gcc.gnu.org/viewcvs/trunk/gcc/gthr-vxworks.h?view=log -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28808
[Bug lto/41858] -flto -O2 crashes when many source files.
--- Comment #7 from bstarynk at gcc dot gnu dot org 2009-10-29 16:06 --- (In reply to comment #6) I have a patch. Richard's patch on http://gcc.gnu.org/ml/gcc/2009-10/msg00602.html seems to solve the original problem I've got http://gcc.gnu.org/ml/gcc-patches/2009-10/msg01741.html I hope that Richard's patch will be accepted in 4.5. I am marking this PR as a resolved bug (or should I wait for the patch to be accepted?) -- bstarynk at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41858
[Bug debug/41828] DW_AT_name should not be present for anonymous aggregates
--- Comment #4 from law at gcc dot gnu dot org 2009-10-29 16:38 --- Subject: Bug 41828 Author: law Date: Thu Oct 29 16:37:47 2009 New Revision: 153711 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153711 Log: Recorded merge of revisions 153568-153570 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153568 | jakub | 2009-10-26 14:18:26 -0600 (Mon, 26 Oct 2009) | 10 lines PR debug/41828 * cp-lang.c (cxx_dwarf_name): Return NULL instead of anonymous ... for anonymous aggregate names. * dwarf2out.c (add_pubname, add_pubtype, generic_parameter_die, add_name_and_src_coords_attributes, gen_namespace_die, dwarf2out_set_name): Handle dwarf2_name returning NULL. * g++.dg/debug/dwarf2/anonname1.C: New test. r153569 | jakub | 2009-10-26 14:21:09 -0600 (Mon, 26 Oct 2009) | 6 lines PR bootstrap/41345 * cfgcleanup.c (trivially_empty_bb_p): New function. (try_optimize_bb): Use it instead of checking BB_HEAD == BB_END. * gcc.dg/pr41345.c: New test. r153570 | jakub | 2009-10-26 14:28:24 -0600 (Mon, 26 Oct 2009) | 9 lines PR libstdc++/38923 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Avoid using too many *s. Accept ld version without text in ()s. * configure: Regenerated. * acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid using too many *s. Accept ld version without text in ()s. * configure: Regenerated. Modified: branches/reload-v2a/ (props changed) Propchange: branches/reload-v2a/ ('svnmerge-integrated' modified) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41828
[Bug libstdc++/38923] symbol versioning disabled due to non-portable sed script
--- Comment #16 from law at gcc dot gnu dot org 2009-10-29 16:38 --- Subject: Bug 38923 Author: law Date: Thu Oct 29 16:37:47 2009 New Revision: 153711 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153711 Log: Recorded merge of revisions 153568-153570 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153568 | jakub | 2009-10-26 14:18:26 -0600 (Mon, 26 Oct 2009) | 10 lines PR debug/41828 * cp-lang.c (cxx_dwarf_name): Return NULL instead of anonymous ... for anonymous aggregate names. * dwarf2out.c (add_pubname, add_pubtype, generic_parameter_die, add_name_and_src_coords_attributes, gen_namespace_die, dwarf2out_set_name): Handle dwarf2_name returning NULL. * g++.dg/debug/dwarf2/anonname1.C: New test. r153569 | jakub | 2009-10-26 14:21:09 -0600 (Mon, 26 Oct 2009) | 6 lines PR bootstrap/41345 * cfgcleanup.c (trivially_empty_bb_p): New function. (try_optimize_bb): Use it instead of checking BB_HEAD == BB_END. * gcc.dg/pr41345.c: New test. r153570 | jakub | 2009-10-26 14:28:24 -0600 (Mon, 26 Oct 2009) | 9 lines PR libstdc++/38923 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Avoid using too many *s. Accept ld version without text in ()s. * configure: Regenerated. * acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid using too many *s. Accept ld version without text in ()s. * configure: Regenerated. Modified: branches/reload-v2a/ (props changed) Propchange: branches/reload-v2a/ ('svnmerge-integrated' modified) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38923
[Bug bootstrap/41345] [4.5 Regression] bootstrap comparison failure with --disable-checking
--- Comment #9 from law at gcc dot gnu dot org 2009-10-29 16:38 --- Subject: Bug 41345 Author: law Date: Thu Oct 29 16:37:47 2009 New Revision: 153711 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153711 Log: Recorded merge of revisions 153568-153570 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153568 | jakub | 2009-10-26 14:18:26 -0600 (Mon, 26 Oct 2009) | 10 lines PR debug/41828 * cp-lang.c (cxx_dwarf_name): Return NULL instead of anonymous ... for anonymous aggregate names. * dwarf2out.c (add_pubname, add_pubtype, generic_parameter_die, add_name_and_src_coords_attributes, gen_namespace_die, dwarf2out_set_name): Handle dwarf2_name returning NULL. * g++.dg/debug/dwarf2/anonname1.C: New test. r153569 | jakub | 2009-10-26 14:21:09 -0600 (Mon, 26 Oct 2009) | 6 lines PR bootstrap/41345 * cfgcleanup.c (trivially_empty_bb_p): New function. (try_optimize_bb): Use it instead of checking BB_HEAD == BB_END. * gcc.dg/pr41345.c: New test. r153570 | jakub | 2009-10-26 14:28:24 -0600 (Mon, 26 Oct 2009) | 9 lines PR libstdc++/38923 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Avoid using too many *s. Accept ld version without text in ()s. * configure: Regenerated. * acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid using too many *s. Accept ld version without text in ()s. * configure: Regenerated. Modified: branches/reload-v2a/ (props changed) Propchange: branches/reload-v2a/ ('svnmerge-integrated' modified) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41345
[Bug c++/41785] [4.5 Regression] [C++0x] ICE on canonical types with variadic templates and CRTP
--- Comment #9 from law at gcc dot gnu dot org 2009-10-29 16:40 --- Subject: Bug 41785 Author: law Date: Thu Oct 29 16:39:42 2009 New Revision: 153712 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153712 Log: Recorded merge of revisions 153564-153565,153572-153576 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153564 | dodji | 2009-10-26 12:31:22 -0600 (Mon, 26 Oct 2009) | 12 lines Fix PR c++/41785 gcc/cp/ChangeLog: PR c++/41785 * pt.c (template_args_equal): Handle comparison of an ARGUMENT_PACK_SELECT node with the arguments node it selects into. * cp-tree.def: Fix a typo in the description of TYPE_PACK_EXPANSION. gcc/testsuite/ChangeLog: PR c++/41785 * gcc/testsuite/g++.dg/cpp0x/variadic96.C: New test. r153565 | jason | 2009-10-26 13:07:14 -0600 (Mon, 26 Oct 2009) | 20 lines PR c++/38796, Core issue 906 gcc/cp * cp-tree.h (DECL_DEFAULTED_OUTSIDE_CLASS_P): New. (DECL_DEFAULTED_IN_CLASS_P): New. * class.c (user_provided_p): Non-static. (check_methods): Use it. (check_bases_and_members): Check defaulted fns. (defaultable_fn_p): Move and rename to... * method.c (defaultable_fn_check): ...this. (defaulted_late_check): New. * pt.c (tsubst_decl): Call it. * decl2.c (grokfield): Adjust. * decl.c (cp_finish_decl): Adjust. (grok_special_member_properties): Use user_provided_p. libstdc++-v3 * include/std/future (~Future_result_base): Default outside class body. * include/std/system_error (error_category()): Likewise. * libsupc++/nested_exception.h (nested_exception): Remove exception specifications from defaulted methods. r153572 | uweigand | 2009-10-26 15:55:59 -0600 (Mon, 26 Oct 2009) | 183 lines 2009-10-26 Ben Elliston b...@au.ibm.com Michael Meissner meiss...@linux.vnet.ibm.com Ulrich Weigand uweig...@de.ibm.com * doc/extend.texi (Named Address Spaces): New section. * coretypes.h (addr_space_t): New type. (ADDR_SPACE_GENERIC): New define. (ADDR_SPACE_GENERIC_P): New macro. * doc/tm.texi (Named Address Spaces): New section. (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Document. (TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Document. (TARGET_ADDR_SPACE_SUBSET_P): Document. (TARGET_ADDR_SPACE_CONVERT): Document. * target.h (struct gcc_target): Add addr_space substructure. * target-def.h (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Define. (TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Likewise. (TARGET_ADDR_SPACE_SUBSET_P): Likewise. (TARGET_ADDR_SPACE_CONVERT): Likewise. (TARGET_ADDR_SPACE_HOOKS): Likewise. (TARGET_INITIALIZER): Initialize addr_space hooks. * targhooks.c (default_addr_space_legitimate_address_p): New function. (default_addr_space_legitimize_address): Likewise. (default_addr_space_subset_p): Likewise. (default_addr_space_convert): Likewise. * targhooks.h (default_addr_space_legitimate_address_p): Add prototype. (default_addr_space_legitimize_address): Likewise. (default_addr_space_subset_p): Likewise. (default_addr_space_convert): Likewise. * doc/rtl.texi (MEM_ADDR_SPACE): Document. * rtl.h (mem_attrs): Add ADDRSPACE memory attribute. (MEM_ADDR_SPACE): New macro. * emit-rtl.c (get_mem_attrs): Add ADDRSPACE argument and set address space memory attribute. (mem_attrs_htab_hash): Handle address space memory attribute. (mem_attrs_htab_eq): Likewise. (set_mem_attributes_minus_bitpos): Likewise. (set_mem_alias_set): Likewise. (set_mem_align): Likewise. (set_mem_expr): Likewise. (set_mem_offset): Likewise. (set_mem_size): Likewise. (adjust_address_1): Likewise. (offset_address): Likewise. (widen_memoy_address): Likewise. (get_spill_slot_decl): Likewise. (set_mem_attrs_for_spill): Likewise. (set_mem_addr_space): New function. * emit-rtl.h (set_mem_addr_space): Add prototype. * print-rtl.c (print_rtx): Print address space memory attribute. * expr.c (expand_assignment): Set address space memory attribute of generated MEM RTXes as appropriate. (expand_expr_real_1): Likewise. * cfgexpand.c (expand_debug_expr): Likewise. * tree-ssa-loop-ivopts.c (produce_memory_decl_rtl): Likewise. * tree.h (struct tree_base): Add address_space bitfield. Reduce size of spare bitfield. (TYPE_ADDR_SPACE): New macro. (ENCODE_QUAL_ADDR_SPACE): Likewise. (DECODE_QUAL_ADDR_SPACE): Likewise. (CLEAR_QUAL_ADDR_SPACE): Likewise. (KEEP_QUAL_ADDR_SPACE): Likewise. (TYPE_QUALS): Encode type address
[Bug c++/38796] [c++0x] defaulted operator= with non-default return type accepted
--- Comment #3 from law at gcc dot gnu dot org 2009-10-29 16:40 --- Subject: Bug 38796 Author: law Date: Thu Oct 29 16:39:42 2009 New Revision: 153712 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153712 Log: Recorded merge of revisions 153564-153565,153572-153576 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153564 | dodji | 2009-10-26 12:31:22 -0600 (Mon, 26 Oct 2009) | 12 lines Fix PR c++/41785 gcc/cp/ChangeLog: PR c++/41785 * pt.c (template_args_equal): Handle comparison of an ARGUMENT_PACK_SELECT node with the arguments node it selects into. * cp-tree.def: Fix a typo in the description of TYPE_PACK_EXPANSION. gcc/testsuite/ChangeLog: PR c++/41785 * gcc/testsuite/g++.dg/cpp0x/variadic96.C: New test. r153565 | jason | 2009-10-26 13:07:14 -0600 (Mon, 26 Oct 2009) | 20 lines PR c++/38796, Core issue 906 gcc/cp * cp-tree.h (DECL_DEFAULTED_OUTSIDE_CLASS_P): New. (DECL_DEFAULTED_IN_CLASS_P): New. * class.c (user_provided_p): Non-static. (check_methods): Use it. (check_bases_and_members): Check defaulted fns. (defaultable_fn_p): Move and rename to... * method.c (defaultable_fn_check): ...this. (defaulted_late_check): New. * pt.c (tsubst_decl): Call it. * decl2.c (grokfield): Adjust. * decl.c (cp_finish_decl): Adjust. (grok_special_member_properties): Use user_provided_p. libstdc++-v3 * include/std/future (~Future_result_base): Default outside class body. * include/std/system_error (error_category()): Likewise. * libsupc++/nested_exception.h (nested_exception): Remove exception specifications from defaulted methods. r153572 | uweigand | 2009-10-26 15:55:59 -0600 (Mon, 26 Oct 2009) | 183 lines 2009-10-26 Ben Elliston b...@au.ibm.com Michael Meissner meiss...@linux.vnet.ibm.com Ulrich Weigand uweig...@de.ibm.com * doc/extend.texi (Named Address Spaces): New section. * coretypes.h (addr_space_t): New type. (ADDR_SPACE_GENERIC): New define. (ADDR_SPACE_GENERIC_P): New macro. * doc/tm.texi (Named Address Spaces): New section. (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Document. (TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Document. (TARGET_ADDR_SPACE_SUBSET_P): Document. (TARGET_ADDR_SPACE_CONVERT): Document. * target.h (struct gcc_target): Add addr_space substructure. * target-def.h (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Define. (TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Likewise. (TARGET_ADDR_SPACE_SUBSET_P): Likewise. (TARGET_ADDR_SPACE_CONVERT): Likewise. (TARGET_ADDR_SPACE_HOOKS): Likewise. (TARGET_INITIALIZER): Initialize addr_space hooks. * targhooks.c (default_addr_space_legitimate_address_p): New function. (default_addr_space_legitimize_address): Likewise. (default_addr_space_subset_p): Likewise. (default_addr_space_convert): Likewise. * targhooks.h (default_addr_space_legitimate_address_p): Add prototype. (default_addr_space_legitimize_address): Likewise. (default_addr_space_subset_p): Likewise. (default_addr_space_convert): Likewise. * doc/rtl.texi (MEM_ADDR_SPACE): Document. * rtl.h (mem_attrs): Add ADDRSPACE memory attribute. (MEM_ADDR_SPACE): New macro. * emit-rtl.c (get_mem_attrs): Add ADDRSPACE argument and set address space memory attribute. (mem_attrs_htab_hash): Handle address space memory attribute. (mem_attrs_htab_eq): Likewise. (set_mem_attributes_minus_bitpos): Likewise. (set_mem_alias_set): Likewise. (set_mem_align): Likewise. (set_mem_expr): Likewise. (set_mem_offset): Likewise. (set_mem_size): Likewise. (adjust_address_1): Likewise. (offset_address): Likewise. (widen_memoy_address): Likewise. (get_spill_slot_decl): Likewise. (set_mem_attrs_for_spill): Likewise. (set_mem_addr_space): New function. * emit-rtl.h (set_mem_addr_space): Add prototype. * print-rtl.c (print_rtx): Print address space memory attribute. * expr.c (expand_assignment): Set address space memory attribute of generated MEM RTXes as appropriate. (expand_expr_real_1): Likewise. * cfgexpand.c (expand_debug_expr): Likewise. * tree-ssa-loop-ivopts.c (produce_memory_decl_rtl): Likewise. * tree.h (struct tree_base): Add address_space bitfield. Reduce size of spare bitfield. (TYPE_ADDR_SPACE): New macro. (ENCODE_QUAL_ADDR_SPACE): Likewise. (DECODE_QUAL_ADDR_SPACE): Likewise. (CLEAR_QUAL_ADDR_SPACE): Likewise. (KEEP_QUAL_ADDR_SPACE): Likewise. (TYPE_QUALS): Encode type address
[Bug fortran/41777] Wrong-code with POINTER-returning GENERIC function
--- Comment #15 from burnus at gcc dot gnu dot org 2009-10-29 16:44 --- (In reply to comment #14) As written in comment 10 (and later), that patch fixes the reduced test case from comment 1 but not the original one (comment 0) Actually, it seems to work now correctly with the current trunk - I will fix comment 10 and the LOC issue, however. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41777
[Bug middle-end/37565] __optimize__ attribute doesn't work correctly
--- Comment #9 from sje at gcc dot gnu dot org 2009-10-29 16:44 --- Subject: Bug 37565 Author: sje Date: Thu Oct 29 16:44:02 2009 New Revision: 153714 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153714 Log: 2009-10-29 Steve Ellcey s...@cup.hp.com PR middle-end/37565 PR target/38018 * doc/tm.texi (OVERRIDE_OPTIONS): Update. (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New. * optc-gen.awk (cl_target_option_restore): Include call to targetm.override_options_after_change. * target-def.h (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New. * target.h (override_options_after_change): New. * c-common.c (parse_optimize_options): Call targetm.override_options_after_change. * config/ia64/ia64.c (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New. (ia64_override_options_after_change): New. (ia64_override_options) Add call to above. Modified: trunk/gcc/ChangeLog trunk/gcc/c-common.c trunk/gcc/config/ia64/ia64.c trunk/gcc/doc/tm.texi trunk/gcc/optc-gen.awk trunk/gcc/target-def.h trunk/gcc/target.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565
[Bug target/38018] gcc.dg/pr37106-1.c doesn't work
--- Comment #3 from sje at gcc dot gnu dot org 2009-10-29 16:44 --- Subject: Bug 38018 Author: sje Date: Thu Oct 29 16:44:02 2009 New Revision: 153714 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153714 Log: 2009-10-29 Steve Ellcey s...@cup.hp.com PR middle-end/37565 PR target/38018 * doc/tm.texi (OVERRIDE_OPTIONS): Update. (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New. * optc-gen.awk (cl_target_option_restore): Include call to targetm.override_options_after_change. * target-def.h (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New. * target.h (override_options_after_change): New. * c-common.c (parse_optimize_options): Call targetm.override_options_after_change. * config/ia64/ia64.c (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New. (ia64_override_options_after_change): New. (ia64_override_options) Add call to above. Modified: trunk/gcc/ChangeLog trunk/gcc/c-common.c trunk/gcc/config/ia64/ia64.c trunk/gcc/doc/tm.texi trunk/gcc/optc-gen.awk trunk/gcc/target-def.h trunk/gcc/target.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38018
[Bug libstdc++/40852] [parallel-mode] parallel sort run time increases ~10 fold when vector size gets over ~4*10^9
--- Comment #27 from law at gcc dot gnu dot org 2009-10-29 16:49 --- Subject: Bug 40852 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug lto/41652] LTO plugin misconfiguration
--- Comment #4 from law at gcc dot gnu dot org 2009-10-29 16:49 --- Subject: Bug 41652 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug middle-end/41812] [4.5 Regression] test 20071030-1.c fails execution on powerpc64
--- Comment #6 from law at gcc dot gnu dot org 2009-10-29 16:49 --- Subject: Bug 41812 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug middle-end/41837] Using '-O -fipa-struct-reorg -fwhole-program -fprofile-generate' gives 'internal compiler error: Segmentation fault'
--- Comment #9 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 41837 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug target/39715] [4.5 Regression][cond-optab] extra sign extensions on Thumb
--- Comment #9 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 39715 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug c++/41819] [4.5 regression] ICE with try/catch and -fno-exceptions
--- Comment #5 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 41819 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug middle-end/41855] ICE in refs_may_alias_p_1, at tree-ssa-alias.c:855
--- Comment #5 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 41855 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug lto/41821] ICE in LTO when linking
--- Comment #10 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 41821 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug c/41842] ICE on invalid variable length array declaration
--- Comment #6 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 41842 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug bootstrap/41451] [4.5 Regression] Bootstrap failure with fold checking
--- Comment #7 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 41451 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug debug/41801] [4.5 Regression] VTA: ICE in loc_cmp.
--- Comment #5 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 41801 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug lto/41808] error: non-trivial conversion at assignment
--- Comment #8 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 41808 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug lto/41839] ICE with lto and incomplete types
--- Comment #5 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 41839 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug target/41762] internal compiler error when compiling xorg-server
--- Comment #15 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 41762 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug target/40741] code size explosion for integer comparison
--- Comment #8 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 40741 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug c++/41020] [4.5 Regression] Can't declare an extern C friend of a builtin function
--- Comment #13 from law at gcc dot gnu dot org 2009-10-29 16:50 --- Subject: Bug 41020 Author: law Date: Thu Oct 29 16:48:00 2009 New Revision: 153715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153715 Log: Recorded merge of revisions 153580-153581,153584,153586-153600,153604,153606,153610,153613,153615-153618,153621,153643,153646-153648,153650-153652,153654-153667,153669-153671 via svnmerge from svn+ssh://l...@gcc.gnu.org/svn/gcc/trunk r153580 | gccadmin | 2009-10-26 18:17:26 -0600 (Mon, 26 Oct 2009) | 1 line Daily bump. r153581 | paolo | 2009-10-26 19:18:10 -0600 (Mon, 26 Oct 2009) | 6 lines 2009-10-26 Paolo Carlini paolo.carl...@oracle.com * include/std/chrono (duration::duration(const duration)): Fix per the straightforward resolution of DR 974. * testsuite/20_util/duration/cons/dr974.cc: Add. r153584 | carrot | 2009-10-27 03:06:36 -0600 (Tue, 27 Oct 2009) | 16 lines * target.h (have_conditional_execution): Add a new target hook function. * target-def.h (TARGET_HAVE_CONDITIONAL_EXECUTION): Likewise. * targhooks.h (default_have_conditional_execution): Likewise. * targhooks.c (default_have_conditional_execution): Likewise. * doc/tm.texi (TARGET_HAVE_CONDITIONAL_EXECUTION): Document it. * config/arm/arm.c (TARGET_HAVE_CONDITIONAL_EXECUTION): Define it. (arm_have_conditional_execution): New function. * ifcvt.c (noce_process_if_block, find_if_header, cond_exec_find_if_block, dead_or_predicable): Change the usage of macro HAVE_conditional_execution to a target hook call. * recog.c (peephole2_optimize): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. * final.c (asm_insn_count, final_scan_insn): Likewise. * bb-reorder.c (HAVE_conditional_execution): Remove it. r153586 | ebotcazou | 2009-10-27 04:09:04 -0600 (Tue, 27 Oct 2009) | 1 line Fix nits r153587 | jakub | 2009-10-27 04:28:48 -0600 (Tue, 27 Oct 2009) | 3 lines PR c++/41020 * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. r153588 | aldyh | 2009-10-27 05:18:12 -0600 (Tue, 27 Oct 2009) | 5 lines PR bootstrap/41451 * fold-const.c (fold_binary_loc): Do not call protected_set_expr_location. r153589 | rguenth | 2009-10-27 05:30:59 -0600 (Tue, 27 Oct 2009) | 5 lines 2009-10-27 Richard Guenther rguent...@suse.de PR lto/41821 * gimple.c (gimple_types_compatible_p): Handle OFFSET_TYPE. r153590 | revitale | 2009-10-27 05:46:07 -0600 (Tue, 27 Oct 2009) | 1 line Fix PR40648 -- Fix misaligned store vectorizer patch r153591 | charlet | 2009-10-27 07:06:06 -0600 (Tue, 27 Oct 2009) | 16 lines 2009-10-27 Arnaud Charlet char...@adacore.com * exp_aggr.adb: Fix comment. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-err.adb (Error_Msg): take into account continuation lines when computing whether we have a warning. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New routine that is designed to create temp file descriptor specifically for redirecting an output stream. r153592 | charlet | 2009-10-27 07:16:48 -0600 (Tue, 27 Oct 2009) | 45 lines 2009-10-27 Vincent Celier cel...@adacore.com * makeutl.adb (Check_Source_Info_In_ALI): Do not recompile if a subunit from the runtime is found, except if gnatmake switch -a is used and this subunit cannot be found. 2009-10-27 Ed Schonberg schonb...@adacore.com * gnatbind.adb (gnatbind): When the -R option is selected, list subunits as well, for tools that need the complete closure of the main program. 2009-10-27 Sergey Rybin ry...@adacore.com * gnat_ugn.texi: Minor updates. 2009-10-27 Emmanuel Briot br...@adacore.com * prj-tree.adb (Free): Fix memory leak. 2009-10-27 Vasiliy Fofanov fofa...@adacore.com * adaint.c, s-os_lib.adb (__gnat_create_output_file_new): New function that ensures the file that is created is new. Use this function to make sure there is no race condition if several processes are creating temp files concurrently. * s-os_lib.ads: Update comment. 2009-10-27 Thomas Quinot qui...@adacore.com * sem_ch12.adb: Minor reformatting 2009-10-27 Javier Miranda mira...@adacore.com * exp_ch4.ads (Integer_Promotion_Possible): New subprogram. * exp_ch4.adb (Integer_Promotion_Possible): New subprogram. (Expand_N_Type_Conversion): Replace code that checks if the integer promotion of the operands is possible by a call to the new function Integer_Promotion_Possible. Minor reformating because an enclosing block is now not needed. * checks.adb
[Bug middle-end/37565] __optimize__ attribute doesn't work correctly
--- Comment #10 from sje at cup dot hp dot com 2009-10-29 17:03 --- The patch I checked in provides the infrastructure to fix this problem and I have fixed the IA64 instance of it but other targets (like x86) will need to define TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE as well to completely resolve this defect. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565
[Bug c++/41856] g++.dg/lookup/extern-c-redecl[3,4] .C scan-assembler fails on darwin
--- Comment #7 from dodji at seketeli dot org 2009-10-29 17:09 --- Subject: Re: g++.dg/lookup/extern-c-redecl[3,4] .C scan-assembler fails on darwin --- Comment #6 from dominiq at lps dot ens dot fr 2009-10-29 14:36 --- Without test the part '.*?' in the rerexps seems odd. Why not '.*' only? The '.*?' is the non greedy form of '.*'. If I put '.*' only, then '.*foo' '.*' will match the foo coming after and that will not do what I want. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41856
[Bug c++/41856] g++.dg/lookup/extern-c-redecl[3,4] .C scan-assembler fails on darwin
--- Comment #8 from schwab at linux-m68k dot org 2009-10-29 17:29 --- (In reply to comment #7) The '.*?' is the non greedy form of '.*'. If I put '.*' only, then '.*foo' '.*' will match the foo coming after and that will not do what I want. The nongreedy form will not prevent that. You should never use '.*' because '.' can match newline. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41856
[Bug debug/41700] g++.dg/debug/dwarf2/icf.C
--- Comment #9 from ccoutant at gcc dot gnu dot org 2009-10-29 18:13 --- Subject: Bug 41700 Author: ccoutant Date: Thu Oct 29 18:13:27 2009 New Revision: 153719 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153719 Log: gcc/ChangeLog: PR debug/41700 * dwarf2out.c (dwarf2_debug_hooks): Add entries for new hook (two locations in the source). (store_vcall_insn): New function. (lookup_vcall_insn): New function. (dwarf2out_virtual_call_token): Use store_vcall_insn. (dwarf2out_copy_call_info): New function. (dwarf2out_virtual_call): Use lookup_vcall_insn. * emit-rtl.c (try_split): Call copy_call_info debug hook. * debug.h (struct gcc_debug_hooks): Add copy_call_info hook. * debug.c (do_nothing_debug_hooks): Add dummy entry for new hook. (debug_nothing_rtx_rtx): New dummy hook. * dbxout.c (dbx_debug_hooks): Add dummy entry for new hook. (xcoff_debug_hooks): Likewise. * sdbout.c (sdb_debug_hooks): Likewise. * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/dbxout.c trunk/gcc/debug.c trunk/gcc/debug.h trunk/gcc/dwarf2out.c trunk/gcc/emit-rtl.c trunk/gcc/sdbout.c trunk/gcc/vmsdbgout.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41700
[Bug tree-optimization/41857] Loop optimizer breaks __ea pointers with -mea64
--- Comment #1 from uweigand at gcc dot gnu dot org 2009-10-29 18:49 --- Proposed fix: http://gcc.gnu.org/ml/gcc-patches/2009-10/msg01757.html -- uweigand at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2009-10-29 18:49:20 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41857
[Bug ada/41870] New: [4.5 Regression] ACATS c46051a fail on powerpc-linux
http://gcc.gnu.org/ml/gcc-testresults/2009-10/msg02707.html LAST_UPDATED: Wed Oct 28 00:08:45 UTC 2009 (revision 153618) === acats tests === FAIL: c46051a === acats Summary === # of expected passes2314 # of unexpected failures1 Native configuration is powerpc-unknown-linux-gnu RUN c46051a ^M ,.,. C46051A ACATS 2.5 09-10-29 18:57:36^M C46051A CHECK THAT ENUMERATION, RECORD, ACCESS, PRIVATE, AND TASK^M VALUES CAN BE CONVERTED IF THE OPERAND AND TARGET TYPES ^M ARE RELATED BY DERIVATION.^M * C46051A INCORRECT CONVERSION OF 'NCREC (R)'.^M C46051A FAILED .^M FAIL: c46051a Note: was working as of LAST_UPDATED: Fri May 8 09:36:32 UTC 2009 (revision 147280) http://gcc.gnu.org/ml/gcc-testresults/2009-08/msg01684.html -- Summary: [4.5 Regression] ACATS c46051a fail on powerpc-linux Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: laurent at guerby dot net GCC build triplet: powerpc-unknown-linux-gnu GCC host triplet: powerpc-unknown-linux-gnu GCC target triplet: powerpc-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41870
[Bug ada/41870] [4.5 Regression] ACATS c46051a fail on powerpc-linux
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2009-10-29 19:10 --- Investigating. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added CC|ebotcazou at gcc dot gnu dot| |org | AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2009-10-29 19:10:22 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41870
[Bug libfortran/41711] Z format does not support writing KIND=10 reals
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2009-10-29 19:20 --- Subject: Bug 41711 Author: jvdelisle Date: Thu Oct 29 19:20:18 2009 New Revision: 153724 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153724 Log: 2009-10-29 Jerry DeLisle jvdeli...@gcc.gnu.org PR libgfortran/41711 * libgfortran.h: Define larger sizes for BOZ conversion buffers. * io/write.c (extract_uint): Include case where size is 10 if integer is large enough. (write_int): Rename to write_boz. (write_boz): Factor out extract_uint and delete the conversion function. (btoa_big): New binary conversion function. (otoa_big): New octal conversion function. (ztoa_big): New hexidecimal conversion function. (write_b): Modify to use new function. (write_o): Likewise. (write_z): Likewise. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/write.c trunk/libgfortran/libgfortran.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41711
[Bug libstdc++/40925] [c++0x] [DR811] std::pairT*,U* constructor doesn't accept (0, 0)
--- Comment #7 from paolo at gcc dot gnu dot org 2009-10-29 19:26 --- Subject: Bug 40925 Author: paolo Date: Thu Oct 29 19:26:04 2009 New Revision: 153725 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153725 Log: 2009-10-29 Paolo Carlini paolo.carl...@oracle.com PR libstdc++/40925 * include/bits/stl_pair.h (pair_T1, _T2::pair(_U1, _U2)): Use enable_if to remove it from the overload set when either _U1 is not convertible to _T1 or _U2 is not convertible to _T2. (pair::pair(_U1, _Arg0, _Args...)): Remove. 2009-10-29 Douglas Gregor doug.gre...@gmail.com PR libstdc++/40925 * testsuite/20_util/pair/40925.cc: Add. Added: trunk/libstdc++-v3/testsuite/20_util/pair/40925.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/stl_pair.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40925
[Bug c/41867] Translation time Floating Point precision is too small
--- Comment #2 from tydeman at tybor dot com 2009-10-29 19:27 --- Compile options: -std=gnu99 -pedantic -H -fno-builtin -frounding-math Since I take the gcc that comes with Fedora Core Linux 9 and 10, I have no idea how GCC was configured. The output shows that all the file scope (translation time) precisions used were small (ULP is same magnitude as FLT_EPSILON), while all the local scope (runtime) precisions used were large (ULP same magnitude as LDBL_EPSILON). All six should be the same magnitude as LDBL_EPSILON for this hardware. None of the messages with 1:, 2:, 3:, 7:, 8:, 11:, or 12: should be printed if things are done as per the C standard. A large precision implies a small magnitude ULP value (closer to zero). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41867
[Bug tree-optimization/41750] [4.5 Regression] gcc 4.5.0 miscompiles binutils
--- Comment #22 from hjl dot tools at gmail dot com 2009-10-29 19:30 --- IPA-SRA miscompiled get_got in elf64-ia64.c: got = ia64_info-root.sgot; if (!got) { flagword flags; dynobj = ia64_info-root.dynobj; if (!dynobj) ia64_info-root.dynobj = dynobj = abfd; if (!_bfd_elf_create_got_section (dynobj, info)) return 0; got = ia64_info-root.sgot; ia64_info-root.sgot is NULL and _bfd_elf_create_got_section is called to create one. However, IPA-SRA turns get_got (struct bfd * abfd, struct bfd_link_info * info, struct elf64_ia64_link_hash_table * ia64_info) into get_got (struct bfd * abfd, struct bfd_link_info * info, struct bfd * * ISRA.111, struct asection * ISRA.112) Where does struct asection * ISRA.112 come from? It doesn't look right. It then generates: bb 5: # dynobj_3 = PHI dynobj_6(3), abfd_7(D)(4) # DEBUG dynobj = dynobj_3 D.16894_10 = _bfd_elf_create_got_section (dynobj_3, info_9(D)); if (D.16894_10 == 0) goto bb 10; else goto bb 6; bb 6: got_12 = ISRA.112_15(D); and later we get # dynobj_362 = PHI dynobj_361(104), abfd_39(D)(105) # DEBUG dynobj = dynobj_362 D.18569_363 = _bfd_elf_create_got_section (dynobj_362, info_35(D)); if (D.18569_363 == 0) goto bb 111; else goto bb 107; bb 107: got_364 = D.18212_262; Withot IPA-SRA, we get D.16894_10 = _bfd_elf_create_got_section (dynobj_3, info_9(D)); if (D.16894_10 == 0) goto bb 10; else goto bb 6; bb 6: got_12 = ia64_info_4(D)-root.sgot; -- hjl dot tools at gmail dot com changed: What|Removed |Added GCC build triplet|x86_64-unknown-linux-gnu| GCC host triplet|x86_64-unknown-linux-gnu| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750
[Bug c/41867] Translation time Floating Point precision is too small
--- Comment #3 from jsm28 at gcc dot gnu dot org 2009-10-29 20:26 --- If you want C99-conforming excess precision, then use 4.5 or later (not 4.4) with -fexcess-precision=standard or strict conformance options such as -std=c99 that imply it (not -std=gnu99). With that I get: ls_ld2=1.0842e-19 ls_d2 =1.0842e-19 ls_f2 =1.0842e-19 LD_EPS=1.0842e-19 D_EPS=2.22045e-16 F_EPS=1.19209e-07 fs_ld2=1.0842e-19 fs_d2 =1.0842e-19 fs_f2 =1.0842e-19 which I think is what you want. *** This bug has been marked as a duplicate of 323 *** -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41867
[Bug rtl-optimization/323] optimized code gives strange floating point results
--- Comment #134 from jsm28 at gcc dot gnu dot org 2009-10-29 20:26 --- *** Bug 41867 has been marked as a duplicate of this bug. *** -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added CC||tydeman at tybor dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323
[Bug lto/41871] New: lto-plugin gives: could not open/create temporary file
This might be a limit-on-number-of-open-files issue. I encounter it while trying to link with link time optimization *and* using the linker plugin an executable which needs loads of object files from two dozen libraries. To study this, use a program that's build from libraries and linked as follows: gcc [optimization options] -flto -fwhole-program -fuse-linker-plugin -o exe mainprogram.c lib1.a lib2.a ... libn.a To enforce the limit, use the following command in bash ulimit -n some small number around 20 -- Summary: lto-plugin gives: could not open/create temporary file Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: toon at moene dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41871
[Bug c++/41863] [4.5 Regression] segfault with sizeof in template parameter
-- dodji at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dodji at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2009-10-29 10:26:13 |2009-10-29 20:46:51 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41863
[Bug c++/38699] [4.3/4.4/4.5 regression] ICE using offsetof with pointer and array accesses
--- Comment #11 from dodji at gcc dot gnu dot org 2009-10-29 21:18 --- Sent an updated patch to http://gcc.gnu.org/ml/gcc-patches/2009-10/msg01746.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38699
[Bug fortran/41872] New: wrong-code: No auto-deallocation for INTENT(OUT) allocatable scalars
The following programs shows that the automatic deallocation is not applied to allocatable INTENT(OUT) scalar dummies. It works for array arguments. Note: For optional arguments, one needs to make sure that the deallocation only happens if the variable is present, cf. PR 41850. program test implicit none integer, allocatable :: a allocate(a) call foo(a) if(.not. allocated(a)) call abort() if (a /= 5) call abort() contains subroutine foo(a) integer, allocatable, intent(out) :: a if(allocated(a)) call abort() allocate(a) a = 5 end subroutine foo end program test -- Summary: wrong-code: No auto-deallocation for INTENT(OUT) allocatable scalars Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41872
[Bug fortran/41850] Wong-code with optional allocatable arrays
--- Comment #1 from burnus at gcc dot gnu dot org 2009-10-29 21:59 --- Note: One also needs to ensure that this works with allocatable scalars, cf. PR 41872. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41850
[Bug tree-optimization/41750] [4.5 Regression] gcc 4.5.0 miscompiles binutils
--- Comment #23 from hjl dot tools at gmail dot com 2009-10-29 22:02 --- Created an attachment (id=18930) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18930action=view) A testcase [...@gnu-6 pr41750]$ make clean rm -f *.o *.s *.c.* [...@gnu-6 pr41750]$ make CFLAGS=-O -fipa-sra /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O -fipa-sra -c -o foo.o foo.c /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O -fipa-sra -c -o main.o main.c /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -o foo foo.o main.o ./foo make: *** [all] Error 1 [...@gnu-6 pr41750]$ make clean rm -f *.o *.s *.c.* [...@gnu-6 pr41750]$ make CFLAGS=-O /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O -c -o foo.o foo.c /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O -c -o main.o main.c /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -o foo foo.o main.o ./foo [...@gnu-6 pr41750]$ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750
[Bug fortran/41873] New: [OOP] Bogus Error: ABSTRACT INTERFACE must not be referenced...
Hi, the attached code compiles with ifort 11.1 and with nagfor 5.2, but is rejected with current gfortran: gfcbug93.f90:47.12: print *, ipmin% dot_g_g (g,g) 1 Error: ABSTRACT INTERFACE 'dot' must not be referenced at (1) gfcbug93.f90:47.12: print *, ipmin% dot_g_g (g,g) 1 Error: ABSTRACT INTERFACE 'dot' must not be referenced at (1) Cheers, -ha -- Summary: [OOP] Bogus Error: ABSTRACT INTERFACE must not be referenced... Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anlauf at gmx dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41873
[Bug fortran/41873] [OOP] Bogus Error: ABSTRACT INTERFACE must not be referenced...
--- Comment #1 from anlauf at gmx dot de 2009-10-29 22:42 --- Created an attachment (id=18931) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18931action=view) Test code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41873
[Bug fortran/41872] wrong-code: No auto-deallocation for INTENT(OUT) allocatable scalars
--- Comment #1 from burnus at gcc dot gnu dot org 2009-10-29 22:52 --- Note: For arrays, the following block of trans-expr.c is used: /* If an ALLOCATABLE dummy argument has INTENT(OUT) and is allocated on entry, it must be deallocated. */ if (fsym fsym-attr.allocatable fsym-attr.intent == INTENT_OUT) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41872
[Bug fortran/41850] Wong-code with optional allocatable arrays
--- Comment #2 from burnus at gcc dot gnu dot org 2009-10-29 22:52 --- Preliminary patch. The for the second part of the patch one needs still to update the comment. (Currently regtesting, so far no failure.) ... Actually, I think the block (second part) can also go away for fsym == NULL. In all cases, one has tmp = (a == NULL) ? a : NULL; which is really a noop. I fail to see how one can get anything else. One needs such a check for for absent arguments, but that is already handled in interface.c (or somewhere around that place) - and it is a compile-time replacement. Index: trans-expr.c === --- trans-expr.c(Revision 153727) +++ trans-expr.c @@ -2943,6 +2943,12 @@ gfc_conv_procedure_call (gfc_se * se, gf tmp = build_fold_indirect_ref_loc (input_location, parmse.expr); tmp = gfc_trans_dealloc_allocated (tmp); + if (fsym-attr.optional + e-expr_type == EXPR_VARIABLE + e-symtree-n.sym-attr.optional) + tmp = fold_build3 (COND_EXPR, void_type_node, +gfc_conv_expr_present (e-symtree-n.sym), + tmp, build_empty_stmt (input_location)); gfc_add_expr_to_block (se-pre, tmp); } @@ -2954,7 +2960,7 @@ gfc_conv_procedure_call (gfc_se * se, gf an intrinsic subroutine, however, fsym is NULL, but we might still have an optional argument, so we proceed to the substitution just in case. */ - if (e (fsym == NULL || fsym-attr.optional)) + if (e fsym == NULL) { /* If an optional argument is itself an optional dummy argument, check its presence and substitute a null if absent. */ -- burnus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |burnus at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2009-10-29 22:52:37 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41850
[Bug c++/41863] [4.5 Regression] segfault with sizeof in template parameter
--- Comment #2 from dodji at gcc dot gnu dot org 2009-10-29 22:56 --- Patch sent to http://gcc.gnu.org/ml/gcc-patches/2009-10/msg01772.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41863
[Bug fortran/41850] Wong-code with optional allocatable arrays
--- Comment #3 from burnus at gcc dot gnu dot org 2009-10-29 23:09 --- Hmm, I get regtest failures for elemental procedures: gfortran.dg/bounds_check_9.f90 gfortran.dg/bounds_check_fail_2.f90 - D.1415 = ivec != 0B ? (*ivec.0)[(S.10 + 1) * D.1413 + D.1408] : 0B; - set_optional (ivec_[S.10], D.1414, D.1415); + set_optional (ivec_[S.10], D.1414, (*ivec.0)[(S.10 + 1) * D.1413+D.1408]); Dummy: elemental subroutine set_optional(i,idef,iopt) integer, intent(in), optional :: iopt Actual: integer, intent(in), optional :: ivec(:) call set_optional(ivec_,(/1,2/)) call set_optional(ivec_,(/1,2/),ivec) Thus, the problem is that one passes an array to a scalar in form of an elemental procedure; seemingly, one needs to take care of this special case. Anything else? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41850
[Bug ada/41870] [4.5 Regression] ACATS c46051a fail on powerpc-linux
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2009-10-30 00:23 --- Fixed by http://gcc.gnu.org/ml/gcc-patches/2009-10/msg01756.html :-) -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41870
[Bug c++/41874] New: Incorrect dereferencing type-punned pointer will break strict-aliasing rules warning
$ cat test.cc #include new struct APInt { int i; }; int main() { APInt I; char Data[sizeof(APInt)]; new((void*)Data)APInt(); *(APInt*)Data = I; } $ g++ -O3 -Wstrict-aliasing test.cc -o /dev/null test.cc: In function 'int main()': test.cc:9: warning: dereferencing type-punned pointer will break strict-aliasing rules test.cc:9: warning: dereferencing type-punned pointer will break strict-aliasing rules $ g++ -v Using built-in specs. Target: i386-apple-darwin9 Configured with: ../gcc-4.4.1/configure --prefix=/opt/local --build=i386-apple-darwin9 --enable-languages=c,c++,objc,obj-c++,java,fortran --libdir=/opt/local/lib/gcc44 --includedir=/opt/local/include/gcc44 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.4 --with-gxx-include-dir=/opt/local/include/gcc44/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local Thread model: posix gcc version 4.4.1 (GCC) The warning goes away if I change *(APInt*)Data = I; to *(APInt*)(void*)Data = I; even though an extra cast through void* can't improve the situation wrt strict-aliasing. -- Summary: Incorrect dereferencing type-punned pointer will break strict-aliasing rules warning Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jyasskin at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41874
[Bug other/41820] cc1: error: Cannot load plugin ./selfassign.so
--- Comment #3 from danglin at gcc dot gnu dot org 2009-10-30 01:33 --- After add support for -rdynamic, I find there is an additional problem with test. When I first saw the problem, it was in a build with bootstrap disabled. However, the tests fail when a regular bootstap is done due to the following problem: Executing on build: gcc -g -O2 /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/plugin/sel fassign.c -I. -I/test/gnu/gcc/gcc/gcc/testsuite -I/test/gnu/gcc/gcc/gcc/testsuit e/../../gcc -I/test/gnu/gcc/objdir/gcc/testsuite/gcc/../../../gcc -I/test/gnu/g cc/gcc/gcc/testsuite/../../include -I/test/gnu/gcc/gcc/gcc/testsuite/../../libcp p/include -I/opt/gnu/gcc/gcc-4.5.0/include -O -DIN_GCC -fPIC -shared -o selfas sign.so(timeout = 300) In file included from /test/gnu/gcc/gcc/gcc/testsuite/../../gcc/gcc-plugin.h:28, from /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/plugin/selfassign.c :5: /test/gnu/gcc/gcc/gcc/testsuite/../../gcc/system.h:418:20: error: stdint.h: No s uch file or directory The problem is selfassign.c is being compiled with HOSTCC, but system.h was been generated using the stage2 bootstrap compiler. The latter has stdint.h, but the former doesn't. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41820
[Bug libstdc++/40925] [c++0x] [DR811] std::pairT*,U* constructor doesn't accept (0, 0)
--- Comment #8 from paolo at gcc dot gnu dot org 2009-10-30 02:29 --- Subject: Bug 40925 Author: paolo Date: Fri Oct 30 02:29:14 2009 New Revision: 153733 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153733 Log: 2009-10-29 Paolo Carlini paolo.carl...@oracle.com Douglas Gregor doug.gre...@gmail.com PR libstdc++/40925 (again) * include/bits/stl_pair.h (pair_T1, _T2::pair(_U1, const _T2), pair_T1, _T2::pair(const _T1, _U2)): Add, to deal correctly with move-only types in the presence of null pointers. * testsuite/20_util/pair/40925.cc: Extend. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/stl_pair.h trunk/libstdc++-v3/testsuite/20_util/pair/40925.cc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40925
[Bug middle-end/41290] [4.5 regression] C++ - libdirac don't want to compile
--- Comment #5 from foom at fuhm dot net 2009-10-30 02:42 --- An error very much like this is also causing a bunch of files in my program to fail to compile with 4.5 with -O1 and above. I was unable to reduce a simple test case from my (private) code, though: many changes that seem like they should be unrelated cause the bug to go away. So I really hope my bug is actually the same thing as this already-somewhat-reduced test case. :) I'm using the ubuntu gcc-snapshot 20091018 package, on x86-64. The error message is a little bit different, so I'm including it below, just in case you might think it indicates a different underlying cause. error: edge points to wrong declaration: function_decl 0x2ab0adeb6600 _ZNSdD2Ev.clone.5 type method_type 0x2ab0ae8f5cc0 type void_type 0x2ab09c4476c0 void asm_written type_6 VOID align 8 symtab 0 alias set -1 canonical type 0x2ab09c4476c0 pointer_to_this pointer_type 0x2ab09c447780 QI size integer_cst 0x2ab09c421840 constant 8 unit size integer_cst 0x2ab09c421870 constant 1 align 8 symtab 0 alias set -1 canonical type 0x2ab09e701240 method basetype record_type 0x2ab0a06a9c00 basic_iostream arg-types tree_list 0x2ab0aea8a750 value pointer_type 0x2ab09e6fdb40 chain tree_list 0x2ab09c445960 value void_type 0x2ab09c4476c0 void pointer_to_this pointer_type 0x2ab0a4991cc0 addressable used nothrow static in_system_header autoinline decl_5 QI defer-output file /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.5.0/../../../../include/c++/4.5.0/istream line 798 col 7 align 16 context record_type 0x2ab0a06a9c00 basic_iostream initial block 0x2ab0aea8cf00 abstract_origin function_decl 0x2ab09e6f7d00 basic_iostream arguments parm_decl 0x2ab0aea82510 this type pointer_type 0x2ab09e6fdcc0 type record_type 0x2ab0a06a9c00 basic_iostream readonly unsigned DI size integer_cst 0x2ab09c421bd0 constant 64 unit size integer_cst 0x2ab09c421c00 constant 8 align 64 symtab -1364669056 alias set -1 canonical type 0x2ab09e6fdcc0 readonly used unsigned DI file /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.5.0/../../../../include/c++/4.5.0/istream line 798 col 23 size integer_cst 0x2ab09c421bd0 64 unit size integer_cst 0x2ab09c421c00 8 align 64 context function_decl 0x2ab0adeb6600 _ZNSdD2Ev.clone.5 abstract_origin parm_decl 0x2ab09e6fe240 this arg-type pointer_type 0x2ab09e6fdcc0 result result_decl 0x2ab0acb8cf80 D.395631 type void_type 0x2ab09c4476c0 void used ignored VOID file /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.5.0/../../../../include/c++/4.5.0/istream line 798 col 27 align 8 context function_decl 0x2ab0adeb6600 _ZNSdD2Ev.clone.5 abstract_origin result_decl 0x2ab0ab71c980 D.304296 full-name std::basic_iostream_CharT, _Traits::~basic_iostream() [with _CharT = char, _Traits = std::char_traitschar] pending-inline-info 0x2ab0ab72f000 template-info 0x2ab09e6faf90 struct-function 0x2ab0ab58f6e0 Instead of: function_decl 0x2ab09e702400 __base_dtor type method_type 0x2ab09e701240 type void_type 0x2ab09c4476c0 void asm_written type_6 VOID align 8 symtab 0 alias set -1 canonical type 0x2ab09c4476c0 pointer_to_this pointer_type 0x2ab09c447780 QI size integer_cst 0x2ab09c421840 constant 8 unit size integer_cst 0x2ab09c421870 constant 1 align 8 symtab 0 alias set -1 canonical type 0x2ab09e701240 method basetype record_type 0x2ab0a06a9c00 basic_iostream arg-types tree_list 0x2ab09e700180 value pointer_type 0x2ab09e6fdb40 chain tree_list 0x2ab09e48ede0 value pointer_type 0x2ab09d8c9480 chain tree_list 0x2ab09c445960 value void_type 0x2ab09c4476c0 void pointer_to_this pointer_type 0x2ab0a4991cc0 addressable used nothrow public static external in_system_header autoinline decl_5 QI defer-output file /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.5.0/../../../../include/c++/4.5.0/istream line 798 col 7 align 16 context record_type 0x2ab0a06a9c00 basic_iostream initial block 0x2ab0ab72c2a0 abstract_origin function_decl 0x2ab09e6f7d00 basic_iostream arguments parm_decl 0x2ab09e703120 this type pointer_type 0x2ab09e6fdcc0 type record_type 0x2ab0a06a9c00 basic_iostream readonly unsigned DI size integer_cst 0x2ab09c421bd0 constant 64 unit size integer_cst 0x2ab09c421c00 constant 8 align 64 symtab -1364669056 alias set -1 canonical type 0x2ab09e6fdcc0 readonly unsigned DI file /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.5.0/../../../../include/c++/4.5.0/istream line 798 col 23 size integer_cst 0x2ab09c421bd0 64 unit size integer_cst 0x2ab09c421c00 8 align 64 context function_decl 0x2ab09e702400 __base_dtor abstract_origin parm_decl 0x2ab09e6fe240 this arg-type pointer_type 0x2ab09e6fdcc0
[Bug libstdc++/41351] std::rotate on RAI does not conform to ISO complexity requirement
--- Comment #35 from potswa at mac dot com 2009-10-30 02:47 --- I got PDF's of the completed forms. What now? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41351
[Bug c++/36163] Friend declaration confused by namespace/using
--- Comment #3 from mdjones0978-gccbugs at yahoo dot com 2009-10-30 02:48 --- I think it is a bug, because the class test is declared at the scope :: (before the namespace), then used below. The solution is to explicitly state the fact it is from :: #include assert.h class Test; namespace Boo { class Outer { friend class Test; // replace with ::Test to fix private: int _o; class Inner { friend class Test; // replace with ::Test to fix int _i; }; }; } class Test { public: void DoTest() { Boo::Outer::Inner oi; assert(oi._i == 3); } }; main(int argc, char *argv[]) { Test x; x.DoTest(); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36163
[Bug libstdc++/41351] std::rotate on RAI does not conform to ISO complexity requirement
--- Comment #36 from paolo dot carlini at oracle dot com 2009-10-30 02:51 --- First, send it to me and Benjamin (b...@redhat.com), because we want to be 100% sure everything is ok. Then, start thinking about the fix ;) Really, please-please, keep it minimal, we don't want for now the super-dupe algorithm, we want something using only swaps and not regressing performance-wise wrt what we have now. And clear, easy to understand. Additional testcases are always welcome. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41351
[Bug libstdc++/41351] std::rotate on RAI does not conform to ISO complexity requirement
--- Comment #37 from potswa at mac dot com 2009-10-30 03:55 --- It seems like the goals are changing. Is this due to an approaching deadline? The super algorithm is the product of making every case faster. Removing any part of it (i.e. calls to std::copy) will regress performance of something. I don't think it's too complicated. I'm attaching my code so you can actually see it; I don't think I've shared it yet. See my post from October 10. The forward iterator implementation is already a stripped-down version of my algorithm. If we want simplicity, we can excise the reverse and RAI implementations and not add anything. If you're serious about this, I can benchmark that. But, it shouldn't be such a surprise that performance and minimalism are exclusive. The existing RAI algo also has forward and backward cases. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41351
[Bug libstdc++/41351] std::rotate on RAI does not conform to ISO complexity requirement
--- Comment #38 from potswa at mac dot com 2009-10-30 03:56 --- Created an attachment (id=18932) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18932action=view) C++ snippet containing example function template improved algorithm with forward/backward and std::copy cases. Excerpted from my test file. Not suitable for real use: at a glance, it's missing the random_access_iterator_tag argument. I'm not in the programming groove at the moment and can't proofread, polish, etc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41351
[Bug libstdc++/41351] std::rotate on RAI does not conform to ISO complexity requirement
--- Comment #39 from paolo dot carlini at oracle dot com 2009-10-30 04:20 --- The goals are not changing, I told you already that we want minimal changes wrt to the current code. We want safe and incremental improvements. In general all the contributions must be in form of patches vs current mainline, thus make sure to take all the necessary steps, fetch mainline via svn, apply the patch to your local tree, regression test the actual code changes + the new testcases (as extensive as possible). Then, when you are satisfied, post to the mailing list - Bugzilla is not for patches. Thanks for now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41351
[Bug bootstrap/40923] bootstrap failure for 20090730 with --enable-build-with-cxx
--- Comment #4 from jlquinn at gcc dot gnu dot org 2009-10-30 05:58 --- Should be fixed by r153734. -- jlquinn at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40923