[Bug middle-end/42952] [4.5 Regression] possible integer wrong code bug

2010-02-03 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Component|c |middle-end Keywords||wrong-code

[Bug target/30282] Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none

2010-02-03 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2010-02-04 07:36 --- *** Bug 42953 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/42953] bad epilogue scheduling leads to stack corruption

2010-02-03 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-02-04 07:36 --- *** This bug has been marked as a duplicate of 30282 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/42953] bad epilogue scheduling leads to stack corruption

2010-02-03 Thread wilson at gcc dot gnu dot org
--- Comment #2 from wilson at gcc dot gnu dot org 2010-02-04 07:34 --- Created an attachment (id=19802) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19802&action=view) Assembly code showing bad epilogue scheduling. This was generated with -O2 -fno-omit-frame-pointer. -- http

[Bug target/42953] bad epilogue scheduling leads to stack corruption

2010-02-03 Thread wilson at gcc dot gnu dot org
--- Comment #1 from wilson at gcc dot gnu dot org 2010-02-04 07:30 --- Created an attachment (id=19801) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19801&action=view) testcase for gcc mainline (rev 156310) GCC generates incorrect epilogue code for this testcase with -O2 -fno-omi

[Bug target/42953] New: bad epilogue scheduling leads to stack corruption

2010-02-03 Thread wilson at gcc dot gnu dot org
The svr4 ABI requires that r1 (SP) always be valid, so it must be restored at the end of the epilogue, after the last register restore read from the stack frame. Unfortunately, in some cases, the PPC port is scheduling the epilogue set of r1 before some register restores. If you take an interrupt

[Bug c++/42472] class members not getting assigned access thru another method

2010-02-03 Thread k_suresh_babu at yahoo dot com
--- Comment #4 from k_suresh_babu at yahoo dot com 2010-02-04 07:07 --- Subject: Re: class members not getting assigned access thru another method palo, thank you for the clarification. You can close the bug. regards, sureshbk. --- On Fri, 12/25/09, paolo dot carlini at oracle dot c

[Bug c/42952] New: possible integer wrong code bug

2010-02-03 Thread regehr at cs dot utah dot edu
The program below looks to me like it should print "0". reg...@john-home:~$ current-gcc -O small.c -o small reg...@john-home:~$ ./small 1 reg...@john-home:~$ cat small.c extern int printf (__const char *__restrict __format, ...); static int g_16[1]; static int *g_135 = &g_16[0]; static int *l_15

[Bug fortran/41869] ICE segfault when reading module file

2010-02-03 Thread paul dot richard dot thomas at gmail dot com
--- Comment #3 from paul dot richard dot thomas at gmail dot com 2010-02-04 05:33 --- Subject: Re: ICE segfault when reading module file Tobias, I'll give it some thought at lunchtime. Cheers Paul On Wed, Feb 3, 2010 at 9:40 PM, burnus at gcc dot gnu dot org wrote: > > > ---

[Bug libstdc++/41816] libstdc++.so.6.0.14-gdb.py is not an ELF file

2010-02-03 Thread dirtyepic at gentoo dot org
--- Comment #4 from dirtyepic at gentoo dot org 2010-02-04 05:02 --- would it be possible to get a configure flag specifying where to install these files, which we could then set to gdb's auto-load directory? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41816

[Bug fortran/42950] gfortran testsuite failures on mingw64

2010-02-03 Thread nightstrike at gmail dot com
--- Comment #1 from nightstrike at gmail dot com 2010-02-04 04:10 --- The logs are not updated daily, but I try to do them frequently. I thought there was date information within the logs themselves. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42950

[Bug java/42811] [4.5 regression] java.lang.ExceptionInInitializerError in ecj1

2010-02-03 Thread davek at gcc dot gnu dot org
--- Comment #3 from davek at gcc dot gnu dot org 2010-02-04 03:37 --- (In reply to comment #2) > Created an attachment (id=19671) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19671&action=view) [edit] > patch > > now it summons gcj-noncore dll and resolves classes which should ha

[Bug middle-end/42290] strange 'warning: "ISRA.2" may be used uninitialized in this function'

2010-02-03 Thread zsojka at seznam dot cz
--- Comment #7 from zsojka at seznam dot cz 2010-02-04 03:01 --- I can't reproduce this issue in current trunk (r156468) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42290

[Bug fortran/42901] [4.3/4.4/4.5 Regression] reading array of structures from namelist fails

2010-02-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2010-02-04 01:53 --- Subject: Bug 42901 Author: jvdelisle Date: Thu Feb 4 01:53:37 2010 New Revision: 156488 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156488 Log: 2010-02-03 Jerry DeLisle PR libfortran/42901

[Bug fortran/42901] [4.3/4.4/4.5 Regression] reading array of structures from namelist fails

2010-02-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2010-02-04 01:50 --- Subject: Bug 42901 Author: jvdelisle Date: Thu Feb 4 01:49:41 2010 New Revision: 156487 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156487 Log: 2010-02-03 Jerry DeLisle PR libfortran/42901

[Bug fortran/40070] Some math expressions containing exponents fail on a Windows 64 build

2010-02-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #15 from jvdelisle at gcc dot gnu dot org 2010-02-04 01:12 --- Any further word on this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40070

[Bug fortran/39971] kinds.h fails at building libgfortran

2010-02-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #19 from jvdelisle at gcc dot gnu dot org 2010-02-04 01:08 --- No further replies, closing -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/42460] man page errors for generated libstdc++ man pages

2010-02-03 Thread bkoz at gcc dot gnu dot org
--- Comment #15 from bkoz at gcc dot gnu dot org 2010-02-04 00:16 --- markup options /** * @brief Flags access. * @return The minimum field width to generate on output operations. * * "Minimum field width" refers to the number of characters. * *

[Bug target/42951] New: GCC pedwarns about use of static inline functions from system headers in extern inline functions

2010-02-03 Thread lennox at cs dot columbia dot edu
GCC 4.3 prints an unsuppressable warning about any use of a static inline function in a non-static inline function. This includes static inline functions in GCC's own target-specific extra_headers header files. For example, this short file uses the ARM/NEON intrinsics functions defined in arm_neo

[Bug libstdc++/42460] man page errors for generated libstdc++ man pages

2010-02-03 Thread bkoz at gcc dot gnu dot org
--- Comment #14 from bkoz at gcc dot gnu dot org 2010-02-03 23:07 --- Got it Matthias, fixing, thanks for explaining what's up. How do you get these errors and validate the generated man pages? If it's a script can you attach it? Are you re-configuring doxygen? Or is this post-generati

[Bug libstdc++/41816] libstdc++.so.6.0.14-gdb.py is not an ELF file

2010-02-03 Thread bkoz at gcc dot gnu dot org
--- Comment #3 from bkoz at gcc dot gnu dot org 2010-02-03 22:59 --- What's the status here? Any chance we could frame the subject as something that has conflict, instead of a statement everyone agrees with? ldconfig warnings vs. libstdc++.so.6.0.14-gdb.py -- http://gcc.gnu.org/bu

[Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.

2010-02-03 Thread davidxl at gcc dot gnu dot org
--- Comment #13 from davidxl at gcc dot gnu dot org 2010-02-03 22:05 --- (In reply to comment #12) > Btw, a destructor call also changes the vtbl pointer. > ctors, dtors, wrapper function calls etc are all handled. Detailed write up will be available at some point. To put it a simple

[Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage

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

[Bug c++/12909] ambiguity in mangling vector types

2010-02-03 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2010-02-03 22:01 --- Fixed for 4.5 with -fabi-version=4 or =0. I still want to implement a transition scheme. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12909

[Bug c++/38600] Trouble mangling template_id_expr

2010-02-03 Thread jason at gcc dot gnu dot org
--- Comment #16 from jason at gcc dot gnu dot org 2010-02-03 21:59 --- . -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/38600] Trouble mangling template_id_expr

2010-02-03 Thread jason at gcc dot gnu dot org
--- Comment #15 from jason at gcc dot gnu dot org 2010-02-03 21:59 --- Fixed for 4.5. -- jason at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|---

[Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2010-02-03 21:55 --- Btw, a destructor call also changes the vtbl pointer. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35560

[Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.

2010-02-03 Thread davidxl at gcc dot gnu dot org
--- Comment #11 from davidxl at gcc dot gnu dot org 2010-02-03 21:55 --- (In reply to comment #9) > Ah, "Set aside the standard". Another user who wants to make up his own > semantics for a standardized language. No, no, and damn no. > Of course, things like this can be brought up to

[Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-02-03 21:54 --- Oh, I wonder anyway how you are going to implement this "vtable pointers are special" thing in the alias machinery. Good luck - and please keep LTO in mind ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35

[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg

2010-02-03 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2010-02-03 21:53 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg

2010-02-03 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-02-03 21:53 --- Subject: Bug 40138 Author: jason Date: Wed Feb 3 21:53:41 2010 New Revision: 156483 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156483 Log: PR c++/40138 * fold-const.c (operand_equal_p): Ha

[Bug other/41523] gcc generates few graph files with syntax errors

2010-02-03 Thread twlevo at gmail dot com
--- Comment #3 from twlevo at gmail dot com 2010-02-03 21:52 --- Created an attachment (id=19800) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19800&action=view) the patch to graph.c as diff thanks to Eric Fisher who made this diff -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.

2010-02-03 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2010-02-03 21:49 --- Ah, "Set aside the standard". Another user who wants to make up his own semantics for a standardized language. No, no, and damn no. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35560

[Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.

2010-02-03 Thread davidxl at gcc dot gnu dot org
--- Comment #8 from davidxl at gcc dot gnu dot org 2010-02-03 21:44 --- (In reply to comment #7) > It is valid to use placement new to construct a more or less derived type > which would change the vtable pointer. > > Thus I think this bug is still invalid. > How did you reach this co

[Bug ada/42554] Can't build GNAT tools

2010-02-03 Thread simon at pushface dot org
--- Comment #12 from simon at pushface dot org 2010-02-03 21:24 --- I re-ran the tests just for Ada; results at http://gcc.gnu.org/ml/gcc-testresults/2010-02/msg00265.html . Looking good - there is a problem with the ACATS tests, but I have a feeling it's some sort of race condition in

[Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-02-03 21:24 --- It is valid to use placement new to construct a more or less derived type which would change the vtable pointer. Thus I think this bug is still invalid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35560

[Bug fortran/42950] New: gfortran testsuite failures on mingw64

2010-02-03 Thread burnus at gcc dot gnu dot org
As mentioned by NightStrike on IRC. The MinGW64 results are at http://mingw-w64.sf.net/gfortran.log -- I assume that they are daily updated, but I do not know for sure (the HTTP header always shows the current date/time). Failures: (1) There are several run-time failures about "g0" with "Zero w

[Bug c++/31816] [DR 225] If a function foo is defined before declaring a template class A, overloaded version of foo defined after the class declaration will not be available within class A.

2010-02-03 Thread paolo dot carlini at oracle dot com
--- Comment #10 from paolo dot carlini at oracle dot com 2010-02-03 20:56 --- Thanks. Jason, I was adding [DR 225] to the Subject when I noticed *another* DR 225, PR29131. Do we want to keep both or not? -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug c++/38600] Trouble mangling template_id_expr

2010-02-03 Thread paolo dot carlini at oracle dot com
--- Comment #14 from paolo dot carlini at oracle dot com 2010-02-03 20:52 --- Great! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38600

[Bug ada/42948] Generic instantiation inside protected object bug box

2010-02-03 Thread tero dot koskinen at iki dot fi
--- Comment #4 from tero dot koskinen at iki dot fi 2010-02-03 20:47 --- Another Ada compiler (Janus/Ada) accepts the code and gives following output when the program is ran: [C:\work\tests\rw1]main 0 0 0 0 0 0 0 0 0 0 [C:\work\tests\rw1] Which is probably the expected outco

[Bug middle-end/42949] ICE: reload_cse_simplify_operands, at postreload.c:396

2010-02-03 Thread rmansfield at qnx dot com
--- Comment #1 from rmansfield at qnx dot com 2010-02-03 20:47 --- Created an attachment (id=19799) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19799&action=view) Preprocessed C++ source. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42949

[Bug middle-end/42949] New: ICE: reload_cse_simplify_operands, at postreload.c:396

2010-02-03 Thread rmansfield at qnx dot com
texit --enable-languages=c++ --enable-shared --enable-c99 --enable-long-long Thread model: posix gcc version 4.5.0 20100203 (experimental) [trunk revision 156467] (GCC) r...@zoidberg:~/gnu/gcc/trunk/arm/gcc$ ./xgcc -B. -O1 -mfpu=vfp -mfloat-abi=softfp ~/ice.ii /home/ryan/ice.ii: In member function &#x

[Bug c++/4926] C++ ABI needs clarification on mangling of complex expressions

2010-02-03 Thread jason at gcc dot gnu dot org
--- Comment #15 from jason at gcc dot gnu dot org 2010-02-03 20:43 --- Subject: Bug 4926 Author: jason Date: Wed Feb 3 20:42:48 2010 New Revision: 156482 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156482 Log: PR c++/4926 PR c++/38600 * mangle.c (writ

[Bug c++/38600] Trouble mangling template_id_expr

2010-02-03 Thread jason at gcc dot gnu dot org
--- Comment #13 from jason at gcc dot gnu dot org 2010-02-03 20:43 --- Subject: Bug 38600 Author: jason Date: Wed Feb 3 20:42:48 2010 New Revision: 156482 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156482 Log: PR c++/4926 PR c++/38600 * mangle.c (wri

[Bug c++/12909] ambiguity in mangling vector types

2010-02-03 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-02-03 20:43 --- Subject: Bug 12909 Author: jason Date: Wed Feb 3 20:42:35 2010 New Revision: 156481 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156481 Log: PR c++/12909 * mangle.c (write_type) [VECTOR_TYPE

[Bug fortran/41869] ICE segfault when reading module file

2010-02-03 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-02-03 20:40 --- Paul, maybe you have an idea how to solve this best. One has two modules, (1) one defines "vs_str" and the other (2) defines interface module procedure len end interface PRIVATE :: len (and a public inter

[Bug ada/42948] Generic instantiation inside protected object bug box

2010-02-03 Thread gcc at coreland dot ath dot cx
--- Comment #3 from gcc at coreland dot ath dot cx 2010-02-03 20:29 --- A GNAT Pro customer I speak to says: main.adb:20:07: instantiation error at ng.adb:6 main.adb:20:07: missing argument for parameter "_Object" in call to "Show_N" (inherited) at line 14 -- http://gcc.gnu.org/bug

[Bug ada/42948] Generic instantiation inside protected object bug box

2010-02-03 Thread gcc at coreland dot ath dot cx
--- Comment #2 from gcc at coreland dot ath dot cx 2010-02-03 20:28 --- +===GNAT BUG DETECTED==+ | 4.5.0 20090514 (experimental) (i686-pc-linux-gnu) Assert_Failure exp_ch6.adb:4603| | Error detected at ng.adb:6:7 [main.adb:20:7]

[Bug ada/42948] Generic instantiation inside protected object bug box

2010-02-03 Thread gcc at coreland dot ath dot cx
--- Comment #1 from gcc at coreland dot ath dot cx 2010-02-03 20:24 --- Created an attachment (id=19798) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19798&action=view) Repro -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42948

[Bug ada/42948] New: Generic instantiation inside protected object bug box

2010-02-03 Thread gcc at coreland dot ath dot cx
$ gnatchop blob.adb $ gnatmake main +===GNAT BUG DETECTED==+ | 4.4.2 (i486-pc-linux-gnu) Assert_Failure exp_ch6.adb:4602| | Error detected at ng.adb:6:7 [main.adb:20:7] | | Please submit a bug report; se

[Bug target/42924] [4.5 Regression] pex-unix.c:589:1: internal compiler error: output_operand

2010-02-03 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #11 from dave at hiauly1 dot hia dot nrc dot ca 2010-02-03 19:48 --- Subject: Re: [4.5 Regression] pex-unix.c:589:1: internal compiler error: output_operand > --- Comment #10 from sje at cup dot hp dot com 2010-02-03 19:31 --- > > > return XVECEXP (XEXP (x, 1)

[Bug target/42924] [4.5 Regression] pex-unix.c:589:1: internal compiler error: output_operand

2010-02-03 Thread sje at cup dot hp dot com
--- Comment #10 from sje at cup dot hp dot com 2010-02-03 19:31 --- > > return XVECEXP (XEXP (x, 1), 0, 0); > > The return is wrong. The UNSPEC_DLTIND14R operation returns the > address of XVECEXP (XEXP (x, 1), 0, 0). Is it as simple as wrapping this in a MEM rtx? I am testing

[Bug rtl-optimization/42941] -fsched-pressure -fschedule-insns - valgrind warns about using uninitialized variable

2010-02-03 Thread vmakarov at gcc dot gnu dot org
--- Comment #4 from vmakarov at gcc dot gnu dot org 2010-02-03 19:01 --- Subject: Bug 42941 Author: vmakarov Date: Wed Feb 3 19:01:31 2010 New Revision: 156472 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156472 Log: 2010-02-03 Vladimir Makarov PR rtl-optimizatio

[Bug rtl-optimization/42941] -fsched-pressure -fschedule-insns - valgrind warns about using uninitialized variable

2010-02-03 Thread vmakarov at redhat dot com
--- Comment #3 from vmakarov at redhat dot com 2010-02-03 18:57 --- This is a rare case when the algorithm works the same whatever values are in memory. Roughly speaking, if the value is not as expected (for example a garbage) the value is set up to what it needed. If it is one as ex

[Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.

2010-02-03 Thread davidxl at gcc dot gnu dot org
--- Comment #6 from davidxl at gcc dot gnu dot org 2010-02-03 18:30 --- See discussions in http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00138.html about changing dynamic types using placement new -- it is basically not allowed -- so the optimization is valid. David -- davidxl at gc

[Bug c++/40138] [4.5 Regression] ICE with invalid va_arg

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

[Bug target/42947] New: multilib and startup files paths differ on sh4 with -m4 and without -m4 where -m4 is default multilib

2010-02-03 Thread raj dot khem at gmail dot com
Configuring with following options --build=x86_64-linux --host=x86_64-linux --target=sh4-oe-linux --prefix=/scratch/oe/qemush4/cross/sh4 --exec_prefix=/scratch/oe/qemush4/cross/sh4 --bindir=/scratch/oe/qemush4/cross/sh4/bin --sbindir=/scratch/oe/qemush4/cross/sh4/bin --libexecdir=/scratch/oe/qemus

[Bug c++/35652] [4.3/4.4/4.5 Regression] offset warning should be given in the front-end

2010-02-03 Thread jason at gcc dot gnu dot org
--- Comment #36 from jason at gcc dot gnu dot org 2010-02-03 16:29 --- Fixed for 4.5. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSI

[Bug c++/35652] [4.3/4.4/4.5 Regression] offset warning should be given in the front-end

2010-02-03 Thread jason at gcc dot gnu dot org
--- Comment #35 from jason at gcc dot gnu dot org 2010-02-03 16:28 --- Subject: Bug 35652 Author: jason Date: Wed Feb 3 16:28:07 2010 New Revision: 156469 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156469 Log: PR c++/35652 * builtins.c (c_strlen): Use EXPR_L

[Bug fortran/42309] Problem with a pointer array passed to a subroutine

2010-02-03 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2010-02-03 16:21 --- Paul's patch: http://gcc.gnu.org/ml/fortran/2010-02/msg00019.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42309

[Bug c/42908] gcc -O2 -Wall doesn't warn about strict aliasing

2010-02-03 Thread shana at jitted dot com
--- Comment #5 from shana at jitted dot com 2010-02-03 16:13 --- IMHO, it's not good for strict aliasing warnings on level 2 to be optional and not included in -Wall by default. As it stands right now, gcc does not warn you even if it knows your code is 1) breaking the rules, and 2) the

[Bug lto/42776] LTO doesn't work on non-ELF platforms.

2010-02-03 Thread davek at gcc dot gnu dot org
--- Comment #18 from davek at gcc dot gnu dot org 2010-02-03 16:09 --- Created an attachment (id=19797) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19797&action=view) Bugfix of -respin-1 Opps! Forgot to update the lto language hook definitions. All fixed now. -- davek at g

[Bug fortran/42945] Gcov -a fails on Fortan generated object file (infinite loop?)

2010-02-03 Thread graeme dot parkin at btinternet dot com
--- Comment #3 from graeme dot parkin at btinternet dot com 2010-02-03 15:47 --- (In reply to comment #2) > -a is very expensive and prone to run into some endless cfg reduction, try > to avoid it. > I am actually using lcov (1.9) which uses it automatically (only by looking into lcov

[Bug fortran/42945] Gcov -a fails on Fortan generated object file (infinite loop?)

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-02-03 15:41 --- -a is very expensive and prone to run into some endless cfg reduction, try to avoid it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42945

[Bug debug/42896] [4.5 Regression] Random debug generation differences, bootstrap fails

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-02-03 15:40 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug bootstrap/42946] New: bootstrap with --enable-checking=df (or =all) fails

2010-02-03 Thread zsojka at seznam dot cz
r156431 cc1: warnings being treated as errors /mnt/svn/gcc-trunk/gcc/df-core.c: In function 'df_finish_pass': /mnt/svn/gcc-trunk/gcc/df-core.c:649:3: error: enum conversion in assignment is invalid in C++ The offending code is: #ifdef ENABLE_DF_CHECKING saved_flags = df->changeable_flags; #endi

[Bug fortran/42945] Gcov -a fails on Fortan generated object file (infinite loop?)

2010-02-03 Thread graeme dot parkin at btinternet dot com
--- Comment #1 from graeme dot parkin at btinternet dot com 2010-02-03 15:06 --- Created an attachment (id=19796) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19796&action=view) Contains all Fortran files which give this gcov -a error Note can use compile.sh to run compilation e

[Bug debug/42896] [4.5 Regression] Random debug generation differences, bootstrap fails

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2010-02-03 15:00 --- Subject: Bug 42896 Author: rguenth Date: Wed Feb 3 15:00:33 2010 New Revision: 156468 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156468 Log: 2010-02-03 Alexandre Oliva PR debug/42896

[Bug fortran/42945] New: Gcov -a fails on Fortan generated object file (infinite loop?)

2010-02-03 Thread graeme dot parkin at btinternet dot com
On trying to do code coverage on set of Fortran files. After using gfortran-4 -fprofile-arcs -ftest-coverage, running test when you try to run gcov -a on one of the Fortran files never ends (the rest are OK). The particular Fortran file contains complex allocate commands. Can simplify and then it w

[Bug libgcj/40860] [4.4/4.5 regression] regressions in libjava testsuite on arm-linux

2010-02-03 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2010-02-03 14:51 --- gcc-4.4.3 with binutils-2.20 fails StackTrace2 and Throw_3, reverting to binutils-2.19.1 eliminated those two failures. Bootstrapping with binutils-2.19.1 but running the test suite with binutils-2.20 did not trigger the

[Bug lto/42776] LTO doesn't work on non-ELF platforms.

2010-02-03 Thread davek at gcc dot gnu dot org
--- Comment #17 from davek at gcc dot gnu dot org 2010-02-03 14:48 --- TO-DO: (additions invited, this is not by any means a complete list!) - Add autoconfigury to ensure binutils supports .section directive alignment syntax, and disable LTO if not. -- davek at gcc dot gnu dot org c

[Bug lto/42776] LTO doesn't work on non-ELF platforms.

2010-02-03 Thread davek at gcc dot gnu dot org
--- Comment #16 from davek at gcc dot gnu dot org 2010-02-03 14:46 --- Created an attachment (id=19795) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19795&action=view) Latest and updatest. Updated: - enable for mingw targets - open files in binary mode in is_elf_or_coff - bunch o

[Bug target/42841] [4.3/4.4/4.5 Regression] SH: Assembler complains pcrel too far.

2010-02-03 Thread chrbr at gcc dot gnu dot org
--- Comment #30 from chrbr at gcc dot gnu dot org 2010-02-03 13:12 --- Created an attachment (id=19794) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19794&action=view) patch to fix GOT access load with constant pool Patch under validation. -- http://gcc.gnu.org/bugzilla/show

[Bug tree-optimization/42944] [4.5 Regression] errno misoptimization due to __attribute__ ((__const__)) on __errno_location()

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-02-03 13:04 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/42944] [4.5 Regression] errno misoptimization due to __attribute__ ((__const__)) on __errno_location()

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-02-03 13:03 --- Subject: Bug 42944 Author: rguenth Date: Wed Feb 3 13:03:39 2010 New Revision: 156467 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156467 Log: 2010-02-03 Richard Guenther PR tree-optimization/

[Bug lto/42776] LTO doesn't work on non-ELF platforms.

2010-02-03 Thread davek at gcc dot gnu dot org
--- Comment #15 from davek at gcc dot gnu dot org 2010-02-03 12:02 --- (In reply to comment #14) > There is a portability issue in is_elf_or_coff: fopen should be called with > "rb" instead of "r". Otherwise, fread fails when a COFF file has 26 sections, > because it is interpreted as a

[Bug middle-end/30555] GCC should know about errno

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-02-03 11:18 --- Being able to annotate functions that do _not_ set errno might be useful as well. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30555

[Bug tree-optimization/42927] [4.5 Regression] type mismatch in shift expression produces ice with -O3

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-02-03 11:13 --- Subject: Bug 42927 Author: rguenth Date: Wed Feb 3 11:13:17 2010 New Revision: 156464 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156464 Log: 2010-02-03 Richard Guenther PR middle-end/42927

[Bug tree-optimization/42927] [4.5 Regression] type mismatch in shift expression produces ice with -O3

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-02-03 11:13 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/30555] GCC should know about errno

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-02-03 11:00 --- Mine. We can add annotations for __errno_location () to indicate it returns a pointer to errno. We can also add annotations for a static errno declaration to denote it is errno. pointer-analysis can then properly

[Bug tree-optimization/42944] [4.5 Regression] errno misoptimization due to __attribute__ ((__const__)) on __errno_location()

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-02-03 10:58 --- The issue is simply that GCC thinks malloc does not set errno. Removing const from __errno_location is just papering over this issue. But that malloc sets errno is really really unfortunate. Because we have no oth

[Bug rtl-optimization/42941] -fsched-pressure -fschedule-insns - valgrind warns about using uninitialized variable

2010-02-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-02-03 10:40 --- Vlad? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug lto/42776] LTO doesn't work on non-ELF platforms.

2010-02-03 Thread d dot g dot gorbachev at gmail dot com
--- Comment #14 from d dot g dot gorbachev at gmail dot com 2010-02-03 10:15 --- There is a portability issue in is_elf_or_coff: fopen should be called with "rb" instead of "r". Otherwise, fread fails when a COFF file has 26 sections, because it is interpreted as a text, and 26 means "e

[Bug target/42841] [4.3/4.4/4.5 Regression] SH: Assembler complains pcrel too far.

2010-02-03 Thread kkojima at gcc dot gnu dot org
--- Comment #29 from kkojima at gcc dot gnu dot org 2010-02-03 10:06 --- I think these blockages are not overkill. GOTaddr2picreg is used only at prologue and non-pic tls initial exec accesses. The former is at most once for each function and never in the minor loop. The latter case

[Bug target/42841] [4.3/4.4/4.5 Regression] SH: Assembler complains pcrel too far.

2010-02-03 Thread chrbr at gcc dot gnu dot org
--- Comment #28 from chrbr at gcc dot gnu dot org 2010-02-03 08:30 --- Hello Kaj, thanks for your proposal thanks for the proposal. but I'm wondering if preventing the scheduling of the mov.l and mova instructions are not too much overkill ? (sh_reorg comes after the scheduler, but even

[Bug fortran/42936] Result of passing NULL() as actual arg doesn't inherit characteristics from the corresponding dummy arg

2010-02-03 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2010-02-03 08:26 --- FIXED on the trunk (for 4.5.0). Thanks for the report! -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42936] Result of passing NULL() as actual arg doesn't inherit characteristics from the corresponding dummy arg

2010-02-03 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-02-03 08:26 --- Subject: Bug 42936 Author: burnus Date: Wed Feb 3 08:26:08 2010 New Revision: 156461 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156461 Log: 2010-02-03 Tobias Burnus PR fortran/42936 *

[Bug other/41523] gcc generates few graph files with syntax errors

2010-02-03 Thread joefoxreal at gmail dot com
--- Comment #2 from joefoxreal at gmail dot com 2010-02-03 08:19 --- The problem is reproduced on trunk, gcc version 4.5.0 20100203 (experimental). -- joefoxreal at gmail dot com changed: What|Removed |Added