Problem supporting char and short int

2010-01-05 Thread Prashant Purohit
Hi, I am trying to port gcc-4.3.0 to a custom architecture. The high level language selected is C. The processor is a RISC processor and all the registers are of 32-bits wide. The integer data type (SImode) is set as 32-bits. I have already completed implementation to support integer data type

[Bug tree-optimization/42508] [4.5 Regression] wrong code with "-O1 -fipa-sra"

2010-01-05 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-01-05 08:41 --- Subject: Bug 42508 Author: jakub Date: Tue Jan 5 08:40:50 2010 New Revision: 155640 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155640 Log: PR tree-optimization/42508 * tree-sra.c (convert_

[Bug other/42611] ICE in tree_low_cst, at tree.c:5014

2010-01-05 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2010-01-05 08:43 --- Subject: Bug 42611 Author: jakub Date: Tue Jan 5 08:42:53 2010 New Revision: 155641 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155641 Log: PR other/42611 * cfgexpand.c (expand_one_var): Di

[Bug other/42611] ICE in tree_low_cst, at tree.c:5014

2010-01-05 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2010-01-05 08:56 --- Subject: Bug 42611 Author: jakub Date: Tue Jan 5 08:56:30 2010 New Revision: 155642 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155642 Log: PR other/42611 * cfgexpand.c (expand_one_var): Di

[Bug other/42611] ICE in tree_low_cst, at tree.c:5014

2010-01-05 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2010-01-05 08:57 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/42508] [4.5 Regression] wrong code with "-O1 -fipa-sra"

2010-01-05 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-01-05 08:58 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64

2010-01-05 Thread irar at il dot ibm dot com
--- Comment #42 from irar at il dot ibm dot com 2010-01-05 09:09 --- So, it's enough to force alignment of reduce only (and to vectorize its loop) to get wrong code. On the other hand, the result of the vectorized loop is correct, and the problem is in choosing the correct index of temp.

[Bug fortran/42481] generic interface not recognized

2010-01-05 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-01-05 09:20 --- See also http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/b128e5ed244a2516 Richard Maine thinks it is valid - and I also do not see (ad hoc) any reason why it should be invalid. -- burnus at

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

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-01-05 10:47 --- Uh, of course. _Don't use global register variables_ They are not supposed to be used for this kind of things and nobody spends a single second to optimizing code generation for them - instead the most difficult th

[Bug bootstrap/42619] New: [4.5 regression] ICE building stage3 libiberty/regex.o on Tru64 UNIX: verify_ssa failed

2010-01-05 Thread ro at gcc dot gnu dot org
As of 20100104 (rev. 155613), mainline failsto bootstrap on alpha-dec-osf4.0f while compiling the stage3 libiberty/regex.o: % /vol/gcc/obj/gcc-4.5.0-20100104/4.0f-gcc/./prev-gcc/xgcc -B/vol/gcc/obj/gcc-4.5.0-20100104/4.0f-gcc/./prev-gcc/ -B/vol/gcc/alpha-dec-osf4.0f/bin/ -B/vol/gcc/alpha-dec-osf4.

[Bug bootstrap/42619] [4.5 regression] ICE building stage3 libiberty/regex.o on Tru64 UNIX: verify_ssa failed

2010-01-05 Thread ro at gcc dot gnu dot org
--- Comment #1 from ro at gcc dot gnu dot org 2010-01-05 11:00 --- Created an attachment (id=19470) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19470&action=view) preprocessed input file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42619

[Bug tree-optimization/42614] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread stubbs at icerasemi dot com
--- Comment #2 from stubbs at icerasemi dot com 2010-01-05 11:14 --- This code should do it: --- extern void *malloc(int); extern void abort(void); extern void free(void *); typedef struct SEntry { unsigned char num; } TEntry; typedef struct STable { TEntry data[2]; } TTable; TTa

[Bug rtl-optimization/42489] Opt bug -foptimize-sibling-calls function call stalled! dead-lock, cpu max

2010-01-05 Thread t66667 at gmail dot com
--- Comment #11 from t7 at gmail dot com 2010-01-05 11:14 --- nothing to do with gcc -- t7 at gmail dot com changed: What|Removed |Added Status|UNCONF

[Bug bootstrap/42619] [4.5 regression] ICE building stage3 libiberty/regex.o on Tru64 UNIX: verify_ssa failed

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-05 11:16 --- The testcase works on i?86. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

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

2010-01-05 Thread joseph at codesourcery dot com
--- Comment #17 from joseph at codesourcery dot com 2010-01-05 11:25 --- Subject: Re: [4.5 Regression] IMA is broken See what I said in suggesting deprecating the implementation of -combine and keeping the interface. -- http://g

[Bug tree-optimization/42620] New: FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rahul at icerasemi dot com
On the following test case compiled with GCC 4.4.1 release version and the following command line gcc -S -O2 -finline-functions-called-once -fdump-tree-all-details -fdump-ipa-all fail.c typedef struct SEntry { unsigned char num; } TEntry; typedef struct STable { TEntry data[2]; } TTable; T

[Bug bootstrap/42619] [4.5 regression] ICE building stage3 libiberty/regex.o on Tru64 UNIX: verify_ssa failed

2010-01-05 Thread ro at CeBiTec dot Uni-Bielefeld dot DE
--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-01-05 11:30 --- Subject: Re: [4.5 regression] ICE building stage3 libiberty/regex.o on Tru64 UNIX: verify_ssa failed > --- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-05 11:16 > --- > The testcase wor

[Bug tree-optimization/42614] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rahul at icerasemi dot com
--- Comment #3 from rahul at icerasemi dot com 2010-01-05 11:30 --- *** Bug 42620 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42614

[Bug tree-optimization/42620] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rahul at icerasemi dot com
--- Comment #1 from rahul at icerasemi dot com 2010-01-05 11:30 --- Accidentally added due to browser refresh. Bug is duplicate of PR42614. *** This bug has been marked as a duplicate of 42614 *** -- rahul at icerasemi dot com changed: What|Removed

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-05 11:31 --- Somehow patched openSUSE GCC 4.3 is also affected. : # index_18 = VDEF index = 0; # index_21 = VDEF # SMT.57_22 = VDEF # SMT.58_23 = VDEF table_p_1 = init (); D.1295_3 = &table_p_1->data[1]; # SM

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-01-05 11:39 --- Hm, I guess I'm the only one that is likely going to fix it. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/42479] Wrong code with -floop-block

2010-01-05 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2010-01-05 11:40 --- Also happens at rev. 155544 on x86_64-unknown-linux-gnu, with both -m32 and -m64. "-O3 -floop-block" gives different results than "-O3" alone (and is much faster). Profiling should indicate what part of code is di

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread stubbs at icerasemi dot com
--- Comment #6 from stubbs at icerasemi dot com 2010-01-05 11:41 --- I can try and look into it if you give me some pointers. I can guarantee I won't be able to fix it anywhere near as quickly as you though :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42614

[Bug middle-end/42479] Wrong code with -floop-block

2010-01-05 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2010-01-05 11:42 --- Created an attachment (id=19471) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19471&action=view) Source file and input file Compile induct.f90 and run with induct.in in the same directory. -- http://g

[Bug rtl-optimization/42612] post-increment addressing not used

2010-01-05 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2010-01-05 11:43 --- Combine is doing what it knows best (forming complicated instructions, addressing modes in this case); to do this it is already damaging the nice shape of the code after the tree optimizers, and synthesizing things like x+2.

[Bug c++/40155] [c++0x] variadic template pack problem

2010-01-05 Thread dodji at gcc dot gnu dot org
--- Comment #2 from dodji at gcc dot gnu dot org 2010-01-05 11:43 --- FWIW, I think this code is valid. The A template parameter in "typename identity::type..." is in a non-deduced context, so it's argument should not be deduced from there. The argument of A should be re-used from the d

[Bug c/42621] New: 4.4/4.5 Regression, Computed gotos on AMD 800% slower

2010-01-05 Thread fredrik dot svahn at gmail dot com
When compiling a program with computed goto:s with gcc 4.4.2 it runs significantly slower (up to a factor 10) than when it is compiled with e.g. gcc 4.1/4.3 with the same optimization flags (-O2 or -O3). A small dummy test program without header file dependencies is attached. I am compiling with a

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-01-05 11:57 --- Shorter testcase, fails at -O2 -fno-early-inlining: extern void abort(void); typedef struct SEntry { int num; } TEntry; typedef struct STable { TEntry data[2]; } TTable; TTable * __attribute__((noinline)) ini

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-01-05 11:58 --- Well, I'm sure it goes wrong in compute_flow_insensitive_aliasing - let me have a quick look there. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42614

[Bug libstdc++/42622] New: [C++0x] Improve std::ratio_less to not overflow

2010-01-05 Thread paolo dot carlini at oracle dot com
This is just an internal reminder: we should implement the following suggestion from Howard on the library reflector. Maybe Chris is interested... / I just recently became aware that it is possible to do this comparison without any chance of overflow. This is accomplished by conve

[Bug rtl-optimization/42612] post-increment addressing not used

2010-01-05 Thread jon at beniston dot com
--- Comment #3 from jon at beniston dot com 2010-01-05 12:13 --- GCC 4.1.2 seems to produce the same code. mov r2, #0 mov r3, r0 strbr2, [r3], #1 strbr2, [r0, #1] add r0, r3, #2 @ lr needed for prologue strbr2, [r3

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-01-05 12:16 --- Ok, it's simple. We add false aliases to &index to both SMTs of SEntry and STable because may_alias_p (SEntry, char) returns true as every alias-set is a subset of alias-set zero. But then when coming along to addi

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-01-05 12:20 --- Created an attachment (id=19472) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19472&action=view) patch Testing on the application that originally failed appreciated. -- http://gcc.gnu.org/bugzilla/show

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread stubbs at icerasemi dot com
--- Comment #11 from stubbs at icerasemi dot com 2010-01-05 12:23 --- Thanks for your time and the extra quick fix! I'll do some testing with that patch now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42614

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2010-01-05 12:29 --- I got different error in the same place when configured with: Target: alpha-linux-gnu Configured with: ../gcc-svn/trunk/configure --host=alpha-linux-gnu --build=alpha-linux-gnu --target=alpha-linux-gnu --enable-languages=

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread stubbs at icerasemi dot com
--- Comment #12 from stubbs at icerasemi dot com 2010-01-05 12:32 --- Your patch fixes our original application. Thanks again for your help. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42614

[Bug rtl-optimization/42621] [4.4/4.5 Regression] Computed gotos on AMD 800% slower

2010-01-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|c |rtl-optimization Keywords||miss

[Bug rtl-optimization/42621] [4.4/4.5 Regression] Computed gotos on AMD 800% slower

2010-01-05 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2010-01-05 12:50 --- There is a pass "duplicate_computed_gotos" that should take care of this. Why does it not work in this case? -- steven at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/42479] Wrong code with -floop-block

2010-01-05 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-01-05 12:56 --- Profiling without -floop-block + 99.8%, start, a.out | + 99.8%, main, a.out | | + 99.8%, induct_, a.out | | | + 77.5%, __mqc_m_MOD_mutual_ind_quad_cir_coil, a.out | | | | 2.8%, cosisin, libSystem.B.dylib | | | | -

[Bug c++/40155] [c++0x] variadic template pack problem

2010-01-05 Thread bangerth at gmail dot com
--- Comment #3 from bangerth at gmail dot com 2010-01-05 13:20 --- (In reply to comment #2) > I believe this should be flagged P1, even if it doesn't seem to be a > regression. I'm obviously not impartial, but this is the sort of code that template packs are supposed to support, and for

[Bug c++/42603] [C++0x] decltype not supported for parent class specifier

2010-01-05 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2010-01-05 13:29 --- This is http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#950 we decided in Santa Cruz that this usage should be allowed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42603

[Bug c++/40155] [c++0x] variadic template pack problem

2010-01-05 Thread dodji at gcc dot gnu dot org
--- Comment #4 from dodji at gcc dot gnu dot org 2010-01-05 13:31 --- Patch submitted to http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00205.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40155

[Bug tree-optimization/42462] [4.5 Regression] wrong-code with computed-goto

2010-01-05 Thread jamborm at gcc dot gnu dot org
--- Comment #4 from jamborm at gcc dot gnu dot org 2010-01-05 13:39 --- This weird side-effect of IPA-SRA is caused by a bug in compute_inline_parameters which should pass node->decl instead of current_function_decl to its helper functions. I am about to test the following patch which f

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-01-05 13:41 --- Subject: Bug 42614 Author: rguenth Date: Tue Jan 5 13:41:41 2010 New Revision: 155646 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155646 Log: 2010-01-05 Richard Guenther PR tree-optimizatio

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2010-01-05 13:42 --- Subject: Bug 42614 Author: rguenth Date: Tue Jan 5 13:42:40 2010 New Revision: 155647 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155647 Log: 2010-01-05 Richard Guenther PR tree-optimizatio

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

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

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2010-01-05 13:52 --- Minimized testcase (from other bootstrap failure): --cut here-- typedef struct { struct { int how; } reg[64 + 1]; } _Unwind_FrameState; alpha_fallback_frame_state (_Unwind_FrameState * fs) { long i; for (i

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-01-05 13:53 --- So, which stages do ICE on the testcase? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42511

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

2010-01-05 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2010-01-05 14:15 --- Subject: Bug 42517 Author: burnus Date: Tue Jan 5 14:15:37 2010 New Revision: 155649 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155649 Log: 2010-01-05 Tobias Burnus PR fortran/42517

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread debian-gcc at lists dot debian dot org
--- Comment #7 from debian-gcc at lists dot debian dot org 2010-01-05 14:16 --- setting BOOT_CFLAGS to -g -O1 lets the build succeed. the testcase from comment #5 doesn't ice. test results for this build at http://gcc.gnu.org/ml/gcc-testresults/2010-01/msg00501.html -- http://gcc.g

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2010-01-05 14:21 --- It looks that tree loop IM FUBARs the compilation. All testcases compile OK with -O2 -fno-tree-loop-im. The dump for _.c.099t.lim1 looks quite strange (it resembles _.c.024t.ssa): --cut here-- ;; Function alpha_fallback

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2010-01-05 14:27 --- (In reply to comment #7) > setting BOOT_CFLAGS to -g -O1 lets the build succeed. the testcase from > comment > #5 doesn't ice. It will ICE with default build, with checkings enabled. -- http://gcc.gnu.org/bugzilla/

[Bug middle-end/42479] Wrong code with -floop-block

2010-01-05 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2010-01-05 14:35 --- Note that the inner loops in subroutine mutual_ind_quad_rec_coil are not vectorized at -O3, unless -ffast-math is used. Timing the code with and without -ffast-math gives [macbook] lin/test% gfc -O3 induct.f90 [macbo

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

2010-01-05 Thread burnus at gcc dot gnu dot org
--- Comment #21 from burnus at gcc dot gnu dot org 2010-01-05 14:46 --- (In reply to comment #20) > Dave, do you know how to emit the forceload and just exactly what is this? g77 does it as shown in http://gcc.gnu.org/viewcvs/branches/gcc-3_4-branch/gcc/f/com.c?view=markup -- http:

[Bug c++/42623] New: Function template default arguments: Invalid expressions are allowed

2010-01-05 Thread adam at jessamine dot co dot uk
Ref: Function template default arguments: C++ defect report 226 (http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#226) GCC 4.5.0 (tr...@155642) compiles the following code despite the result of sizeof being undefined. The use of sizeof(incomplete-type) as the value of a default templa

[Bug target/42503] [4.4 Regression] gcc-4.4-20091215 broke libjava on ARM

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2010-01-05 15:17 --- Is this fixed now? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42503

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-01-05 15:36 --- Well, I can't see how this wouldn't be a problem on other targets thus I re-iterate: which stages do show this behavior? Does the stage1 cc1 reproduce it? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42511

[Bug target/42503] [4.4 Regression] gcc-4.4-20091215 broke libjava on ARM

2010-01-05 Thread mikpe at it dot uu dot se
--- Comment #17 from mikpe at it dot uu dot se 2010-01-05 15:41 --- Fixed now, closing. -- mikpe at it dot uu dot se changed: What|Removed |Added Status|NEW

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread dje at gcc dot gnu dot org
--- Comment #5 from dje at gcc dot gnu dot org 2010-01-05 15:47 --- sqrt(-0) = -0 and 0 is a discontinuity for atan2 Either sqrt should return +0 or atan2 should force +0 if games with signed zeros are allowed. -- dje at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-01-05 15:50 --- IIRC the problem is that using fma causes the -0 argument for fsqrt (which behaves 100% correct). Thus a more sensible fix would be to do the 0+ on the fma result. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread segher at kernel dot crashing dot org
--- Comment #7 from segher at kernel dot crashing dot org 2010-01-05 15:57 --- With -fno-signed-zeroes, a-b*c is transformed to -(b*c-a), which is a machine instruction. If the result would have been +0 before, it now is -0. The code then takes the sqrt() of that; sqrt(-0) is -0. This

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread segher at kernel dot crashing dot org
--- Comment #8 from segher at kernel dot crashing dot org 2010-01-05 16:00 --- (In reply to comment #6) > IIRC the problem is that using fma causes the -0 argument for fsqrt (which > behaves 100% correct). Thus a more sensible fix would be to do the 0+ on > the fma result. But a -0 re

[Bug tree-optimization/42462] [4.5 Regression] wrong-code with computed-goto

2010-01-05 Thread jamborm at gcc dot gnu dot org
--- Comment #5 from jamborm at gcc dot gnu dot org 2010-01-05 16:03 --- Patch posted to the mailing list: http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00215.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42462

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread rguenther at suse dot de
--- Comment #9 from rguenther at suse dot de 2010-01-05 16:03 --- Subject: Re: October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math On Tue, 5 Jan 2010, segher at kernel dot crashing dot org wrote: > --- Comment #7 from segher at kernel dot crashing do

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

2010-01-05 Thread ian at airs dot com
--- Comment #22 from ian at airs dot com 2010-01-05 16:09 --- For ELF, when the GNU linker has seen a common symbol, and then sees that symbol in the archive map, it will look in the object to see whether the object defines the symbol (rather than simply providing another common definiti

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2010-01-05 16:24 --- (In reply to comment #10) > Well, I can't see how this wouldn't be a problem on other targets thus I > re-iterate: which stages do show this behavior? Does the stage1 cc1 > reproduce it? No. -- http://gcc.gnu.org/b

[Bug c++/17920] add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions

2010-01-05 Thread shcherbakov at daad-alumni dot de
--- Comment #12 from shcherbakov at daad-alumni dot de 2010-01-05 16:27 --- I would also appreciate if an attribute like this is supported by gcc due to several reasons: 1. Developers that want to ensure that a virtual method actually overrides another virtual method of a base class w

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread segher at kernel dot crashing dot org
--- Comment #10 from segher at kernel dot crashing dot org 2010-01-05 16:42 --- (In reply to comment #9) > Right. Just it might be simpler with -fno-signed-zeros to > transform a-b*c to 0 + -(b*c-a). a-b*c is two machine instructions; -(b*c-a) is one. Adding zero again makes it two,

[Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code

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

[Bug bootstrap/41771] Bootstrap with Sun Studio 12.1 fails

2010-01-05 Thread ro at gcc dot gnu dot org
--- Comment #15 from ro at gcc dot gnu dot org 2010-01-05 17:14 --- Subject: Bug 41771 Author: ro Date: Tue Jan 5 17:14:30 2010 New Revision: 155654 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155654 Log: gcc: PR bootstrap/41771 * flags.h: Don't inclu

[Bug debug/42396] [4.5 Regression] ICE: in dwarf2out_frame_debug_adjust_cfa, at dwarf2out.c:1859

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

[Bug libstdc++/42624] New: libstdc++ parallel mode deadlocks in barrier

2010-01-05 Thread edwintorok at gmail dot com
When building ClamAV with -D_GLIBCXX_PARALLEL -fopenmp, clamd hangs, attaching gdb to the hanged process reveals 2 threads, one is waiting in poll (normal), the other one is hanged in gomp_team_barrier_wait_end. Since there are no other threads that could grant it the barrier, that thread will wait

[Bug libstdc++/42624] libstdc++ parallel mode deadlocks in barrier

2010-01-05 Thread edwintorok at gmail dot com
--- Comment #1 from edwintorok at gmail dot com 2010-01-05 18:09 --- (In reply to comment #0) > $ make -j4 This should have been: make CCLD=g++ -j4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42624

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

2010-01-05 Thread dominiq at lps dot ens dot fr
--- Comment #23 from dominiq at lps dot ens dot fr 2010-01-05 18:12 --- This looks like a duplicate of pr34136. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42568

[Bug fortran/34136] Add entry point and symbol for linker

2010-01-05 Thread dominiq at lps dot ens dot fr
--- Comment #19 from dominiq at lps dot ens dot fr 2010-01-05 18:15 --- pr42568 looks like a duplicate of this one. Note that the issue seems fixed on darwin10. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34136

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

2010-01-05 Thread ramana at gcc dot gnu dot org
--- Comment #1 from ramana at gcc dot gnu dot org 2010-01-05 18:20 --- Confirmed but definitely an enhancement. -- ramana at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/34136] Add entry point and symbol for linker

2010-01-05 Thread howarth at nitro dot med dot uc dot edu
--- Comment #20 from howarth at nitro dot med dot uc dot edu 2010-01-05 18:27 --- (In reply to comment #19) > pr42568 looks like a duplicate of this one. > > Note that the issue seems fixed on darwin10. > This issue was radr://5613343 and has been fixed for darwin10 and later. --

[Bug rtl-optimization/42499] Bad register allocation in multiplication code by constant

2010-01-05 Thread ramana at gcc dot gnu dot org
--- Comment #2 from ramana at gcc dot gnu dot org 2010-01-05 18:28 --- Why is there no load of tv.tv_usec in the code generated that you've pasted? Are you sure you've pasted this right ? With 4.4 arm-eabi - 17/12/2009 snapshot I see the following code ? for -march=armv5te -mthumb -Os

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math

2010-01-05 Thread meissner at linux dot vnet dot ibm dot com
--- Comment #11 from meissner at linux dot vnet dot ibm dot com 2010-01-05 18:40 --- Subject: Re: October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math On Tue, Jan 05, 2010 at 04:03:17PM -, rguenther at suse dot de wrote: > > > --- Comment #9 from

[Bug tree-optimization/42157] [4.5 regression] ICE building stage 1 libgcc: SEGV in compare_access_positions

2010-01-05 Thread jamborm at gcc dot gnu dot org
--- Comment #12 from jamborm at gcc dot gnu dot org 2010-01-05 18:46 --- I posted a slightly simpler patch to the mailing list: http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00229.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42157

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

2010-01-05 Thread jb at gcc dot gnu dot org
--- Comment #9 from jb at gcc dot gnu dot org 2010-01-05 19:14 --- Closing as fixed. -- jb at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/42624] libstdc++ parallel mode deadlocks in barrier

2010-01-05 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-01-05 19:22 --- The best we can do is asking the attention of Johannes... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug tree-optimization/42462] [4.5 Regression] wrong-code with computed-goto

2010-01-05 Thread jamborm at gcc dot gnu dot org
--- Comment #6 from jamborm at gcc dot gnu dot org 2010-01-05 19:42 --- Subject: Bug 42462 Author: jamborm Date: Tue Jan 5 19:42:32 2010 New Revision: 155658 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155658 Log: 2010-01-05 Martin Jambor PR tree-optimization/424

[Bug tree-optimization/42462] [4.5 Regression] wrong-code with computed-goto

2010-01-05 Thread jamborm at gcc dot gnu dot org
--- Comment #7 from jamborm at gcc dot gnu dot org 2010-01-05 19:44 --- Fixed. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/42346] darwin instantiation vs. optimization oddity

2010-01-05 Thread howarth at nitro dot med dot uc dot edu
--- Comment #9 from howarth at nitro dot med dot uc dot edu 2010-01-05 19:52 --- Might this bug be related to PR40459? Does the PR42346 test case work on gcc pre-r148492? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42346

[Bug libstdc++/38081] time_get<>::do_get_weekday does not always recognize full names of weekdays

2010-01-05 Thread paolo at gcc dot gnu dot org
--- Comment #4 from paolo at gcc dot gnu dot org 2010-01-05 20:05 --- Subject: Bug 38081 Author: paolo Date: Tue Jan 5 20:05:20 2010 New Revision: 155659 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155659 Log: 2010-01-05 Paolo Carlini PR libstdc++/38081 *

[Bug libstdc++/38081] time_get<>::do_get_weekday does not always recognize full names of weekdays

2010-01-05 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2010-01-05 20:10 --- Fixed. -- paolo dot carlini at oracle dot com changed: What|Removed |Added Statu

[Bug c++/42623] [C++0x] Function template default arguments: Invalid expressions are allowed

2010-01-05 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++/42623] [C++0x] Function template default arguments: Invalid expressions are allowed

2010-01-05 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2010-01-05 20:22 --- Created an attachment (id=19473) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19473&action=view) fix Here's a fix. Since this touches language-independent code and the bug isn't a regression, I'm not going to

[Bug tree-optimization/42625] New: -fipa-sra can generate different destructors in different object files, binary breaks after linking

2010-01-05 Thread zsojka at seznam dot cz
Tested revisions: r155643 - broken r155256 - broken r154886 - broken r154830 - OK Command line: in original testcases, all files are compiled with the same compiler parameters for this reduced testcase, one file is compiled with "-O1 -fipa-sra", second with just "-O1" if -fipa-sra is expected to g

[Bug tree-optimization/42625] -fipa-sra can generate different destructors in different object files, binary breaks after linking

2010-01-05 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-01-05 20:35 --- Created an attachment (id=19474) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19474&action=view) packed files (testcase) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42625

[Bug ada/42626] New: gcc/ada/Makefile.in has missing quote

2010-01-05 Thread simon at pushface dot org
A missing quote prevents building the RTS. -- Summary: gcc/ada/Makefile.in has missing quote Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gc

[Bug ada/42626] gcc/ada/Makefile.in has missing quote

2010-01-05 Thread simon at pushface dot org
--- Comment #1 from simon at pushface dot org 2010-01-05 20:40 --- Created an attachment (id=19475) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19475&action=view) Patch to gcc/ada/Makefile.in -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42626

[Bug target/42542] Vectorizer produces incorrect results on max/min of unsigned intergers

2010-01-05 Thread hjl at gcc dot gnu dot org
--- Comment #13 from hjl at gcc dot gnu dot org 2010-01-05 20:44 --- Subject: Bug 42542 Author: hjl Date: Tue Jan 5 20:44:14 2010 New Revision: 155660 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155660 Log: Properly convert GTU to GT for V4SI and V2DI gcc/ 2010-01-05 Paol

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #12 from ubizjak at gmail dot com 2010-01-05 20:47 --- Got the problem. stage1 compiler miscompiles determine_max_movement() from tree-ssa-loop-im.c. Following patch fixes the testcase from comment #5: Index: tree-ssa-loop-im.c ==

[Bug tree-optimization/42625] -fipa-sra can generate different destructors in different object files, binary breaks after linking

2010-01-05 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-01-05 21:10 --- I guess cgraph_make_node_local needs to update all same_body aliases (in particular clear DECL_WEAK which etc. which made the alias externally visible). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42625

[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu

2010-01-05 Thread ubizjak at gmail dot com
--- Comment #13 from ubizjak at gmail dot com 2010-01-05 21:15 --- (In reply to comment #12) > I will restart bootstrap now. Bootstraps OK for --enable-languages=c. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42511

[Bug tree-optimization/42625] -fipa-sra can generate different destructors in different object files, binary breaks after linking

2010-01-05 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-01-05 21:26 --- Created an attachment (id=19476) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19476&action=view) gcc45-pr42625.patch Untested fix. No idea how to create a testcase though, dg-additional-sources are compiled us

[Bug rtl-optimization/42621] [4.4/4.5 Regression] Computed gotos on AMD 800% slower

2010-01-05 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2010-01-05 21:51 --- Caused by revision 139760. http://gcc.gnu.org/viewcvs?view=revision&revision=139760 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42621

[Bug rtl-optimization/42621] [4.4/4.5 Regression] Computed gotos on AMD 800% slower

2010-01-05 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-01-05 21:56 --- So the profiling information (which is not always accurate without real profiling) says the code is not executed that often. I guess someone needs to tune them better for computed gotos unless people really want to

  1   2   >