[Bug fortran/36161] gfc_error formats are not marked gcc-internal-format in po file

2010-01-03 Thread burnus at gcc dot gnu dot org
--- Comment #15 from burnus at gcc dot gnu dot org 2010-01-04 07:45 --- I believe the patch at http://gcc.gnu.org/ml/fortran/2010-01/msg00023.html should be sufficient. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36161

[Bug fortran/40849] String extraction for translation fails when concatenating with preprocessor symbols

2010-01-03 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-01-04 07:44 --- Should be FIXED now. I did what was proposed in comment 0: Adding the version via %s. -- burnus at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/41872] wrong-code: Issues with allocatable scalars

2010-01-03 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2010-01-04 07:43 --- Still TO DO: - SAVED local variables are (probably) mishandled - Check whether other things such as allocatable scalar components, (absent/present) optional dummys etc. work. - allocatable-scalar returning functio

[Bug fortran/42517] -fcheck=recursion does not work with -fopenmp

2010-01-03 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2010-01-04 07:31 --- Subject: Bug 42517 Author: burnus Date: Mon Jan 4 07:30:49 2010 New Revision: 155606 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155606 Log: 2009-01-04 Tobias Burnus PR fortran/41872 *

[Bug fortran/41872] wrong-code: Issues with allocatable scalars

2010-01-03 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2010-01-04 07:31 --- Subject: Bug 41872 Author: burnus Date: Mon Jan 4 07:30:49 2010 New Revision: 155606 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155606 Log: 2009-01-04 Tobias Burnus PR fortran/41872 *

[Bug fortran/40849] String extraction for translation fails when concatenating with preprocessor symbols

2010-01-03 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-01-04 07:31 --- Subject: Bug 40849 Author: burnus Date: Mon Jan 4 07:30:49 2010 New Revision: 155606 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155606 Log: 2009-01-04 Tobias Burnus PR fortran/41872 *

[Bug c++/42603] New: decltype not supported for parent class specifier

2010-01-03 Thread gccbugs at blaggart dot com
file: test.cpp template T make(); struct p {}; struct c : decltype(make()) {}; compilation command: g++ -c -std=c++0x test.cpp output: test.cpp:5: error: expected class-name before 'decltype' test.cpp:5: error: expected '{' before 'decltype' test.cpp:5: error: expected unqualified-id before '{

[Bug libgomp/42602] New: libgomp.fortran/recursion1.f90 aborted at random

2010-01-03 Thread hjl dot tools at gmail dot com
libgomp.fortran/recursion1.f90 aborted at random on Linux/Core i7. There are --- implicit none integer :: i,s s=0 !$omp parallel do private(i) shared(s) do i=1,10 call sub(i) end do !$omp end parallel do if (s/=55) call abort() contains subroutine sub (n) integer :: n s = s + n

[Bug driver/42520] lto1 does not see -march and -mtune options with -fuse-linker-plugin

2010-01-03 Thread hjl dot tools at gmail dot com
--- Comment #8 from hjl dot tools at gmail dot com 2010-01-04 04:28 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|NEW

[Bug fortran/42568] BLOCKDATA referenced in EXTERNAL not loading from library

2010-01-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2010-01-04 03:52 --- Fixed the script on Cygwin: $ ./bug1.sh ar: creating libex.a COMPILER gfortran-4 BAD LOAD ix2(4)= ar: creating libex.a COMPILER gfc BAD LOAD ix2(4)= ar: creating libex.a COMPILER g77 GOOD LOAD ix2(4)=abcdefgh

[Bug fortran/42568] BLOCKDATA referenced in EXTERNAL not loading from library

2010-01-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2010-01-04 03:40 --- With Linux: $ ./bug1.sh ar: creating libex.a COMPILER g77 GOOD LOAD ix2(4)=abcdefghijklmnopqrst ar: creating libex.a COMPILER g95 GOOD LOAD ix2(4)=abcdefghijklmnopqrst ar: creating libex.a COMPILER gfortran G

[Bug fortran/42568] BLOCKDATA referenced in EXTERNAL not loading from library

2010-01-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2010-01-04 03:25 --- OK, I could not get the script to run for some reason. However, I manually performed the steps in the script: gfortran-4 -c juinit2.f ar -r libex.a juinit2.o gfortran-4 bug.f -L. -lex -o bug ./bug

[Bug libstdc++/42600] istream.eof() returns wrong value after reading bool

2010-01-03 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-01-04 02:21 --- This behavior changed as response to libstdc++/37958, I spent way to much time on it, Daniel, believe me ;) Anyway, as an additional data point, SunStudio also agrees with current libstdc++. -- paolo dot ca

[Bug target/42601] New: Simplify code to address function static variables with option -fpic

2010-01-03 Thread carrot at google dot com
Compile following code with options -mthumb -fpic -Os, int foo(int j) { static int i; int t = i; i = j; return t; } GCC generates: foo: ldr r3, .L2 // A ldr r2, .L2+4 // B .LPIC0: add r3, pc// C add r3, r3, r2// D

[Bug java/42409] org.eclipse.jdt.internal.compiler.batch.GCCMain not found

2010-01-03 Thread jlpoole at pon dot net
--- Comment #7 from jlpoole at pon dot net 2010-01-04 01:51 --- Thank you. I've updated trunk to Revision: 155601. Wiped out build and am running make (it will take a few days). I'll update with my results. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42409

[Bug middle-end/42577] [4.4 Regression] array bounds false positive with -O3, goes away with -O2

2010-01-03 Thread matt at use dot net
--- Comment #10 from matt at use dot net 2010-01-04 01:04 --- what I mean to ask is: can this fix be committed to the 4.4 branch? I'd prefer to minimize the number of local patches we apply to our custom build. Thanks for the quick fix, by the way! :) -- http://gcc.gnu.org/bugzilla

[Bug driver/42520] lto1 does not see -march and -mtune options with -fuse-linker-plugin

2010-01-03 Thread hjl at gcc dot gnu dot org
--- Comment #7 from hjl at gcc dot gnu dot org 2010-01-04 00:53 --- Subject: Bug 42520 Author: hjl Date: Mon Jan 4 00:52:50 2010 New Revision: 155601 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155601 Log: Pass -m* and -v to -plugin-opt gcc/ 2010-01-03 H.J. Lu

[Bug libstdc++/42600] New: istream.eof() returns wrong value after reading bool

2010-01-03 Thread d dot frey at gmx dot de
The following code prints "true" with 4.3.3, but "false" with 4.4.2 and 4.5-20091231. I think printing "true" is correct or am I missing something? #include #include #include int main() { bool result; std::istringstream is( "true" ); is >> std::boolalpha >> result; std::cout << std::bo

[Bug c/42599] arm-elf-gcc 4.4.2 internal compiler error in expand_expr_addr_1 at expr.c:6835

2010-01-03 Thread conr2286 at vandals dot uidaho dot edu
--- Comment #1 from conr2286 at vandals dot uidaho dot edu 2010-01-04 00:26 --- Created an attachment (id=19459) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19459&action=view) Preprocessed rtcISR.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42599

[Bug c/42599] New: arm-elf-gcc 4.4.2 internal compiler error in expand_expr_addr_1 at expr.c:6835

2010-01-03 Thread conr2286 at vandals dot uidaho dot edu
Host System: OS/X 10.6.2 Target System: arm7tdmi Compiler Configuration Options: jconradw:~ conr2286$ arm-elf-gcc --v Using built-in specs. Target: arm-elf Configured with: ../gcc-4.4.2/configure --target=arm-elf --prefix=/Users/mfischer/Projekte/development/yagarto/install --disable-nls --disa

[Bug c/42596] Integer/Floating point vector casts generate XMM register moves from and to the same register

2010-01-03 Thread adam at consulting dot net dot nz
--- Comment #3 from adam at consulting dot net dot nz 2010-01-03 23:20 --- This is a demo of poor code generation with XMM global register variables ("hardregs") and the vector extensions. Intrinsics are too low level. The vector extensions can continue to work on a platform without x86

[Bug c++/40561] [4.3 Regression] code does not compile -- compiles fine when replacing != with !(==)

2010-01-03 Thread mikpe at it dot uu dot se
--- Comment #10 from mikpe at it dot uu dot se 2010-01-03 23:15 --- (In reply to comment #9) > Fascinating indeed. If someone can bisect where during 4.4 development we > fixed this again or where during 4.3 development we broke it that would be > nice. This test case was fixed for 4.4

[Bug tree-optimization/18219] [4.3/4.4 Regression] bloats code by 31%

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #31 from rguenth at gcc dot gnu dot org 2010-01-03 23:14 --- Heh. I wonder how we can reliably add testcases for code size issues ... can we either dump size estimates or extract object .text section sizes? Ian may know arm people who I suspect would be interested in contri

[Bug c/39959] [4.5 Regression] IMA is broken

2010-01-03 Thread steven at gcc dot gnu dot org
--- Comment #16 from steven at gcc dot gnu dot org 2010-01-03 23:08 --- Can we close this bug as WONTFIX, and remove IMA for GCC 4.5? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39959

[Bug target/39725] [4.5 Regression][cond-optab] MIPS pessimizations on floating-point

2010-01-03 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2010-01-03 23:06 --- This bug needs TLC from a MIPS person. At least a confirmation would be nice. -- steven at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/18219] [4.3/4.4 Regression] bloats code by 31%

2010-01-03 Thread steven at gcc dot gnu dot org
--- Comment #30 from steven at gcc dot gnu dot org 2010-01-03 22:57 --- With the following compiler: $ ./xgcc --version xgcc (GCC) 4.5.0 20091228 (experimental) [trunk revision 155486] Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying con

[Bug rtl-optimization/41862] [4.5 Regression] -fgcse-sm causes bootstrap-debug comparison failures

2010-01-03 Thread steven at gcc dot gnu dot org
--- Comment #18 from steven at gcc dot gnu dot org 2010-01-03 22:46 --- Works for me now. -- steven at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug target/41605] Static linking of libgcc/libgfortran/libstdc++ can cause inconsistent symbol resolution.

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-01-03 22:45 --- Is this bug now fixed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41605

[Bug testsuite/42583] [4.5 Regression] FAIL: gfortran.dg/gomp/recursion1.f90: gfortran: libgomp.spec: No such file or directory

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-01-03 22:45 --- Subject: Bug 42583 Author: rguenth Date: Sun Jan 3 22:44:56 2010 New Revision: 155597 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155597 Log: 2010-01-03 Richard Guenther PR testsuite/42583

[Bug testsuite/42583] [4.5 Regression] FAIL: gfortran.dg/gomp/recursion1.f90: gfortran: libgomp.spec: No such file or directory

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

[Bug rtl-optimization/41862] [4.5 Regression] -fgcse-sm causes bootstrap-debug comparison failures

2010-01-03 Thread steven at gcc dot gnu dot org
--- Comment #17 from steven at gcc dot gnu dot org 2010-01-03 22:41 --- Subject: Bug 41862 Author: steven Date: Sun Jan 3 22:41:22 2010 New Revision: 155596 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155596 Log: PR rtl-optimization/41862 * store-motion.c (st

[Bug middle-end/42577] [4.4 Regression] array bounds false positive with -O3, goes away with -O2

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-01-03 22:33 --- The patch should apply more-or-less literally to the 4.4 branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42577

[Bug rtl-optimization/41862] [4.5 Regression] -fgcse-sm causes bootstrap-debug comparison failures

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2010-01-03 22:33 --- If it also passes testing it is ok for trunk (it does make sense to me). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41862

[Bug target/36043] gcc reads 8 bytes for a struct of size 6 which leads to sigsegv

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2010-01-03 22:32 --- The issue is in a very twisted piece of GCC where the chances to break sth are bigger that to fix sth ;) And it isn't a regression, so it's not on too many peoples radar (nor does it seem to happen in practice and

[Bug driver/42520] lto1 does not see -march and -mtune options with -fuse-linker-plugin

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

[Bug lto/42598] -v/-m* don't work with plugin

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-03 22:29 --- *** This bug has been marked as a duplicate of 42520 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 Thread redi at gcc dot gnu dot org
--- Comment #13 from redi at gcc dot gnu dot org 2010-01-03 22:10 --- Created an attachment (id=19458) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19458&action=view) updated patch this fixes the formatting in the previous patch, includes the call_once workaround, and updates the

[Bug lto/42598] -v/-m* don't work with plugin

2010-01-03 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-01-03 21:50 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00119.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug lto/42598] New: -v/-m* don't work with plugin

2010-01-03 Thread hjl dot tools at gmail dot com
Plugin never passes -v -mtune=xxx to lto-wrapper. -- Summary: -v/-m* don't work with plugin Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 Thread paolo dot carlini at oracle dot com
--- Comment #12 from paolo dot carlini at oracle dot com 2010-01-03 21:02 --- ... if we have something rather satisfactory wrt all the other isses / testcases we are aware of in this area the sooner we commit the code, the better: I'm sure that Daniel can help testing it further on his

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 Thread paolo dot carlini at oracle dot com
--- Comment #11 from paolo dot carlini at oracle dot com 2010-01-03 20:57 --- By the way, Jon, I don't think we should delay committing this work only because of DR 817, after all isn't even Ready... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42593

[Bug target/36043] gcc reads 8 bytes for a struct of size 6 which leads to sigsegv

2010-01-03 Thread matt at use dot net
--- Comment #14 from matt at use dot net 2010-01-03 20:30 --- Still happening on 4.5.0 20091228 (and gcc 4.4.1) on Ubuntu 9.10/amd64). I found that it goes away in 3 separate instances when turning on -finline-functions. The last 2 instances of memory corruption I am running into are fun

[Bug rtl-optimization/41862] [4.5 Regression] -fgcse-sm causes bootstrap-debug comparison failures

2010-01-03 Thread steven at gcc dot gnu dot org
--- Comment #15 from steven at gcc dot gnu dot org 2010-01-03 20:02 --- Created an attachment (id=19457) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19457&action=view) Ignore all DEBUG_INSNs in store-motion.c With this patch I can complete a bootstrap on ia64-unknown-linux-gnu w

[Bug middle-end/42577] [4.4 Regression] array bounds false positive with -O3, goes away with -O2

2010-01-03 Thread matt at use dot net
--- Comment #8 from matt at use dot net 2010-01-03 19:57 --- can this be backported to 4.4 as well so I can integrate it into our 4.4-based toolchain? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42577

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2010-01-03 Thread andreast at gcc dot gnu dot org
--- Comment #7 from andreast at gcc dot gnu dot org 2010-01-03 19:38 --- [tc:~] andreast% /usr/local/bin/gcj45 -o ecj --main=org.eclipse.jdt.internal.compiler.batch.Main ecj.jar [tc:~] andreast% vi HelloWorld.java public class HelloWorld { public static void main(String args[]) {

[Bug rtl-optimization/42175] Slow compile and much memory use at -O1

2010-01-03 Thread rakdver at kam dot mff dot cuni dot cz
--- Comment #8 from rakdver at kam dot mff dot cuni dot cz 2010-01-03 19:37 --- Subject: Re: Slow compile and much memory use at -O1 > --- Comment #7 from rguenth at gcc dot gnu dot org 2010-01-03 17:03 > --- > Well, obviously it is because > > template > gmic& gmi

[Bug lto/42581] "gcc -v" doesn't work with lto

2010-01-03 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-01-03 19:16 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00116.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug java/42409] org.eclipse.jdt.internal.compiler.batch.GCCMain not found

2010-01-03 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-01-03 18:55 --- That's just a misunderstanding what DESTDIR is. DESTDIR just says a directory where the / dir of installed files starts. It is used when you e.g. want to install everything into a temporary directory to package it up

[Bug java/42409] org.eclipse.jdt.internal.compiler.batch.GCCMain not found

2010-01-03 Thread jlpoole at pon dot net
--- Comment #5 from jlpoole at pon dot net 2010-01-03 18:43 --- Here's my configuration log: plug build # pwd /mnt/seagate2/download/gnu/build plug build # head config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes

[Bug java/42409] org.eclipse.jdt.internal.compiler.batch.GCCMain not found

2010-01-03 Thread jlpoole at pon dot net
--- Comment #4 from jlpoole at pon dot net 2010-01-03 18:30 --- I think I found the problem: the compiler is using an incorrect path, e.g. "/usr/share/java", to find the ecj.jar file and the other jar files, libgcj-4.5.0.jar libgcj-tools-4.5.0.jar, when it should have used "/usr/loc

[Bug rtl-optimization/41862] [4.5 Regression] -fgcse-sm causes bootstrap comparison failures

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2010-01-03 18:25 --- It means that gcse-sm generates different code with -g vs. -g0 which likely means that it is confused by the extra DEBUG_INSNs that appear with -g or that its generated code depends on things like insn uids. --

[Bug java/42409] org.eclipse.jdt.internal.compiler.batch.GCCMain not found

2010-01-03 Thread jlpoole at pon dot net
--- Comment #3 from jlpoole at pon dot net 2010-01-03 18:23 --- Created an attachment (id=19456) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19456&action=view) work-around output To overcome the misdirected path, I created a "java" directory under /usr/share and copied the /usr/

[Bug lto/42528] ICE with -flto and -fsigned-char

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-01-03 18:21 --- Created an attachment (id=19455) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19455&action=view) patch Patch I am going to test. Further testing appreciated. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug java/42409] org.eclipse.jdt.internal.compiler.batch.GCCMain not found

2010-01-03 Thread jlpoole at pon dot net
--- Comment #2 from jlpoole at pon dot net 2010-01-03 18:21 --- Created an attachment (id=19454) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19454&action=view) output under normal circumstances In this output, the compiler incorrectly looks for the ecj.jar under /usr/share/java

[Bug lto/42580] Missing command line option file causes ICE

2010-01-03 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2010-01-03 18:14 --- Really fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|UN

[Bug lto/42528] ICE with -flto and -fsigned-char

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-03 18:12 --- Which seems to be because of CCP which folds D.2023_3 = __builtin___strcpy_chk (&p[1], &"vwxyz"[0], 31); with unsigned LHS to D.2023_3 = ( *) __builtin_memcpy (&p[1], &"vwxyz"[0], 6); which requires a temporary a

[Bug libfortran/42420] libgfortran fails to open large files on MINGW32

2010-01-03 Thread jb at gcc dot gnu dot org
--- Comment #8 from jb at gcc dot gnu dot org 2010-01-03 18:09 --- Subject: Bug 42420 Author: jb Date: Sun Jan 3 18:09:37 2010 New Revision: 155593 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155593 Log: PR libfortran/42420 Large file capable stat for MingW Modified: tr

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 Thread redi at gcc dot gnu dot org
--- Comment #10 from redi at gcc dot gnu dot org 2010-01-03 18:07 --- OK P.S. (In reply to comment #8) > > (the ability to use this workaround was the main reason I fixed > std::bind > recently) I think I've mentioned to Paolo in private mail that we could use bind (specifically, bi

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2010-01-03 18:05 --- Great. Let's go ahead this way, then! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42593

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 Thread redi at gcc dot gnu dot org
--- Comment #8 from redi at gcc dot gnu dot org 2010-01-03 17:57 --- Created an attachment (id=19453) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19453&action=view) preliminary patch I'm testing this, which is not ready for checkin, but updates std::bind to handle rvalues and fi

[Bug fortran/42597] New: ICE with procedure pointer initialized to null()

2010-01-03 Thread mrestelli at gmail dot com
The attached code (which seems fine to me) produces an internal compiler error. gfortran -c pp.f90 -o pp.o f951: internal compiler error: in gfc_build_null_descriptor, at fortran/trans-array.c:372 gfortran --version GNU Fortran (GCC) 4.5.0 20091229 (experimental) module mod_a implicit none pu

[Bug driver/41564] -fdump-tree-all for lto does not work as expected

2010-01-03 Thread hjl dot tools at gmail dot com
--- Comment #20 from hjl dot tools at gmail dot com 2010-01-03 17:37 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|NEW

[Bug lto/42528] ICE with -flto and -fsigned-char

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-03 17:31 --- The same problem exists for builtin functions that return or take arguments of type char *. They change signature according to -f[un]signed-char which causes for example FAIL: gcc.c-torture/execute/builtins/strcpy-

[Bug rtl-optimization/41862] [4.5 Regression] -fgcse-sm causes bootstrap comparison failures

2010-01-03 Thread steven at gcc dot gnu dot org
--- Comment #13 from steven at gcc dot gnu dot org 2010-01-03 17:22 --- For traceability: http://gcc.gnu.org/ml/gcc-patches/2009-12/msg01114.html I somehow forgot to add the PR number to the commit. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41862

[Bug rtl-optimization/41862] [4.5 Regression] -fgcse-sm causes bootstrap comparison failures

2010-01-03 Thread steven at gcc dot gnu dot org
--- Comment #12 from steven at gcc dot gnu dot org 2010-01-03 17:15 --- Re. comment #11: If I configure with "--without-build-config" on ia64-unknown-linux-gnu, with -fgcse-sm enabled, then the bootstrap completes successfully (all languages except ada). If I configure without the extra

[Bug driver/41564] -fdump-tree-all for lto does not work as expected

2010-01-03 Thread hjl at gcc dot gnu dot org
--- Comment #19 from hjl at gcc dot gnu dot org 2010-01-03 17:03 --- Subject: Bug 41564 Author: hjl Date: Sun Jan 3 17:03:38 2010 New Revision: 155591 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155591 Log: Pass -dumpbase and -dumpdir to gcc for LTO gcc/ 2010-01-03 H.J. L

[Bug rtl-optimization/42175] Slow compile and much memory use at -O1

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-01-03 17:03 --- Well, obviously it is because template gmic& gmic::parse(...) { ... while (positionhttp://gcc.gnu.org/bugzilla/show_bug.cgi?id=42175

[Bug rtl-optimization/42175] Slow compile and much memory use at -O1

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-01-03 16:52 --- Maybe Zdenek has an idea why RTL LIM is so slow. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/42199] A problem with -maltivec

2010-01-03 Thread galtgendo at o2 dot pl
--- Comment #2 from galtgendo at o2 dot pl 2010-01-03 16:46 --- Created an attachment (id=19452) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19452&action=view) preprocessed sources Finally I've got a response in the Gentoo bug. Info: Using built-in specs. Target: powerpc-unknown

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 Thread paolo dot carlini at oracle dot com
--- Comment #7 from paolo dot carlini at oracle dot com 2010-01-03 16:34 --- Let's keep a P1 for now, we really don't want to forget. -- paolo dot carlini at oracle dot com changed: What|Removed |Added -

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 Thread redi at gcc dot gnu dot org
--- Comment #6 from redi at gcc dot gnu dot org 2010-01-03 16:28 --- ok, understood - I'm looking at finishing the bind changes at the moment -- redi at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/42587] bswap not recognized for memory

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-03 16:26 --- Similar example not handled by bswap recognition: typedef unsigned char u8; typedef unsigned int u32; union __anonunion { u32 value; u8 bytes[4]; }; u32 acpi_ut_dword_byte_swap (u32 value) { union __anonunion

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2010-01-03 16:03 --- Jon, I'm raising Priority and Severity not because the isssue per se is that deadly serious (after all the whole C++0x is experimental, nothing should be really critical about it), but because we want to make s

[Bug tree-optimization/42587] bswap not recognized for memory

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-03 16:01 --- SRA here again does somthing stupid: from : acpi_ut_track_stack_ptr (); in.value = value_1(D); D.1966_2 = in.bytes[3]; out.bytes[0] = D.1966_2; D.1967_3 = in.bytes[2]; out.bytes[1] = D.1967_3; D.1968_

[Bug rtl-optimization/42592] really bad register allocation for x86

2010-01-03 Thread andi-gcc at firstfloor dot org
--- Comment #2 from andi-gcc at firstfloor dot org 2010-01-03 15:40 --- An obvious improvement would be to use the non callee clobbered registers as temporal storage, instead of putting into registers that just get spilled again. I think one of the other compilers in the comparison did t

[Bug bootstrap/42424] [4.5 Regression] in-tree GMP/MPFR/MPC bootstrap fails

2010-01-03 Thread ghazi at gcc dot gnu dot org
--- Comment #6 from ghazi at gcc dot gnu dot org 2010-01-03 15:31 --- (In reply to comment #3) > OK, I can reproduce the issue. > The problem is that mpc isn't told where to find the gmp and mpfr libraries. > [...] > Except that on some targets, ".libs" is actually called "_libs". I don

[Bug rtl-optimization/42589] bswap optimization does not work for 32bit (but for 64bit) on 64bit registers

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

[Bug rtl-optimization/42589] bswap optimization does not work for 32bit (but for 64bit) on 64bit registers

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-01-03 15:23 --- Subject: Bug 42589 Author: rguenth Date: Sun Jan 3 15:23:29 2010 New Revision: 155588 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155588 Log: 2010-01-03 Richard Guenther PR tree-optimization/

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-01-03 15:10 --- Ok, Jon, thanks. At some point, however, *soon* I'm afraid given the gcc4.5 schedule, we'll have to make a tough choice: if updating only std::function leads to bad regressions in common usages of std::bind, an

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 Thread redi at gcc dot gnu dot org
--- Comment #3 from redi at gcc dot gnu dot org 2010-01-03 15:07 --- >From a quick look, I think the problem is that std::function now uses perfect forwarding, but std::bind doesn't yet. So invoking the function passes an rvalue to _Bind::operator() which fails to bind to _Args& Previous

[Bug c/42596] Integer/Floating point vector casts generate XMM register moves from and to the same register

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-03 14:50 --- Likely because you are using hardregs. Re-do the testcase with intrinsics please. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42596

[Bug c/42596] Integer/Floating point vector casts generate XMM register moves from and to the same register

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-03 14:46 --- *** Bug 42595 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42596

[Bug c/42595] Integer/Floating point casts between vector types generate

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

[Bug lto/42528] ICE with -flto and -fsigned-char

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-03 14:33 --- This is because va_list_type_node is char * on some targets and so pointer-to char types get globbed into it. But va_list_type_node is re-constructed as char * at IL read time and thus we read back unsigned char * a

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-01-03 14:26 --- Thanks. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c/42596] New: Integer/Floating point vector casts generate XMM register moves from and to the same register

2010-01-03 Thread adam at consulting dot net dot nz
/* GCC does not permit a vector of a union type. To dynamically store both integer and float data in an XMM register define an integer vector and cast to a float vector whenever a floating point operation is required upon the data (or use a union to perform the type conversion). Instead

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 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 c/42595] New: Integer/Floating point casts between vector types generate

2010-01-03 Thread adam at consulting dot net dot nz
-- Summary: Integer/Floating point casts between vector types generate Product: gcc Version: 4.4.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc d

[Bug target/41311] [4.5 regression] m68k - FFmpeg crashes when converting mpg to avi

2010-01-03 Thread nospamname at web dot de
--- Comment #13 from nospamname at web dot de 2010-01-03 13:57 --- Can this report reopen please and target change to m68k-* ? Bug happen also in m68k-elf.See here the two fjlt .L319 to diffrent labels.I remove lots compiler options to make it more simple.But ffmpeg error is same. I try

[Bug middle-end/22141] [4.3/4.4/4.5 Regression] Missing optimization when storing structures

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

[Bug rtl-optimization/42594] no store merging for structure stores

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-03 13:30 --- It is. *** This bug has been marked as a duplicate of 22141 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/42594] no store merging for structure stores

2010-01-03 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfir

[Bug rtl-optimization/42594] no store merging for structure stores

2010-01-03 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2010-01-03 13:22 --- Not sure, but looks like a dup of bug 22141. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42594

[Bug rtl-optimization/42594] no store merging for structure stores

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-03 13:20 --- Old problem - there's a duplicate report even somewhere with a patch from Jakub. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42594

[Bug tree-optimization/42586] load-modify-store on x86 should be a single instruction

2010-01-03 Thread andi-gcc at firstfloor dot org
--- Comment #19 from andi-gcc at firstfloor dot org 2010-01-03 13:18 --- Here's another example with the bogus stack frame problem with a tail call (the embarassing website has quite a lot of similar cases, normally near the tail of the tables with 16 vs 22 bytes e.g. against sun cc wh

[Bug rtl-optimization/42589] bswap optimization does not work for 32bit (but for 64bit) on 64bit registers

2010-01-03 Thread andi-gcc at firstfloor dot org
--- Comment #5 from andi-gcc at firstfloor dot org 2010-01-03 13:11 --- I would expect two bswaps yes, like llvm generates I also can't see how this should be a bad idea for any target with a bswap like operation (unless it's 64bit) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2010-01-03 Thread gerald at pfeifer dot com
--- Comment #6 from gerald at pfeifer dot com 2010-01-03 13:10 --- Would you mind trying again with the latest snapshot/SVN version of GCC (or the current version of lang/gcc45, if you prefer)? There have been some improvements recently to libffi which may make a difference. (It does l

[Bug rtl-optimization/42594] New: no store merging for structure stores

2010-01-03 Thread andi-gcc at firstfloor dot org
Extracted from http://embed.cs.utah.edu/embarrassing/dec_09/harvest/gcc-head_llvm-gcc-head/ I've seen this in multiple examples both compared to llvm and icc. The other compilers merge adjacent stores to structures in memory, gcc doesn't. Simple toy example: struct foo { short a;

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function

2010-01-03 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-01-03 12:47 --- Thanks Daniel. Jon, can you have a look? I verified that the tr1 code we were using in 4.4.x and before is fine, thus should be either the std::function changes vs rvalue references or, less likely I believe, t

[Bug libstdc++/42593] New: [c++0x] std::bind not assignable to std::function

2010-01-03 Thread d dot frey at gmx dot de
The following code compiles fine with GCC 4.3.3 and 4.4.2, but fails to compile with 4.5 (snapshot from 2009-12-31): #include void f( int ) {} int main() { std::function< void( int ) > pf = std::bind( &f, std::placeholders::_1 ); } with the following error: In file included from t.cc:1:0: /home

  1   2   >