[Bug middle-end/38474] [4.3/4.4 Regression] slow compilation at -O0 (callgraph optimization, inline heuristics, expand )

2008-12-20 Thread jv244 at cam dot ac dot uk
--- Comment #34 from jv244 at cam dot ac dot uk 2008-12-20 08:58 --- BTW, should I split this PR in 4 sub PRs, and make them block this one? 1) inline heuristics (4.3/4.4 Regression) 2) IRA mem explosion (4.4 Regression) 3) rename registers issue (?) 4) may_alias issue (?) This makes

[Bug middle-end/38474] [4.3/4.4 Regression] slow compilation at -O0 (callgraph optimization, inline heuristics, expand )

2008-12-20 Thread steven at gcc dot gnu dot org
--- Comment #35 from steven at gcc dot gnu dot org 2008-12-20 09:54 --- Re comment #34: Good idea, but add: 5) quadratic behaviour in find_temp_slot_from_address. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38474

[Bug rtl-optimization/38245] [4.4 Regression] stack corruption when a call is removed but not the outgoing argument pushes

2008-12-20 Thread steven at gcc dot gnu dot org
--- Comment #19 from steven at gcc dot gnu dot org 2008-12-20 09:56 --- Fixing all targets is beyond my hacking skills. -- steven at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/38582] New: excessive time in rename registers

2008-12-20 Thread jv244 at cam dot ac dot uk
This is split off from PR38474 for clarity. Compiling the testcase of that PR (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16873) as gfortran-4.3 -ffree-line-length-512 -g -ffree-form -ftime-report -c -O3 -march=native -funroll-loops testcase.f90 shows that about 13 hours are needed in renam

[Bug rtl-optimization/38583] New: [4.4 Regression] ira memory explosion

2008-12-20 Thread jv244 at cam dot ac dot uk
This is split off from PR38474 for clarity. Compiling the testcase of that PR (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16873) as gfortran -ffree-line-length-512 -g -ffree-form -ftime-report -c -O3 -march=native -funroll-loops -fno-rename-registers testcase.f90 requires ~9.3Gb of RAM with

[Bug middle-end/38584] New: [4.3/4.4 Regression] Inline heuristics

2008-12-20 Thread jv244 at cam dot ac dot uk
This is split off from PR38474 for clarity. Compiling the testcase of that PR (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16873) as gfortran-4.3 -ffree-line-length-512 -g -ffree-form -ftime-report -c -O0 testcase.f90 requires about 20min in inline heuristics, estimating the stack frame size

[Bug middle-end/38585] New: excessive time in compute_may_aliases

2008-12-20 Thread jv244 at cam dot ac dot uk
This is split off from PR38474 for clarity. Compiling the testcase of that PR (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16873) as gfortran-4.3 -ffree-line-length-512 -g -ffree-form -ftime-report -c -O3 -march=native -funroll-loops -fno-rename-registers testcase.f90 shows that a slow routi

[Bug fortran/38573] Missing markers for translation

2008-12-20 Thread goeran at uddeborg dot se
--- Comment #2 from goeran at uddeborg dot se 2008-12-20 11:26 --- That's true. Simply including the "is" in the symstd_msg, so the entire message within the parenthesis would be translated as a unit, would be a significant improvement. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?i

[Bug middle-end/38586] New: quadratic behaviour in find_temp_slot_from_address.

2008-12-20 Thread jv244 at cam dot ac dot uk
This is split off from PR38474 for clarity, see steven's comment #35 in that PR. Compiling the testcase of that PR (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16873) should be illuminating -- Summary: quadratic behaviour in find_temp_slot_from_address. Product: gcc

[Bug middle-end/38474] [Meta] slow compilation at -O0 (callgraph optimization, inline heuristics, expand )

2008-12-20 Thread jv244 at cam dot ac dot uk
--- Comment #36 from jv244 at cam dot ac dot uk 2008-12-20 11:30 --- I've added PR38582 : rename registers PR38583 : ira PR38584 : inline heuristic PR38585 : compute_may_aliases PR38586 : find_temp_slot_from_address and turned this one in a meta bug. -- jv244 at cam dot ac dot uk

[Bug rtl-optimization/38583] [4.4 Regression] ira memory explosion

2008-12-20 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38583

[Bug middle-end/38584] [4.3/4.4 Regression] Inline heuristics

2008-12-20 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2008-12-20 11:32 --- affects both 4.3 and 4.4 -- jv244 at cam dot ac dot uk changed: What|Removed |Added Target Milestone

[Bug bootstrap/38523] [4.4 regression] arm build fails to link cc1-dummy

2008-12-20 Thread laurent at guerby dot net
--- Comment #7 from laurent at guerby dot net 2008-12-20 12:21 --- ../trunk/configure --prefix=/n/50/guerby/install-trunk-142808 --enable-languages=c,c++ --enable-__cxa_atexit --disable-nls --enable-threads=posix --with-mpfr=/opt/cfarm/mpfr-2.3.2 --build=arm-linux-gnueabi --host=arm-lin

[Bug fortran/38538] ICE with elemental character function

2008-12-20 Thread dominiq at lps dot ens dot fr
--- Comment #13 from dominiq at lps dot ens dot fr 2008-12-20 13:01 --- The patch in comment #12 fixes the pr without causing the regressions reported in comments #8 and #9. Compiling gcc/testsuite/gfortran.dg/char_length_7.f90 gives an ICE: gimplification failed: 2 constant 2> /opt/gc

[Bug fortran/38538] ICE with elemental character function

2008-12-20 Thread dominiq at lps dot ens dot fr
--- Comment #14 from dominiq at lps dot ens dot fr 2008-12-20 14:27 --- Regtested with -m32 and -m64 without other regression that gcc/testsuite/gfortran.dg/char_length_7.f90. The offending line is: ! This was another bug, uncovered when the PR was fixed. if (any(ccopy(z//mz(:)(i:j))

[Bug c/38587] New: psim miscompiled #2 [regression]

2008-12-20 Thread joel at gcc dot gnu dot org
GNATLS 4.4.0 20081209 (experimental) [trunk revision 142610] idecode.c:6591: assertion failed - current_cpu >= 0 && current_cpu < nr_cpus It may be after the new year before I can investigate further. I have a test sweep of 20081219 running now on gcc12 and once it gets past the powerpc I will t

[Bug middle-end/38586] quadratic behaviour in find_temp_slot_from_address.

2008-12-20 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot |dot org

[Bug middle-end/38474] [Meta] slow compilation at -O0 (callgraph optimization, inline heuristics, expand )

2008-12-20 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|steven at gcc dot gnu dot |unassigned at gcc dot gnu |org

[Bug middle-end/38584] [4.3/4.4 Regression] Inline heuristics run even at -O0

2008-12-20 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot |dot org

[Bug middle-end/38582] excessive time in rename registers

2008-12-20 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfir

[Bug rtl-optimization/38583] [4.4 Regression] ira memory explosion

2008-12-20 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfir

[Bug middle-end/38585] excessive time in compute_may_aliases

2008-12-20 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2008-12-20 15:50 --- Probably 4.5 material (alias improvement branch). You could try --param max-aliased-vops=0 as a work-around. -- steven at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/38398] g0.w edit descriptor: Update for F2008 Tokyo meeting changes

2008-12-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-12-20 18:34 --- Created an attachment (id=16950) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16950&action=view) Revised patch This is latest version of the patch. Please test. -- http://gcc.gnu.org/bugzilla/show_bu

[Bug c++/36921] [4.3/4.4 Regression] warning "comparison does not have mathematical meaning" is not correct for overloaded operators that do not return boolean

2008-12-20 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2008-12-20 18:47 --- Subject: Bug 36921 Author: jakub Date: Sat Dec 20 18:46:12 2008 New Revision: 142849 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142849 Log: PR c++/36921 * c-common.c (warn_about_parenthese

[Bug c++/36921] [4.3 Regression] warning "comparison does not have mathematical meaning" is not correct for overloaded operators that do not return boolean

2008-12-20 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2008-12-20 18:47 --- Fixed on the trunk so far. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/38587] psim miscompiled #2 [regression]

2008-12-20 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-20 18:46 --- This sounds more likely an overflow issue. Does -fno-strict-overflow make this work? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/38486] Missing warning about type punning

2008-12-20 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-12-20 18:53 --- (In reply to comment #4) > Yes. Though you have to be careful not to create false positives for > > float f; > struct X { int i; }; > > struct X *p = (struct X *)&f; > float *q = (float *)&p->i; > return *q; Actu

[Bug middle-end/38486] Missing warning about type punning

2008-12-20 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-12-20 18:58 --- (In reply to comment #5) > Actually that is an aliasing violation still as you still accessing *p, yes it > looks like it is not an access because of the address but you are still > accessing *p really. Oh and we do

[Bug fortran/37746] bounds check of string dummy arguments

2008-12-20 Thread domob at gcc dot gnu dot org
-- domob at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |domob at gcc dot gnu dot org |dot org

[Bug target/38469] Wrong code for a function with long long argument returning int.

2008-12-20 Thread rsandifo at gcc dot gnu dot org
--- Comment #3 from rsandifo at gcc dot gnu dot org 2008-12-20 21:35 --- OK well, thanks for trying. I'm glad you have a workaround, even if it's not the one I thought. (Perhaps it was another TRULY_NOOP_TRUNCATION combine.c fix. ISTR there were a few.) Anyway, the problem is fixed

[Bug libgcj/16923] -D* Options passed to JNI_CreateJavaVM are ignored

2008-12-20 Thread howarth at nitro dot med dot uc dot edu
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2008-12-20 22:22 --- Oddly, it appears that we see the failure of... Running target unix/-m64 FAIL: PR16923 run when gcc trunk is built with... Platform: i686-apple-darwin9 configure flags: --prefix=/sw --prefix=/sw/lib/gcc4

[Bug target/37610] [4.4 Regression] FAIL: g++.dg/eh/pr29166.C execution test

2008-12-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #13 from ebotcazou at gcc dot gnu dot org 2008-12-20 22:33 --- Subject: Bug 37610 Author: ebotcazou Date: Sat Dec 20 22:32:30 2008 New Revision: 142850 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142850 Log: PR target/37610 * configure.ac (gcc_cv_

[Bug middle-end/38584] [4.3/4.4 Regression] Inline heuristics run even at -O0

2008-12-20 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2008-12-21 00:33 --- Created an attachment (id=16951) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16951&action=view) Avoid expensive inline heuristics at O0, and speed up add_alias_set_conflicts This problem is always going to be

[Bug c/38588] New: strict-aliasing error

2008-12-20 Thread baisjing at yahoo dot com dot cn
Hi: use gcc4.1.2 on x86_64/linux, for example: main() { long long int a; double b; a=4607182418800017408; b=*(double *)&a; printf("%f\n",b); } if using -O0/-O1 optimization, the result is 1.00; but if using -O2/-O3 optimization,the result is 0.00. i have try to close -fno-

[Bug fortran/38589] New: internal compiler error

2008-12-20 Thread baisjing at yahoo dot com dot cn
Hi: another bug,for example: 1.f: subroutine aaa(a,nla,nlo) include "1.h" nlo=nlo-1 end 1.h: interface subroutine aaa(a1,nla1,nlo1) end end interface i use gfortran(gcc 4.1.2) on x86_64/linux with default optimization -O2.but compiling it give me an error

[Bug c/21920] aliasing violations

2008-12-20 Thread pinskia at gcc dot gnu dot org
--- Comment #136 from pinskia at gcc dot gnu dot org 2008-12-21 01:58 --- *** Bug 38588 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/38588] strict-aliasing error

2008-12-20 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-21 01:58 --- No this is working as designed. GCC does warn about this case. t.c:6: warning: dereferencing type-punned pointer will break strict-aliasing rules Now in 4.4.0 and above, the same result will happen at -O1 and -O2

[Bug fortran/38589] internal compiler error

2008-12-20 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2008-12-21 02:01 --- The code compiles (well dies with an appropriate error) with GNU Fortran (GCC) 4.2.5 20080702 (prerelease) GNU Fortran (GCC) 4.3.3 20081120 (prerelease) GNU Fortran (GCC) 4.4.0 20081213 (experimental) [trunk revision 1

[Bug c/38590] New: ice: verify_gimple failed

2008-12-20 Thread regehr at cs dot utah dot edu
uages=c,c++ --no-create --no-recursion : (reconfigured) ../configure --program-prefix=current- --prefix=/home/regehr --enable-languages=c,c++ --no-create --no-recursion Thread model: posix gcc version 4.4.0 20081220 (experimental) (GCC) -- Summary: ice: verify_gimple failed

[Bug c/38587] psim miscompiled #2 [regression]

2008-12-20 Thread joel at gcc dot gnu dot org
--- Comment #2 from joel at gcc dot gnu dot org 2008-12-21 02:15 --- (In reply to comment #1) > This sounds more likely an overflow issue. Does -fno-strict-overflow make > this > work? > No. "-O2 -fno-strict-overflow" did not work. I also tried with -O1 and it did not work. With -O0

[Bug fortran/37472] bad output on default-format write of double in common block with -m64 flag i

2008-12-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #13 from jvdelisle at gcc dot gnu dot org 2008-12-21 05:28 --- This little patch eliminates the misalignment of output characters with -m32 and gets rid of a many many valgrind errors. @@ -628,7 +637,7 @@ output_float_FMT_G_ ## x (st_parameter_d \ while (low <= high)\

[Bug tree-optimization/38401] TreeSSA-PRE load after store missed optimization

2008-12-20 Thread sergeid at il dot ibm dot com
--- Comment #16 from sergeid at il dot ibm dot com 2008-12-21 07:44 --- (In reply to comment #15) > Re. comment #14: Yes, I suppose so. Why do you want to remove gcse-las from > mainline. Not that I'm against it -- ideally RTL gcse.c would not work on > memory at all anymore -- but I w