[Bug target/40657] allocate local variables with fewer instructions

2009-07-06 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2009-07-06 10:43 --- Ah, heh, so you're saying that pushing/popping registers you don't have to save may be a size optimization? That's an interesting idea. But how to do this in GCC... The push {lr} is never even in the RTL. Output

[Bug middle-end/40119] ICE with --param hot-bb-frequency-fraction=0

2009-07-06 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot |dot org

[Bug target/40615] unnecessary CSE

2009-07-02 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-07-02 09:15 --- Is there a C test case? Can you add objdump of the gcc-generated asm and the fixed asm to show the impact on code size? (/me is surprised that 3*add r0,sp,4 is smaller than 1**add r0,sp,4+3*mov r0,r4... Thumb

[Bug rtl-optimization/11832] Optimization of common code in switch statements

2009-07-02 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2009-07-02 15:12 --- Note I have various working patches for GVN-based hoisting. All of them are actually too aggressive, causing failures in the vectorizer test cases (unrecognizable data dependency patterns). But I still intend

[Bug tree-optimization/20165] Pointer does not really escape with write

2009-07-02 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2009-07-02 15:40 --- Dan, you mentioned a pointer_no_escape attribute. What was that about? I've never seen that mentioned before (or a patch to implement it). Sounds like a cool attribute to have (and not just for Fortran, too

[Bug middle-end/27016] ARM optimizer produces severely suboptimal code

2009-06-30 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-06-30 11:35 --- For this test case: unsigned int code_in_ram[100]; void testme(void) { unsigned int *p_rom, *p_ram, *p_end, len; extern unsigned int _ram_erase_sector_start; extern unsigned int _ram_erase_sector_end

[Bug tree-optimization/40436] [4.5 regression] 0.5% code size regression caused by r147852

2009-06-30 Thread steven at gcc dot gnu dot org
--- Comment #8 from steven at gcc dot gnu dot org 2009-06-30 13:14 --- Honza, I can take care of the CSiBE run if you want. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40436

[Bug middle-end/27016] ARM optimizer produces severely suboptimal code

2009-06-30 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2009-06-30 13:21 --- The auto-inc-dec pass fails because the store and the reg increment are not in the same basic block. The dump of the pass before auto-inc-dec (reginfo) looks like this: ;; Function testme (testme) 74

[Bug middle-end/27016] ARM optimizer produces severely suboptimal code

2009-06-30 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2009-06-30 13:27 --- Compiling with ./cc1 -Os t.c -fno-ivopts I get the following code: .global testme .type testme, %function testme: @ Function supports interworking. @ args = 0, pretend = 0, frame

[Bug tree-optimization/40436] [4.5 regression] 0.5% code size regression caused by r147852

2009-06-30 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2009-06-30 19:55 --- I see no effect whatsoever of the patch for for CSiBE on arm-elf-unknown. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40436

[Bug tree-optimization/40436] [4.5 regression] 0.5% code size regression caused by r147852

2009-06-30 Thread steven at gcc dot gnu dot org
--- Comment #12 from steven at gcc dot gnu dot org 2009-07-01 05:41 --- Yes, at -Os. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40436

[Bug tree-optimization/40585] [4.3/4.4/4.5 Regression] tracer duplicates blocks w/o adjusting EH tree

2009-06-29 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2009-06-29 12:00 --- Ack. Honza, yours I would guess. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/40585] [4.3/4.4/4.5 Regression] tracer duplicates blocks w/o adjusting EH tree

2009-06-29 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-06-29 12:02 --- Richi, do you have a test case you can share? I have seen this problem in code I can't take public... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40585

[Bug middle-end/40525] if conversion (in dead_or_predicable) fails for targets with limited conditional execution support

2009-06-26 Thread steven at gcc dot gnu dot org
--- Comment #7 from steven at gcc dot gnu dot org 2009-06-26 06:06 --- Subject: Bug 40525 Author: steven Date: Fri Jun 26 06:06:04 2009 New Revision: 148961 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=148961 Log: PR middle-end/40525 * ifcvt.c

[Bug middle-end/40525] if conversion (in dead_or_predicable) fails for targets with limited conditional execution support

2009-06-26 Thread steven at gcc dot gnu dot org
--- Comment #8 from steven at gcc dot gnu dot org 2009-06-26 06:06 --- . -- steven at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/40556] [4.5 Regression] ICE in IPA-CP with recursion

2009-06-26 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2009-06-26 06:12 --- Adding IPA-CP to CC... -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/40525] if conversion (in dead_or_predicable) fails for targets with limited conditional execution support

2009-06-25 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2009-06-25 08:17 --- Tentative patch: Index: ifcvt.c === --- ifcvt.c (revision 148927) +++ ifcvt.c (working copy) @@ -3780,6 +3780,8

[Bug tree-optimization/34737] Scheduling of post-modified function arguments is not good

2009-06-24 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2009-06-24 07:42 --- Couldn't this be fixed also by changing the initial gimplification from: p.0 = p; p = p + 1; foo (p.0); to: p.0 = p; foo (p.0); p = p + 1; ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34737

[Bug middle-end/35141] ARM: Constant generation inside a loop: Missed optimization opportunity

2009-06-24 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2009-06-24 07:45 --- I agree with Comment #8 -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/28685] Multiple comparisons are not simplified

2009-06-24 Thread steven at gcc dot gnu dot org
--- Comment #7 from steven at gcc dot gnu dot org 2009-06-24 07:49 --- How are things progressing with a fix for this, Richi? :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28685

[Bug fortran/40539] Inversion of logical function compiled with ifort not correct.

2009-06-24 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-06-24 12:37 --- Not a self-contained bug report: Impossible to reproduce unless you have the intel compiler. Maybe you can attach the assembler output of ifort? -- steven at gcc dot gnu dot org changed: What

[Bug target/40525] missed optimization in conditional expression

2009-06-23 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-06-23 09:47 --- This should be done in if conversion. I'll have a look. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/40487] Extra zero extensions produced for ARM.

2009-06-23 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2009-06-23 09:50 --- Yes, this bug is indeed not related to bug 39715. I have also verified that the SEE pass (sign-extend elimination, but also should handle zero-extend) fails to handle this case. And that pass doesn't exist anymore

[Bug target/40525] missed optimization in conditional expression

2009-06-23 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2009-06-23 12:31 --- This is the usual idiotic behavior of ifcvt.c for targets that have conditional execution, but not for all insns. Normally the find_if_case_1() transformation should handle this optimization

[Bug target/40499] [missed optimization] branch to return not threaded on thumb

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2009-06-22 08:06 --- The only way to really fix this, is to make an RTL epilogue for thumb. Turning to Richard Earnshaw again for advice... -- steven at gcc dot gnu dot org changed: What|Removed

[Bug objc/28050] [4.3/4.4/4.5 regression] ICE on invalid initializer

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #8 from steven at gcc dot gnu dot org 2009-06-22 08:12 --- Re. Comment #5: I have no plans to sumbit this patch. But do feel free to foster-parent it ;-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28050

[Bug rtl-optimization/9702] [ARM] Constant pools are not shared among functions

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2009-06-22 16:21 --- Is there anything in the tool chain that handles this right now (linker maybe)? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/39836] [4.4/4.5 regression] unoptimal code generated

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2009-06-22 16:25 --- Since this is inherently a heuristics issue, and the IRA heuristics result in overall better code size according to Vlad, I would like to propose we close this PR as WONTFIX. Would anyone object to that? -- http

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

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2009-06-22 16:29 --- How is this different from bug 39837? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/40416] unnecessary register spill

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2009-06-22 16:32 --- Did that patch go in already? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/40487] Extra zero extensions produced for ARM.

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-06-22 16:36 --- Is this related to bug 39715? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40487

[Bug target/38570] [arm] -mthumb generates sub-optimal prolog/epilog

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #11 from steven at gcc dot gnu dot org 2009-06-22 16:41 --- IIUC comment #8, this bug depends on bug 29336. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug objc/28050] [4.3/4.4 regression] ICE on invalid initializer

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2009-06-22 16:14 --- Note that we usually add the name of the committer to the ChangeLog too, like so: 2009-06-22 Steven Bosscher ... Matthias Klose ... etc. But thanks for handling the patch. Fixed on trunk

[Bug target/40487] Extra zero extensions produced for ARM.

2009-06-22 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug target/40487] Extra zero extensions produced for ARM.

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2009-06-22 17:58 --- Compiling with gcc 4.4.1 with options -Os -mtune=cortex-a8 I get this: .cpu arm7tdmi .fpu softvfp .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3

[Bug target/40487] Extra zero extensions produced for ARM.

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2009-06-22 18:25 --- I get the same code with 4.5-today as the code of comment #5. I configured for --target=arm-eabi. Should I configure differently to see the shifts instead of ands? -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug target/40487] Extra zero extensions produced for ARM.

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #7 from steven at gcc dot gnu dot org 2009-06-22 18:25 --- see the uxtbs instead of the ands, that is... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40487

[Bug rtl-optimization/15265] delete_output_reload deletes necessary insn

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #12 from steven at gcc dot gnu dot org 2009-06-22 22:17 --- Three and a half year of nothing. Dead horse. = Closing. If something shows up, open a new bug report please. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/34283] Non-optimal reload register used

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2009-06-22 22:18 --- Uros, this bug is from the pre-IRA times. Could you check if you still see this problem, please? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/37488] register allocation spills floats needlessly

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2009-06-22 22:23 --- Vlad, what can we do with IRA to make it choose a better regclass here? Maybe do something similar to what MIPS does, changing IRA_COVER_CLASSES for i386 depending on target options? -- http://gcc.gnu.org

[Bug middle-end/12966] x86 array comparison optimization

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-06-22 23:22 --- Digging old bugs can be fun... Andrew, do you think this is perhaps fixed by Jakub's x86 mem* work? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12966

[Bug rtl-optimization/14721] jump optimization involving a sibling call within a jump table

2009-06-22 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-06-22 23:24 --- Qualcomm does someting like this, see: http://www.capsl.udel.edu/conferences/open64/2009/Papers/101-codeSizeOpen64_Qualcomm.pdf http://www.capsl.udel.edu/conferences/open64/2009/Slides/001-101

[Bug target/40499] [missed optimization] branch to return not threaded on thumb

2009-06-20 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-06-20 07:23 --- Output from ./cc1 -march=armv5te -mthumb -Os PR40499.c -dAP: .file PR40499.c .text .align 1 .global dual_feasible .code 16 .thumb_func .type

[Bug target/40499] [missed optimization] branch to return

2009-06-19 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-06-20 05:56 --- There is an optimization that does this (thread prologue/epilogue insns) but it is not always a profitable transformation, see e.g. PR40361. You should analyze why this transformation doesn't happen for your case

[Bug target/40487] Extra zero extensions produced for ARM.

2009-06-18 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-06-18 14:00 --- Why does the zero-bits machinery in combine not make these redundant extensions go away? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40487

[Bug bootstrap/40439] [4.5 Regression] Bootstrap broken on FreeBSD in tree.c

2009-06-14 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-06-14 18:04 --- For reference: Broken by http://gcc.gnu.org/viewcvs?view=revrevision=148471 -- steven at gcc dot gnu dot org changed: What|Removed |Added

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

2009-06-14 Thread steven at gcc dot gnu dot org
--- Comment #28 from steven at gcc dot gnu dot org 2009-06-14 19:54 --- Created an attachment (id=17995) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17995action=view) Patch agains r148322, works pre-RA only Joern's original ifcvt.c patch only dealt with pre-reload if-conversion

[Bug target/40327] Use less instructions to add some constants to register

2009-06-13 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2009-06-13 23:45 --- I would still like to know why these constants can't be lowered earlier. Exposing the split-up insns may allow CSE to do a better job, etc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40327

[Bug middle-end/30905] [4.3 Regression] Fails to cross-jump

2009-06-11 Thread steven at gcc dot gnu dot org
--- Comment #16 from steven at gcc dot gnu dot org 2009-06-11 19:48 --- The patch is in 4.4. Apparently it doesn't work? I'll have another look... -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/30905] [4.3 Regression] Fails to cross-jump

2009-06-11 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot |dot org

[Bug target/40375] redundant register move with -mthumb

2009-06-09 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2009-06-09 08:34 --- Hmm, I was under the impression that postreload-cse could move instructions too, but that was just wishful thinking. I don't really see how the scheduler can solve this. The scheduler would have to know what

[Bug target/40375] redundant register move with -mthumb

2009-06-08 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-06-08 11:41 --- might be is such a useless statement. Carrot, you are aware of the -fdump-rtl-all and -dAP options, I assume? Then you should have no trouble finding out: 1) Where the move comes from 2) Why postreload (the post

[Bug middle-end/39284] Computed gotos combined too aggressively

2009-06-08 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2009-06-08 22:43 --- There shouldn't be a !. Just make use optimize_function_for_speed_p(cfun). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39284

[Bug middle-end/39284] Computed gotos combined too aggressively

2009-06-08 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2009-06-08 22:45 --- Honza, what do the basic blocks 2 and 71 look like for you, exactly? I see no memory load. But I have local crossjumping patches -- as you know ;-) -- so I am probably not looking at the same dumps as you

[Bug rtl-optimization/40361] New: Conditional return not always profitable with -Os

2009-06-06 Thread steven at gcc dot gnu dot org
Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: steven at gcc dot gnu dot org GCC target triplet: arm-elf OtherBugsDependingO

[Bug rtl-optimization/40361] Conditional return not always profitable with -Os

2009-06-06 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2009-06-06 17:56 --- I tested the patch on arm-elf (-march=armv7-r and -march=armv7 -mthumb), trunk revision 148235, -Os, unpatched and patched, with CSiBE: armv7-r: unpatched : 3557127 bytes patched : 3554655 bytes win: 2472 bytes

[Bug rtl-optimization/38373] 32-bit Vortex degradation on PPC due to bad RTL aliasing

2009-06-04 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2009-06-04 12:52 --- This is one of the GCC 4.5 pending patches. Now would be a good time to do something with this patch -- like, submitting it. -- steven at gcc dot gnu dot org changed: What|Removed

[Bug target/38091] [Patch] H8SX: Bit instructions enhancement

2009-06-04 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-06-04 12:53 --- This is one of the GCC 4.5 pending patches. Since we are in stage 1, now is a good time to submit this patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38091

[Bug libfortran/32784] [win32] Using 'CONOUT$', 'CONIN$', or 'CONERR$' as assigned file generates Fortran runtime error: Bad file descriptor

2009-06-04 Thread steven at gcc dot gnu dot org
--- Comment #32 from steven at gcc dot gnu dot org 2009-06-04 12:54 --- Jerry, was the patch submitted already? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32784

[Bug c/31537] duplicate weakref emitted with IMA

2009-06-04 Thread steven at gcc dot gnu dot org
--- Comment #11 from steven at gcc dot gnu dot org 2009-06-04 12:55 --- Oh, the temptation to close this as WONTFIX Objections? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/20548] [4.3/4.4/4.5 regression] ACATS c52103x c52104x c52104y segfault

2009-06-04 Thread steven at gcc dot gnu dot org
--- Comment #35 from steven at gcc dot gnu dot org 2009-06-04 12:58 --- This bug is marked as one of the GCC 4.5 pending patches PRs. Why? I see no pending patch...? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20548

[Bug target/40327] Use less instructions to add some constants to register

2009-06-03 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2009-06-03 10:36 --- This code comes from the split2 (split insns after reload). So this is target specific. It surprises me that non-legitimate constants are accepted before reload on ARM (at least in thumb mode). It may be (and IMHO

[Bug target/40327] Use less instructions to add some constants to register

2009-06-03 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-06-03 10:57 --- FWIW it looks like the define_split at arm.c:5060 (of r147729) is triggered. Richard E., is there a reason for lowering load-immediates so late in the pipeline? -- steven at gcc dot gnu dot org changed

[Bug driver/40275] -combine should work for Fortran

2009-05-28 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-05-28 18:15 --- This will never be implemented. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug driver/40144] [4.5 Regression] ice in common_handle_option

2009-05-14 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added CC|steven at gcc dot gnu dot | |org | AssignedTo

[Bug driver/40144] [4.5 Regression] ice in common_handle_option

2009-05-14 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-05-14 20:24 --- FWIW: -fstrength-reduce is a no-op -fcse-follow-jumps is a no-op -fcse-skip-blocks -is a no-op (the crash will be fixed before the day is over) -fforce-addr isa no-op The gnuboy maintainers should probably look

[Bug driver/40144] [4.5 Regression] ice in common_handle_option

2009-05-14 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2009-05-14 20:57 --- Subject: Bug 40144 Author: steven Date: Thu May 14 20:56:54 2009 New Revision: 147543 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=147543 Log: PR driver/40144 * opts.c (common_handle_option

[Bug driver/40144] [4.5 Regression] ice in common_handle_option

2009-05-14 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2009-05-14 20:57 --- http://gcc.gnu.org/viewcvs?view=revrevision=147543 -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/39604] [4.3/4.4/4.5 Regression] tree-ssa-sink breaks stack layout

2009-05-10 Thread steven at gcc dot gnu dot org
--- Comment #15 from steven at gcc dot gnu dot org 2009-05-10 13:51 --- The late stack slot allocation idea will just cause other problems, like missing CSE of addresses. GCC should just get the conflicts right somehow... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39604

[Bug target/40072] Nonoptimal code - CMOVxx %eax,%edi; mov %edi,%eax; retq

2009-05-08 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added CC||steven at gcc dot gnu dot

[Bug rtl-optimization/33928] [4.3/4.4/4.5 Regression] 30% performance slowdown in floating-point code caused by r118475

2009-05-07 Thread steven at gcc dot gnu dot org
--- Comment #77 from steven at gcc dot gnu dot org 2009-05-07 17:50 --- Re. comment #75: Just the fact that an option is enabled in both releases doesn't mean the pass behind it is doing the same thing in both releases. What the scheduler does, depends heavily on the code you feed

[Bug rtl-optimization/34849] Missed autoincrement opportunities due to a different basic block structure.

2009-05-01 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2009-05-01 08:44 --- I still see no answer to my question from comment #1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34849

[Bug c++/39993] missing diagnostic on conflicting exception specifications

2009-05-01 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1

[Bug rtl-optimization/34849] Missed autoincrement opportunities due to a different basic block structure.

2009-05-01 Thread steven at gcc dot gnu dot org
--- Comment #8 from steven at gcc dot gnu dot org 2009-05-01 21:51 --- Crossjumping does nothing, because there is nothing to crossjump anymore at that point. The two stores have been replaced with one and a conditional set: - in .ce1 (ifcvt1) we haven't converted to a conditional set

[Bug rtl-optimization/34849] Missed autoincrement opportunities due to a different basic block structure.

2009-05-01 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2009-05-01 22:27 --- FWIW, early crossjumping (after ce1) doesn't work either. The code before trying to crossjump looks like this: 44 pc={(cc:CC=0x0)?L50:pc} REG_DEAD: cc:CC REG_BR_PROB: 0x1388 45

[Bug fortran/27452] gfortran support for non-standard sind,cosd and friends intrinsics

2009-04-30 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2009-04-30 07:51 --- These functions will *not* be implemented, period. And even if they would be implemented, they'd internally just return sin(arg*180/pi) co. The compiler and the runtime library don't actually calculate sin/cos

[Bug tree-optimization/36188] missed CCP

2009-04-25 Thread steven at gcc dot gnu dot org
--- Comment #8 from steven at gcc dot gnu dot org 2009-04-25 22:24 --- Re. comment #5 -- what doesn't work very well, i.e. what massive breakage does your patch cause? Maybe you can treat static locals optimistically if they are only stored to once? -- http://gcc.gnu.org/bugzilla

[Bug tree-optimization/39806] incorrect pointer hashing in ipa-struct-reorg.c

2009-04-18 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2009-04-18 19:24 --- Spurious differences fall in the wrong code category. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/35452] erasing uncessary warning for basic block frequency computation

2009-04-18 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-04-18 20:01 --- Similar as what is said in commen #0, the detailed vrp1 dump of trunk today has: Removing basic block 3 ;; basic block 3, loop depth 0, count 0 ;; prev block 7, next block 4 ;; pred: ;; succ: 8 [100.0

[Bug objc/39753] [4.3/4.4/4.5 Regression] Objective-C(++) and C90 strict-aliasing interaction bug

2009-04-13 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-04-13 21:59 --- Is this really broken when the Apple compiler has the same behavior (assuming we all accept that the Apple Objective-C semantics are the de facto standard)? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39753

[Bug rtl-optimization/39077] [4.3/4.4/4.5 Regression] GCSE-optimization causes enormous binary size increase (~20 times !)

2009-04-12 Thread steven at gcc dot gnu dot org
--- Comment #13 from steven at gcc dot gnu dot org 2009-04-12 23:46 --- The real bug is that somehow MEM_ATTRS are not shared anymore. We have lots and lots of exactly the same expression in the table, e.g.: Index 3 (hash value 4232) (mem/s/f/c:SI (plus:SI (reg/f:SI 20 frame

[Bug rtl-optimization/39077] [4.3/4.4/4.5 Regression] GCSE-optimization causes enormous binary size increase (~20 times !)

2009-04-12 Thread steven at gcc dot gnu dot org
--- Comment #14 from steven at gcc dot gnu dot org 2009-04-12 23:52 --- Ah, how subtle. (gdb) p MEM_ATTRS(x) $25 = (mem_attrs *) 0x7f20d1ad0440 (gdb) p MEM_ATTRS(y) $26 = (mem_attrs *) 0x7f20d1ad71a0 (gdb) p MEM_ATTRS(*x) $27 = (mem_attrs *) 0x7f20d1ad0440 (gdb) p MEM_ATTRS(*y) $28

[Bug rtl-optimization/20367] alias analysis doesn't take into account that variables that haven't their address taken can't alias arbitrary MEMs

2009-04-05 Thread steven at gcc dot gnu dot org
--- Comment #23 from steven at gcc dot gnu dot org 2009-04-05 12:38 --- Could it be that this is now fixed by the a-i-b merge? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/39625] [4.5 regression] Revision 145338 breaks ability to build Ada

2009-04-05 Thread steven at gcc dot gnu dot org
--- Comment #8 from steven at gcc dot gnu dot org 2009-04-05 17:40 --- Bug is not in an FSF-GCC supported port. Does the problem reproduce on supported targets? Otherwise this bug should be closed as INVALID. -- steven at gcc dot gnu dot org changed: What|Removed

[Bug target/39501] -O -ffinite-math-only gets min(x,y) optimization wrong for soft-float on arm-*-gnueabi

2009-04-04 Thread steven at gcc dot gnu dot org
--- Comment #12 from steven at gcc dot gnu dot org 2009-04-04 11:53 --- Re. comment #10: And who are you funding, Martin Guy, to improve GCC for ARM? Or are you just another user who expects magic for free? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39501

[Bug target/39501] -O -ffinite-math-only gets min(x,y) optimization wrong for soft-float on arm-*-gnueabi

2009-04-04 Thread steven at gcc dot gnu dot org
--- Comment #13 from steven at gcc dot gnu dot org 2009-04-04 12:00 --- Re. comment #10: I don't know about the buggier and slower parts. But for bigger I know we have benchmarks that say otherwise. e.g. CSiBE for arm-elf (http://www.inf.u-szeged.hu/csibe/s-arm.php) and CSiBE for arm

[Bug target/39573] Linking fails on AMD with -march=native, works with generic x86_64

2009-04-04 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-04-04 17:30 --- I'm not sure how the -march=native option changes codegen behavior, but the most likely suspect is the vectorizer. Do things pass with -march=native if you don't vectorize (needs explicit -ftree-vectorize

[Bug target/39573] Linking fails on AMD with -march=native, works with generic x86_64

2009-04-04 Thread steven at gcc dot gnu dot org
--- Comment #10 from steven at gcc dot gnu dot org 2009-04-04 18:41 --- *sigh* I wanted to say in comment #3 that you need explitit -f*no*-tree-vectorize and got it wrong :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39573

[Bug fortran/39626] Fortran 2008: Implement BLOCK construct

2009-04-03 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2009-04-03 16:43 --- This feature requires a substantial re-work of symbol handling in gfortran (make it block based). -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/19771] VLA deallocation

2009-03-29 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-03-29 22:36 --- Created an attachment (id=17557) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17557action=view) Always create a new BIND_EXPR for VLA decls I tried to make use of scopes: If a label is defined in a parent

[Bug c/19771] VLA deallocation

2009-03-29 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2009-03-29 22:38 --- Jakub, this is what we discussed last night. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/39571] Compiler crash with GNU MP: Cannot reallocate memory

2009-03-28 Thread steven at gcc dot gnu dot org
--- Comment #8 from steven at gcc dot gnu dot org 2009-03-28 23:32 --- *NetBSD* seems to be using jemalloc, i.e. jemalloc is your system's malloc() and it is the same as FreeBSD where the test case *does* work. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39571

[Bug fortran/39571] Compiler crash with GNU MP: Cannot reallocate memory

2009-03-27 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2009-03-28 00:51 --- Which version of GMP are you using? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39558] Fortran iresolve.c cannot be built with -maltivec used in bootstrap

2009-03-25 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug other/7125] libz is built even if configured with --with-system-zlib

2009-03-22 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2009-03-22 09:38 --- I wonder if toplevel bootstrap fixed this issue... -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/12955] Incorrect rounding of soft float denorm mul/div

2009-03-22 Thread steven at gcc dot gnu dot org
--- Comment #12 from steven at gcc dot gnu dot org 2009-03-22 09:43 --- No progress for *years* now. Was bug 14354 the same issue? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12955

[Bug other/2678] gcc/g++ should stick compilation options into the .o file

2009-03-22 Thread steven at gcc dot gnu dot org
--- Comment #22 from steven at gcc dot gnu dot org 2009-03-22 09:51 --- Fixed in GCC 4.4 with -frecord-gcc-switches -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/18895] libgfortran AM_MAKEFLAGS arg list + environment too large

2009-03-22 Thread steven at gcc dot gnu dot org
--- Comment #7 from steven at gcc dot gnu dot org 2009-03-22 09:59 --- Long time in WAITING state, and per comment #4 - FIXED. If the problem resurfaced at the toplevel, a new report should be opened for this. -- steven at gcc dot gnu dot org changed: What|Removed

[Bug other/18907] library makefiles should not set AM_MAKEFLAGS

2009-03-22 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-03-22 10:01 --- fastjar is gone. The rest still has AM_MAKEFLAGS. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/26914] lack of conditional moves with floating point

2009-03-22 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|other |rtl-optimization

<    2   3   4   5   6   7   8   9   10   11   >