Inserting code into prologue/epilogue

2010-03-21 Thread Vaibhav Shrimali
/*/ x = cfun-machine-force_align_arg_pointer; x = gen_frame_mem (Pmode, plus_constant (x, -8)) xor hard_frame_pointer_rtx; insn = emit_insn (gen_push (x)); RTX_FRAME_RELATED_P (insn) = 1;

Re: Fwd: constant hoisting out of loops

2010-03-21 Thread fanqifei
On Sun, Mar 21, 2010 at 3:43 AM, Jim Wilson wil...@codesourcery.com wrote: On Sun, 2010-03-21 at 03:40 +0800, fanqifei wrote: foor_expand_move is changed and it works now. However, I still don't understand why there was no such error if below condition was used and foor_expand_move was not

gcc-4.3-20100321 is now available

2010-03-21 Thread gccadmin
Snapshot gcc-4.3-20100321 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.3-20100321/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.3 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

[Bug middle-end/43464] New: copy prop breaks loop closed SSA form

2010-03-21 Thread spop at gcc dot gnu dot org
When copy propagation is called from the loop optimizer, copy prop does not update the loop closed SSA form, and we end up on a representation that crashes on verify_loop_closed_ssa (). This bug appeared on the Graphite branch with -O3 on the attached testcase reduced from perlbench. Note that

[Bug middle-end/43464] copy prop breaks loop closed SSA form

2010-03-21 Thread spop at gcc dot gnu dot org
--- Comment #1 from spop at gcc dot gnu dot org 2010-03-21 07:01 --- Created an attachment (id=20148) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20148action=view) pr43464.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43464

[Bug middle-end/43464] copy prop breaks loop closed SSA form

2010-03-21 Thread spop at gcc dot gnu dot org
--- Comment #2 from spop at gcc dot gnu dot org 2010-03-21 07:06 --- Created an attachment (id=20149) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20149action=view) proposed fix The proposed fix is to recompute the loop closed SSA form after copy propagation. --

[Bug middle-end/43464] copy prop breaks loop closed SSA form

2010-03-21 Thread spop at gcc dot gnu dot org
--- Comment #3 from spop at gcc dot gnu dot org 2010-03-21 07:32 --- Subject: Bug 43464 Author: spop Date: Sun Mar 21 07:32:43 2010 New Revision: 157602 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157602 Log: Fix PR43464: update loop close SSA once copy prop is done.

[Bug target/42886] [4.5 Regression] GCC is not relocatable anymore on Windows (mingw32)

2010-03-21 Thread andriys at gmail dot com
--- Comment #3 from andriys at gmail dot com 2010-03-21 08:15 --- (In reply to comment #1) This is probably due to the way you built GCC. To have a completely relocatable toolchain, you need to use the --with-sysroot option to configure, I've just checked out the latest sources from

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-21 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2010-03-21 08:58 --- The test fails gfortran.dg/inquire_size.f90 on powerpc-apple-darwin9 (see http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg01801.html). The failures are due to bad values of size, as shown by the following output of

[Bug target/42495] redundant memory load

2010-03-21 Thread carrot at google dot com
--- Comment #4 from carrot at google dot com 2010-03-21 09:18 --- It is for thumb1, there should be another parameter that I missed -march=armv5te. It still exists in today's trunk. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42495

[Bug target/43440] Overwriting neon quad register does not clobber all included single registers

2010-03-21 Thread ramana at gcc dot gnu dot org
--- Comment #7 from ramana at gcc dot gnu dot org 2010-03-21 09:23 --- (In reply to comment #5) The proper solution seems to be extremely simple to me and it should do exactly the same what an application programmer would do to workaround the bug. Just when initially parsing

[Bug target/43462] Suboptimal switch table jump generation

2010-03-21 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1

[Bug middle-end/43464] copy prop breaks loop closed SSA form

2010-03-21 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2010-03-21 09:54 --- Why such a big hammer? You should be able to figure out which copy props are allowed and which should be disallowed in loop-closed SSA form. Is if (current_loops) the right test here? This will break if Zdenek's

[Bug fortran/43463] large compile time regressions for Polyhedron 2005 benchmarks

2010-03-21 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2010-03-21 09:57 --- How did you configure the compilers? (Think --enable-checking=release, etc.) -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43440] Overwriting neon quad register does not clobber all included single registers

2010-03-21 Thread siarhei dot siamashka at gmail dot com
--- Comment #8 from siarhei dot siamashka at gmail dot com 2010-03-21 10:05 --- What about just forbidding to use q registers in the inline assembly clobber list? Is it difficult to do? As a nice bonus, the existing potentially unsafe inline assembly will fail to compile, will be

[Bug c++/43465] New: access to private function as template argument depends on pointer syntax

2010-03-21 Thread oschmidt_do_not_send_email_to_this_address at gmx dot de
Hi, if a private static method is passed as a template argument, the visibility depends whether pointer syntax is used or not. A simple example (more complex ones in attachment): // == #include iostream typedef int F(int i); templateF* f

[Bug c++/43465] access to private function as template argument depends on pointer syntax

2010-03-21 Thread oschmidt_do_not_send_email_to_this_address at gmx dot de
--- Comment #1 from oschmidt_do_not_send_email_to_this_address at gmx dot de 2010-03-21 10:10 --- Created an attachment (id=20150) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20150action=view) testcode and compiler invocation scripts --

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-03-21 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2010-03-21 11:13 --- Excellent, Silvius. Note, I'm not 100% sure about possible deadlines for 4.5.0: I think the second week of April will be still ok, but I would suggest keeping an eye to the gcc list and be prepared to move

[Bug middle-end/30905] [4.3/4.4/4.5 Regression] Fails to cross-jump

2010-03-21 Thread steven at gcc dot gnu dot org
--- Comment #19 from steven at gcc dot gnu dot org 2010-03-21 12:03 --- Cause here is better register allocation and lack of cross-jumping before register allocation. This will not be fixed. For GCC 4.6 we should add a cross-jumping patch (an improved version if this pass, anyway)

[Bug middle-end/26241] [4.3/4.4/4.5 Regression] None of the IPA passes are documented in passes.texi

2010-03-21 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2010-03-21 12:09 --- I believe this should be fixed for GCC 4.5. Setting to P3 to ask release managers for their opinion. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/17863] [4.3/4.4/4.5 Regression] performance loss (TER register presure and inlining limits problems)

2010-03-21 Thread steven at gcc dot gnu dot org
--- Comment #50 from steven at gcc dot gnu dot org 2010-03-21 12:13 --- Performance loss within acceptable limits (by the you give some, you take some principle). GCC 4.5 optimizes the test case away completely. I see no reason to do anything more here. Fixed for GCC 4.5 and GCC 4.4.

[Bug c++/19159] [4.3/4.4/4.5 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2010-03-21 Thread steven at gcc dot gnu dot org
--- Comment #45 from steven at gcc dot gnu dot org 2010-03-21 12:14 --- Mark, I'm assuming you have no plans to work on this? If so, please unassign yourself from this bug. Can anyone reconfirm this bug for GCC 4.4 and/or GCC 4.5? -- steven at gcc dot gnu dot org changed:

[Bug objc++/31032] [4.3 Regression] expected tree that contains 'decl with RTL' structure, have 'field_decl' in assemble_external_real, at varasm.c:2225

2010-03-21 Thread steven at gcc dot gnu dot org
--- Comment #16 from steven at gcc dot gnu dot org 2010-03-21 12:16 --- Known to work in 4.4.0 so not a 4.4/4.5 Regression anymore. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/37367] [4.4/4.5 Regression] gcc-4.4/4.5 speed regression

2010-03-21 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2010-03-21 12:20 --- Bug in WAITING for a long time, no feedback. Very small, hard-to-catch code difference. It's been noted before that the core2 scheduler description (contributed by Intel itself!) often results in worse code than the

[Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code

2010-03-21 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2010-03-21 12:22 --- With all attention going out to debug info in GCC 4.5, and with TER more-or-less rewritten for GCC 4.5 -- perhaps re-evaluate this bug's priority? -- steven at gcc dot gnu dot org changed: What

[Bug debug/19192] [4.3/4.4/4.5 Regression] Current development gcc generates inaccurate line info for example code

2010-03-21 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Priority|P5 |P3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19192

[Bug debug/43442] .debug_loc is unnecessarily large

2010-03-21 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-03-21 13:26 --- Found a problem - the patch relies on the fact that the fragments of each block are sorted in ascending order of their PCs, but apparently that is not the case. So how much the patch will actually save on .debug_loc

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2010-03-21 13:31 --- Dominiq, can you test the FSTAT intrinsic while you are at it? With the same file I wonder if it gives the same results. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43409

[Bug target/43440] Overwriting neon quad register does not clobber all included single registers

2010-03-21 Thread ramana at gcc dot gnu dot org
--- Comment #9 from ramana at gcc dot gnu dot org 2010-03-21 13:41 --- (In reply to comment #8) What about just forbidding to use q registers in the inline assembly clobber list? Is it difficult to do? It's not difficult to - The patch only penalises the cases where an sreg ends

[Bug middle-end/43466] New: ICE using pragma GCC optimize(O2)

2010-03-21 Thread rmansfield at qnx dot com
~/gcc/trunk/gcc/tmp/gcc$ ./xgcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../configure --disable-bootstrap --enable-languages=c Thread model: posix gcc version 4.5.0 20100321 (experimental) [trunk revision 157602] (GCC) ~/gcc/trunk/gcc/tmp/gcc$ cat ~/ice.i #pragma GCC

[Bug c++/19159] [4.3/4.4/4.5 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2010-03-21 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #46 from dave at hiauly1 dot hia dot nrc dot ca 2010-03-21 14:03 --- Subject: Re: [4.3/4.4/4.5 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info Can anyone reconfirm this bug for GCC 4.4 and/or GCC 4.5? I think this bug should be closed. While

[Bug debug/43442] .debug_loc is unnecessarily large

2010-03-21 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2010-03-21 14:16 --- I think there are two problems in reorder_blocks{,_1}: 1) BLOCK_FRAGMENT_CHAIN should be reversed on each block when reorder_blocks_1 finishes, otherwise the chain starts with the earliest fragment

[Bug tree-optimization/42956] [4.4 Regression] internal compiler error: Segmentation fault with -O1

2010-03-21 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2010-03-21 14:35 --- Still needs to be applied to GCC 4.4. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43463] large compile time regressions for Polyhedron 2005 benchmarks

2010-03-21 Thread howarth at nitro dot med dot uc dot edu
=/usr/X11R6/lib --disable-libjava-multilib Thread model: posix gcc version 4.5.0 20100321 (experimental) (GCC) Using built-in specs. Target: x86_64-apple-darwin10.3.0 Configured with: ../gcc-4.4.4/configure --prefix=/sw --prefix=/sw/lib/gcc4.4 --mandir=/sw/share/man --infodir=/sw/share/info --enable

[Bug target/37367] [4.4/4.5 Regression] gcc-4.4/4.5 speed regression

2010-03-21 Thread howarth at nitro dot med dot uc dot edu
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2010-03-21 14:44 --- Shouldn't there be a PR about the suboptimal performance from the core2 tuning (in hopes that original contributors from Intel will revisit these issues)? --

[Bug target/42886] [4.5 Regression] GCC is not relocatable anymore on Windows (mingw32)

2010-03-21 Thread nightstrike at gmail dot com
--- Comment #4 from nightstrike at gmail dot com 2010-03-21 14:56 --- (In reply to comment #3) (In reply to comment #1) This is probably due to the way you built GCC. To have a completely relocatable toolchain, you need to use the --with-sysroot option to configure, I've just

[Bug inline-asm/42321] NEON/VFP registers from inline assembly clobber list are saved/restored incorrectly

2010-03-21 Thread rearnsha at gcc dot gnu dot org
--- Comment #6 from rearnsha at gcc dot gnu dot org 2010-03-21 15:58 --- testing fix -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/43464] copy prop breaks loop closed SSA form

2010-03-21 Thread sebpop at gmail dot com
--- Comment #5 from sebpop at gmail dot com 2010-03-21 16:08 --- Subject: Re: copy prop breaks loop closed SSA form On Sun, Mar 21, 2010 at 04:54, steven at gcc dot gnu dot org gcc-bugzi...@gcc.gnu.org wrote: Why such a big hammer? 'cause I don't want to add more bugs, and no I

[Bug target/37367] [4.4/4.5 Regression] gcc-4.4/4.5 speed regression

2010-03-21 Thread hjl dot tools at gmail dot com
--- Comment #7 from hjl dot tools at gmail dot com 2010-03-21 16:20 --- (In reply to comment #6) Shouldn't there be a PR about the suboptimal performance from the core2 tuning (in hopes that original contributors from Intel will revisit these issues)? Intel didn't contribute

Re: [Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90

2010-03-21 Thread Sebastian Pop
On Sat, Mar 20, 2010 at 05:45, dominiq at lps dot ens dot fr wrote: Do you understand why graphite does not detect that the loop for [scat_1+1, T_10-2] depends on the one for  [0, scat_1-1]? Graphite does know this, but it does not ask CLooG to generate [0, scat_1-1] after [scat_1+1, T_10-2],

[Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90

2010-03-21 Thread sebpop at gmail dot com
--- Comment #26 from sebpop at gmail dot com 2010-03-21 16:28 --- Subject: Re: [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90 On Sat, Mar 20, 2010 at 05:45, dominiq at lps dot ens dot fr wrote: Do you understand why graphite does not detect that the loop

[Bug c++/19159] [4.3/4.4/4.5 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

2010-03-21 Thread mmitchel at gcc dot gnu dot org
--- Comment #47 from mmitchel at gcc dot gnu dot org 2010-03-21 16:47 --- Closed at request of submitter. -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/43464] copy prop breaks loop closed SSA form

2010-03-21 Thread spop at gcc dot gnu dot org
--- Comment #6 from spop at gcc dot gnu dot org 2010-03-21 17:01 --- Further reduced testcase: typedef struct regnode { char flags; } regnode; extern const unsigned char A[]; char *foo (regnode *c, char *s, int norun) { int uskip; while (s + (uskip = A[*s])) { if

[Bug middle-end/43464] copy prop breaks loop closed SSA form

2010-03-21 Thread spop at gcc dot gnu dot org
--- Comment #7 from spop at gcc dot gnu dot org 2010-03-21 17:17 --- The problem is that copyprop does this change: @@ -25,7 +25,7 @@ bb 12: # .MEM_16 = PHI .MEM_18(10), .MEM_20(11) # s_66 = PHI s_1(10), s_1(11) -s_13 = s_66; +s_13 = s_1; goto bb 16 (got_it);

[Bug lto/43467] New: LTO error bytecode stream: trying to read 0 bytes after the end of the input buffer

2010-03-21 Thread d dot g dot gorbachev at gmail dot com
-- Summary: LTO error bytecode stream: trying to read 0 bytes after the end of the input buffer Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto

[Bug lto/43467] LTO error bytecode stream: trying to read 0 bytes after the end of the input buffer

2010-03-21 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-03-21 17:25 --- Created an attachment (id=20151) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20151action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43467

[Bug target/42886] [4.5 Regression] GCC is not relocatable anymore on Windows (mingw32)

2010-03-21 Thread d dot g dot gorbachev at gmail dot com
--- Comment #5 from d dot g dot gorbachev at gmail dot com 2010-03-21 18:00 --- My GCC (4.4 and 4.5) were configured with the following options: `--build=mingw32 --enable-languages=c,c++ --enable-version-specific-runtime-libs --disable-win32-registry --disable-nls --disable-shared'. I

[Bug fortran/43463] large compile time regressions for Polyhedron 2005 benchmarks

2010-03-21 Thread howarth at nitro dot med dot uc dot edu
++,fortran,objc,obj-c++,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --disable-libjava-multilib --enable-checking=release Thread model: posix gcc version 4.5.0 20100321

[Bug tree-optimization/42149] ICE:verify_gimple failed for avr target

2010-03-21 Thread mirq-gccboogs at rere dot qmqm dot pl
--- Comment #1 from mirq-gccboogs at rere dot qmqm dot pl 2010-03-21 18:44 --- [looks like bug #39959] The same happens with -combine on following code (arm-none-eabi target): a.h: struct a { int b; int c; }; extern struct a *p asm(r4); void d(int *); b.c:

[Bug libstdc++/43468] New: FAIL: ext/profile/mh.cc (test for excess errors)

2010-03-21 Thread danglin at gcc dot gnu dot org
spawn /home/dave/gnu/gcc/objdir/./gcc/g++ -shared-libgcc -B/home/dave/gnu/gcc/ob jdir/./gcc -nostdinc++ -L/home/dave/gnu/gcc/objdir/hppa-linux/libstdc++-v3/src - L/home/dave/gnu/gcc/objdir/hppa-linux/libstdc++-v3/src/.libs -B/home/dave/opt/gn u/gcc/gcc-4.5.0/hppa-linux/bin/

[Bug tree-optimization/42149] ICE:verify_gimple failed for avr target

2010-03-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-03-21 19:02 --- Combine bug (PR 39959) is a different issue from the matrix testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42149

[Bug fortran/43463] large compile time regressions for Polyhedron 2005 benchmarks

2010-03-21 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2010-03-21 19:04 --- Development branches have extra checking enabled, and it's always been like that. If you compile with -ftime-report, the compiler warns if the extra checking is enabled, and that's quite enough. -- steven at gcc

[Bug c/43469] New: ICE trying to compile glibc for ARM thumb2

2010-03-21 Thread siarhei dot siamashka at gmail dot com
= the exact version of GCC Freshly checked out SVN trunk for gcc 4.5.0 (r157602) = the options given when GCC was configured/built; --target=armv7a-unknown-linux-gnueabi --enable-languages=c --without-headers = the complete command line that triggers the bug;

[Bug c/43469] ICE trying to compile glibc for ARM thumb2

2010-03-21 Thread siarhei dot siamashka at gmail dot com
--- Comment #1 from siarhei dot siamashka at gmail dot com 2010-03-21 19:05 --- Created an attachment (id=20152) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20152action=view) localealias.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43469

[Bug c/43469] ICE trying to compile glibc for ARM thumb2

2010-03-21 Thread siarhei dot siamashka at gmail dot com
--- Comment #2 from siarhei dot siamashka at gmail dot com 2010-03-21 19:07 --- works fine with gcc 4.4.3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43469

[Bug libstdc++/43468] FAIL: ext/profile/mh.cc (test for excess errors)

2010-03-21 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-03-21 19:15 --- *** This bug has been marked as a duplicate of 43259 *** -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-03-21 Thread paolo dot carlini at oracle dot com
--- Comment #10 from paolo dot carlini at oracle dot com 2010-03-21 19:15 --- *** Bug 43468 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43259

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

2010-03-21 Thread davek at gcc dot gnu dot org
--- Comment #10 from davek at gcc dot gnu dot org 2010-03-21 19:25 --- Recategorising; target narrowly wins out over libjava. Patch was approved at http://gcc.gnu.org/ml/java-patches/2010-q1/msg00062.html -- davek at gcc dot gnu dot org changed: What|Removed

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

2010-03-21 Thread davek at gcc dot gnu dot org
--- Comment #11 from davek at gcc dot gnu dot org 2010-03-21 19:34 --- Subject: Bug 42811 Author: davek Date: Sun Mar 21 19:34:19 2010 New Revision: 157604 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157604 Log: PR target/42811 (prerequisite) *

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

2010-03-21 Thread davek at gcc dot gnu dot org
--- Comment #12 from davek at gcc dot gnu dot org 2010-03-21 19:37 --- Subject: Bug 42811 Author: davek Date: Sun Mar 21 19:36:49 2010 New Revision: 157605 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157605 Log: PR target/42811 (prerequisite) * jvmti.cc

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

2010-03-21 Thread davek at gcc dot gnu dot org
--- Comment #13 from davek at gcc dot gnu dot org 2010-03-21 19:41 --- Subject: Bug 42811 Author: davek Date: Sun Mar 21 19:41:37 2010 New Revision: 157606 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157606 Log: PR target/42811 * libjava/configure.ac (DLLTOOL):

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

2010-03-21 Thread davek at gcc dot gnu dot org
--- Comment #14 from davek at gcc dot gnu dot org 2010-03-21 19:42 --- And another one bites the dust. -- davek at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42775] sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1

2010-03-21 Thread laurent at guerby dot net
--- Comment #4 from laurent at guerby dot net 2010-03-21 19:56 --- Summary work/fail. -- laurent at guerby dot net changed: What|Removed |Added CC|

[Bug c/43470] New: ICE: powerpc64 with -fno-strict-aliasing -O2 on interersting asm volatiles

2010-03-21 Thread slyfox at inbox dot ru
Tried to build one of itermediate ghc(glasgow haskell compiler) files and got SIGSEGV: gcc-4.4.3 -x c ghc30321_0.i -S -fno-strict-aliasing -O2 -o a.s Yes, it's a gentoo patched gcc, but I'll check vanilla gcc-svn in shortest time. (bug is reproducible on gcc-4.3.3 as well)

[Bug rtl-optimization/43471] New: Unnecessary reload of asm m operand address

2010-03-21 Thread mirq-gccboogs at rere dot qmqm dot pl
code: register int *p asm(r4); void a() { asm volatile( : +m (*p)); } generates: [...] mov r3, r4 [...] when it should generate no move as the address register won't be modified inside asm(). Similar bugs: #40680, #34283, #13355. (gcc 4.5 from svn 157582) --

[Bug c/43470] ICE: powerpc64 with -fno-strict-aliasing -O2 on interersting asm volatiles

2010-03-21 Thread slyfox at inbox dot ru
--- Comment #1 from slyfox at inbox dot ru 2010-03-21 20:09 --- Created an attachment (id=20153) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20153action=view) ghc30321_0.i - preprocessed offending file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43470

[Bug tree-optimization/43472] New: gcc -O3: exhausts memory on whetstone.cbe.

2010-03-21 Thread edwintorok at gmail dot com
gcc -O2 works on this file: gcc whetstone.cbe.c -lm -O2 -fno-strict-aliasing -fno-inline -m64 -fomit-frame-pointer gcc -O3 exhausts memory: gcc whetstone.cbe.c -lm -O3 -fno-strict-aliasing -fno-inline -m64 -fomit-frame-pointer virtual memory exhausted: Cannot allocate memory $ gcc -v Using

[Bug c/43470] ICE: powerpc64 with -fno-strict-aliasing -O2 on interersting asm volatiles

2010-03-21 Thread slyfox at inbox dot ru
--- Comment #2 from slyfox at inbox dot ru 2010-03-21 20:11 --- Created an attachment (id=20154) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20154action=view) valgrind.log - sheds some light on SIGSEGV reason ... ==10526== Invalid write of size 8 ==10526==at 0x105DC344:

[Bug tree-optimization/43472] gcc -O3: exhausts memory on whetstone.cbe.

2010-03-21 Thread edwintorok at gmail dot com
--- Comment #1 from edwintorok at gmail dot com 2010-03-21 20:11 --- Created an attachment (id=20155) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20155action=view) whetstone.cbe.c testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43472

[Bug middle-end/43459] Invalid may be used uninitialized in this function warning with -Os

2010-03-21 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2010-03-21 20:23 --- I cannot reproduce this in GCC 4.5, so probably it got fixed. Thanks for the report. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug inline-asm/42321] NEON/VFP registers from inline assembly clobber list are saved/restored incorrectly

2010-03-21 Thread rearnsha at gcc dot gnu dot org
--- Comment #7 from rearnsha at gcc dot gnu dot org 2010-03-21 20:27 --- Subject: Bug 42321 Author: rearnsha Date: Sun Mar 21 20:27:00 2010 New Revision: 157609 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157609 Log: PR target/42321 * arm.c

[Bug target/42321] NEON/VFP registers from inline assembly clobber list are saved/restored incorrectly

2010-03-21 Thread rearnsha at gcc dot gnu dot org
--- Comment #8 from rearnsha at gcc dot gnu dot org 2010-03-21 20:30 --- Fixed in trunk -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added

[Bug web/43473] New: hword size destination variable induces suboptimal code generation compared to full word size var

2010-03-21 Thread mirq-gccboogs at rere dot qmqm dot pl
unsigned short a; unsigned b; #define d 0xC000 void ma() { unsigned short u = (d 1) 0x; a = (a ~u) | d; } void mb() { unsigned short u = (d 1) 0x; b = (b ~u) | d; } generates: ma: ldr r3, .L2 ldrhr2, [r3, #0]

[Bug c/43470] ICE: powerpc64 with -fno-strict-aliasing -O2 on interersting asm volatiles

2010-03-21 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2010-03-21 20:56 --- This is fixed by the patch for PR39254, which sadly never got applied to upstream 4.4 branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43470

[Bug target/43417] SH: 4.4 ICE in final_scan_insn, at final.c:2604

2010-03-21 Thread kkojima at gcc dot gnu dot org
--- Comment #5 from kkojima at gcc dot gnu dot org 2010-03-21 22:29 --- Subject: Bug 43417 Author: kkojima Date: Sun Mar 21 22:29:19 2010 New Revision: 157610 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157610 Log: Backport from mainline: 2009-05-12 Paolo

[Bug target/43417] SH: 4.4 ICE in final_scan_insn, at final.c:2604

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

[Bug tree-optimization/43472] gcc -O3: exhausts memory on whetstone.cbe.

2010-03-21 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-03-21 23:01 --- Confirmed. Looks like a dup of PR43415. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/43470] ICE: powerpc64 with -fno-strict-aliasing -O2 on interersting asm volatiles

2010-03-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-03-21 23:03 --- *** This bug has been marked as a duplicate of 39254 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39254] [4.4 Regression] gcc.c-torture/execute/va-arg-trap-1.c ICEs on powerpc-apple-darwin9

2010-03-21 Thread pinskia at gcc dot gnu dot org
--- Comment #19 from pinskia at gcc dot gnu dot org 2010-03-21 23:03 --- *** Bug 43470 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/43464] copy prop breaks loop closed SSA form

2010-03-21 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-03-21 23:05 --- (In reply to comment #7) The problem is that copyprop does this change: @@ -25,7 +25,7 @@ bb 12: # .MEM_16 = PHI .MEM_18(10), .MEM_20(11) # s_66 = PHI s_1(10), s_1(11) -s_13 = s_66; +

[Bug middle-end/43464] copy prop breaks loop closed SSA form

2010-03-21 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-03-21 23:07 --- (In reply to comment #8) (In reply to comment #7) The problem is that copyprop does this change: @@ -25,7 +25,7 @@ bb 12: # .MEM_16 = PHI .MEM_18(10), .MEM_20(11) # s_66 = PHI s_1(10),

[Bug bootstrap/42047] --with-gmp= include directory is used for build targets

2010-03-21 Thread nightstrike at gmail dot com
--- Comment #5 from nightstrike at gmail dot com 2010-03-21 23:35 --- (In reply to comment #4) Looks like we need a new variable for build includes I think, too. I've built successful with my patch. (I don't send my patch because it is half-finished.) Have you finished your

[Bug c/43474] New: gcc failed to generate correct code under -O0

2010-03-21 Thread jasonzou1983 at yahoo dot com
gcc 4.4.1 and 4.2.4 failed to generate the correct code under -O0; gcc 3.4.6 works fine. ---BEGIN code --- #include stdio.h int main( ) { int a, b; a = 1; b = 2; register int *pa = a; register int *pb = b; /* Swap a and b using pointers pa and pb */ *pa ^= *pb ^=

[Bug c/43474] gcc failed to generate correct code under -O0

2010-03-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-03-22 00:09 --- We don't warn about this but you are missing a sequence point between the modifications of *pa (and also *pb). -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/43464] copy prop breaks loop closed SSA form

2010-03-21 Thread spop at gcc dot gnu dot org
--- Comment #10 from spop at gcc dot gnu dot org 2010-03-22 00:17 --- Yes, this patch does fix the problem. diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c index 57c6558..61e32cc 100644 --- a/gcc/tree-ssa-copy.c +++ b/gcc/tree-ssa-copy.c @@ -797,7 +797,6 @@ init_copy_prop (void)

[Bug c/43474] gcc failed to generate correct code under -O0

2010-03-21 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2010-03-22 00:18 --- More precisely, C99 6.5 §2 reads: Between the previous and next sequence point an object shall have its stored value modi#64257;ed at most once by the evaluation of an expression. Furthermore, the prior value

[Bug c/43474] gcc failed to generate correct code under -O0

2010-03-21 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2010-03-22 00:19 --- Between the previous and next sequence point an object shall have its stored value modi#64257;ed at most once by the evaluation of an expression. Furthermore, the prior value shall be read only to determine

[Bug middle-end/43464] copy prop breaks loop closed SSA form

2010-03-21 Thread spop at gcc dot gnu dot org
--- Comment #11 from spop at gcc dot gnu dot org 2010-03-22 00:26 --- I would still like to see some extra checking after copyprop: would this extra check be ok to commit with the fix? diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c index 61e32cc..011a80a 100644 ---

[Bug target/43461] unsigned int var; (var 0xFF) not translated to uxtb insn in Thumb mode

2010-03-21 Thread rearnsha at gcc dot gnu dot org
--- Comment #2 from rearnsha at gcc dot gnu dot org 2010-03-22 00:51 --- Confirmed. Uxtb is better because for low regs it's only 16-bits. -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42886] [4.5 Regression] GCC is not relocatable anymore on Windows (mingw32)

2010-03-21 Thread aflyhorse at foxmail dot com
--- Comment #6 from aflyhorse at foxmail dot com 2010-03-22 01:00 --- In my recent build I configured the binutils as: ../src/configure --target=x86_64-w64-mingw32 --enable-targets=x86_64-w64-mingw32,i686-w64-mingw32 --disable-shared --enable-static --disable-nls --with-mpc=/local

[Bug middle-end/42718] FAIL: gcc.c-torture/compile/pr42559.c at -O1 and above

2010-03-21 Thread danglin at gcc dot gnu dot org
--- Comment #3 from danglin at gcc dot gnu dot org 2010-03-22 01:00 --- Subject: Bug 42718 Author: danglin Date: Mon Mar 22 01:00:30 2010 New Revision: 157614 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157614 Log: PR middle-end/42718 * pa.md (movmemsi): Set

[Bug middle-end/42718] FAIL: gcc.c-torture/compile/pr42559.c at -O1 and above

2010-03-21 Thread danglin at gcc dot gnu dot org
--- Comment #4 from danglin at gcc dot gnu dot org 2010-03-22 01:03 --- Subject: Bug 42718 Author: danglin Date: Mon Mar 22 01:02:42 2010 New Revision: 157615 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157615 Log: PR middle-end/42718 * pa.md (movmemsi): Set

[Bug middle-end/42718] FAIL: gcc.c-torture/compile/pr42559.c at -O1 and above

2010-03-21 Thread danglin at gcc dot gnu dot org
--- Comment #5 from danglin at gcc dot gnu dot org 2010-03-22 01:05 --- Subject: Bug 42718 Author: danglin Date: Mon Mar 22 01:05:19 2010 New Revision: 157616 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157616 Log: PR middle-end/42718 * pa.md (movmemsi): Set

[Bug middle-end/43464] copy prop breaks loop closed SSA form

2010-03-21 Thread spop at gcc dot gnu dot org
--- Comment #12 from spop at gcc dot gnu dot org 2010-03-22 01:29 --- Subject: Bug 43464 Author: spop Date: Mon Mar 22 01:28:51 2010 New Revision: 157617 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157617 Log: Fix PR43464: loop close phi nodes can contain more than one

[Bug middle-end/42718] FAIL: gcc.c-torture/compile/pr42559.c at -O1 and above

2010-03-21 Thread danglin at gcc dot gnu dot org
--- Comment #6 from danglin at gcc dot gnu dot org 2010-03-22 01:29 --- Failure is avoided in back-end but middle-end problem remains. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42718

[Bug bootstrap/42529] Stage 1 compiler cannot compile

2010-03-21 Thread mckelvey at maskull dot com
--- Comment #10 from mckelvey at maskull dot com 2010-03-22 02:00 --- OK I've been busy. I've replaced the old computer with a Windows 7 box, and reinstalled cygwin from scratch. I get the same thing: checking for i686-pc-cygwin-gcc... /cygdrive/j/Home/cvsroot/gcc-obj/./gcc/xgcc

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2010-03-22 02:03 --- Found it: Index: io.h === --- io.h(revision 157617) +++ io.h(working copy) @@ -331,7 +331,7 @@ CHARACTER2 (round);

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #12 from jvdelisle at gcc dot gnu dot org 2010-03-22 02:39 --- Subject: Bug 43409 Author: jvdelisle Date: Mon Mar 22 02:39:02 2010 New Revision: 157618 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157618 Log: 2010-03-21 Jerry DeLisle jvdeli...@gcc.gnu.org

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #13 from jvdelisle at gcc dot gnu dot org 2010-03-22 02:41 --- I will back port all of this business to 4.4 in a few days. Dominique, please confirm this fixes it on your machine and I thank you very much for the report. --