[Bug target/43216] New: Use high registers to reduce code size and improve performance when targeting thumb2

2010-03-01 Thread carrot at google dot com
Compile the attached source code with options -march=armv7-a -mthumb -Os, gcc generates: foo2: push{r4, r5, r6, r7, lr} sub sp, sp, #20 mov r7, r2 str r0, [sp, #8] movsr0, #64 bl malloc str r0, [sp, #4]

[Bug target/43216] Use high registers to reduce code size and improve performance when targeting thumb2

2010-03-01 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2010-03-01 08:11 --- Created an attachment (id=19994) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19994action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43216

[Bug fortran/43062] NAMELIST attribute conflicts with ALLOCATABLE attribute

2010-03-01 Thread burnus at gcc dot gnu dot org
--- Comment #15 from burnus at gcc dot gnu dot org 2010-03-01 08:45 --- See also: http://j3-fortran.org/pipermail/j3/2010-February/003401.html where Van and Malcolm agreed that changes should be done. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43062

[Bug fortran/43199] [OOP] ICE when reading module file: find_array_spec(): Component not found

2010-03-01 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2010-03-01 09:24 --- Subject: Bug 43199 Author: burnus Date: Mon Mar 1 09:23:35 2010 New Revision: 157133 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157133 Log: 2010-03-01 Tobias Burnus bur...@net-b.de PR

[Bug fortran/43199] [OOP] ICE when reading module file: find_array_spec(): Component not found

2010-03-01 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2010-03-01 09:24 --- FIXED on the trunk (4.5). Thanks for the bugreport! -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43215] x86-64: Nonstandard instruction movd %xmm0, %rax

2010-03-01 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2010-03-01 09:56 --- Indeed. Following patch fixes the problem: Index: i386.md === --- i386.md (revision 157132) +++ i386.md (working copy) @@ -3245,7 +3245,7 @@

[Bug libstdc++/43203] abi_check from libstdc++ tests fails with CFLAGS=-march=core2

2010-03-01 Thread paolo dot carlini at oracle dot com
--- Comment #13 from paolo dot carlini at oracle dot com 2010-03-01 10:05 --- Closing -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug fortran/43217] New: Output of Hollerith constants which are not a multiple of 4 bytes

2010-03-01 Thread burnus at gcc dot gnu dot org
I do not know whether the following program is valid Fortran 77 (with deleted parts). The issue is that gfortran creates: static character(kind=1) C.1534[1:9] = HELLO YOU; which is then passed to an default-kind integer. HELLO YOU consists of 9 characters, but a default-kind integer can

[Bug c++/42748] warnings about 'mangling of 'va_list' has changed in GCC 4.4' not suppressed in sytem headers

2010-03-01 Thread dominiq at lps dot ens dot fr
--- Comment #23 from dominiq at lps dot ens dot fr 2010-03-01 10:20 --- *** Bug 40459 has been marked as a duplicate of this bug. *** -- dominiq at lps dot ens dot fr changed: What|Removed |Added

[Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin

2010-03-01 Thread dominiq at lps dot ens dot fr
--- Comment #14 from dominiq at lps dot ens dot fr 2010-03-01 10:20 --- This is a dup of c++/42748, which has now been fixed. So marking this pr as duplicate. *** This bug has been marked as a duplicate of 42748 *** -- dominiq at lps dot ens dot fr changed: What

[Bug lto/43218] New: [LTO] Conflicting function types cause ICE

2010-03-01 Thread d dot g dot gorbachev at gmail dot com
#1 lto1: internal compiler error: in cgraph_estimate_size_after_inlining, at ipa-inline.c:206 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. lto-wrapper: /usr/local/bin/i686-pc-linux-gnu-gcc-4.5.0 returned 1 exit status

[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-03-01 10:29 --- Huh. Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43217] Output of Hollerith constants which are not a multiple of 4 bytes

2010-03-01 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-03-01 10:29 --- I wonder what happens with g77. [ibook-dhum] f90/bug% g77 pr43217.f [ibook-dhum] f90/bug% a.out HELLO YOU :HELLO YOU : 4C4C4548 4F59204F 955 --

Re: [Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-03-01 Thread Andrew Pinski
Sent from my iPhone On Mar 1, 2010, at 2:29 AM, rguenth at gcc dot gnu dot org gcc-bugzi...@gcc.gnu.org wrote: --- Comment #3 from rguenth at gcc dot gnu dot org 2010-03-01 10:29 --- Huh. Confirmed. Not that interesting because the aliasing sets are different and we

[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-03-01 Thread pinskia at gmail dot com
--- Comment #4 from pinskia at gmail dot com 2010-03-01 10:38 --- Subject: Re: [4.5 Regression] Worse code generated with -O2 Sent from my iPhone On Mar 1, 2010, at 2:29 AM, rguenth at gcc dot gnu dot org gcc-bugzi...@gcc.gnu.org wrote: --- Comment #3 from rguenth at gcc

[Bug lto/43212] [LTO] error: control flow in the middle of basic block

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-01 10:43 --- Confirmed. We do have sort-of a fixup pass to deal with this, but it doesn't work very well. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/43211] [4.5 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at tree-ssa.c:1430

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-03-01 10:48 --- Confirmed. We leak bogus function types to the middle-end: (gdb) call debug_tree (inner_type) function_type 0x75ade738 type void_type 0x77ee4e70 void VOID align 8 symtab 0 alias set -1

[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-03-01 10:48 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-03-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code Priority|P3 |P1

[Bug lto/43208] lto1: error: invalid conversion in return statement

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-03-01 10:54 --- Confirmed. struct X are not compatible by the notion of C99. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-01 10:59 --- Confirmed. The testcase is invalid (apart from the missing semi-colon): t.ii(9): error: class Imagefloat has no member PixelType templatetypename TInputImage, typename TOutputImage=Image CovariantVector typename

[Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer

2010-03-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081

[Bug middle-end/42805] [4.5 Regression] FAIL: gcc.c-torture/execute/pr42248.c compilation at -O1 and above

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-03-01 11:48 --- Confirmed with a cross to hppa-linux. I believe this is again related to DECL_VALUE_EXPR. SRA does: @@ -122,8 +60,9 @@ bb 2: x.0 = x; + SR.3_7 = x.a; y.1_6 = y_1(D); - D.1959_2 = x.0.a; + D.1959_2 =

[Bug c++/43081] [4.3/4.4/4.5 regression] ICE with invalid in-class initializer

2010-03-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081

[Bug c++/43116] [4.3/4.4/4.5 Regression] ICE when using attributes in a function alias declaration

2010-03-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43116

[Bug c/43125] [4.5 Regression] Revision 156907 failed gcc.dg/attr-used.c

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-03-01 11:50 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug tree-optimization/43141] [4.5 Regression] Wrong debug information with IPA-SRA

2010-03-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43141

[Bug rtl-optimization/43156] [4.5 Regression] SPU-elf ICEs on simple programs

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-01 11:51 --- spu-elf is neither a primary nor a secondary platform. But, confirmed, as I originally reported this. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43164] [4.5 Regression] ice in completely_scalarize_record, at tree-sra.c:85

2010-03-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43164

[Bug fortran/43173] Unnecessary array temporary: Passing contiguous array as actual argument

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-03-01 11:54 --- Not a regression (we track regressions only against releases). I see both temporaries also on the 4.4 branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43191] [4.5 Regression] ice in load_assign_lhs_subreplacements, at tree-sra.c:2459

2010-03-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43191

[Bug c++/43206] [4.5 Regression] Revision 145440 caused ICE at cp/pt.c:9249

2010-03-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43206

[Bug c/43211] [4.5 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at tree-ssa.c:1430

2010-03-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43211

[Bug middle-end/42805] [4.5 Regression] FAIL: gcc.c-torture/execute/pr42248.c compilation at -O1 and above

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-03-01 12:11 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42900] gfortran.dg/stat_[12].f90 may fail on NFS filesystems

2010-03-01 Thread ro at gcc dot gnu dot org
--- Comment #3 from ro at gcc dot gnu dot org 2010-03-01 12:25 --- Subject: Bug 42900 Author: ro Date: Mon Mar 1 12:25:34 2010 New Revision: 157135 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157135 Log: PR fortran/42900 * gfortran.dg/stat_1.f90: Accept

[Bug libgcj/38251] [4.4/4.5 Regression] tools.zip doesn't build on systems with short command lines

2010-03-01 Thread ro at gcc dot gnu dot org
--- Comment #12 from ro at gcc dot gnu dot org 2010-03-01 12:32 --- Subject: Bug 38251 Author: ro Date: Mon Mar 1 12:32:02 2010 New Revision: 157137 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157137 Log: PR libgcj/38251 * tools/Makefile.am (dist-hook): Prune

[Bug lto/43218] [LTO] Conflicting function types cause ICE

2010-03-01 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-03-01 12:43 --- Created an attachment (id=19995) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19995action=view) Three testcases Compile with `-flto -O2' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43218

[Bug pch/14940] PCH largefile test fails on various platforms

2010-03-01 Thread ro at gcc dot gnu dot org
--- Comment #36 from ro at gcc dot gnu dot org 2010-03-01 12:44 --- Subject: Bug 14940 Author: ro Date: Mon Mar 1 12:44:33 2010 New Revision: 157141 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157141 Log: gcc: PR pch/14940 * config/host-solaris.c

[Bug lto/42451] 'warning: type of array does not match original declaration' with -flto/-fwhopr

2010-03-01 Thread d dot g dot gorbachev at gmail dot com
--- Comment #6 from d dot g dot gorbachev at gmail dot com 2010-03-01 12:47 --- Created an attachment (id=19996) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19996action=view) Another testcase Compile with `gcc -flto 1.c 2.c' --

[Bug fortran/43169] [OOP] gfortran rejects pure procedure with select type construct

2010-03-01 Thread janus at gcc dot gnu dot org
--- Comment #9 from janus at gcc dot gnu dot org 2010-03-01 12:47 --- Even with the patch from comment #7, another thing goes wrong with BLOCK statements: pure subroutine swap implicit none real :: r1 block real :: r2 r1 = 42. r2 = 43. end block

[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-03-01 12:56 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/41250] hppa has DECL_VALUE_EXPR decls appearing in the function

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-03-01 12:57 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43213] [4.5 Regression] Worse code generated with -O2

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-03-01 12:57 --- Subject: Bug 43213 Author: rguenth Date: Mon Mar 1 12:56:44 2010 New Revision: 157142 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157142 Log: 2010-03-01 Richard Guenther rguent...@suse.de PR

[Bug c/43219] New: O2, O3 and Os produce wrong code

2010-03-01 Thread vierhaus at physik dot hu-berlin dot de
LC_ALL=C gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib

[Bug c/43219] O2, O3 and Os produce wrong code

2010-03-01 Thread vierhaus at physik dot hu-berlin dot de
--- Comment #1 from vierhaus at physik dot hu-berlin dot de 2010-03-01 13:01 --- Created an attachment (id=19997) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19997action=view) prog.i after compilation with -Os -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43219

[Bug c/43219] O2, O3 and Os produce wrong code

2010-03-01 Thread vierhaus at physik dot hu-berlin dot de
--- Comment #2 from vierhaus at physik dot hu-berlin dot de 2010-03-01 13:01 --- Created an attachment (id=19998) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19998action=view) Source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43219

[Bug middle-end/42805] [4.5 Regression] FAIL: gcc.c-torture/execute/pr42248.c compilation at -O1 and above

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-03-01 13:14 --- *** This bug has been marked as a duplicate of 41250 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41250] hppa has DECL_VALUE_EXPR decls appearing in the function

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-03-01 13:14 --- *** Bug 42805 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43215] x86-64: Nonstandard instruction movd %xmm0, %rax

2010-03-01 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-03-01 13:31 --- This is done on purpose to provide backward compatibility since vmovq isn't in original x86-64 spec and older assemblers don't support it. From i386-opc.tbl in binutils: // These really shouldn't allow for Reg64

[Bug middle-end/42220] [4.5 Regression] FAIL: gfortran.dg/complex_intrinsic_5.f90 -m64 -O -frename-registers

2010-03-01 Thread dominiq at lps dot ens dot fr
--- Comment #46 from dominiq at lps dot ens dot fr 2010-03-01 13:34 --- Anything else I can do for this pr? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42220

[Bug other/32499] libstdc++ testsuite fails on platforms without ranlib

2010-03-01 Thread ro at gcc dot gnu dot org
--- Comment #13 from ro at gcc dot gnu dot org 2010-03-01 13:59 --- Subject: Bug 32499 Author: ro Date: Mon Mar 1 13:58:48 2010 New Revision: 157144 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157144 Log: libstdc++-v3: PR libstdc++/32499 *

[Bug tree-optimization/43220] New: Paritially optimized __builtin_save_stack/__builtin_restore_stack causes segmentation fault

2010-03-01 Thread bmei at broadcom dot com
I encountered a segmentation fault when executing an unrolled version of 20040811-1.c (tested with -O2) void *volatile p; int main (void) { int n = 0; lab:; { int x[n % 1000 + 1]; x[0] = 1; x[n % 1000] = 2; p = x; n++; } { int x[n % 1000 + 1]; x[0] = 1; x[n % 1000] =

[Bug pch/14940] PCH largefile test fails on various platforms

2010-03-01 Thread ro at gcc dot gnu dot org
--- Comment #37 from ro at gcc dot gnu dot org 2010-03-01 14:07 --- Subject: Bug 14940 Author: ro Date: Mon Mar 1 14:07:12 2010 New Revision: 157145 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157145 Log: PR pch/14940 * gcc.dg/pch/pch.exp: Don't XFAIL

[Bug fortran/42852] gfortran -Wall warns about truncated lines when only a continuation character is truncated

2010-03-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2010-03-01 14:27 --- OK, I will make some adjustments. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43217] Output of Hollerith constants which are not a multiple of 4 bytes

2010-03-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2010-03-01 14:31 --- You folks think of the crazy stuff :) I will check into this. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43215] x86-64: Nonstandard instruction movd %xmm0, %rax

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-03-01 14:55 --- I fail to see why binutils accepting both version should be a reason to not fix gcc. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43220] [4.3/4.4/4.5 Regression] Paritially optimized __builtin_save_stack/__builtin_restore_stack causes segmentation fault

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-01 14:59 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/43183] std::unique_ptr::reset() does not conform to N3035.

2010-03-01 Thread jwakely dot gcc at gmail dot com
--- Comment #5 from jwakely dot gcc at gmail dot com 2010-03-01 15:05 --- OK, I'm back and have had time to look at this. I vaguely remember noticing that the assignment and the deleter invocation happened in the wrong order in our implementation, but I must have forgotten about it as

[Bug tree-optimization/43220] [4.3/4.4/4.5 Regression] Paritially optimized __builtin_save_stack/__builtin_restore_stack causes segmentation fault

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-03-01 15:16 --- The code doesn't do what it says it does. I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/43219] O2, O3 and Os produce wrong code

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-03-01 15:22 --- It works for me. With all versions of 4.3.x. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43219

[Bug lto/43218] [LTO] Conflicting function types cause ICE

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-03-01 15:27 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43217] Output of Hollerith constants which are not a multiple of 4 bytes

2010-03-01 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-03-01 15:37 --- I now check the standard. a) Hollerith constants (not H... in FORMAT) are deleted in Fortran 77, but they were allowed in Fortran 66. F77 A.2 Conflicts with ANSI X3.9-1966 has: Hollerith constants and Hollerith data

[Bug target/43215] x86-64: Nonstandard instruction movd %xmm0, %rax

2010-03-01 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2010-03-01 15:42 --- (In reply to comment #3) I fail to see why binutils accepting both version should be a reason to not fix gcc. What is the minimum binutils required by gcc? Does it support movq? --

[Bug middle-end/41250] hppa has DECL_VALUE_EXPR decls appearing in the function

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-03-01 15:43 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/41250] hppa has DECL_VALUE_EXPR decls appearing in the function

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-03-01 15:44 --- Subject: Bug 41250 Author: rguenth Date: Mon Mar 1 15:43:32 2010 New Revision: 157148 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157148 Log: 2010-03-01 Richard Guenther rguent...@suse.de Martin

[Bug rtl-optimization/43156] [4.5 Regression] SPU-elf ICEs on simple programs

2010-03-01 Thread pinskia at gmail dot com
--- Comment #2 from pinskia at gmail dot com 2010-03-01 15:45 --- Subject: Re: [4.5 Regression] SPU-elf ICEs on simple programs Sent from my iPhone On Mar 1, 2010, at 3:51 AM, rguenth at gcc dot gnu dot org gcc-bugzi...@gcc.gnu.org wrote: --- Comment #1 from rguenth at

[Bug middle-end/43221] New: [LTO] ICE in get_alias_set

2010-03-01 Thread d dot g dot gorbachev at gmail dot com
In file included from :0:0: 1.c: In function 'f': 1.c:13:6: internal compiler error: in get_alias_set, at alias.c:710 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. lto-wrapper: /usr/local/bin/i686-pc-linux-gnu-gcc-4.5.0

[Bug middle-end/43221] [LTO] ICE in get_alias_set

2010-03-01 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-03-01 15:54 --- Created an attachment (id=1) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=1action=view) Testcase Compile with `gcc -O2 -flto 1.c 2.c' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43221

[Bug libstdc++/43183] std::unique_ptr::reset() does not conform to N3035.

2010-03-01 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2010-03-01 16:08 --- Indeed, thanks Jon. Shall we implement this for 4.5.0, or we had better wait for nullptr / nullptr_t, what do you think? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43183

[Bug libstdc++/43183] std::unique_ptr::reset() does not conform to N3035.

2010-03-01 Thread jwakely dot gcc at gmail dot com
--- Comment #7 from jwakely dot gcc at gmail dot com 2010-03-01 16:23 --- I think it should be fixed for 4.5 and then updated when nullptr is available. I assume that LWG 834 will be accepted in some form, so we will need an update at some point anyway, to use nullptr in release and

[Bug debug/43177] Handle at least simple cases of reversible insns in debug info

2010-03-01 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-03-01 16:25 --- Created an attachment (id=2) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=2action=view) gcc45-pr43177.patch Untested patch I'm playing with. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43177

[Bug libstdc++/43183] std::unique_ptr::reset() does not conform to N3035.

2010-03-01 Thread jwakely dot gcc at gmail dot com
--- Comment #8 from jwakely dot gcc at gmail dot com 2010-03-01 16:35 --- Actually, we could just use pointer() everywhere, which would work today and would be equivalent to using nullptr, assuming the current proposed resolution of 834 or something similar. I would be very surprised

[Bug tree-optimization/43220] [4.3/4.4 Regression] Paritially optimized __builtin_save_stack/__builtin_restore_stack causes segmentation fault

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-03-01 16:57 --- Fixed for 4.5 sofar. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to

[Bug tree-optimization/43220] [4.3/4.4 Regression] Paritially optimized __builtin_save_stack/__builtin_restore_stack causes segmentation fault

2010-03-01 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-03-01 16:57 --- Subject: Bug 43220 Author: rguenth Date: Mon Mar 1 16:57:02 2010 New Revision: 157149 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157149 Log: 2010-03-01 Richard Guenther rguent...@suse.de PR

[Bug libstdc++/43183] std::unique_ptr::reset() does not conform to N3035.

2010-03-01 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2010-03-01 17:06 --- Agreed. In two days or so I can take care of committing these changes. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug tree-optimization/43174] Teaching SCEV about ADDR_EXPR causes regression

2010-03-01 Thread amonakov at gcc dot gnu dot org
--- Comment #1 from amonakov at gcc dot gnu dot org 2010-03-01 17:43 --- Created an attachment (id=20001) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20001action=view) Simplify increments in IVopts using final values of inner loop IVs A quick dirty attempt to implement

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-03-01 Thread changpeng dot fang at amd dot com
--- Comment #5 from changpeng dot fang at amd dot com 2010-03-01 18:02 --- I have a fix for this problem. We should not decrease the cost if the cost is infinite. diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 74dadf7..9accda9 100644 ---

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-03-01 Thread sebpop at gmail dot com
--- Comment #6 from sebpop at gmail dot com 2010-03-01 18:10 --- Subject: Re: [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238 On Mon, Mar 1, 2010 at 12:02, changpeng dot fang at amd dot com I have a fix for this problem. We should not decrease the

[Bug testsuite/32547] gnat.dg tasking tests fail on IRIX 5.3

2010-03-01 Thread ro at gcc dot gnu dot org
--- Comment #4 from ro at gcc dot gnu dot org 2010-03-01 18:13 --- Mine. -- ro at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc

[Bug testsuite/32547] gnat.dg tasking tests fail on IRIX 5.3

2010-03-01 Thread ro at gcc dot gnu dot org
--- Comment #5 from ro at gcc dot gnu dot org 2010-03-01 18:14 --- Fixed for 4.5.0: http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00594.html -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/38251] [4.4/4.5 Regression] tools.zip doesn't build on systems with short command lines

2010-03-01 Thread ro at gcc dot gnu dot org
-- ro at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|aph at gcc dot gnu dot org |ro at gcc dot gnu dot org Status|UNCONFIRMED

[Bug libgcj/38251] [4.4/4.5 Regression] tools.zip doesn't build on systems with short command lines

2010-03-01 Thread ro at gcc dot gnu dot org
--- Comment #13 from ro at gcc dot gnu dot org 2010-03-01 18:15 --- Fixed for 4.5.0: http://gcc.gnu.org/ml/java-patches/2010-q1/msg00021.html -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/32499] libstdc++ testsuite fails on platforms without ranlib

2010-03-01 Thread ro at gcc dot gnu dot org
--- Comment #14 from ro at gcc dot gnu dot org 2010-03-01 18:16 --- Mine. -- ro at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|bonzini at gnu dot

[Bug other/32499] libstdc++ testsuite fails on platforms without ranlib

2010-03-01 Thread ro at gcc dot gnu dot org
--- Comment #15 from ro at gcc dot gnu dot org 2010-03-01 18:16 --- Fixed for 4.5.0: http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00139.html -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug pch/14940] PCH largefile test fails on various platforms

2010-03-01 Thread ro at gcc dot gnu dot org
--- Comment #38 from ro at gcc dot gnu dot org 2010-03-01 18:17 --- Fixed for Solaris 2 for 4.5.0: http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00979.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14940

[Bug fortran/42900] gfortran.dg/stat_[12].f90 may fail on NFS filesystems

2010-03-01 Thread ro at gcc dot gnu dot org
--- Comment #4 from ro at gcc dot gnu dot org 2010-03-01 18:19 --- Mine. -- ro at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc

[Bug fortran/42900] gfortran.dg/stat_[12].f90 may fail on NFS filesystems

2010-03-01 Thread ro at gcc dot gnu dot org
--- Comment #5 from ro at gcc dot gnu dot org 2010-03-01 18:19 --- Fixed for 4.5.0: http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00992.html -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43209] [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238

2010-03-01 Thread sebpop at gmail dot com
--- Comment #7 from sebpop at gmail dot com 2010-03-01 18:21 --- Subject: Re: [4.5 Regression] ICE in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238 You should fuse this condition into the previous condition expression to avoid the inner if. Like this: diff --git

[Bug rtl-optimization/40761] [4.4/4.5 Regression] IRA memory hog for insanely nested loops

2010-03-01 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2010-03-01 19:27 --- This now causes an ICE: i...@linux-fd1f:/tmp cat haha.c #define ONE while (b()) #define TEN ONE ONE ONE ONE ONE ONE ONE ONE ONE ONE #define HUN TEN TEN TEN TEN TEN TEN TEN TEN TEN TEN #define THOU

[Bug target/43215] x86-64: Nonstandard instruction movd %xmm0, %rax

2010-03-01 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2010-03-01 20:30 --- (In reply to comment #4) What is the minimum binutils required by gcc? Does it support movq? install.texi says that i?86-linux-gnu requires 2.13.1. Since you are listed as x86 binutils maintainer, I would expect that

[Bug target/43215] x86-64: Nonstandard instruction movd %xmm0, %rax

2010-03-01 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2010-03-01 20:36 --- (In reply to comment #5) install.texi says that i?86-linux-gnu requires 2.13.1. binutils-2.13.1.tar.bz2 07-Nov-2002 23:45 9.5M binutils-2.13.1.tar.gz07-Nov-2002 23:45 12M IMNSHO, I really

[Bug libstdc++/43183] std::unique_ptr::reset() does not conform to N3035.

2010-03-01 Thread redi at gcc dot gnu dot org
-- redi at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |redi at gcc dot gnu dot org |dot org

[Bug libstdc++/43183] std::unique_ptr::reset() does not conform to N3035.

2010-03-01 Thread tjgolubi at netins dot net
--- Comment #10 from tjgolubi at netins dot net 2010-03-01 22:22 --- Subject: Re: std::unique_ptr::reset() does not conform to N3035. I see your point. I think it should still check for resetting to the same value to avoid duplicate deletes later. terry void

[Bug libstdc++/43183] std::unique_ptr::reset() does not conform to N3035.

2010-03-01 Thread redi at gcc dot gnu dot org
--- Comment #11 from redi at gcc dot gnu dot org 2010-03-01 22:30 --- (In reply to comment #10) I think it should still check for resetting to the same value to avoid duplicate deletes later. I disagree, double delete can only happen in the case of a programming error. Look at my

[Bug libstdc++/43183] std::unique_ptr::reset() does not conform to N3035.

2010-03-01 Thread redi at gcc dot gnu dot org
--- Comment #12 from redi at gcc dot gnu dot org 2010-03-01 22:38 --- Bear in mind that a custom deleter with custom pointer type might have very different semantics for comparing pointer values and for invoking the deleter. Consider a custom D::pointer which keeps a generation count,

[Bug debug/42897] [4.5 Regression] yet another ice in verify_ssa

2010-03-01 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-03-01 22:53 --- Reduced testcase: int gif_read_lzw(int input_code_size) { int i, incode; static short fresh = 0, code_size, set_code_size, clear_code, table[2][4096], *sp; set_code_size = input_code_size; clear_code = 1

[Bug libfortran/32972] performance of pack/unpack

2010-03-01 Thread tkoenig at gcc dot gnu dot org
--- Comment #26 from tkoenig at gcc dot gnu dot org 2010-03-01 22:53 --- I think pack and unpack are OK now. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/43222] New: two DEBUG i = 0 generated after loop copy header

2010-03-01 Thread pinskia at gcc dot gnu dot org
I Noticed this while looking into the testcase of 42897, sometimes we generate a second DEBUG i = 0 when doing a loop copy header. The second debug statement does not even have a line number associated with it either (but that might be because it was from the phi). Simple testcase: int

[Bug debug/43222] two DEBUG i = 0 generated after loop copy header

2010-03-01 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-03-01 23:05 --- And there are actually two duplicated debug statements. One for the i = 0 and then one for i = i_11 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43222

[Bug c++/43223] New: c++0x: Cannot init a R-value reference with L-value

2010-03-01 Thread rodrigorivascosta at gmail dot com
The following function fails to compile with C++0x: int main() { int i = 3; int x = i; } $ g++ -std=gnu++0x test.cpp -o test test.cpp:4:15: error: invalid initialization of reference of type 'int' from expression of type 'int' -- Summary: c++0x: Cannot init a R-value

  1   2   >