[Bug rtl-optimization/40327] New: Use less instructions to add some constants to register

2009-06-03 Thread carrot at google dot com
Compiling this simple function in thumb mode: int add_const(int x) { return x+400; } I got: mov r1, #200 lsl r3, r1, #1 add r0, r0, r3 A better code sequence should be: add r0, r0, 200 add r0, r0, 200 In order to apply this optimization, the constant

[Bug rtl-optimization/34849] Missed autoincrement opportunities due to a different basic block structure.

2009-06-03 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2009-06-03 08:16 --- Ramana, can you please add the exact command line you are using (so that I can see what flags you use and what cpu you target) and the exact output you are expecting? I have hacked things such that the store is cros

[Bug rtl-optimization/34849] Missed autoincrement opportunities due to a different basic block structure.

2009-06-03 Thread steven at gcc dot gnu dot org
--- Comment #11 from steven at gcc dot gnu dot org 2009-06-03 08:25 --- s/L4/L5/ my punishment from manually typing over the assembly from my laptop screen into bugzilla on the desktop :-/ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34849

[Bug middle-end/40328] New: internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811

2009-06-03 Thread toon at moene dot org
The attached Fortran source, when compiled with a recent version of the trunk, gives the above ICE. Compile options: -O3 -c. -- Summary: internal compiler error: in set_ssa_val_to, at tree- ssa-sccvn.c:1811 Product: gcc Version: 4.5.0

[Bug middle-end/40328] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811

2009-06-03 Thread toon at moene dot org
--- Comment #1 from toon at moene dot org 2009-06-03 08:50 --- Created an attachment (id=17947) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17947&action=view) Testcase Attached the testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40328

[Bug middle-end/40328] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811

2009-06-03 Thread toon at moene dot org
--- Comment #2 from toon at moene dot org 2009-06-03 08:52 --- The bug started to appear between revisions 147846 and 147982 of the trunk. -- toon at moene dot org changed: What|Removed |Added ---

[Bug libstdc++/40296] [C++0x] std::exception_ptr comparisons

2009-06-03 Thread jwakely dot gcc at gmail dot com
--- Comment #5 from jwakely dot gcc at gmail dot com 2009-06-03 09:30 --- (In reply to comment #1) > I'm under the impression we should simply not provide operator __safe_bool() Agreed, there is no requirement for conversion to bool, explicit or implicit. Even if it can be done unambi

[Bug libstdc++/40296] [C++0x] std::exception_ptr comparisons

2009-06-03 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2009-06-03 09:43 --- Ok. Thanks Sebastian and Jon for your feedback. Jon, I'll leave that additional clean up to you then. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-03 Thread matz at gcc dot gnu dot org
--- Comment #7 from matz at gcc dot gnu dot org 2009-06-03 09:51 --- I'm looking at this now. -- matz at gcc dot gnu dot org changed: What|Removed |Added Assigned

[Bug target/40327] Use less instructions to add some constants to register

2009-06-03 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2009-06-03 10:36 --- This code comes from the split2 (split insns after reload). So this is target specific. It surprises me that non-legitimate constants are accepted before reload on ARM (at least in thumb mode). It may be (and IMHO,

[Bug libstdc++/40296] [C++0x] std::exception_ptr comparisons

2009-06-03 Thread paolo at gcc dot gnu dot org
--- Comment #7 from paolo at gcc dot gnu dot org 2009-06-03 10:37 --- Subject: Bug 40296 Author: paolo Date: Wed Jun 3 10:37:20 2009 New Revision: 148122 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148122 Log: 2009-06-03 Paolo Carlini PR libstdc++/40296 *

[Bug libstdc++/40296] [C++0x] std::exception_ptr comparisons

2009-06-03 Thread paolo at gcc dot gnu dot org
--- Comment #8 from paolo at gcc dot gnu dot org 2009-06-03 10:37 --- Subject: Bug 40296 Author: paolo Date: Wed Jun 3 10:37:32 2009 New Revision: 148123 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148123 Log: 2009-06-03 Paolo Carlini PR libstdc++/40296 *

[Bug libstdc++/40296] [C++0x] std::exception_ptr comparisons

2009-06-03 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2009-06-03 10:40 --- Fixed 4.4.1 and mainline. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug target/40327] Use less instructions to add some constants to register

2009-06-03 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-06-03 10:57 --- FWIW it looks like the define_split at arm.c:5060 (of r147729) is triggered. Richard E., is there a reason for lowering load-immediates so late in the pipeline? -- steven at gcc dot gnu dot org changed:

[Bug middle-end/40328] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811

2009-06-03 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-06-03 11:25 --- Mine. We fail to fold COMPLEX_EXPR <0, 0> to COMPLEX_CST. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/40328] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811

2009-06-03 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-06-03 11:31 --- I am testing the following: Index: gcc/fold-const.c === --- gcc/fold-const.c(revision 148119) +++ gcc/fold-const.c(working copy) @@ -2643,9 +26

[Bug tree-optimization/40323] [4.5 Regression] compiling just takes forever and doesn't really process

2009-06-03 Thread jamborm at gcc dot gnu dot org
--- Comment #8 from jamborm at gcc dot gnu dot org 2009-06-03 11:56 --- Subject: Bug 40323 Author: jamborm Date: Wed Jun 3 11:56:05 2009 New Revision: 148126 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148126 Log: 2009-06-03 Martin Jambor PR tree-optimization/403

[Bug tree-optimization/40323] [4.5 Regression] compiling just takes forever and doesn't really process

2009-06-03 Thread jamborm at gcc dot gnu dot org
--- Comment #9 from jamborm at gcc dot gnu dot org 2009-06-03 12:54 --- I have just verified this is fixed on the current trunk. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/40328] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811

2009-06-03 Thread toon at moene dot org
--- Comment #5 from toon at moene dot org 2009-06-03 12:55 --- It works for the testcase with your change (over revision 148127). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40328

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-03 Thread ramana at gcc dot gnu dot org
--- Comment #8 from ramana at gcc dot gnu dot org 2009-06-03 13:17 --- Also broken on arm-eabi cross. Using gdb and the exact steps as in Comment #0 shows me problem as 0x100. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40012

[Bug tree-optimization/40321] [4.4/4.5 Regression] internal compiler error: in compute_antic, at tree-ssa-pre.c:2501

2009-06-03 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-06-03 14:00 --- The problem seems to be the asymmetry wrt handling of NAMEs vs. SSA_NAME operands in NARYs and REFERENCEs. We happily translate NAMEs and do not clean them if they are in AVAIL_OUT, but we only can translate SSA_N

[Bug middle-end/40328] [4.5 Regression] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811

2009-06-03 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|internal compiler error: in |[4.5 Regression] internal |set_ssa_val_to, at tree-

[Bug tree-optimization/40323] [4.5 Regression] compiling just takes forever and doesn't really process

2009-06-03 Thread ich at az2000 dot de
--- Comment #10 from ich at az2000 dot de 2009-06-03 15:00 --- Thanks a lot, works just fine. :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40323

[Bug tree-optimization/40321] [4.4/4.5 Regression] internal compiler error: in compute_antic, at tree-ssa-pre.c:2501

2009-06-03 Thread dberlin at dberlin dot org
--- Comment #13 from dberlin at gcc dot gnu dot org 2009-06-03 15:16 --- Subject: Re: [4.4/4.5 Regression] internal compiler error: in compute_antic, at tree-ssa-pre.c:2501 Hmmm, clean should only have to check set1 and set2, not AVAIL_OUT. I'm not sure why it looks at AVAIL_

[Bug middle-end/40328] [4.5 Regression] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811

2009-06-03 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-06-03 15:31 --- Subject: Bug 40328 Author: rguenth Date: Wed Jun 3 15:30:52 2009 New Revision: 148134 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148134 Log: 2009-06-03 Richard Guenther PR middle-end/40328

[Bug regression/40329] New: gcc-4.5 build fails on alpha

2009-06-03 Thread mexas at bristol dot ac dot uk
On freebsd-6.4-stable alpha gcc-4.5 fails to build after 20090507. Until then built ok. Tried with default system compiler gcc-3.4 or with gcc-4.4. #gcc44 -v Using built-in specs. Target: alpha-portbld-freebsd6.4 Configured with: ./../gcc-4.4-20090526/configure --disable-nls --with-system-zlib --w

[Bug libfortran/40330] New: [4.4 Regression] incorrect IO

2009-06-03 Thread jv244 at cam dot ac dot uk
right now, 4.4 branch is broken for CP2K, there seems to be some error in libfortran that causes incorrect writes. The diff in the restarts looks like: 56,58c56,58 < &FORCEFIELD FORCEFIELD, > ,PARMTYPE CHM > ,PA

[Bug middle-end/40328] [4.5 Regression] internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1811

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

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2009-06-03 15:46 --- CCed the experts -- jv244 at cam dot ac dot uk changed: What|Removed |Added CC|

[Bug libstdc++/40331] New: uniform_real random number distribution produces wildly out of range values (TR1 & C++0x)

2009-06-03 Thread colin at gibibit dot com
Using either the std::tr1 or C++0x std:: random number generators, the uniform_real distribution produces numbers that are completely wrong. For instance, using Boost.Random the test program produces this sequence of floating point numbers: Random real: 0.0975404 Random real: 0.547221 Random real

[Bug libstdc++/40331] uniform_real random number distribution produces wildly out of range values (TR1 & C++0x)

2009-06-03 Thread colin at gibibit dot com
--- Comment #1 from colin at gibibit dot com 2009-06-03 15:52 --- Created an attachment (id=17948) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17948&action=view) Test case that generates random reals using Boost, TR1, and C++0x Uncomment exactly one of RNG_BOOST, RNG_TR1, or RNG

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2009-06-03 15:54 --- Did you try 4.5? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40330

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables

2009-06-03 Thread matz at gcc dot gnu dot org
--- Comment #9 from matz at gcc dot gnu dot org 2009-06-03 15:57 --- Bah, simply not expanding those variables (whose SSA partitions were already) by clearing TREE_USED on them fixes the problem, but makes those variables have no debug info at all, as the DECLs then have no DECL_RTL_SET

[Bug target/39780] internal compiler error: Segmentation fault

2009-06-03 Thread eduardo dot m dot costa at gmail dot com
--- Comment #6 from eduardo dot m dot costa at gmail dot com 2009-06-03 16:06 --- Are you using tree-parallelize-loops? I got the same problem, and using "-O2 -fno-tree-parallelize-loops" worked for me... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39780

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread jv244 at cam dot ac dot uk
--- Comment #3 from jv244 at cam dot ac dot uk 2009-06-03 16:08 --- (In reply to comment #2) > Did you try 4.5? unfortunately trunk currently fails for other reasons. I'll try to look into that afterwards. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40330

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread jv244 at cam dot ac dot uk
--- Comment #4 from jv244 at cam dot ac dot uk 2009-06-03 16:31 --- OK, a good hint from valgrind. The following error is present if I use 4.4.1 but not if I link against the runtime from 4.4.0: ==30712== Invalid read of size 1 ==30712==at 0x4A22DF9: strncmp (mc_replace_strmem.c:314)

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread jv244 at cam dot ac dot uk
--- Comment #5 from jv244 at cam dot ac dot uk 2009-06-03 16:47 --- OK, now with easy testcase, as you'll notice from the output, the loop is important: IMPLICIT NONE character(len=100) :: fmt1,str1,fmt2,str2 real*8 :: r(3)=0 integer :: i,iunit fmt1="(T2,A2," str1="a" iunit=6 DO i=1,10

[Bug libstdc++/40331] uniform_real random number distribution produces wildly out of range values (TR1 & C++0x)

2009-06-03 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-06-03 16:49 --- *** This bug has been marked as a duplicate of 40263 *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread jv244 at cam dot ac dot uk
--- Comment #6 from jv244 at cam dot ac dot uk 2009-06-03 16:49 --- compiled with trunk this is also buggy (with new bugs about dwarf2): --690-- DWARF2 CFI reader: unhandled CFI instruction 0:10 --690-- DWARF2 CFI reader: unhandled CFI instruction 0:10 --690-- DWARF2 CFI reader: unhandl

[Bug libstdc++/40263] random unform real distro: tr1 vs c++0x

2009-06-03 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-06-03 16:49 --- *** Bug 40331 has been marked as a duplicate of this bug. *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added Target Milestone|--- |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40330

[Bug target/40332] New: (.eh_frame); no .eh_frame_hdr table will be created.

2009-06-03 Thread jv244 at cam dot ac dot uk
ele/gcc_trunk/build/ --with-cloog=/data03/vondele/gcc_trunk/build/ Thread model: posix gcc version 4.5.0 20090603 (experimental) [trunk revision 148132] (GCC) leads to these errors at link time: /usr/bin/ld: error in /data03/vondele/clean/cp2k/src/../lib/Linux-x86-64-gfortran/sdbg/libcp2k_li

[Bug target/40332] (.eh_frame); no .eh_frame_hdr table will be created.

2009-06-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-06-03 17:09 --- What binutils version are you using? do ld --version. This might be a bug in binutils really. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40332

[Bug target/40332] (.eh_frame); no .eh_frame_hdr table will be created.

2009-06-03 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2009-06-03 17:14 --- (In reply to comment #1) > What binutils version are you using? do ld --version. This might be a bug in > binutils really. it is recent, I think: > ld -v GNU ld (GNU Binutils; openSUSE 11.0) 2.18.50.20080409-11.1 --

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread jb at gcc dot gnu dot org
--- Comment #7 from jb at gcc dot gnu dot org 2009-06-03 17:39 --- Confirmed on trunk. This seems to be due to the format caching stuff? The regression on the 4.4 branch would be explained by the I/O backport (r147887). -- jb at gcc dot gnu dot org changed: What|Re

[Bug c++/40308] Brace initialization fails for member initializers in constructor for class templates

2009-06-03 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2009-06-03 18:12 --- Subject: Bug 40308 Author: jason Date: Wed Jun 3 18:11:53 2009 New Revision: 148141 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148141 Log: PR c++/40308 PR c++/40311 * typeck.c (cp_

[Bug c++/40307] Problem with auto deducing class type inside one of its own member functions

2009-06-03 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2009-06-03 18:12 --- Subject: Bug 40307 Author: jason Date: Wed Jun 3 18:11:53 2009 New Revision: 148141 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148141 Log: PR c++/40308 PR c++/40311 * typeck.c (cp_

[Bug c++/40311] brace initialization does not work well with new

2009-06-03 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2009-06-03 18:12 --- Subject: Bug 40311 Author: jason Date: Wed Jun 3 18:11:53 2009 New Revision: 148141 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148141 Log: PR c++/40308 PR c++/40311 * typeck.c (cp_

[Bug target/40277] Spill failures for VFP_REGS with scalar-return_5.c in the testsuite.

2009-06-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-06-03 18:15 --- Fixed by: 2009-06-03 Julian Brown * config/arm/arm.c (arm_hard_regno_mode_ok): Permit values of four words or less (including TImode) in core registers. -- pinskia at gcc dot gnu dot org chang

[Bug c++/40306] ICE when using auto to declare a local copy inside a member function

2009-06-03 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2009-06-03 18:12 --- Subject: Bug 40306 Author: jason Date: Wed Jun 3 18:11:53 2009 New Revision: 148141 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148141 Log: PR c++/40308 PR c++/40311 * typeck.c (cp_

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread jb at gcc dot gnu dot org
--- Comment #8 from jb at gcc dot gnu dot org 2009-06-03 18:49 --- Created an attachment (id=17949) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17949&action=view) Proposed patch This patch seems to fix it, will formally submit as soon as it regtests. -- http://gcc.gnu.org/b

[Bug fortran/39893] [4.4] gfortran ICE on invalid program

2009-06-03 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2009-06-03 18:58 --- (In reply to comment #7) > Fixed on trunk. > I'll backport to 4.4. branch in a week. * ping * -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39893

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread jb at gcc dot gnu dot org
--- Comment #9 from jb at gcc dot gnu dot org 2009-06-03 19:19 --- Proper patch submitted. -- jb at gcc dot gnu dot org changed: What|Removed |Added URL|

[Bug fortran/40019] [4.4 only] LEADZ and TRAILZ give wrong results

2009-06-03 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-06-03 19:39 --- Subject: Bug 40019 Author: burnus Date: Wed Jun 3 19:39:09 2009 New Revision: 148143 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148143 Log: 2009-06-03 Francois-Xavier Coudert PR fortran/40019

[Bug fortran/40019] LEADZ and TRAILZ give wrong results

2009-06-03 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2009-06-03 19:40 --- Now also FIXED on the 4.4 branch. -> CLOSE -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40019] LEADZ and TRAILZ give wrong results

2009-06-03 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.4.0 Target Milestone|--- |4.4.1 http://

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread jb at gcc dot gnu dot org
--- Comment #10 from jb at gcc dot gnu dot org 2009-06-03 21:07 --- Subject: Bug 40330 Author: jb Date: Wed Jun 3 21:07:19 2009 New Revision: 148149 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148149 Log: PR libfortran/40330 Use heap memory for cached format strings. Modi

[Bug bootstrap/34707] failing to build gnu c compiler on Mac OS X ver 10.4.11 darwin

2009-06-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2009-06-03 21:12 --- No news for a year and a half. 4.2 branch is now closed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug boehm-gc/35012] gcc-4.2.3-RC1's gctest hangs on i686-apple-darwin9

2009-06-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2009-06-03 21:13 --- 4.2 branch is closed, works in 4.3.0 -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/36399] FSF GCC ABI bug on darwin/x86-32

2009-06-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2009-06-03 21:18 --- Here's what it gives with Apple's gcc: _r: pushl %ebp movl%esp, %ebp subl$72, %esp movaps %xmm0, -24(%ebp) movaps %xmm1, -40(%ebp) movaps %xmm2, -56(%e

[Bug c++/40333] New: g++ does not align static variables properly

2009-06-03 Thread gccsse at mailinator dot com
The following SSE2 code crashes because the non-static global variable breaks the alignment of the static data section. align.cpp: #include int nonstatic_padding; static int static_padding[3]; static __attribute__((aligned(16))) __m128i sse_data; int main() { static_padding[0] = 1234; ss

[Bug c++/40333] g++ does not align static variables properly

2009-06-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-06-03 21:26 --- *** This bug has been marked as a duplicate of 37216 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/37216] [cygming] Invalid alignment for SSE store to .comm data generated with -O3

2009-06-03 Thread pinskia at gcc dot gnu dot org
--- Comment #62 from pinskia at gcc dot gnu dot org 2009-06-03 21:26 --- *** Bug 40333 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/40055] Failing instantiation of template with enums

2009-06-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2009-06-03 21:29 --- Not target-specific, can reproduce on x86_64-linux (don't know what you expect, though). -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug bootstrap/39968] Should plugins use shared library?

2009-06-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2009-06-03 21:35 --- Changing subject according to comment #6. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/10901] non-local goto's don't work on darwin

2009-06-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #19 from fxcoudert at gcc dot gnu dot org 2009-06-03 21:47 --- Still fails on both ppc-darwin and i386-darwin, for 4.3.2, 4.4.0 and current trunk: $ cat a.c extern int puts (const char *); extern void abort (void); int main () { __label__ l1; void foo () { void

[Bug target/22119] nonlocal goto's fail on i?86-darwin

2009-06-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2009-06-03 21:50 --- *** This bug has been marked as a duplicate of 10901 *** -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/10901] non-local goto's don't work on darwin

2009-06-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #20 from fxcoudert at gcc dot gnu dot org 2009-06-03 21:50 --- *** Bug 22119 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10901

[Bug target/31122] Bootstrap comparison failure

2009-06-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2009-06-03 21:58 --- (In reply to comment #3) > So I don't know what people want to do about this bug. Over the years some > people have worked to fix such problems as bugs; and some people want to point > to the documentation and sa

[Bug target/31076] ICE with double and unsigned long long with -march=prescott

2009-06-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2009-06-03 22:00 --- Works for me on 4.3.2, 4.4.0 and 4.5.0. Suppose it's fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/34584] alignment on .comm symbol ignored

2009-06-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2009-06-03 22:16 --- I'm not seeing that one with 4.3.2 (nor with 4.4.0 or current trunk). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34584

[Bug target/10242] [ARM] subsequent use of plus and minus operators could be improved

2009-06-03 Thread rearnsha at gcc dot gnu dot org
--- Comment #8 from rearnsha at gcc dot gnu dot org 2009-06-03 23:31 --- Subject: Bug 10242 Author: rearnsha Date: Wed Jun 3 23:31:12 2009 New Revision: 148156 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148156 Log: PR target/10242 * arm.md (arm_addsi3): Don

[Bug target/10242] [ARM] subsequent use of plus and minus operators could be improved

2009-06-03 Thread rearnsha at gcc dot gnu dot org
--- Comment #9 from rearnsha at gcc dot gnu dot org 2009-06-03 23:34 --- fixed -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug target/36399] FSF GCC ABI bug on darwin/x86-32

2009-06-03 Thread dalej at gcc dot gnu dot org
--- Comment #4 from dalej at gcc dot gnu dot org 2009-06-04 00:06 --- Yeah. Looking through our local changes, I think you just need this line in i386.h: #define SSE_REGPARM_MAX (TARGET_64BIT ? 8 : (TARGET_MACHO ? 4 : (TARGET_SSE ? 3 : 0))) However Apple employees can't currently touc

[Bug libfortran/40334] New: 4.5 regression: changed BACKSPACE behaviour at end of file.

2009-06-03 Thread bartoldeman at users dot sourceforge dot net
The following program (also attached) reads to eof, backspace, reads (eof detected), backspace, and reads again. The last read gets the last line with gfortran 4.5 (tested: r148116) but eof with gfortran <= 4.4, g95, g77 and Sun f95. >From reading comp.lang.fortran I know that EOF/BACKSPACE intera

[Bug libfortran/40334] 4.5 regression: changed BACKSPACE behaviour at end of file.

2009-06-03 Thread bartoldeman at users dot sourceforge dot net
--- Comment #1 from bartoldeman at users dot sourceforge dot net 2009-06-04 00:30 --- Created an attachment (id=17950) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17950&action=view) Test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40334

[Bug libfortran/40334] 4.5 regression: changed BACKSPACE behaviour at end of file.

2009-06-03 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2009-06-04 01:13 --- Confirmed on 4.4 and 4.5. I checked with 4.3, ifort, open64, and Sun -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug libfortran/40334] 4.4,4.5 regression: changed BACKSPACE behaviour at end of file.

2009-06-03 Thread jvdelisle at gcc dot gnu dot org
-- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added Summary|4.5 regression: changed |4.4,4.5 regression: changed |BACKSPACE behaviour

[Bug libfortran/37754] [4.4 Regression] READ I/O Performance regression from 4.3 to 4.4/4.5

2009-06-03 Thread bartoldeman at users dot sourceforge dot net
--- Comment #19 from bartoldeman at users dot sourceforge dot net 2009-06-04 04:03 --- Thanks for all the work -- another text processing program which changes some headers in big ASCII files (which is what inspired this bug) went from around real0m2.026s user0m1.764s sys 0m

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread jv244 at cam dot ac dot uk
--- Comment #11 from jv244 at cam dot ac dot uk 2009-06-04 05:16 --- (In reply to comment #9) > Proper patch submitted. Thanks, don't wait too long with 4.4 as this should make it in 4.4.1 which could be released this month, and some further testing on the branch would be good: http://g

[Bug libfortran/40330] [4.4 Regression] incorrect IO

2009-06-03 Thread burnus at gcc dot gnu dot org
--- Comment #12 from burnus at gcc dot gnu dot org 2009-06-04 05:36 --- > Thanks, don't wait too long with 4.4 as this should make it in 4.4.1 which > could be released this month, and some further testing on the branch would be > good: Planned for June 21, see (better link): http://gcc.

[Bug libfortran/40334] [4.4, 4.5 Regression] changed BACKSPACE behaviour at end of file.

2009-06-03 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-06-04 06:41 --- With trunk 2009-04-05-r145558 I get HELLO correct while with trunk 2009-04-06-r145580 the result is HELLO error2: not at eof It is not surprising that the following patch was checked in between those revisions:

[Bug libfortran/25561] Eventually get rid of the Alloc Stream Facility

2009-06-03 Thread burnus at gcc dot gnu dot org
--- Comment #16 from burnus at gcc dot gnu dot org 2009-06-04 06:43 --- Can this PR now be closed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25561