[Bug target/41176] [4.4/4.5 Regression] ICE in reload_cse_simplify_operands at postreload.c:396

2009-10-08 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2009-10-08 07:43 --- Created an attachment (id=18748) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18748action=view) pr41176.i Smaller testcase for 4.4 branch. ICEs with -m64 -O1 -fschedule-insns -fwrapv. --

[Bug fortran/41627] mixing common and modules elicits seg fault

2009-10-08 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-10-08 07:47 --- Backtrace (of comment 3) using an older GCC 4.5 (20090526): #0 0x00549453 in gfc_trans_pointer_assignment (expr1=0x12d8ea0, expr2=0x12d3b80) at

[Bug fortran/41629] New: [OOP] gimplification error on valid code

2009-10-08 Thread janus at gcc dot gnu dot org
The following code results in a gimplication error: type t1 integer :: comp end type type(t1), target :: a class(t1) :: x pointer :: x a%comp = 3 x = a print *,x%comp end The problem here is that 'encapsulate_class_symbol' is called too early (i.e. before the symbol has acquired

[Bug middle-end/22072] bizarre code for int*int/2 for -Os

2009-10-08 Thread ubizjak at gmail dot com
--- Comment #16 from ubizjak at gmail dot com 2009-10-08 08:17 --- Vlad, is it OK if I backport this patch to 4.4? I have tested it on 4.4 without problems. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22072

[Bug fortran/41627] mixing common and modules elicits seg fault

2009-10-08 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2009-10-08 08:43 --- The use of common in the context of this PR badly hurts my understanding of commons: storage arrays computed at compile time. The standard says (f2008): 5.7.2 COMMON statement 5.7.2.1 General 1 The COMMON

[Bug libstdc++/41628] _GLIBCXX_DEBUG feature: check for unstable iterators

2009-10-08 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41628

[Bug libstdc++/41628] _GLIBCXX_DEBUG feature: check for unstable iterators

2009-10-08 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2009-10-08 09:42 --- set::insert never invalidates iterators, so that's not a good example. set::erase invalidates iterators pointing to erased elements, but debug mode already catches that. One problem I see with this request is that

[Bug libstdc++/41628] _GLIBCXX_DEBUG feature: check for unstable iterators

2009-10-08 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2009-10-08 09:43 --- (In reply to comment #1) std::setint::iterator i = s.insert(5); Oops, that should be std::setint::iterator i = s.insert(5).first; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41628

[Bug bootstrap/41620] [4.5 regression] Bootstrap failure

2009-10-08 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2009-10-08 10:07 --- Subject: Bug 41620 Author: hubicka Date: Thu Oct 8 10:06:52 2009 New Revision: 152556 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152556 Log: PR bootstrap/41620 * ipa.c

[Bug c++/41619] ICE in insert_save (caller-save.c) for SPEC CPU2000's 252.eon

2009-10-08 Thread kenneth dot hoste at elis dot ugent dot be
--- Comment #2 from kenneth dot hoste at elis dot ugent dot be 2009-10-08 10:47 --- Created an attachment (id=18749) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18749action=view) Fortran testcase Turns out the same error message occurs with SPEC CPU2000's 178.galgel, more

[Bug fortran/31593] Invariant DO loop variables and subroutines

2009-10-08 Thread steven at gcc dot gnu dot org
--- Comment #42 from steven at gcc dot gnu dot org 2009-10-08 11:06 --- Add Matz, following comment #40. Micha, maybe you can open a separate bug report for the issues you mention in your mail (http://gcc.gnu.org/ml/fortran/2009-08/msg00200.html) and make that new PR block this

[Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping

2009-10-08 Thread matz at gcc dot gnu dot org
--- Comment #4 from matz at gcc dot gnu dot org 2009-10-08 11:23 --- We're (slowly) working on this. -- matz at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31593] Invariant DO loop variables and subroutines

2009-10-08 Thread matz at gcc dot gnu dot org
--- Comment #43 from matz at gcc dot gnu dot org 2009-10-08 11:24 --- There already is PR31094 about this enhancement. -- matz at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/31094] Support annotating function parameters as read-only and/or non-escaping

2009-10-08 Thread matz at gcc dot gnu dot org
--- Comment #5 from matz at gcc dot gnu dot org 2009-10-08 11:26 --- See also my mail http://gcc.gnu.org/ml/fortran/2009-08/msg00200.html about this issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31094

[Bug middle-end/41626] [4.5 Regression] GCC does not bootstrap on powerpc64

2009-10-08 Thread danglin at gcc dot gnu dot org
--- Comment #6 from danglin at gcc dot gnu dot org 2009-10-08 13:10 --- Bootstrap also fails on armv5tejl-unknown-linux-gnueabi: build/gensupport.o:(.data+0x20): undefined reference to `obstack' -- danglin at gcc dot gnu dot org changed: What|Removed

[Bug fortran/41627] mixing common and modules elicits seg fault

2009-10-08 Thread dh458 at oakapple dot net
--- Comment #7 from dh458 at oakapple dot net 2009-10-08 13:23 --- Subject: Re: mixing common and modules elicits seg fault The use of common in the context of this PR badly hurts my understanding of commons: storage arrays computed at compile time. For better or worse, the Sun

[Bug target/41176] [4.4/4.5 Regression] ICE in reload_cse_simplify_operands at postreload.c:396

2009-10-08 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2009-10-08 13:33 --- This is on (set (reg:DF X) (mem:DF ((plus:DI (reg:DI Y) (const_int 3. When X is still a pseudo, this is considered valid, as lfd accept any offset, but when RA chooses to assign X to a GPR register, the address

[Bug c/41630] New: Optimization error on vectors of uint64_t

2009-10-08 Thread emanuele dot cesena at gmail dot com
System. Fedora 11 - Linux 2.6.30.8-64.fc11.x86_64 #1 SMP gcc-4.4.1, Release: 2.fc11 (Fedora's package) Problem in short. definitions: typedef uint64_t obj[1]; obj x0, x1, X[2]; then the following code doesn't work: X[0][0] = x0[0]; X[1][0] = x1[0]; while this works: *X[0] = *x0; *X[1]

[Bug c/41630] Optimization error on vectors of uint64_t

2009-10-08 Thread emanuele dot cesena at gmail dot com
--- Comment #1 from emanuele dot cesena at gmail dot com 2009-10-08 13:50 --- Created an attachment (id=18750) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18750action=view) source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41630

[Bug c/41630] Optimization error on vectors of uint64_t

2009-10-08 Thread emanuele dot cesena at gmail dot com
--- Comment #2 from emanuele dot cesena at gmail dot com 2009-10-08 13:51 --- Created an attachment (id=18751) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18751action=view) preprocessed file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41630

[Bug c/41630] Optimization error on vectors of uint64_t

2009-10-08 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-10-08 14:16 --- Whatever it is, doesn't happen in mainline. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41630

[Bug middle-end/41626] [4.5 Regression] GCC does not bootstrap on powerpc64

2009-10-08 Thread hubicka at ucw dot cz
--- Comment #7 from hubicka at ucw dot cz 2009-10-08 14:18 --- Subject: Re: [4.5 Regression] GCC does not bootstrap on powerpc64 Hi, the following patch should fix the problem. I am bootstrapping/regtesting it at x86_64-linux, but it would be nice to know if it actually fixes the

[Bug c/41630] [4.3/4.4 Regression] Optimization error on vectors of uint64_t

2009-10-08 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-08 14:52 --- Simplified testcase, fails at -O1. Likely an aliasing issue, but I didn't yet fully investigate (nor ruled out a non-conforming testcase - though TBAA is out of the question here): typedef unsigned long obj[1];

[Bug fortran/41631] New: [OOP] Support CLASS IS () in SELECT TYPE

2009-10-08 Thread burnus at gcc dot gnu dot org
CLASS IS() is correctly parsed but it has been disabled as the actual implementation is missing. There are two parsing test cases, which can be re-enabled when the the feature is implemented: - gcc/testsuite/gfortran.dg/select_type_2.f03 - gcc/testsuite/gfortran.dg/select_type_1.f03 Cf. also

[Bug ada/39502] Unexpected uninitialized warning

2009-10-08 Thread kayhayen at gmx dot de
--- Comment #6 from kayhayen at gmx dot de 2009-10-08 15:02 --- Hello, is there anything else we can do to help with this bug? Yours, Kay Hayen -- kayhayen at gmx dot de changed: What|Removed |Added

[Bug c/41630] [4.3/4.4 Regression] Optimization error on vectors of uint64_t

2009-10-08 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-08 15:03 --- What we can see after inlining is bb 2: X[0][0] ={v} 12345; D.1614_1 = (long unsigned int *) X[1]; *D.1614_1 ={v} 67890; D.1614_2 = (long unsigned int *) X[1]; X.0_3 = (long unsigned int *) X; D.1623_5

[Bug c/41630] [4.3/4.4 Regression] Optimization error on vectors of uint64_t

2009-10-08 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-08 15:07 --- With 4.3 and 4.4 it is SRA that does not avoid generating wrong code, with 4.5 SRA optimizes the code correctly and recognizes both forms access the same memory (and thus we optimize the program to return 0).

[Bug c/41630] [4.3/4.4 Regression] Optimization error on vectors of uint64_t

2009-10-08 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41630

[Bug ada/39502] Unexpected uninitialized warning

2009-10-08 Thread charlet at gcc dot gnu dot org
--- Comment #7 from charlet at gcc dot gnu dot org 2009-10-08 15:08 --- Feel free to submit a patch. Note that middle-end warnings (such as -Wuninitialized) do not always support properly all front-end semantics, in particular for high level languages such as Ada, so I'd recommend

[Bug c++/41313] r150553 causes g++.dg/tree-prof/partition1.C compilation and execution test failures on *-apple-darwin*

2009-10-08 Thread howarth at nitro dot med dot uc dot edu
--- Comment #40 from howarth at nitro dot med dot uc dot edu 2009-10-08 15:16 --- Created an attachment (id=18752) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18752action=view) Fix PR41313 with dual approach -- howarth at nitro dot med dot uc dot edu changed:

[Bug c++/41313] r150553 causes g++.dg/tree-prof/partition1.C compilation and execution test failures on *-apple-darwin*

2009-10-08 Thread howarth at nitro dot med dot uc dot edu
--- Comment #41 from howarth at nitro dot med dot uc dot edu 2009-10-08 15:17 --- Posted revised patch from Comment 40 to gcc-patches... http://gcc.gnu.org/ml/gcc-patches/2009-10/msg00519.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41313

[Bug debug/40521] [4.4/4.5 Regression] -g causes GCC to generate .eh_frame

2009-10-08 Thread doko at ubuntu dot com
--- Comment #7 from doko at ubuntu dot com 2009-10-08 15:17 --- With binutils from the 2.20 branch, and gcc from the 4.4 branch, including Jakub's patch, and excluding the current workaround from Ramana, I get: $ gcc -c main.c $ objdump --wide -h main.o | grep ALLOC 0 .text

[Bug debug/40521] [4.4/4.5 Regression] -g causes GCC to generate .eh_frame

2009-10-08 Thread ramana at gcc dot gnu dot org
--- Comment #8 from ramana at gcc dot gnu dot org 2009-10-08 15:36 --- (In reply to comment #7) With binutils from the 2.20 branch, and gcc from the 4.4 branch, including Jakub's patch, and excluding the current workaround from Ramana, I get: IIUC and to make things explicit, the

[Bug fortran/41582] Allocation of abstract types requires a type spec or a SOURCE

2009-10-08 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-10-08 15:39 --- Created an attachment (id=18753) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18753action=view) Patch allocate(class) w/o source=/type-spec; plus PR 41581 interim fix (completely untested) Patch also changes

[Bug middle-end/41573] [4.5 Regression] segfault in trunk related to strings

2009-10-08 Thread matz at gcc dot gnu dot org
--- Comment #4 from matz at gcc dot gnu dot org 2009-10-08 16:03 --- Subject: Bug 41573 Author: matz Date: Thu Oct 8 16:03:11 2009 New Revision: 152563 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152563 Log: PR middle-end/41573 * builtins.c

[Bug c++/37177] [c++0x] ICE on decltype(rel_ops::operatorint);

2009-10-08 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2009-10-08 16:09 --- Subject: Bug 37177 Author: jason Date: Thu Oct 8 16:09:22 2009 New Revision: 152564 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152564 Log: PR c++/37177 * pt.c (resolve_nondeduced_context):

[Bug c++/36816] [c++0x] error deducing template argument taking the address of rvalue reference template

2009-10-08 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2009-10-08 16:09 --- Subject: Bug 36816 Author: jason Date: Thu Oct 8 16:09:31 2009 New Revision: 152565 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152565 Log: PR c++/36816 * pt.c

[Bug target/41605] Static linking of libgcc/libgfortran/libstdc++ can cause inconsistent symbol resolution.

2009-10-08 Thread mrs at gcc dot gnu dot org
--- Comment #3 from mrs at gcc dot gnu dot org 2009-10-08 16:36 --- These two look ok to me. The testsuite should be glanced at by Janis to double check. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41605

[Bug target/41605] Static linking of libgcc/libgfortran/libstdc++ can cause inconsistent symbol resolution.

2009-10-08 Thread mrs at gcc dot gnu dot org
--- Comment #4 from mrs at gcc dot gnu dot org 2009-10-08 16:44 --- Oh, if one wanted to, one could have libgcc_s forward the EH calls into /usr/lib/libgcc_s.1.dylib by dlopening it and then doing dlsym on the symbols and calling them. This would `fix' the programs that linked against

[Bug ada/39502] Unexpected uninitialized warning

2009-10-08 Thread manu at gcc dot gnu dot org
--- Comment #8 from manu at gcc dot gnu dot org 2009-10-08 17:39 --- The output of -fdump-tree-optimized-all-lineno and -fdump-tree-ssa-all-lineno with and without -fPIC would be interesting. Also, GCC 4.4 and 4.5 fixed a lot of false positives in Wuninitialized, so please try with at

[Bug c++/36816] [c++0x] error deducing template argument taking the address of rvalue reference template

2009-10-08 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2009-10-08 17:48 --- Fixed for 4.5. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37177] [c++0x] ICE on decltype(rel_ops::operatorint);

2009-10-08 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2009-10-08 17:48 --- Fixed for 4.5. -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37204] [c++0x] reinterpret_castT(v) incorrectly yields an lvalue

2009-10-08 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug preprocessor/41632] New: The preprocessor incorrectly reports #ident as being deprecated

2009-10-08 Thread nvachhar at google dot com
See http://gcc.gnu.org/ml/gcc/2009-10/msg00071.html -- Summary: The preprocessor incorrectly reports #ident as being deprecated Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/41570] [4.5 Regression] [c++0x] ICE with -g and variadic templates

2009-10-08 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/40790] plugin-api.h unconditionally includes stdint.h

2009-10-08 Thread espindola at google dot com
--- Comment #9 from espindola at google dot com 2009-10-08 18:20 --- (In reply to comment #8) Raphael, can you look into this? Sure. Sorry about the delay. The only thing the compiler should need the plugin-api.h for is the enum ld_plugin_symbol_resolution. If we split

[Bug target/41176] [4.4/4.5 Regression] ICE in reload_cse_simplify_operands at postreload.c:396

2009-10-08 Thread uweigand at gcc dot gnu dot org
--- Comment #9 from uweigand at gcc dot gnu dot org 2009-10-08 18:39 --- (In reply to comment #8) This is on (set (reg:DF X) (mem:DF ((plus:DI (reg:DI Y) (const_int 3. When X is still a pseudo, this is considered valid, as lfd accept any offset, but when RA chooses to assign X

[Bug c/41633] New: -Wframe-larger-than should warn about outgoing function calls, specifically varargs

2009-10-08 Thread fche at redhat dot com
gcc should warn when the stack frame for a called varargs function is in excess of a -Wframe-larger-than=NNN bytes. Such a check could be done at each call site, to see whether the outgoing arguments alone already exhaust NNN. -- Summary: -Wframe-larger-than should warn about

[Bug middle-end/41626] [4.5 Regression] GCC does not bootstrap on powerpc64

2009-10-08 Thread meissner at gcc dot gnu dot org
--- Comment #8 from meissner at gcc dot gnu dot org 2009-10-08 18:59 --- Created an attachment (id=18754) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18754action=view) Patch that fixes the powerpc bootstrap problem. This is the patch that I checked in that came from Jan

[Bug middle-end/41626] [4.5 Regression] GCC does not bootstrap on powerpc64

2009-10-08 Thread meissner at gcc dot gnu dot org
--- Comment #9 from meissner at gcc dot gnu dot org 2009-10-08 19:00 --- Patch checked into mainline, subversion id 152569. -- meissner at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgomp/41418] Can't build libgomp without --enable-languages=fortran

2009-10-08 Thread rwild at gcc dot gnu dot org
--- Comment #16 from rwild at gcc dot gnu dot org 2009-10-08 19:06 --- Created an attachment (id=18755) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18755action=view) (hopefully) better patch Gah. Initial white space isn't stripped from the case argument, I should've known. Can

[Bug debug/41353] VTA missed-debug issues

2009-10-08 Thread aoliva at gcc dot gnu dot org
--- Comment #17 from aoliva at gcc dot gnu dot org 2009-10-08 19:20 --- Subject: Bug 41353 Author: aoliva Date: Thu Oct 8 19:20:22 2009 New Revision: 152573 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152573 Log: PR debug/41353 * regmove.c (regmove_backward_pass): Replace src

[Bug debug/41353] VTA missed-debug issues

2009-10-08 Thread aoliva at gcc dot gnu dot org
--- Comment #18 from aoliva at gcc dot gnu dot org 2009-10-08 19:22 --- All fixed. -- aoliva at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgomp/41418] Can't build libgomp without --enable-languages=fortran

2009-10-08 Thread davek at gcc dot gnu dot org
--- Comment #17 from davek at gcc dot gnu dot org 2009-10-08 19:37 --- (In reply to comment #16) Created an attachment (id=18755) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18755action=view) [edit] (hopefully) better patch Gah. Initial white space isn't stripped from the

[Bug libstdc++/41622] [c++0x] std::hashstd::string::operator() copies its argument

2009-10-08 Thread jbytheway at gmail dot com
--- Comment #5 from jbytheway at gmail dot com 2009-10-08 19:40 --- Ah well. I'm not surprised. If you do wish to argue the point at Santa Cruz and I can be any help then let me know. I have no particular intention to contribute; I'm just working through my backlog of bug reports

[Bug libstdc++/41622] [c++0x] std::hashstd::string::operator() copies its argument

2009-10-08 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2009-10-08 19:54 --- (In reply to comment #5) I have no particular intention to contribute; Too bad, I hope you want to reconsider this decision. In case, however, please don't attach patches, because we can't and we don't want

[Bug libgomp/41418] Can't build libgomp without --enable-languages=fortran

2009-10-08 Thread rwild at gcc dot gnu dot org
--- Comment #18 from rwild at gcc dot gnu dot org 2009-10-08 19:57 --- Created an attachment (id=18756) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18756action=view) ditto, but without the d'oh factor That's what you get when you name one pr-41418 and the other pr41418. Sorry

[Bug fortran/41579] [OOP/Polymorphism] Nesting of SELECT TYPE

2009-10-08 Thread janus at gcc dot gnu dot org
--- Comment #1 from janus at gcc dot gnu dot org 2009-10-08 20:27 --- Mine (have a patch). -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/41529] [4.5 Regression] LTO configuration should detect if the target is ELF

2009-10-08 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-08 21:26 --- I installed libelf on a i386-darwin machine at /usr/local so I could build a cross compiler to spu-elf and test LTO on my laptop. And now a native build of GCC picks up libelf and we get: checking for the correct

[Bug debug/41616] Variables promoted to Gimple registers by aliasing are not getting debug statements.

2009-10-08 Thread aoliva at gcc dot gnu dot org
--- Comment #2 from aoliva at gcc dot gnu dot org 2009-10-08 21:34 --- Yup, ADDR_EXPRs don't count as dereferences in debug stmts, but if the variable doesn't get a memory location, we end up dropping the whole expression. We have to. Finding another location holding the value of b

[Bug lto/41554] -flto and -fwhopr should be moved to common.opt

2009-10-08 Thread jsm28 at gcc dot gnu dot org
--- Comment #5 from jsm28 at gcc dot gnu dot org 2009-10-08 21:36 --- Likewise, -Wabi and -Wpsabi belong on common.opt, and the post_options processing belongs in common code not in individual front ends. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41554

[Bug c/41634] New: segfault in trunk

2009-10-08 Thread marcus at jet dot franken dot de
/home/marcus/projects/gcc.trunk/BIN/bin/gcc -m32 -c -O3 -fno-builtin file.i file.i: In function 'test_readmode': file.i:4:6: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. --

[Bug c/41634] segfault in trunk

2009-10-08 Thread marcus at jet dot franken dot de
--- Comment #1 from marcus at jet dot franken dot de 2009-10-08 21:43 --- Created an attachment (id=18757) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18757action=view) file.i /home/marcus/projects/gcc.trunk/BIN/bin/gcc -m32 -c -O3 -fno-builtin file.i --

[Bug tree-optimization/41634] [4.5 Regression] ICE in dom

2009-10-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-10-08 21:46 --- #0 0x00cb8976 in htab_remove_elt_with_hash (htab=0x43b0dd20, element=0xb2e4, hash=2085838349) at /Users/apinski/src/change/gcc/libiberty/hashtab.c:706 #1 0x00672a4e in remove_local_expressions_from_table () at

[Bug tree-optimization/41634] [4.5 Regression] ICE in dom

2009-10-08 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-10-08 21:49 --- This appeared between revision 152380 and 152576. The only patch which touched dom during that time was: +2009-10-05 Richard Guenther rguent...@suse.de + + PR tree-optimization/23821 + * tree-vrp.c

[Bug lto/41635] New: inappropriate assertion that fopen succeeds

2009-10-08 Thread jsm28 at gcc dot gnu dot org
As noted in my review of the LTO front end, resolution = fopen (resolution_file_name, r); gcc_assert (resolution != NULL); is not an appropriate use of an assertion because the fopen could fail through system resource exhaustion even if you know the file exists and is readable and

[Bug lto/41636] New: lto-elf.c i18n problems

2009-10-08 Thread jsm28 at gcc dot gnu dot org
The macros in lto-elf.c with diagnostics fatal_error (elf#BITS_getshdr() failed: %s, elf_errmsg (-1));\ fatal_error (elf#BITS_newehdr() failed: %s, elf_errmsg (-1));\ are not i18n-friendly; only the elf bit gets extracted for translation to gcc.pot. The code should explicitly say

[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-08 Thread dougkwan at gcc dot gnu dot org
--- Comment #7 from dougkwan at gcc dot gnu dot org 2009-10-08 22:17 --- Subject: Bug 41574 Author: dougkwan Date: Thu Oct 8 22:16:58 2009 New Revision: 152580 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152580 Log: 2009-10-08 Doug Kwan dougk...@google.com PR

[Bug rtl-optimization/41574] Distribute floating point expressions causes bad code.

2009-10-08 Thread dougkwan at google dot com
--- Comment #8 from dougkwan at google dot com 2009-10-08 22:20 --- This is fixed in trunk but at least gcc-4.4.0, where this bug was found, is still broken. -- dougkwan at google dot com changed: What|Removed |Added

[Bug c/41045] Extended asm with C operands doesn�t work at top level

2009-10-08 Thread nelhage at mit dot edu
--- Comment #2 from nelhage at mit dot edu 2009-10-08 22:20 --- For an example of real code that wanted to use toplevel inline ASM, see the following recent Linux commit: http://git.kernel.org/linus/796216a57fe45c04adc35bda1f0782efec78a713 Lack of this feature necessitated a fairly

[Bug c/41045] Extended asm with C operands doesn�t work at top level

2009-10-08 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-10-08 22:28 --- So they want a way to turn off progbits instead? That seems better than doing extended inline-asm at the top level. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41045

[Bug c/41045] Extended asm with C operands doesn�t work at top level

2009-10-08 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-10-08 22:32 --- (In reply to comment #3) So they want a way to turn off progbits instead? That seems better than doing extended inline-asm at the top level. And is less messy really since then the syntax would be something like:

[Bug lto/41565] -m32 causes an ICE when the object files were compiled with 64bit

2009-10-08 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-10-08 23:06 --- I ran into this again, this time on powerpc-linux-gnu when I forgot to include -maltivec on the link line. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41565

[Bug lto/41565] -m32 causes an ICE when the object files were compiled with 64bit

2009-10-08 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-10-08 23:08 --- Oh -maltivec is even weirder than -m32 as it does not change the ABI (well it does but not with respect non vector arguments and such) but I should be able to compile some files with -maltivec and some without.

[Bug driver/41637] New: testsuite (-flto/-fwrop) leaves crap in /tmp

2009-10-08 Thread pinskia at gcc dot gnu dot org
Just looking into /tmp after a testsuite runs there are a lot of files there. cc0FIKlt.errccceY3TE.err cciZMsdN.o.063t.alias ccqFjO6o.errccy5TZdA.out cc0hiz3p.wpa.o ccCFYtDM.wpa.o.063t.alias ccj4ba9L.out

[Bug lto/41638] New: Back-end builtins are mishandled

2009-10-08 Thread pinskia at gcc dot gnu dot org
lto_get_builtin_tree uses built_in_decls but that is only for the built_in_class of BUILT_IN_NORMAL. The back-ends have their own array with the builtins in them for the class of BUILT_IN_MD. So currently we translate all of the back-end builtins into normal builtins. This is why

[Bug lto/41638] Back-end builtins are mishandled

2009-10-08 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-08 23:48 --- Note the back-end builtin arrays don't have the same name so it is not as simple as using that array. I think we need to add either a target hook or have a standard name for them. Also the assert there for