[Bug fortran/42359] ICEs with specification function and init expression

2010-09-12 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-09-12 09:25 --- (In reply to comment #1) > (ii) An automatic array cannot have an initialization expression. I disagree: Initialization expressions should be allowed (= compile-time constant) - but specification expressions not. -

[Bug fortran/43665] INTENT(IN) etc. optimization of calls: function annotations for noclobber/noescape arguments

2010-09-12 Thread burnus at gcc dot gnu dot org
--- Comment #24 from burnus at gcc dot gnu dot org 2010-09-12 09:32 --- (In reply to comment #23) > I have applied the patch in comment #21 without regression, but the test case > from attachment 21265 [edit] fails: - create_fn_spec (sym, type); + type = create_fn_spec (sym, type); a

[Bug tree-optimization/45470] [4.6 Regression] ICE: verify_flow_info failed: BB 2 can not throw but has an EH edge with -ftree-vectorize -fnon-call-exceptions

2010-09-12 Thread irar at il dot ibm dot com
--- Comment #9 from irar at il dot ibm dot com 2010-09-12 09:46 --- OK, thanks. I am going to test this patch, it only checks data-refs and function calls: Index: tree-vect-data-refs.c === --- tree-vect-data-refs.c (r

[Bug fortran/43665] INTENT(IN) etc. optimization of calls: function annotations for noclobber/noescape arguments

2010-09-12 Thread dominiq at lps dot ens dot fr
--- Comment #25 from dominiq at lps dot ens dot fr 2010-09-12 10:13 --- > - create_fn_spec (sym, type); > + type = create_fn_spec (sym, type); > > as in the original patch. With this change the test succeeds. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43665

[Bug c++/45651] New: internal compiler error: in import_export_decl, at cp/decl2.c:2344

2010-09-12 Thread kamaraju at gmail dot com
r...@kusumanchi:/home/593456# cat error.cpp namespace { template struct A {}; } template struct B { void f(A); }; template struct B<1>; template void B::f(A) {} r...@kusumanchi:/home/593456# /usr/lib/gcc-snapshot/bin/g++ -v error.cpp Using built-in specs. COLLECT_GCC=/usr/lib/gcc-snapshot/bin/

[Bug tree-optimization/40150] ICE in cgraph_estimate_size_after_inlining, at ipa-inline.c:188 with -combine

2010-09-12 Thread kamaraju at gmail dot com
--- Comment #3 from kamaraju at gmail dot com 2010-09-12 12:51 --- When I tried with 4.6.0 20100828, I get the ICE at a different place. /usr/lib/gcc-snapshot/bin/gcc -std=gnu99 -O3 -fwhole-program -combine lv2log.i sim-common.i flight-computer.i physics.i pressure_sensor.i sensors.i re

[Bug tree-optimization/45639] [4.6 Regression] /usr/ccs/bin/ld: Data address is out of range for short load or store

2010-09-12 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2010-09-12 13:06 --- Caused by same change as on SPARC. *** This bug has been marked as a duplicate of 45612 *** -- danglin at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/45612] [4.6 regression] Reference to undefined label building libada on Solaris 2/SPARC

2010-09-12 Thread danglin at gcc dot gnu dot org
--- Comment #5 from danglin at gcc dot gnu dot org 2010-09-12 13:06 --- *** Bug 45639 has been marked as a duplicate of this bug. *** -- danglin at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug ada/45568] [4.6 Regression] stack overflow (or erroneous memory access) building gnattools

2010-09-12 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2010-09-12 13:28 --- This bug was introduced in 163808. It no longer occurs on trunk, probably because of the subsequent changes to tree-ssa-ccp.c (fold_const_aggregate_ref). -- danglin at gcc dot gnu dot org changed: Wh

[Bug tree-optimization/35618] [4.3 regression] ICE in cgraph_estimate_size_after_inlining, at ipa-inline.c:188

2010-09-12 Thread kamaraju at gmail dot com
--- Comment #14 from kamaraju at gmail dot com 2010-09-12 13:39 --- The reduced test case in comment #8, with options "-c -Os -fno-unit-at-a-time", does not ICE in gcc 4.4.5 20100909, gcc 4.6.0 20100828. But it gives an ICE with gcc 4.3.5. Also, for sched.i, with options "-c -Os -fno-un

[Bug c++/45651] internal compiler error: in import_export_decl, at cp/decl2.c:2344

2010-09-12 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added CC||jason at gcc dot gnu dot org Status|UNCONFIRMED

[Bug c++/45651] [4.3 / 4.4 / 4.5 / 4.6 Regression] ICE in import_export_decl, at cp/decl2.c:2344

2010-09-12 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-09-12 13:46 --- Happens in 4_2-branch too, 4_1-branch was fine. -- paolo dot carlini at oracle dot com changed: What|Removed |Added --

[Bug rtl-optimization/44281] [4.3/4.4/4.5/4.6 Regression] Global Register variable pessimisation

2010-09-12 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-09-12 14:11 --- >This is caused by revision 160124: Not really, it is a noreturn function so the behavior is correct for our policy of allowing a more correct backtrace for noreturn functions. The testcase is a incorrect one based

[Bug target/45548] Add with carry - missed optimization on x86

2010-09-12 Thread tmartsum at gmail dot com
--- Comment #2 from tmartsum at gmail dot com 2010-09-12 15:01 --- With Subtraction the situation is very similar: struct Skew1 // Even { unsigned long long data; unsigned long unused; }; struct Skew2 // Odd { unsigned long unused; unsigned long long data; }; struct ULongLongL

[Bug testsuite/45361] gcc.target/i386/volatile-2.c failed

2010-09-12 Thread davek at gcc dot gnu dot org
--- Comment #11 from davek at gcc dot gnu dot org 2010-09-12 15:05 --- Still FAILing on i686-pc-cygwin (and presumably any other nonpic ix86 targets): FAIL: gcc.target/i386/volatile-2.c scan-assembler movl[ \\t][^,]+, obj_0((%rip))? FAIL: gcc.target/i386/volatile-2.c scan-assemb

[Bug testsuite/43959] [4.6 Regression] FAIL: gcc.dg/torture/builtin-cproj-1.c -O1 (test for excess errors)

2010-09-12 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #10 from dave at hiauly1 dot hia dot nrc dot ca 2010-09-12 15:38 --- Subject: Re: [4.6 Regression] FAIL: gcc.dg/torture/builtin-cproj-1.c -O1 (test for excess errors) I have simplified the testcase to include just the two failing portions from line 160. Some oth

[Bug fortran/29602] [F2003] I/O specifiers can now be of any kind

2010-09-12 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2010-09-12 15:38 --- When we break abi for kind=8 recl, we should fix all of these. I will assign to myself so I don't forget. Moving out of enhancement status. -- jvdelisle at gcc dot gnu dot org changed: What|Rem

[Bug rtl-optimization/45652] New: [4.6 Regression] gcc.dg/compat/scalar-by-value-3 FAILs with -O2 -fselective-scheduling2

2010-09-12 Thread zsojka at seznam dot cz
I don't know how much is this related to PR43494. This one is failing with -fselective-scheduling2 and with different target. Also it started failing just few revisions ago. Compiler output: $ cd gcc/testsuite/gcc.dg/compat $ gcc -O2 -fselective-scheduling2 scalar-by-value-3_main.c scalar-by-value

[Bug fortran/30123] Document INQUIRE, especially UNFORMATTED and FORMATTED

2010-09-12 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2010-09-12 15:42 --- Adding to my list -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added Assi

[Bug rtl-optimization/45652] [4.6 Regression] gcc.dg/compat/scalar-by-value-3 FAILs with -O2 -fselective-scheduling2

2010-09-12 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-09-12 15:44 --- Created an attachment (id=21781) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21781&action=view) reduced testcase $ /mnt/svn/gcc-trunk/binary-163636-lto-fortran-checking-yes-rtl-df/bin/gcc -O2 -fselective-scheduling

[Bug fortran/31139] sum(w_re(1:nn,1)*fi(i(1:nn, ii))) up to 3.5x slower than C version

2010-09-12 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2010-09-12 15:45 --- I have not tested this with latest trunk, but I wonder if any of the recent optimization work has improved this. Can it be closed yet? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31139

[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2010-09-12 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2010-09-12 16:14 --- Is this something for the FE to do? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36841

[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2010-09-12 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2010-09-12 17:14 --- This is not a job for the FE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36841

[Bug tree-optimization/45653] New: [4.6 Regression] ICE: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1241 with -fno-early-inlining -fno-ipa-cp -fno-ipa-pure-const

2010-09-12 Thread zsojka at seznam dot cz
Command line: $ gcc -O2 -fno-early-inlining -fno-ipa-cp -fno-ipa-pure-const testcase.C Compiler output: $ gcc -O2 -fno-early-inlining -fno-ipa-cp -fno-ipa-pure-const testcase.C testcase.C:20:1: internal compiler error: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1241 Please submi

[Bug tree-optimization/45653] [4.6 Regression] ICE: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1241 with -fno-early-inlining -fno-ipa-cp -fno-ipa-pure-const

2010-09-12 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-09-12 17:55 --- Created an attachment (id=21782) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21782&action=view) reduced testcase $ gcc -O2 -fno-early-inlining -fno-ipa-cp -fno-ipa-pure-const pr45653.C -- http://gcc.gnu.org/bu

[Bug tree-optimization/45653] [4.6 Regression] ICE: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1241 with -fno-early-inlining -fno-ipa-cp -fno-ipa-pure-const

2010-09-12 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45653

[Bug rtl-optimization/45652] [4.6 Regression] gcc.dg/compat/scalar-by-value-3 FAILs with -O2 -fselective-scheduling2

2010-09-12 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45652

[Bug c++/45651] [4.3/4.4/4.5/4.6 Regression] ICE in import_export_decl, at cp/decl2.c:2344

2010-09-12 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.6 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45651

[Bug target/45650] [4.3/4.4/4.5/4.6 regression] FreeBSD/ia64 builds fails: hidden symbol `_Unwind_FindTableEntry' isn't defined

2010-09-12 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added GCC target triplet||ia64-unknown-freebsd9.0 Target Milestone|---

[Bug testsuite/45361] gcc.target/i386/volatile-2.c failed

2010-09-12 Thread howarth at nitro dot med dot uc dot edu
--- Comment #12 from howarth at nitro dot med dot uc dot edu 2010-09-12 18:49 --- (In reply to comment #11) > Still FAILing on i686-pc-cygwin (and presumably any other nonpic ix86 > targets): > This was fixed at... r163685 | uros | 2010-08-31 13:32:23 -0400 (Tue, 31 Aug 2010) | 3 li

[Bug testsuite/45361] gcc.target/i386/volatile-2.c failed

2010-09-12 Thread davek at gcc dot gnu dot org
--- Comment #13 from davek at gcc dot gnu dot org 2010-09-12 19:55 --- (In reply to comment #12) > (In reply to comment #11) > > Still FAILing on i686-pc-cygwin (and presumably any other nonpic ix86 > > targets): > > > > This was fixed at... > > r163685 | uros | 2010-08-31 13:32:23 -

[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2010-09-12 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2010-09-12 19:56 --- > This is not a job for the FE. How could the middle-end do the job if __gfortran_sum_r8 is not inlined/scalarized (see pr43829)? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36841

[Bug web/43011] Upgrade gcc.gnu.org/bugzilla to Bugzilla 3.6

2010-09-12 Thread LpSolit at netscape dot net
--- Comment #46 from LpSolit at netscape dot net 2010-09-12 20:24 --- I read the patch attached to this bug, and I created a TODO list from it: http://gcc.gnu.org/bugzilla-test/buglist.cgi?quicksearch=%3ABugzilla Tell me if some of these features are no longer needed, to not make me w

[Bug rtl-optimization/44919] ICE on ia64 with -O3 at sel-sched.c:4672

2010-09-12 Thread amonakov at gcc dot gnu dot org
--- Comment #11 from amonakov at gcc dot gnu dot org 2010-09-12 20:34 --- Subject: Bug 44919 Author: amonakov Date: Sun Sep 12 20:34:26 2010 New Revision: 164234 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164234 Log: Backport from mainline 2010-09-06 Andrey

[Bug rtl-optimization/44919] ICE on ia64 with -O3 at sel-sched.c:4672

2010-09-12 Thread amonakov at gcc dot gnu dot org
--- Comment #12 from amonakov at gcc dot gnu dot org 2010-09-12 20:36 --- Subject: Bug 44919 Author: amonakov Date: Sun Sep 12 20:35:53 2010 New Revision: 164235 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164235 Log: Backport from mainline 2010-09-06 Andrey

[Bug rtl-optimization/44919] ICE on ia64 with -O3 at sel-sched.c:4672

2010-09-12 Thread amonakov at gcc dot gnu dot org
--- Comment #13 from amonakov at gcc dot gnu dot org 2010-09-12 20:38 --- Fixed on release branches with above commits. -- amonakov at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2010-09-12 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2010-09-12 21:24 --- OK, I thought you meant that this would be something for a separate Fortran front end optimization pass. Expanding SUM differently is a job for the FE, yes. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36841

[Bug middle-end/45325] [4.6 Regression] target attribute doesn't work with -march=i586

2010-09-12 Thread davek at gcc dot gnu dot org
--- Comment #6 from davek at gcc dot gnu dot org 2010-09-12 23:45 --- This is also present on i686-pc-cygwin: > FAIL: gcc.target/i386/pr38240.c (internal compiler error) ICE happens here: (gdb) bt #0 0x006065e0 in convert_move (to=0x7fcc26c0, from=0x7fcc26d0, unsignedp=0) at /gnu

[Bug rtl-optimization/44281] [4.3/4.4/4.5/4.6 Regression] Global Register variable pessimisation

2010-09-12 Thread adam at consulting dot net dot nz
--- Comment #5 from adam at consulting dot net dot nz 2010-09-13 00:24 --- Andrew Pinski wrote: >This is caused by revision 160124: Not really, it is a noreturn function so the behavior is correct for our policy of allowing a more correct backtrace for noreturn functions. I'

[Bug rtl-optimization/41087] [4.5/4.6 Regression]: cris-elf gfortran.dg/zero_sized_3.f90 -O3 -funroll-loops execution

2010-09-12 Thread hp at gcc dot gnu dot org
--- Comment #12 from hp at gcc dot gnu dot org 2010-09-13 00:49 --- Subject: Bug 41087 Author: hp Date: Mon Sep 13 00:49:27 2010 New Revision: 164240 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164240 Log: PR rtl-optimization/41087 * ifcvt.c (noce_get_conditio

[Bug rtl-optimization/41087] [4.5/4.6 Regression]: cris-elf gfortran.dg/zero_sized_3.f90 -O3 -funroll-loops execution

2010-09-12 Thread hp at gcc dot gnu dot org
--- Comment #13 from hp at gcc dot gnu dot org 2010-09-13 00:53 --- Subject: Bug 41087 Author: hp Date: Mon Sep 13 00:52:48 2010 New Revision: 164241 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164241 Log: PR rtl-optimization/41087 * ifcvt.c (noce_get_conditio

[Bug rtl-optimization/41087] [4.5/4.6 Regression]: cris-elf gfortran.dg/zero_sized_3.f90 -O3 -funroll-loops execution

2010-09-12 Thread hp at gcc dot gnu dot org
--- Comment #14 from hp at gcc dot gnu dot org 2010-09-13 01:07 --- committed -- hp at gcc dot gnu dot org changed: What|Removed |Added --

[Bug debug/45408] -fcompare-debug failure with -O2 -ftree-vectorize -fno-var-tracking-assignments

2010-09-12 Thread aoliva at gcc dot gnu dot org
--- Comment #6 from aoliva at gcc dot gnu dot org 2010-09-13 03:42 --- Subject: Bug 45408 Author: aoliva Date: Mon Sep 13 03:42:07 2010 New Revision: 164242 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164242 Log: PR debug/45604 PR debug/45419 PR debug/45408 * tree-pretty-prin

[Bug testsuite/45604] [4.6 regression] New test failures

2010-09-12 Thread aoliva at gcc dot gnu dot org
--- Comment #2 from aoliva at gcc dot gnu dot org 2010-09-13 03:42 --- Subject: Bug 45604 Author: aoliva Date: Mon Sep 13 03:42:07 2010 New Revision: 164242 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164242 Log: PR debug/45604 PR debug/45419 PR debug/45408 * tree-pretty-prin

[Bug debug/45419] -fcompare-debug failure at -O3

2010-09-12 Thread aoliva at gcc dot gnu dot org
--- Comment #19 from aoliva at gcc dot gnu dot org 2010-09-13 03:42 --- Subject: Bug 45419 Author: aoliva Date: Mon Sep 13 03:42:07 2010 New Revision: 164242 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164242 Log: PR debug/45604 PR debug/45419 PR debug/45408 * tree-pretty-pri

[Bug testsuite/45604] [4.6 regression] New test failures

2010-09-12 Thread aoliva at gcc dot gnu dot org
--- Comment #3 from aoliva at gcc dot gnu dot org 2010-09-13 04:58 --- Fixed -- aoliva at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/43088] [avr] Suspect optimizer missed code in gcc 4.4.3..

2010-09-12 Thread abnikant dot singh at atmel dot com
--- Comment #1 from abnikant dot singh at atmel dot com 2010-09-13 05:58 --- This bug is confirmed. andhi3/andsi3 causing this problem. conditional checks in andhi3 and andsi3 need to compare with zero instead of 0xff [etc]. i.e. in andhi3 we need to replace (mask & 0x00ff) != 0xff by