Re: Feature request concerning bitwise operations

2010-01-11 Thread Steven Bosscher
On Mon, Jan 11, 2010 at 8:14 AM, Wen Li wenli...@gmail.com wrote: On x86 processors, I think bitwise operators should be optimized for individual bit accesses, which should be converted to BT instructions. For example: x |= 1y; compiles to BTS instead of SHL/OR x ^= 1y; compiles to BTC

[ARM] Neon / Ocaml question

2010-01-11 Thread Ramana Radhakrishnan
Hi, I've been trying to play with the Neon scheduler description in config/arm/neon-schedgen.ml. Running the description through the ocaml compiler gives me the following errors cam-bc3-b12:ramrad01 68 ocamlc -c neon-schedgen.ml File neon-schedgen.ml, line 51, characters 0-10: Unbound

[trans-mem] STM GCC Implementation

2010-01-11 Thread Riyadh Baghdadi
Hi, I'm doing some experiments on the STM implementation on GCC, but I need some info since the documentation is still not available, What is the syntax currently adopted in STM_GCC, martin told me that the old syntax #pragma atomic is not used in the current implementation and that possibly

Re: [ARM] Neon / Ocaml question

2010-01-11 Thread Julian Brown
On Mon, 11 Jan 2010 09:52:59 + Ramana Radhakrishnan ramana.radhakrish...@arm.com wrote: cam-bc3-b12:ramrad01 68 ocamlc -c neon-schedgen.ml File neon-schedgen.ml, line 51, characters 0-10: Unbound module Utils It sounds like a configuration issue but given my rather rusty ocaml skills

Re: [ARM] Neon / Ocaml question

2010-01-11 Thread Daniel Jacobowitz
On Mon, Jan 11, 2010 at 12:28:38PM +, Julian Brown wrote: Another thing which might bite you is that recent OCaml versions don't like hyphens in filenames: replacing them with underscores works OK though (i.e. neon_schedgen.ml). Fortunately it's just a warning; you can also ignore it. --

Exception object access

2010-01-11 Thread Piotr Wyderski
Hello, Is the a way to get access to the currently thrown C++ exception object? cxxabi.h gives me only access to its std::type_info via __cxa_current_exception_type(). On the other hand, the ABI documentation describes the struct __cxa_exception, but it is not accessible via cxxabi.h.

Re: [ARM] Neon / Ocaml question

2010-01-11 Thread Ramana Radhakrishnan
Would you like to try this out and see how you get on with it? Followups set to gcc-patches. Thanks - that works and I can confirm that those bits generate identical code to what's auto-generated in cortex-a8-neon.md. I'll submit a patch to gcc-patches@ unless you beat me to it. cheers

RE: Possible IRA improvements for irregular register architectures

2010-01-11 Thread Ian Bolton
In the absence of any discussion, I just went ahead and implemented my new ideas, which are attached as a patch! Whilst it is tailored to the specifics of our architecture - where we have 32 C_REGS, of which there are 16 BOTTOM_REGS, and some insns that only work with BOTTOM_REGS - I believe it

Looping through the gimple for CALL_EXPR

2010-01-11 Thread Paulo J. Matos
Hi all, I am using gcc 4.3.4 to loop through the gimple tree to find CALL_EXPR. This is what I have (even though I tried several variants, none of which worked): tree body_stmt = DECL_SAVED_TREE (current_function_decl); while (body_stmt) // { if (TREE_CODE (body_stmt) ==

g++ and _DecimalXX types

2010-01-11 Thread Roman Kononov
#g++ --version | head -1 g++ (GCC) 4.4.3 20091228 (prerelease) #cat test.cc typedef _Decimal32 my_type; #gcc -c test.cc #g++ -c test.cc test.cc:1: error: '_Decimal32' does not name a type G++ is unfamiliar with the _DecimalXX types. Is it a feature, bug or lack of development? #cat test.cc

Re: Looping through the gimple for CALL_EXPR

2010-01-11 Thread Richard Guenther
On Mon, Jan 11, 2010 at 4:46 PM, Paulo J. Matos pocma...@gmail.com wrote: Hi all, I am using gcc 4.3.4 to loop through the gimple tree to find CALL_EXPR. This is what I have (even though I tried several variants, none of which worked): tree body_stmt = DECL_SAVED_TREE

Re: g++ and _DecimalXX types

2010-01-11 Thread Paolo Carlini
On 01/11/2010 05:24 PM, Roman Kononov wrote: #g++ --version | head -1 g++ (GCC) 4.4.3 20091228 (prerelease) #cat test.cc typedef _Decimal32 my_type; #gcc -c test.cc #g++ -c test.cc test.cc:1: error: '_Decimal32' does not name a type G++ is unfamiliar with the _DecimalXX types. Is it a

Re: g++ and _DecimalXX types

2010-01-11 Thread Janis Johnson
On Mon, 2010-01-11 at 10:24 -0600, Roman Kononov wrote: #g++ --version | head -1 g++ (GCC) 4.4.3 20091228 (prerelease) #cat test.cc typedef _Decimal32 my_type; #gcc -c test.cc #g++ -c test.cc test.cc:1: error: '_Decimal32' does not name a type G++ is unfamiliar with the _DecimalXX types.

rebuild test of Debian packages with GCC trunk 20100107

2010-01-11 Thread Matthias Klose
A rebuild test of the current Debian unstable distribution on x86_64-linux-gnu was done, one rebuild test with the current gcc-4.4 from the branch, and another one with GCC trunk 20100107. The latter did show about 200 additional build failures, which are listed in [1] (minus some already known

Re: [trans-mem] STM GCC Implementation

2010-01-11 Thread Riyadh Baghdadi
Thank you, There is one more link problem (for an intrinsic function) : libitm.so: undefined reference to `__sync_add_and_fetch_8' I found on the Net that there was a bug related to this on GCC 4.2, the solution was to specify the architecture (-march=i686) at compile time, but this doesn't

Re: Looping through the gimple for CALL_EXPR

2010-01-11 Thread Paulo J. Matos
On Mon, 2010-01-11 at 17:51 +0100, Richard Guenther wrote: On Mon, Jan 11, 2010 at 4:46 PM, Paulo J. Matos pocma...@gmail.com wrote: Hi all, I am using gcc 4.3.4 to loop through the gimple tree to find CALL_EXPR. This is what I have (even though I tried several variants, none of which

Re: Exception object access

2010-01-11 Thread Jonathan Wakely
2010/1/11 Piotr Wyderski: Hello, Is the a way to get access to the currently thrown C++ exception object? cxxabi.h gives me only access to its std::type_info via __cxa_current_exception_type(). On the other hand, the ABI documentation describes the struct __cxa_exception, but it is not

Fwd: OpenMP vs. math.h

2010-01-11 Thread Jeff Johnston
Any thoughts on this? The proposed patch has been applied to newlib's math.h. -- Jeff J. Original Message Subject: OpenMP vs. math.h Date: Fri, 08 Jan 2010 12:42:35 -0600 From: Yaakov (Cygwin/X) yselkow...@users.sourceforge.net To: new...@sources.redhat.com POSIX allows for

Re: Fwd: OpenMP vs. math.h

2010-01-11 Thread Paolo Carlini
Hi, However, I just encountered tonight a much larger conflict: OpenMP/C++ and math.h are incompatible. STC attached: $ g++ -D_GLIBCXX_PARALLEL -fopenmp openmp.cxx -lgomp In file included from /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/parallel/algobase.h:46, from

Re: g++ and _DecimalXX types

2010-01-11 Thread Benjamin Kosnik
Some of the support for those classes is in current trunk, but a crucial change to the compiler to allow binary compatibility between those classes and the C builtin types wasn't approved before the 4.5 feature cutoff (see http://gcc.gnu.org/ml/gcc-patches/2009-11/msg01321.html). Am a bit

[Bug libgcj/42658] [4.5 regression] ICE in _Jv_Linker::verify_class ../.././libjava/link.cc:1904

2010-01-11 Thread davek at gcc dot gnu dot org
--- Comment #15 from davek at gcc dot gnu dot org 2010-01-11 08:16 --- just waiting to see if this can be reproduced with clean sources. -- davek at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/40730] redundant memory load

2010-01-11 Thread stevenb dot gcc at gmail dot com
--- Comment #11 from stevenb dot gcc at gmail dot com 2010-01-11 08:22 --- Subject: Re: redundant memory load On Mon, Jan 11, 2010 at 7:47 AM, carrot at google dot com gcc-bugzi...@gcc.gnu.org wrote: iterate: push{lr} ldr r3, [r1] .L6: str r3,

[Bug fortran/42684] [4.5 Regression] ICE when interface operator(xx) available through host and use assoc in module procedure

2010-01-11 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added OtherBugsDependingO||32834 nThis||

[Bug debug/42648] [4.5 Regression] gcc.dg/guality/pr41353-1.c FAILs at -On, n 0

2010-01-11 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-01-11 08:35 --- See e.g. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41353#c11 for one of the possible reasons. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42648

[Bug java/41745] Segmentation fault when ecj.jar is run as a binary compiled by gcj

2010-01-11 Thread gerald at pfeifer dot com
--- Comment #12 from gerald at pfeifer dot com 2010-01-11 08:36 --- Closing per previous comment. Yuri, is it possible a different (older) run-time library was picked up during your original tests? -- gerald at pfeifer dot com changed: What|Removed

[Bug fortran/42684] [4.5 Regression] ICE when interface operator(xx) available through host and use assoc in module procedure

2010-01-11 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2010-01-11 08:50 --- Looks similar to pr42677. The patch in comment#3 fixes these PRs, but misses also really(?) ambiguous interfaces, see: gcc/testsuite/gfortran.dg/defined_operators_1.f90 gcc/testsuite/gfortran.dg/generic_7.f90

[Bug fortran/42677] [4.5 Regression] Bogus Error: Ambiguous interfaces '...' in intrinsic assignment operator

2010-01-11 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2010-01-11 08:51 --- Similar to pr42677 (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42684#c4 ). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42677

[Bug fortran/42677] [4.5 Regression] Bogus Error: Ambiguous interfaces '...' in intrinsic assignment operator

2010-01-11 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2010-01-11 08:52 --- Similar to pr42677 Wrong window!-( Similar to pr42684. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42677

[Bug target/40730] redundant memory load

2010-01-11 Thread carrot at google dot com
--- Comment #12 from carrot at google dot com 2010-01-11 08:55 --- (In reply to comment #11) Yes, I would have expected the block starting with .L4 to be *after* the block starting with .L5, something like so: iterate: push{lr} ldr r3, [r1] .L6:

[Bug debug/42662] [4.5 Regression] invalid rtl sharing found in the insn

2010-01-11 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-01-11 09:25 --- Testing a patch. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug translation/42467] exgettext should not remove TABs from option help strings

2010-01-11 Thread pzhao at gcc dot gnu dot org
--- Comment #6 from pzhao at gcc dot gnu dot org 2010-01-11 09:33 --- Fixed for 4.5.0 -- pzhao at gcc dot gnu dot org changed: What|Removed |Added

[Bug translation/42469] option help strings not properly using TAB

2010-01-11 Thread pzhao at gcc dot gnu dot org
--- Comment #3 from pzhao at gcc dot gnu dot org 2010-01-11 09:34 --- Fixed for 4.5.0 -- pzhao at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41004] missed merge of basic blocks

2010-01-11 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2010-01-11 09:35 --- Re. comment #5 -- rth, any suggestions what an algorithm would look like to minimize the number of branches, or the total size of all of the branch instructions? And what do you mean with some clever changes to the

[Bug debug/42662] [4.5 Regression] invalid rtl sharing found in the insn

2010-01-11 Thread jzhang918 at gmail dot com
--- Comment #5 from jzhang918 at gmail dot com 2010-01-11 09:36 --- I just submitted a patch several days ago: http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00130.html I think it might be able to fix this bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42662

[Bug c++/42687] New: The prevention of ADL with the help of parentheses doesn't work

2010-01-11 Thread max at e-soft dot ru
g++ doesn't accept correct code: namespace N { struct S { }; void f(const S ) { } } void f(const N::S ) { } int main() { N::S v; (f)(v); // no ambiguity: ADL is prevented with (), only ::f is considered } -- References: 1)

[Bug debug/42662] [4.5 Regression] invalid rtl sharing found in the insn

2010-01-11 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-01-11 09:46 --- Created an attachment (id=19537) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19537action=view) gcc45-pr42662.patch Fix. Regarding the above mentioned patch, it looks like a big hammer, which will create a lot

[Bug debug/42662] [4.5 Regression] invalid rtl sharing found in the insn

2010-01-11 Thread jzhang918 at gmail dot com
--- Comment #7 from jzhang918 at gmail dot com 2010-01-11 10:11 --- Sorry, I should have checked my patch with the test code you posted before I added that comment. My patch does not fix this one. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42662

[Bug fortran/42680] [fortran-dev, Regression] ICE in gimplify_expr, at gimplify.c:7176

2010-01-11 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2010-01-11 10:27 --- (In reply to comment #6) This patch, reverting only the change to interface.c, appears to fix the problem. No other regressions in testsuite. The patch reintroduces pr42353 for the test in

[Bug tree-optimization/42645] -fcompare-debug failure at -O1

2010-01-11 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-01-11 10:31 --- The problem here are different holes in SSA_NAMEs - with -fvar-tracking-assignments most of the SSA_NAME_VERSION values are one larger than without it. -fcompare-debug dumps include these versions in some MEMs, so it

[Bug tree-optimization/42645] -fcompare-debug failure at -O1

2010-01-11 Thread zsojka at seznam dot cz
--- Comment #3 from zsojka at seznam dot cz 2010-01-11 10:45 --- Created an attachment (id=19538) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19538action=view) different reduced testcase $ /mnt/svn/gcc-trunk/binary-155777-lto/bin/g++ -O1 -fcompare-debug -c

[Bug middle-end/42068] [4.5 regression] ICE in function_and_variable_visibility breaks Ada bootstrap

2010-01-11 Thread ebotcazou at gcc dot gnu dot org
--- Comment #9 from ebotcazou at gcc dot gnu dot org 2010-01-11 11:27 --- Jan, are you there? -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/42645] -fcompare-debug failure at -O1

2010-01-11 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-01-11 11:28 --- Testing a fix. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/42518] Alignment issue prevents building 64 bit RTS on Snow Leopard

2010-01-11 Thread ebotcazou at gcc dot gnu dot org
--- Comment #13 from ebotcazou at gcc dot gnu dot org 2010-01-11 11:30 --- I think we should consider that x86_64-apple-darwin is not supported in 4.4 and make sure that it will be in 4.5, in particular fix PR middle-end/42068. -- ebotcazou at gcc dot gnu dot org changed:

[Bug middle-end/42220] [4.5 Regression] FAIL: gfortran.dg/complex_intrinsic_5.f90 -m64 -O -frename-registers

2010-01-11 Thread ebotcazou at gcc dot gnu dot org
--- Comment #17 from ebotcazou at gcc dot gnu dot org 2010-01-11 11:31 --- Still present? -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/42645] -fcompare-debug failure at -O1

2010-01-11 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-01-11 12:12 --- Created an attachment (id=19539) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19539action=view) gcc45-pr42645.patch Fix I'm going to bootstrap/regtest. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42645

[Bug debug/42657] Missing debug info for a variable

2010-01-11 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-01-11 12:18 --- http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00430.html http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00431.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42657

[Bug middle-end/42220] [4.5 Regression] FAIL: gfortran.dg/complex_intrinsic_5.f90 -m64 -O -frename-registers

2010-01-11 Thread dominiq at lps dot ens dot fr
--- Comment #18 from dominiq at lps dot ens dot fr 2010-01-11 12:20 --- Still present? Yes!-(If it has not been fixed meanwhile, it still fails at revision 155621). -- dominiq at lps dot ens dot fr changed: What|Removed |Added

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2010-01-11 Thread dominiq at lps dot ens dot fr
--- Comment #20 from dominiq at lps dot ens dot fr 2010-01-11 12:29 --- The patch in comment #19, passes all my tests, but (otherwise you'ld be disappointed;-) compiling the reduced test in comment #8 gives a Segmentation fault pr41478_1.f90:7:0: internal compiler error: Segmentation

[Bug rtl-optimization/20070] If-conversion can't match equivalent code, and cross-jumping only works for literal matches

2010-01-11 Thread rahul at icerasemi dot com
--- Comment #32 from rahul at icerasemi dot com 2010-01-11 12:34 --- I will re-test on our port and report my findings, cheers! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20070

[Bug lto/41569] .../prev-gcc/xgcc used for the install step of the lto-plugin

2010-01-11 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2010-01-11 12:38 --- Subject: Bug 41569 Author: rguenth Date: Mon Jan 11 12:38:09 2010 New Revision: 155809 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155809 Log: 2010-01-11 Richard Guenther rguent...@suse.de PR

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2010-01-11 Thread pault at gcc dot gnu dot org
--- Comment #21 from pault at gcc dot gnu dot org 2010-01-11 12:50 --- (In reply to comment #20) The patch in comment #19, passes all my tests, but (otherwise you'ld be disappointed;-) compiling the reduced test in comment #8 gives a Segmentation fault Oh, that's weird! Does the

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2010-01-11 Thread burnus at gcc dot gnu dot org
--- Comment #22 from burnus at gcc dot gnu dot org 2010-01-11 13:06 --- (In reply to comment #20) The patch in comment #19, passes all my tests, but (otherwise you'ld be disappointed;-) compiling the reduced test in comment #8 gives a Segmentation fault [...]

[Bug lto/42426] ICE in get_resolution (lto)

2010-01-11 Thread d dot g dot gorbachev at gmail dot com
--- Comment #4 from d dot g dot gorbachev at gmail dot com 2010-01-11 13:08 --- Fixed in r155800. -- d dot g dot gorbachev at gmail dot com changed: What|Removed |Added

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2010-01-11 Thread dominiq at lps dot ens dot fr
--- Comment #23 from dominiq at lps dot ens dot fr 2010-01-11 13:50 --- (In reply to comment #21) Oh, that's weird! Does the original testcase and the one supplied with the patch work? Yes, it was under all my tests. (In reply to comment #22) Because of that line: Dominique, do

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2010-01-11 Thread dominiq at lps dot ens dot fr
--- Comment #24 from dominiq at lps dot ens dot fr 2010-01-11 14:04 --- (In reply to comment #23) Because of that line: Dominique, do you have the draft patch for PR 42647 installed? If so, it might be the reason for the problem. Just to add another possibility for the failure.

[Bug c/42688] New: gcc 4.3.3 with -O2 thinks a often non-zero expression is always zero

2010-01-11 Thread mnemo at minimum dot se
When you build sqlite using GCC and -O2 parameter you get the following warning. During runtime EXPR_FULLSIZE-nSize is mostly non-zero so it seems that the GCC optimizer makes some assumptions that doesn't not always hold true. In function ‘memset’, inlined from ‘exprDup’ at sqlite3.c:61011:

[Bug target/42671] Thumb2 generate more instructions than Thumb1 to load GOT address

2010-01-11 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 Last

[Bug rtl-optimization/42246] ICE in init_seqno for 186.crafty with sel-sched

2010-01-11 Thread abel at gcc dot gnu dot org
--- Comment #4 from abel at gcc dot gnu dot org 2010-01-11 14:35 --- (In reply to comment #2) This is the other bug in our region walk iterator that happens when pipelining outer loops. When looking for loop exits from an inner loop that is contained in the outer loop currently being

[Bug target/42689] New: bad formatting of specs diagnostics

2010-01-11 Thread jsm28 at gcc dot gnu dot org
Various diagnostics produced from specs with %e and %n are badly formatted. There should be no \n or other whitespace at the end of these diagnostics, since the driver inserts a newline at the end automatically. A single diagnostic should not be split across multiple messages, for the sake of

[Bug target/42689] bad formatting of specs diagnostics

2010-01-11 Thread jsm28 at gcc dot gnu dot org
--- Comment #1 from jsm28 at gcc dot gnu dot org 2010-01-11 15:04 --- Correction: the newlines get removed before the messages are printed. But they don't get removed by exgettext either before or after the patch for bug 39521. As they are unnecessary (at least once the message pairs

[Bug middle-end/42245] ICE in verify_backedges for 197.parser with sel-sched

2010-01-11 Thread amonakov at gcc dot gnu dot org
--- Comment #7 from amonakov at gcc dot gnu dot org 2010-01-11 15:04 --- Our previous patch (http://gcc.gnu.org/ml/gcc-patches/2009-12/msg01215.html) failed to correctly fix the problem, and the new testcase uncovers a flaw in that implementation. We 'forgot' to recompute topological

[Bug lto/42690] New: Undefined reference errors with -flto -fuse-linker-plugin

2010-01-11 Thread d dot g dot gorbachev at gmail dot com
-- Summary: Undefined reference errors with -flto -fuse-linker- plugin Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at

[Bug lto/42690] Undefined reference errors with -flto -fuse-linker-plugin

2010-01-11 Thread d dot g dot gorbachev at gmail dot com
--- Comment #1 from d dot g dot gorbachev at gmail dot com 2010-01-11 15:25 --- Created an attachment (id=19541) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19541action=view) testcase GCC 4.5.0 20100107. gcc -flto -fuse-linker-plugin pr42690.c -DBUG --

[Bug lto/42665] Internal compiler exception in with gfortran when using -fwhole-program -flto -fopenmp

2010-01-11 Thread jjcogliati-r1 at yahoo dot com
--- Comment #7 from jjcogliati-r1 at yahoo dot com 2010-01-11 15:50 --- (In reply to comment #6) Try Index: gcc/gimple.c === --- gcc/gimple.c(revision 155739) +++ gcc/gimple.c(working copy) @@

[Bug c++/40239] Aggregate initialization requires copy constructor

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

[Bug lto/42665] Internal compiler exception in with gfortran when using -fwhole-program -flto -fopenmp

2010-01-11 Thread rguenther at suse dot de
--- Comment #8 from rguenther at suse dot de 2010-01-11 15:54 --- Subject: Re: Internal compiler exception in with gfortran when using -fwhole-program -flto -fopenmp On Mon, 11 Jan 2010, jjcogliati-r1 at yahoo dot com wrote: --- Comment #7 from jjcogliati-r1 at yahoo dot

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-11 Thread law at redhat dot com
--- Comment #6 from law at redhat dot com 2010-01-11 17:14 --- Subject: Re: vectorizer created unaligned vector insns On 01/10/10 01:22, irar at il dot ibm dot com wrote: --- Comment #5 from irar at il dot ibm dot com 2010-01-10 08:22 --- In vector_alignment_reachable_p()

[Bug lto/42665] Internal compiler exception in with gfortran when using -fwhole-program -flto -fopenmp

2010-01-11 Thread jjcogliati-r1 at yahoo dot com
--- Comment #9 from jjcogliati-r1 at yahoo dot com 2010-01-11 17:15 --- My hunch, (and I could be wrong since my knowledge of gcc's tree code was zero as of Friday morning) is that it is trying to find the array's min and max size, but that only the min location is available, and that

[Bug tree-optimization/42652] vectorizer created unaligned vector insns

2010-01-11 Thread law at redhat dot com
--- Comment #7 from law at redhat dot com 2010-01-11 17:16 --- Subject: Re: vectorizer created unaligned vector insns On 01/08/10 10:25, rguenth at gcc dot gnu dot org wrote: --- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-08 17:25 --- Well, indeed we have a

[Bug lto/42665] Internal compiler exception in with gfortran when using -fwhole-program -flto -fopenmp

2010-01-11 Thread rguenther at suse dot de
--- Comment #10 from rguenther at suse dot de 2010-01-11 17:22 --- Subject: Re: Internal compiler exception in with gfortran when using -fwhole-program -flto -fopenmp On Mon, 11 Jan 2010, jjcogliati-r1 at yahoo dot com wrote: --- Comment #9 from jjcogliati-r1 at yahoo dot

[Bug fortran/36161] gfc_error formats are not marked gcc-internal-format in po file

2010-01-11 Thread goeran at uddeborg dot se
--- Comment #18 from goeran at uddeborg dot se 2010-01-11 17:27 --- I did try it out as you suggested, and it seems to work just fine. (I.e. messages from fortran/arith.c were said to come from fortraarith.c in the pot file. But I didn't bother to investigate that, it wasn't what I

[Bug libgcj/42658] [4.5 regression] ICE in _Jv_Linker::verify_class ../.././libjava/link.cc:1904

2010-01-11 Thread davek at gcc dot gnu dot org
--- Comment #16 from davek at gcc dot gnu dot org 2010-01-11 17:39 --- Confirmed that it was just a glitch of some kind. -- davek at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2010-01-11 Thread dominiq at lps dot ens dot fr
--- Comment #25 from dominiq at lps dot ens dot fr 2010-01-11 17:50 --- I have applied the patch in comment #19 to a clean fortran-exp and I still see the segmentation fault when compiling the test in comment #8. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41478

[Bug middle-end/42674] [4.4/4.5 Regression] Bogus no return statement in function returning non-void warning

2010-01-11 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2010-01-11 18:17 --- There must be some reason why this: if (warn_return_type TREE_CODE (TREE_TYPE (TREE_TYPE (fndecl))) != VOID_TYPE !current_function_returns_value !current_function_returns_null /* Don't complain

[Bug debug/41371] [4.5 Regression] var-tracking is slow and memory hungry

2010-01-11 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2010-01-11 18:23 --- I've looked briefly at the #c4 testcase, and the problem seems to be extremely long loc_chains. var-tracking e.g. stops for huge amount of time (many minutes) on one bb, EH pad with 162 incoming EH edges (and no

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2010-01-11 Thread pault at gcc dot gnu dot org
--- Comment #26 from pault at gcc dot gnu dot org 2010-01-11 18:23 --- (In reply to comment #25) I have applied the patch in comment #19 to a clean fortran-exp and I still see the segmentation fault when compiling the test in comment #8. A that's because allocatable scalars

[Bug c++/42687] The prevention of ADL with the help of parentheses doesn't work

2010-01-11 Thread jwakely dot gcc at gmail dot com
--- Comment #1 from jwakely dot gcc at gmail dot com 2010-01-11 18:37 --- This was changed by http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#705 and didn't appear in the working draft until November. It's hardly surprising that a compiler released in October doesn't

[Bug c++/40146] Unexplained 'anonymous' is used uninitialized in this function warning

2010-01-11 Thread manu at gcc dot gnu dot org
--- Comment #13 from manu at gcc dot gnu dot org 2010-01-11 18:39 --- If this doesn't occur in GCC 4.5, the best we can do is to put the testcases in the testsuite and close this. Many things changed from 4.4. to 4.5 that may have cause the bug to disappear and that won't be backported,

[Bug c++/41970] Unjustified anonymous type warning

2010-01-11 Thread manu at gcc dot gnu dot org
--- Comment #10 from manu at gcc dot gnu dot org 2010-01-11 18:46 --- (From update of attachment 19531) This file has nothing to do with this bug. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/41970] Unjustified anonymous type warning

2010-01-11 Thread manu at gcc dot gnu dot org
--- Comment #11 from manu at gcc dot gnu dot org 2010-01-11 18:52 --- (In reply to comment #9) Please recategorize this report as diagnostic quality, confirm, and assign it. Bugs are not assigned, they are taken. But confirmed it is. Patches welcome. -- manu at gcc dot gnu dot

[Bug c++/41970] use of a type with no linkage to declare a variable with linkage

2010-01-11 Thread manu at gcc dot gnu dot org
--- Comment #12 from manu at gcc dot gnu dot org 2010-01-11 18:54 --- Comeau rejects it. Is this accepts-invalid, then? -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/42665] Internal compiler exception in with gfortran when using -fwhole-program -flto -fopenmp

2010-01-11 Thread jjcogliati-r1 at yahoo dot com
--- Comment #11 from jjcogliati-r1 at yahoo dot com 2010-01-11 18:58 --- (In reply to comment #10) Subject: Re: Internal compiler exception in with gfortran when using -fwhole-program -flto -fopenmp On Mon, 11 Jan 2010, jjcogliati-r1 at yahoo dot com wrote: ---

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

2010-01-11 Thread ro at CeBiTec dot Uni-Bielefeld dot DE
--- Comment #16 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-01-11 19:05 --- Subject: Re: [4.5 regression] ICE building stage 1 libgcc: SEGV in compare_access_positions --- Comment #13 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-01-06 11:55 --- [...] I'm now

[Bug middle-end/42674] [4.4/4.5 Regression] Bogus no return statement in function returning non-void warning

2010-01-11 Thread davek at gcc dot gnu dot org
--- Comment #4 from davek at gcc dot gnu dot org 2010-01-11 19:07 --- (In reply to comment #3) (even without the __noreturn__?) Yes, even without. I think this may be actually two bugs, one is the noreturn which should set current_function_returns_abnormally to true, so no

[Bug middle-end/14187] [tree-ssa] C restricted pointers are not properly implemented

2010-01-11 Thread manu at gcc dot gnu dot org
--- Comment #18 from manu at gcc dot gnu dot org 2010-01-11 19:23 --- (In reply to comment #17) Fixed. Richard, since this is a new feature of GCC 4.5, shouldn't we mention it in the GCC 4.5 changes.html? Even something short would be welcome by users, such as: Better

[Bug middle-end/42691] New: Wrong REG_EQUAL note is added to SUBREG node

2010-01-11 Thread jingyu at google dot com
A wrong REG_EQUAL is attached to SUBREG during forward propagation. Before fwprop1 (insn 56 55 57 3 double.cpp:12 (set (reg/v:DI 180 [ _D_inf ]) (const_int 0 [0x0])) 164 {*thumb1_movdi_insn} (nil)) (insn 60 59 61 3 double.cpp:12 (set (reg:SI 189) (const_int 2146435072

[Bug middle-end/42691] Wrong REG_EQUAL note is added to SUBREG node

2010-01-11 Thread jingyu at google dot com
--- Comment #1 from jingyu at google dot com 2010-01-11 19:59 --- I forgot to paste the wrong assembly code. arm-eabi-g++ -Os -mthumb double.cpp --save-temps -c -o double.o The assembly for the following part _D_rep _D_inf = {{ 0, 0, 0, 0x7ff0 }}; if (*entry == _D_inf.val)

[Bug fortran/36161] gfc_error formats are not marked gcc-internal-format in po file

2010-01-11 Thread burnus at gcc dot gnu dot org
--- Comment #19 from burnus at gcc dot gnu dot org 2010-01-11 20:21 --- (In reply to comment #1) One detail I happened to see: The messages defined in gfc_arith_error doesn't get any gcc-internal-format marker, though they do contain %L. Do you want a separate bugzilla about that?

[Bug c++/42692] New: Invalid member lookup when member template class is involved

2010-01-11 Thread igusarov at mail dot ru
The bug is: if a class definition has a nested template class, then whenever a code refers to a name in the nested class, gcc searches it not in the nested template class, but it the outer class. The bug results in gcc accepting a source text that should not be compiled, and incorrectly compiling

[Bug target/42416] ICE in rs6000_bulitin_vec_perm for 177.mesa with -mvsx

2010-01-11 Thread janis at gcc dot gnu dot org
--- Comment #5 from janis at gcc dot gnu dot org 2010-01-11 20:29 --- Subject: Bug 42416 Author: janis Date: Mon Jan 11 20:29:40 2010 New Revision: 155816 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155816 Log: PR target/42416 * config/rs6000/rs6000.c

[Bug c++/42692] Invalid member lookup when member template class is involved

2010-01-11 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-01-11 20:59 --- Mainline is fine. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug fortran/42693] New: Missing gcc-internal-format on messages from gfc_arith_error

2010-01-11 Thread goeran at uddeborg dot se
The strings returned from gfc_arith_error in gcc/fortran/arith.h contain the location marker %L. But as noticed in bug 36161, they are not marked gcc-internal-format. This marking is valuable to avoid mistakes in the translation. -- Summary: Missing gcc-internal-format on messages

[Bug fortran/36161] gfc_error formats are not marked gcc-internal-format in po file

2010-01-11 Thread goeran at uddeborg dot se
--- Comment #20 from goeran at uddeborg dot se 2010-01-11 21:02 --- (In reply to comment #19) Yes please. I've filed bug 42693 about that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36161

[Bug ada/42518] Alignment issue prevents building 64 bit RTS on Snow Leopard

2010-01-11 Thread simon at pushface dot org
--- Comment #14 from simon at pushface dot org 2010-01-11 21:35 --- Concur with Eric. Um, I could submit a patch for PR middle-end/42068 if it would help? Not aware of procedure here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42518

[Bug rtl-optimization/42694] New: Compiler could optimize pow (x, 0.75) into sqrt (x) * sqrt (sqrt (x))

2010-01-11 Thread meissner at gcc dot gnu dot org
Right now, the compiler has no special code to optimize pow (x, 0.75) into something like sqrt (x) * sqrt (sqrt (x)) under -ffast-math, nor pow (x, 0.25) into sqrt (sqrt (x)). On machines with a builtin sqrt instruction, it is often times faster to do the calculations using sqrt than calling the

[Bug ada/42518] Alignment issue prevents building 64 bit RTS on Snow Leopard

2010-01-11 Thread ebotcazou at gcc dot gnu dot org
--- Comment #15 from ebotcazou at gcc dot gnu dot org 2010-01-11 21:41 --- Um, I could submit a patch for PR middle-end/42068 if it would help? Not aware of procedure here. You'd need to go through the full testing procedure described here: http://gcc.gnu.org/contribute.html --

[Bug rtl-optimization/42694] Compiler could optimize pow (x, 0.75) into sqrt (x) * sqrt (sqrt (x))

2010-01-11 Thread meissner at gcc dot gnu dot org
--- Comment #1 from meissner at gcc dot gnu dot org 2010-01-11 21:42 --- Created an attachment (id=19542) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19542action=view) Program to demonstrate the slowdown This program calculates the speed of various pow arguments. --

[Bug bootstrap/42695] New: gcc/config/vxworks.c not compatible with gcc/tree

2010-01-11 Thread simon at pushface dot org
The build fails with ../../gcc-trunk-svn/gcc/config/vxworks.c: In function ‘vxworks_emutls_var_fields’: ../../gcc-trunk-svn/gcc/config/vxworks.c:73:27: error: macro build_decl requires 4 arguments, but only 3 given ../../gcc-trunk-svn/gcc/config/vxworks.c:72:11: error: ‘build_decl’ undeclared

[Bug bootstrap/42695] gcc/config/vxworks.c not compatible with gcc/tree

2010-01-11 Thread simon at pushface dot org
--- Comment #1 from simon at pushface dot org 2010-01-11 21:47 --- Created an attachment (id=19543) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19543action=view) Patch to gcc/config/vxworks.c Adds new parameter required by change to gcc/tree. --

[Bug middle-end/41674] [4.5 Regression] /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main

2010-01-11 Thread danglin at gcc dot gnu dot org
--- Comment #9 from danglin at gcc dot gnu dot org 2010-01-11 21:51 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00066.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41674

  1   2   >