[Bug c/42579] New: [PATCH] support for obtaining file basename

2010-01-02 Thread rmh dot gcc at aybabtu dot com
Please consider this patch. It adds support for obtaining file basename via __FILE_BASENAME__. This would be used by GNU GRUB. I'll provide some explanation on why this is very necessary for us: - Bootloader code is very critical; a bug can render system unbootable. Additionally, it needs

[Bug c/42579] [PATCH] support for obtaining file basename

2010-01-02 Thread rmh dot gcc at aybabtu dot com
--- Comment #1 from rmh dot gcc at aybabtu dot com 2010-01-02 10:12 --- Created an attachment (id=19445) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19445action=view) __FILE_BASENAME__ Attaching the patch. Also sent to gcc-patches. --

[Bug rtl-optimization/39871] [4.3/4.4/4.5 regression] Code size increase on ARM due to inferior CSE

2010-01-02 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2010-01-02 10:28 --- I don't know but I found a tree that generates the 9-instruction sequence, and it was GCC: (GNU) 4.4.0 20090314 (experimental). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39871

[Bug rtl-optimization/39871] [4.3/4.4/4.5 regression] Code size increase on ARM due to inferior CSE

2010-01-02 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2010-01-02 10:31 --- (That would be r144855 or r144857). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39871

[Bug target/42564] ICE on sparc - unrecognizable insn

2010-01-02 Thread debian-gcc at lists dot debian dot org
--- Comment #5 from debian-gcc at lists dot debian dot org 2010-01-02 10:42 --- not applying the pr40521-revert-workaround patch shows the ICE as well. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42564

[Bug c/42579] [PATCH] support for obtaining file basename

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-02 11:06 --- __BASE_FILE__ could be enough for what you want. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42579

[Bug lto/41597] Bad .comm directive

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-01-02 11:11 --- Subject: Bug 41597 Author: rguenth Date: Sat Jan 2 11:11:37 2010 New Revision: 155563 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155563 Log: 2010-01-02 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/39839] [4.3/4.4/4.5 regression] loop invariant motion causes stack spill

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-01-02 11:18 --- You may also want to try -fsched-pressure -fschedule-insns which is new in GCC 4.5 and might decrease register pressure (no idea if it ever moves things into loops though - the haifa scheduler might not consider it

[Bug lto/41597] Bad .comm directive

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-01-02 11:25 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug driver/41564] -fdump-tree-all for lto does not work as expected

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #17 from rguenth at gcc dot gnu dot org 2010-01-02 11:29 --- Yeah, that looks like a good first step. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41564

[Bug c/42579] [PATCH] support for obtaining file basename

2010-01-02 Thread rmh dot gcc at aybabtu dot com
--- Comment #3 from rmh dot gcc at aybabtu dot com 2010-01-02 11:39 --- (In reply to comment #2) __BASE_FILE__ could be enough for what you want. Hi, I tried already, but __BASE_FILE__ seems to be something unrelated. It's like __FILE__ but when used in an #include'd source it picks

[Bug fortran/40472] Simplification of spread intrinsic takes a long time

2010-01-02 Thread dominiq at lps dot ens dot fr
--- Comment #22 from dominiq at lps dot ens dot fr 2010-01-02 11:49 --- Backtrace of the ICE in comment #21 with the patch in http://gcc.gnu.org/ml/fortran/2010-01/msg0.html #0 fancy_abort (file=0x100987a08 ../../for_work/gcc/fortran/trans-array.c, line=4196, function=0x1009f0560

[Bug bootstrap/41529] LTO configuration should detect if the target is ELF

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-01-02 12:01 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|dnovillo

[Bug bootstrap/41529] LTO configuration should detect if the target is ELF

2010-01-02 Thread davek at gcc dot gnu dot org
--- Comment #9 from davek at gcc dot gnu dot org 2010-01-02 13:25 --- (In reply to comment #7) (In reply to comment #6) I have a hard way thinking of a way this is a regression. Well it is partly a regression as if you have libelf installed in /usr/local or /usr, configure

[Bug bootstrap/41529] LTO configuration should detect if the target is ELF

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-01-02 13:42 --- FAIL: gcc.dg/lto/20081201-2 c_lto_20081201-2_0.o-c_lto_20081201-2_1.o execute -O3 -fwhopr this means you do not get any LTO optimization (it's really the only test that tests this ) So LTO is not working for

[Bug bootstrap/41529] LTO configuration should detect if the target is ELF

2010-01-02 Thread davek at gcc dot gnu dot org
--- Comment #11 from davek at gcc dot gnu dot org 2010-01-02 13:51 --- (In reply to comment #10) FAIL: gcc.dg/lto/20081201-2 c_lto_20081201-2_0.o-c_lto_20081201-2_1.o execute -O3 -fwhopr this means you do not get any LTO optimization (it's really the only test that tests this

[Bug bootstrap/41529] LTO configuration should detect if the target is ELF

2010-01-02 Thread rguenther at suse dot de
--- Comment #12 from rguenther at suse dot de 2010-01-02 13:56 --- Subject: Re: LTO configuration should detect if the target is ELF On Sat, 2 Jan 2010, davek at gcc dot gnu dot org wrote: --- Comment #11 from davek at gcc dot gnu dot org 2010-01-02 13:51 --- (In reply

[Bug bootstrap/41529] LTO configuration should detect if the target is ELF

2010-01-02 Thread davek at gcc dot gnu dot org
--- Comment #13 from davek at gcc dot gnu dot org 2010-01-02 13:59 --- (In reply to comment #12) The collect2 stuff should in principle work with non-ELF targets as well if you circumvent that first problem somehow (for example by not producing regular object code from cc1 but only

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-02 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2010-01-02 14:08 --- Created an attachment (id=19446) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19446action=view) Classic GCSE, resurrected (with some improvements) With this patch (not bootstrapped/tested/etc.), I get the

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-02 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/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-02 Thread steven at gcc dot gnu dot org
--- Comment #7 from steven at gcc dot gnu dot org 2010-01-02 14:10 --- For the record, options for compiler to get the asm output of the comments: -march=armv5te -mthumb -mthumb-interwork -fpic -Os -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574

[Bug bootstrap/41529] LTO configuration should detect if the target is ELF

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2010-01-02 14:13 --- Subject: Bug 41529 Author: rguenth Date: Sat Jan 2 14:13:37 2010 New Revision: 155565 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155565 Log: 2010-01-02 Richard Guenther rguent...@suse.de PR

[Bug bootstrap/41529] LTO configuration should detect if the target is ELF

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2010-01-02 14:16 --- Fixed. The way to support LTO on non-ELF targets is to wrap all LTO sections in an ELF container that is wrapped in a native section. We then have to have code to open a native object format section and direct

[Bug target/42448] [4.3/4.4/4.5 Regression] Wrong code with _Complex char in structure

2010-01-02 Thread uros at gcc dot gnu dot org
--- Comment #4 from uros at gcc dot gnu dot org 2010-01-02 14:18 --- Subject: Bug 42448 Author: uros Date: Sat Jan 2 14:18:41 2010 New Revision: 155566 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155566 Log: PR target/42448 * config/alpha/predicates.md

[Bug c/42557] gcc no compile for m68k(coff/elf)

2010-01-02 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2010-01-02 14:21 --- (In reply to comment #3) However, the goal is to compile gcc for the coff format and I'm having it difficulties. Consider the following two facts: 1. binutils-2.17 removed m68k-coff support, that was 3.5 years ago 2.

[Bug lto/41670] FAIL: gcc.c-torture/execute/builtins/memcpy-chk.c compilation, -O2 -fwhopr

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-02 14:22 --- http://gcc.gnu.org/ml/gcc-testresults/2009-12/msg02393.html says this is fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/41659] FAIL: gcc.dg/lto/20090914-2 c_lto_20090914-2_0.o assemble, -O0 -fwhopr

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-02 14:23 --- Fixed as of http://gcc.gnu.org/ml/gcc-testresults/2009-12/msg02393.html. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/41664] FAIL: gfortran.dg/lto/pr40725 f_lto_pr40725_0.o-f_lto_pr40725_1.o execute -O2 -fwhopr and -flto

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-02 14:27 --- Yes, this is a known issue with LTO and combining C and Fortran code which accesses commons in both languages. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42448] [4.3/4.4/4.5 Regression] Wrong code with _Complex char in structure

2010-01-02 Thread uros at gcc dot gnu dot org
--- Comment #5 from uros at gcc dot gnu dot org 2010-01-02 14:28 --- Subject: Bug 42448 Author: uros Date: Sat Jan 2 14:28:25 2010 New Revision: 155567 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155567 Log: PR target/42448 * config/alpha/predicates.md

[Bug target/42536] [4.4/4.5 regression] ICE in spill_failure, at reload1.c:2141

2010-01-02 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-01-02 14:30 --- With 3 register vars in the function (ebx, edi, esi) on the register starved ix86 the error is tollerable. From the 8 registers the programmer takes 3, %esp is fixed, without -fomit-frame-pointer %ebp is fixed too,

[Bug target/42448] [4.3/4.4/4.5 Regression] Wrong code with _Complex char in structure

2010-01-02 Thread uros at gcc dot gnu dot org
--- Comment #6 from uros at gcc dot gnu dot org 2010-01-02 14:32 --- Subject: Bug 42448 Author: uros Date: Sat Jan 2 14:32:23 2010 New Revision: 155568 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155568 Log: PR target/42448 * config/alpha/predicates.md

[Bug lto/41664] FAIL: gfortran.dg/lto/pr40725 f_lto_pr40725_0.o-f_lto_pr40725_1.o execute -O2 -fwhopr and -flto

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-02 14:32 --- Related to PR41227. But from that it seems we need to fix this up during LTO. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/41529] LTO configuration should detect if the target is ELF

2010-01-02 Thread davek at gcc dot gnu dot org
--- Comment #16 from davek at gcc dot gnu dot org 2010-01-02 14:33 --- JFTR: I'll be working on this later in January. I'll do it on the cygwin-improvements branch for visibility. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41529

[Bug target/42448] [4.3/4.4/4.5 Regression] Wrong code with _Complex char in structure

2010-01-02 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2010-01-02 14:34 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug testsuite/41651] g++.dg/lto/20080908-3.C is broken

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-02 14:39 --- Subject: Bug 41651 Author: rguenth Date: Sat Jan 2 14:38:57 2010 New Revision: 155569 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155569 Log: 2010-01-02 Richard Guenther rguent...@suse.de PR

[Bug testsuite/41651] g++.dg/lto/20080908-3.C is broken

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-02 14:39 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/42577] array bounds false positive with -O3, goes away with -O2

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-02 14:57 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/41095] 4x bigger object when compiled with -O3 option

2010-01-02 Thread ami_stuff at o2 dot pl
--- Comment #9 from ami_stuff at o2 dot pl 2010-01-02 15:02 --- GCC 4.5.0 (20091224): 840KB When I use -O3 -fno-inline-functions -fno-unswitch-loops -fno-predictive-commoning -fno-gcse-after-reload -fno-tree-vectorize, size increases to 944KB. --

[Bug bootstrap/41529] LTO configuration should detect if the target is ELF

2010-01-02 Thread joseph at codesourcery dot com
--- Comment #17 from joseph at codesourcery dot com 2010-01-02 15:04 --- Subject: Re: LTO configuration should detect if the target is ELF On Sat, 2 Jan 2010, rguenth at gcc dot gnu dot org wrote: Fixed. The way to support LTO on non-ELF targets is to wrap all LTO sections in an

[Bug debug/42565] [4.5 Regression] Huge compilation time with -O1 -g

2010-01-02 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-01-02 15:05 --- Yeah, PR41371. *** This bug has been marked as a duplicate of 41371 *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

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

2010-01-02 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2010-01-02 15:05 --- *** Bug 42565 has been marked as a duplicate of this bug. *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/41529] LTO configuration should detect if the target is ELF

2010-01-02 Thread davek at gcc dot gnu dot org
--- Comment #18 from davek at gcc dot gnu dot org 2010-01-02 15:20 --- (In reply to comment #17) I don't really see the point of the ELF container if you also have code to parse a native object format. Either add a separate COFF etc. (or BFD-using if you so wish) implementation

[Bug rtl-optimization/41862] [4.5 Regression] -fgcse-sm causes bootstrap comparison failures

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2010-01-02 15:57 --- Can you try with --without-build-config? It might be just a compare-debug failure. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41862

[Bug rtl-optimization/42258] [4.5 Regression] redundant register move around mul instruction

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42258

[Bug c++/42336] [4.5 Regression] ICE with pointer-to-member-function argument in template function

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-01-02 16:00 --- I'd like to see 1a) for obvious reasons (we'll need that for proper LTO debuginfo support). But 2) is also sensible. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug rtl-optimization/42388] [4.5 Regression] ICE in move_bb_info with sel-sched and modulo-sched for 176.gcc

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42388

[Bug middle-end/42393] [4.5 Regression] [graphite] internal compiler error: in check_loop_closed_ssa_use

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42393

[Bug debug/42395] [4.5 Regression] error: definition in block 12 does not dominate use in block 19 with -O3 -g

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42395

[Bug debug/42396] [4.5 Regression] ICE: in dwarf2out_frame_debug_adjust_cfa, at dwarf2out.c:1859

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code Priority|P3 |P2

[Bug tree-optimization/42398] [4.5 Regression] internal compiler error: in sra_modify_expr, at tree-sra.c:2175

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42398

[Bug target/42427] [4.5 Regression] invalid assembly code for 301.apsi for -fnon-call-exceptions

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-02 16:05 --- Huh, but this looks like a target problem if we generate invalid assembly. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42431] [4.5 Regression] wrong code for 200.sixtrack with vectorization and -fdata-sections

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-02 16:06 --- Testcaese? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450

[Bug rtl-optimization/42461] [4.5 Regression] Missed optimisation for pure functions with __builtin_unreachable

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42461

[Bug tree-optimization/42462] [4.5 Regression] wrong-code with computed-goto

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42462

[Bug middle-end/42482] [4.5 Regression] Many graphite test failures

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42482

[Bug driver/42485] [4.4/4.5 Regression] -V switch broken

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42485

[Bug tree-optimization/42508] [4.5 Regression] wrong code with -O1 -fipa-sra

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-02 16:13 --- Confirmed. Doesn't happen on i?86-linux or with -m32. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/42521] [4.5 Regression] ICE: in graphite_loop_normal_form, at graphite-sese-to-poly.c:2844

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42521

[Bug tree-optimization/42558] [4.5 Regression] miscompilation related to -floop-block

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|middle-end |tree-optimization Priority|P3 |P1

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574

[Bug c++/40561] [4.3 Regression] code does not compile -- compiles fine when replacing != with !(==)

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-01-02 16:23 --- Fascinating indeed. If someone can bisect where during 4.4 development we fixed this again or where during 4.3 development we broke it that would be nice. -- rguenth at gcc dot gnu dot org changed:

[Bug bootstrap/42424] in-tree GMP/MPFR/MPC bootstrap fails

2010-01-02 Thread ghazi at gcc dot gnu dot org
--- Comment #1 from ghazi at gcc dot gnu dot org 2010-01-02 16:24 --- I was able to do a C-only bootstrap of mainline with all three libraries in-tree on x86_64-unknown-linux-gnu. I used mpc-0.8, mpfr-2.4.2, gmp-4.3.1 and bootstrapped with gcc-4.3.2. I cannot reproduce this problem,

[Bug c++/41131] [4.3 Regression] non-lvalue in unary `' wrongly accepted

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2010-01-02 16:25 --- Wontfix on the 4.3 branch, we usually do not backport accepts-invalid fixes. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41623] [4.3 Regression] ICE: emit_move_insn at expr.c 3162 when compiling template code.

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to fail|4.3.4 |4.3.4 4.4.0 Priority|P3 |P2

[Bug rtl-optimization/41646] [4.3 Regression] Reload ICE due to combiner extending life time of a hard register

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to

[Bug rtl-optimization/41917] [4.3 Regression] Strange athrithmetic result with -O3

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to fail|4.3.4 |4.3.4 4.4.2 Priority|P3 |P2

[Bug libffi/42289] [4.3 only] libffi fails to build with binutils-2.20 on ARM

2010-01-02 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=42289

[Bug middle-end/42577] [4.4/4.5 Regression] array bounds false positive with -O3, goes away with -O2

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-01-02 16:41 --- It's at least a regression towards where we didn't have array bound warnings. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/42424] in-tree GMP/MPFR/MPC bootstrap fails

2010-01-02 Thread developer at sandoe-acoustics dot co dot uk
--- Comment #2 from developer at sandoe-acoustics dot co dot uk 2010-01-02 16:41 --- (In reply to comment #1) I was able to do a C-only bootstrap of mainline with all three libraries in-tree on x86_64-unknown-linux-gnu. I used mpc-0.8, mpfr-2.4.2, gmp-4.3.1 and ... 1. Is this a

[Bug middle-end/42577] [4.4/4.5 Regression] array bounds false positive with -O3, goes away with -O2

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42577

[Bug target/42536] [4.4/4.5 regression] ICE in spill_failure, at reload1.c:2141

2010-01-02 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-01-02 16:44 --- Reduced testcase: /* { dg-do compile { target { { i?86-*-* x86_64-*-* } ilp32 } } } */ /* { dg-options -O2 -fno-gcse } */ struct C; struct B { struct C *b; }; struct C { void (*baz) (struct B *, void *, int); };

[Bug lto/42580] New: Missing command line option file causes ICE

2010-01-02 Thread hjl dot tools at gmail dot com
When I debug lto1, the missing command line option file generates a misleading error message and causes ICE: [...@gnu-34 gcc]$ touch x.s [...@gnu-34 gcc]$ gcc -c x.s [...@gnu-34 gcc]$ /export/build/gnu/gcc/build-x86_64-linux/gcc/lto1 -quiet -dumpbase x.o -mtune=generic -auxbase-strip

[Bug lto/42580] Missing command line option file causes ICE

2010-01-02 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-01-02 17:06 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00064.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug driver/41564] -fdump-tree-all for lto does not work as expected

2010-01-02 Thread hjl dot tools at gmail dot com
--- Comment #18 from hjl dot tools at gmail dot com 2010-01-02 17:09 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00065.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug tree-optimization/42337] [4.4 Regression] GCC ICE in compute_antic, at tree-ssa-pre.c:2534

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-01-02 17:12 --- Subject: Bug 42337 Author: rguenth Date: Sat Jan 2 17:12:15 2010 New Revision: 155573 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155573 Log: 2010-01-02 Richard Guenther rguent...@suse.de

[Bug tree-optimization/42337] [4.4 Regression] GCC ICE in compute_antic, at tree-ssa-pre.c:2534

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-01-02 17:12 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/42580] Missing command line option file causes ICE

2010-01-02 Thread hjl at gcc dot gnu dot org
--- Comment #2 from hjl at gcc dot gnu dot org 2010-01-02 17:30 --- Subject: Bug 42580 Author: hjl Date: Sat Jan 2 17:30:12 2010 New Revision: 155575 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155575 Log: Stop if the command line option file is missing 2010-01-02 H.J. Lu

[Bug target/42564] ICE on sparc - unrecognizable insn

2010-01-02 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2010-01-02 17:33 --- I can reproduce on native (and with a cross by stealing the native auto-host.h). -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/42580] Missing command line option file causes ICE

2010-01-02 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-01-02 17:39 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|---

[Bug lto/42581] New: gcc -v doesn't work with lto

2010-01-02 Thread hjl dot tools at gmail dot com
--prefix=/usr/gcc-4.5.0 --with-local-prefix=/usr/local --with-plugin-ld=ld.gold --enable-gold Thread model: posix gcc version 4.5.0 20100102 (experimental) (GCC) COMPILER_PATH=./ LIBRARY_PATH=./:/lib/../lib64/:/usr/lib/../lib64/:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-B.' '-o' 't' '-fwhopr' '-O' '-fdump

[Bug middle-end/42577] [4.4/4.5 Regression] array bounds false positive with -O3, goes away with -O2

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-01-02 19:15 --- Subject: Bug 42577 Author: rguenth Date: Sat Jan 2 19:14:52 2010 New Revision: 155577 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155577 Log: 2010-01-02 Richard Guenther rguent...@suse.de PR

[Bug middle-end/42577] [4.4 Regression] array bounds false positive with -O3, goes away with -O2

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-01-02 19:15 --- Fixed on the trunk sofar. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/35392] Warning array subscript is above array bounds in inline fct

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-02 19:19 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/35903] false uninitialized warning when passing quoted string to function strcmp(arg,no);

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-01-02 19:24 --- Similar to PR35392 this only happens with -funsigned-char, thus these may as well be dups. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/35966] array-subscript-above-bounds warning disappears when unrelated constructor definition is added

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-02 19:27 --- Works for me with gcc 4.3.3. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/37130] warning: array subscript is above array bounds.

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-01-02 19:30 --- Works with 4.4 and 4.5. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/37921] __builtin_constant_p seems to be giving false positives

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-01-02 19:35 --- Re-confirmed. The issue is that we fold __builtin_constant_p only after VRP1 so the dead code remains and we warn about it. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug c++/38625] Segmentation fault when dereferencing valid pointer, probably REGRESSION

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2010-01-02 19:40 --- Looks like invalid code in the first place. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/38808] another warning from system headers.

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-02 19:42 --- Fixed in 4.5. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/42424] in-tree GMP/MPFR/MPC bootstrap fails

2010-01-02 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2010-01-02 19:53 --- OK, I can reproduce the issue. 1. I have a GCC trunk (rev. 155544). In there I put symlinks to gmp-4.3.1, mpfr-2.4.2 and mpc-0.8.1 2. From an empty build directory, I configure with: ../trunk/configure

[Bug c/42582] New: fortify with optimisation above -O0 cause abort in realpath()

2010-01-02 Thread pva at gentoo dot org
realpath() built with =gcc-4.3 (where FORTIFY is enabled by default) and -Ox where x0 cause application to abort. Test case: the following code built with gcc -O2: == #include stdio.h #include stdlib.h #include string.h int

[Bug bootstrap/42566] Bootstrap fails in stage3 building the libstdc++ PCH

2010-01-02 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2010-01-02 20:02 --- Can you give us: 1. The results of grep '^CXX' Makefile in directories /Users/ed/obj/powerpc-apple-darwin7.9.0/libstdc++-v3/include and /Users/ed/obj/powerpc-apple-darwin7.9.0/libstdc++-v3 2. The long

[Bug lto/42581] gcc -v doesn't work with lto

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-02 20:26 --- Confirmed. But -save-temps also doesn't work completely for -fwhopr (and you need to set the collect2 env vars for -fwhopr). The proper fix for 4.6 is to move most of the LTO handling to the gcc driver, away from

[Bug c/42582] fortify with optimisation above -O0 cause abort in realpath()

2010-01-02 Thread truedfx at gentoo dot org
--- Comment #1 from truedfx at gentoo dot org 2010-01-02 20:26 --- The buffer should be at least PATH_MAX bytes. If PATH_MAX 1024, then 1024 bytes need not be enough. But anyway, realpath() comes from glibc, so even if this is a bug, you're reporting it to the wrong folks. --

[Bug c/42582] fortify with optimisation above -O0 cause abort in realpath()

2010-01-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-02 20:27 --- You also need to attach preprocessed source as it will be very glibc specific. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42582

[Bug bootstrap/42566] Bootstrap fails in stage3 building the libstdc++ PCH

2010-01-02 Thread 3dw4rd at verizon dot net
--- Comment #4 from 3dw4rd at verizon dot net 2010-01-02 20:32 --- Created an attachment (id=19447) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19447action=view) Greps for '^CXX' in the libstdc++ build directory and sibdirectories. --

[Bug middle-end/37921] __builtin_constant_p seems to be giving false positives

2010-01-02 Thread manu at gcc dot gnu dot org
--- Comment #9 from manu at gcc dot gnu dot org 2010-01-02 20:33 --- (In reply to comment #8) Re-confirmed. The issue is that we fold __builtin_constant_p only after VRP1 so the dead code remains and we warn about it. Perhaps this is the root cause of both PR35392 and PR35903. --

[Bug bootstrap/42566] Bootstrap fails in stage3 building the libstdc++ PCH

2010-01-02 Thread 3dw4rd at verizon dot net
--- Comment #5 from 3dw4rd at verizon dot net 2010-01-02 20:34 --- Created an attachment (id=19448) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19448action=view) Grep for '^CXX' in the libstdc++ include directory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42566

[Bug bootstrap/42566] Bootstrap fails in stage3 building the libstdc++ PCH

2010-01-02 Thread 3dw4rd at verizon dot net
--- Comment #6 from 3dw4rd at verizon dot net 2010-01-02 20:37 --- Created an attachment (id=19449) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19449action=view) Grep for '^CXX' in the libstdc++ src directory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42566

  1   2   >