[Bug target/38306] [4.4/4.5 Regression] 15% slowdown w.r.t. 4.3 of computational kernel on some architectures

2009-09-01 Thread bonzini at gnu dot org
--- Comment #15 from bonzini at gnu dot org 2009-09-01 08:54 --- Please try -O2 and -O2 -funroll-loops too, since -O3 is not always good for speed. (It would be even better if -O2 is not slower and you can find out what the culprit is at -O3; this is not necessarily possible though

[Bug target/40454] [4.4 regression] zlib is about 20% slower when compiled with GCC 4.4.1

2009-09-03 Thread bonzini at gnu dot org
--- Comment #14 from bonzini at gnu dot org 2009-09-03 07:27 --- Can you also try with 4.5? -- bonzini at gnu dot org changed: What|Removed |Added Status

[Bug target/41246] should "sorry" when regparm=3 and nested functions are encountered

2009-09-03 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-09-03 17:11 --- Yes, if you use nested functions you can just use -mregparm=2 globally, that's a much better solution. -- bonzini at gnu dot org changed: What|Removed |

[Bug target/41246] should "sorry" when regparm=3 and nested functions are encountered

2009-09-03 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2009-09-03 17:15 --- Created an attachment (id=18482) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18482&action=view) patch erroring out -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41246

[Bug target/39716] suboptimal MAX_EXPR expansion for Thumb

2009-09-09 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2009-09-09 15:11 --- I don't see the reload failure anymore. The code is: push{r4, lr} mov r4, r0 mov r1, #0 bl __gesf2 cmp r0, #0 it lt movlt r

[Bug bootstrap/41322] [4.5 Regression] Failed to bootstrap

2009-09-09 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2009-09-09 20:50 --- has already been reverted. -- bonzini at gnu dot org changed: What|Removed |Added Status

[Bug target/34653] operation performed unnecessarily in 64-bit mode

2009-09-23 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2009-09-24 06:06 --- Not a dup, since this is about shortening the mode, rather than about eliminating zero extensions. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/41812] test 20071030-1.c fails execution on powerpc64

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

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

2009-10-24 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-10-24 09:59 --- I agree with Andrew, but as a middle way you could put something like this in config/elf.m4: dnl usage: ACX_ELF_TARGET_IFELSE([if-elf], [if-not-elf]) AC_DEFUN([ACX_ELF_TARGET_IFELSE]), [ AC_REQUIRE([AC_CANONICAL_TARGET

[Bug target/40741] code size explosion for integer comparison

2009-10-28 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2009-10-28 10:43 --- Fixed (patch had been approved a long time ago). -- bonzini at gnu dot org changed: What|Removed |Added

[Bug target/39715] [4.5 Regression][cond-optab] extra sign extensions on Thumb

2009-10-28 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2009-10-28 10:44 --- First testcase fixed, bootstrapping now the patch for the second. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39715

[Bug middle-end/41812] [4.5 Regression] test 20071030-1.c fails execution on powerpc64

2009-10-28 Thread bonzini at gnu dot org
--- Comment #3 from bonzini at gnu dot org 2009-10-28 12:21 --- The patch is wrong because the result of MD is used also to process notes, while the live registers problem does not consider a register live if it is only used in notes. We have: ;; lr in1 [1] 2 [2] 31 [31] 67

[Bug middle-end/41812] [4.5 Regression] test 20071030-1.c fails execution on powerpc64

2009-10-28 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-10-28 14:27 --- fixed. -- bonzini at gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/39715] [4.5 Regression][cond-optab] extra sign extensions on Thumb

2009-10-28 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2009-10-28 16:47 --- patch committed -- bonzini at gnu dot org changed: What|Removed |Added Status|ASSIGNED

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

2009-11-02 Thread bonzini at gnu dot org
--- Comment #10 from bonzini at gnu dot org 2009-11-02 16:32 --- Subject: Re: .../prev-gcc/xgcc used for the install step of the lto-plugin Try making all-gcc depend on all-lto-plugin (or vice versa :-P). Paolo -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41569

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

2009-11-02 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2009-11-02 16:45 --- Subject: Re: .../prev-gcc/xgcc used for the install step of the lto-plugin On 11/02/2009 05:44 PM, rguenther at suse dot de wrote: > --- Comment #11 from rguenther at suse dot de 2009-11-02 16:44 --- > S

[Bug middle-end/31827] limits-exprparen.c: Pid 2297 received a SIGSEGV for stack growth failure

2009-11-03 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2009-11-03 10:23 --- Part of the problem is that for each open parenthesis we go through c_parser_postfix_expression c_parser_expression c_parser_expr_no_commas c_parser_conditional_expression c_parser_binary_expression

[Bug c/35608] imit-structnest.c fails due to O(n^2) memory usage in record_component_alias

2009-11-03 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2009-11-03 12:18 --- Memory allocation is O(n^2) in the nesting of the structures: when changing LIM4 from 6 to 7 invocations of the lower-level, memory goes from 583976 KB to 798116 KB (which is 1.366 times more, almost exactly a factor of (7

[Bug middle-end/31827] limits-exprparen.c: Pid 2297 received a SIGSEGV for stack growth failure

2009-11-03 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2009-11-03 12:23 --- Created an attachment (id=18953) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18953&action=view) patch to fix the bug The attached patches together reduce the stack usage of expression parsing by ~30%. On a

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

2009-11-03 Thread bonzini at gnu dot org
--- Comment #15 from bonzini at gnu dot org 2009-11-03 12:24 --- I still want to look into it, at least we have a workaround. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41569

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

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

[Bug middle-end/31827] limits-exprparen.c: Pid 2297 received a SIGSEGV for stack growth failure

2009-11-03 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2009-11-03 18:58 --- The patch is not enough for mainline because some functions have a bigger stack frame. With the patch, mainline aborts after 9827 recursive calls. -- bonzini at gnu dot org changed: What|Removed

[Bug target/36503] x86 can use x >> -y for x >> 32-y

2009-11-07 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-11-07 09:21 --- bt with a memory object and a register index will _not_ truncate the argument: static int btm(int *a, int b) { asm ("btl %2, %1; movl $0, %0; setc %b0" : "=r" (b) : "m" (*a), "0" (

[Bug target/32593] Missed optimization of 'y = constant - x' operation

2009-11-07 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-11-07 09:35 --- Confirmed, the code for -O2 -funroll-loops includes things such as movzwl 2(%eax), %esi movl$1, -44(%ebp) subl%ecx, -44(%ebp) movl-44(%ebp), %edi movzbl (%edx,%edi

[Bug c/20385] Lame parse error message for undefined type

2010-12-17 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20385 --- Comment #10 from Paolo Bonzini 2010-12-17 21:23:38 UTC --- Author: bonzini Date: Fri Dec 17 21:23:36 2010 New Revision: 167999 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167999 Log: gcc: 2010-12-17 Paolo Bonzini PR c/20385

[Bug rtl-optimization/47366] [4.6 Regression] ICE: verify_flow_info failed: missing REG_EH_REGION note in the end of bb 3 with -fnon-call-exceptions -fno-tree-ccp -fno-tree-forwprop

2011-01-20 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47366 --- Comment #3 from Paolo Bonzini 2011-01-20 13:12:02 UTC --- Indeed, it never occurred to me but it should.

[Bug c/47435] [4.6 Regression] ICE: SIGSEGV in c_finish_case (c-typeck.c:8859) on invalid code

2011-01-24 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47435 --- Comment #2 from Paolo Bonzini 2011-01-24 14:47:15 UTC --- The code hardly makes any sense, so it's difficult to say which error message makes more sense. I'll look at the regression.

[Bug target/47449] [32] can’t find a register in class ‘DIREG’ while reloading ‘asm’

2011-01-24 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47449 --- Comment #7 from Paolo Bonzini 2011-01-24 23:45:01 UTC --- Is this a regression?

[Bug target/47449] [32] can’t find a register in class ‘DIREG’ while reloading ‘asm’

2011-01-24 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47449 --- Comment #8 from Paolo Bonzini 2011-01-24 23:47:10 UTC --- Ah, [32] means 32-bit x86_64...

[Bug lto/47225] [4.6 regression]: cross-compile fails while configuring libgcc with "xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found"

2011-02-07 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47225 --- Comment #24 from Paolo Bonzini 2011-02-07 09:48:42 UTC --- Please use LDFLAGS, not LIBADD.

[Bug tree-optimization/47255] Missed CSE optimization with inline functions, and __attribute__((const))

2011-02-07 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47255 Paolo Bonzini changed: What|Removed |Added CC||bonzini at gnu dot org --- Comment #4

[Bug lto/47225] [4.6 regression]: cross-compile fails while configuring libgcc with "xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found"

2011-02-08 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47225 --- Comment #34 from Paolo Bonzini 2011-02-08 08:06:28 UTC --- Iain, the correct fix is to add -module to the LTO plugin LDFLAGS. This changes the extension from .dylib to .so.

[Bug lto/47225] [4.6 regression]: cross-compile fails while configuring libgcc with "xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found"

2011-02-08 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47225 --- Comment #36 from Paolo Bonzini 2011-02-08 10:00:41 UTC --- No, it should be added for all targets.

[Bug middle-end/47782] Infinite cycle generates segmentation fault in targets without cbranch support

2011-02-17 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47782 Paolo Bonzini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug target/38306] [4.4/4.5/4.6 Regression] 15% slowdown w.r.t. 4.3 of computational kernel on some architectures

2011-02-20 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38306 --- Comment #22 from Paolo Bonzini 2011-02-21 07:55:35 UTC --- What is the performance with 4.3 -O2? A regression that is limited to -O3 is (a bit) less important since -O3 is still a "mixing bag" of optimizations that might or might not be prof

[Bug target/50123] New: cmpxchg generated for atomic and with zero/or with -1

2011-08-18 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50123 Bug #: 50123 Summary: cmpxchg generated for atomic and with zero/or with -1 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/50573] configure lists --with-gnu-ld twice

2011-09-30 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50573 --- Comment #5 from Paolo Bonzini 2011-09-30 10:41:32 UTC --- I'd just close it as wontfix. Perhaps we can fix the quoting problems, and hope that autoconf removes duplicates another day.

[Bug middle-end/49801] df_live_verify_transfer_functions fails with to use of CC_REGNUM and checking enabled in rx backend

2011-10-07 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49801 Paolo Bonzini changed: What|Removed |Added CC||bonzini at gnu dot org --- Comment #8

[Bug rtl-optimization/50696] [x32] Unnecessary lea

2011-10-14 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50696 Paolo Bonzini changed: What|Removed |Added CC||bonzini at gnu dot org --- Comment #6

[Bug middle-end/50448] [4.5/4.6/4.7 Regression] Missed optimization accessing struct component with integer address

2011-10-28 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50448 --- Comment #4 from Paolo Bonzini 2011-10-28 14:26:57 UTC --- Can't you just test on x86_64-linux?

[Bug bootstrap/50982] gthr reorganization breakage

2011-11-03 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982 --- Comment #6 from Paolo Bonzini 2011-11-03 18:27:23 UTC --- > Paolo's suggestion probably was not well thought through. Yes, it assumed that the patch would be tested by maintainers... The patch looks good.

[Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory

2011-11-04 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991 --- Comment #3 from Paolo Bonzini 2011-11-04 14:23:40 UTC --- I think the problem is that "make clean" is not removing libgcc_tm.stamp.

[Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory

2011-11-04 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991 --- Comment #5 from Paolo Bonzini 2011-11-04 14:32:30 UTC --- John didn't say that but you're right, because otherwise the move-if-change would not have happened. John, can you attach libgcc/Makefile?

[Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory

2011-11-06 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991 --- Comment #9 from Paolo Bonzini 2011-11-06 12:02:43 UTC --- Yes, please commit the fix!

[Bug middle-end/53144] [4.8 Regression] gcc.c-torture/execute/vector-compare-1.c

2012-04-27 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53144 --- Comment #2 from Paolo Bonzini 2012-04-28 06:19:31 UTC --- In the case of PR53138 this was a preexisting bug in handling -(a < b), made more explicit by the new phi-opt conversion. Looking at vector-compare-1.c and pass ordering (phiopt runs

[Bug middle-end/53144] [4.7/4.8 Regression] PPRE infinite loop

2012-04-28 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53144 Paolo Bonzini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/53347] Duplicated redundant condition in compare-elim.c

2012-05-15 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53347 --- Comment #1 from Paolo Bonzini 2012-05-15 09:56:59 UTC --- The code in conforming_compare matches this comment with or without the duplicate test: (1) All comparison patterns are represented as [(set (reg:CC) (compare:CC (reg) (immedi

[Bug tree-optimization/53336] [4.8 Regression] invalid types in nop conversion

2012-05-22 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53336 --- Comment #4 from Paolo Bonzini 2012-05-22 08:32:07 UTC --- Author: bonzini Date: Tue May 22 08:31:52 2012 New Revision: 187759 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187759 Log: gcc: 2012-05-16 Paolo Bonzini PR tree-opt

[Bug target/27855] [4.5/4.7/4.8 regression] reassociation causes the RA to be confused

2012-07-02 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27855 Paolo Bonzini changed: What|Removed |Added Target Milestone|4.6.4 |4.7.2 --- Comment #40 from Paolo Bonzini

[Bug target/53087] [powerpc] Poor code from cstore expander

2012-04-25 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53087 --- Comment #9 from Paolo Bonzini 2012-04-25 20:00:57 UTC --- The handling of this code sequence in fold-const changed back and forth many times, and this is likely the reason why GCC 4.1 produced straight-line code while GCC 4.3 produced branchy

[Bug target/53087] [powerpc] Poor code from cstore expander

2012-04-26 Thread bonzini at gnu dot org
at gcc dot |bonzini at gnu dot org |gnu.org | --- Comment #10 from Paolo Bonzini 2012-04-26 15:52:32 UTC --- Created attachment 27248 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27248 tentative patch Any change in expmed.c is not enough

[Bug target/53138] New: [4.7/4.8 Regression] spaceship operator miscompiled

2012-04-27 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53138 Bug #: 53138 Summary: [4.7/4.8 Regression] spaceship operator miscompiled Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug target/53138] [4.7/4.8 Regression] spaceship operator miscompiled

2012-04-27 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53138 Paolo Bonzini changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/53138] [4.7/4.8 Regression] spaceship operator miscompiled

2012-04-27 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53138 --- Comment #1 from Paolo Bonzini 2012-04-27 12:18:03 UTC --- Author: bonzini Date: Fri Apr 27 12:17:50 2012 New Revision: 186904 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186904 Log: 2012-04-27 Paolo Bonzini PR target/53

[Bug target/50123] cmpxchg generated for atomic and with zero/or with -1

2013-11-19 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50123 Paolo Bonzini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug tree-optimization/39200] ivopts slows down SciMark sparse matrix benchmark

2013-11-19 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39200 Paolo Bonzini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/21676] [4.3 Regression] Optimizer regression: SciMark sparse matrix benchmark

2013-11-19 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21676 Bug 21676 depends on bug 39200, which changed state. Bug 39200 Summary: ivopts slows down SciMark sparse matrix benchmark http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39200 What|Removed |Added ---

[Bug tree-optimization/39201] [meta-bug] ivopts metabug

2013-11-19 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39201 Bug 39201 depends on bug 39200, which changed state. Bug 39200 Summary: ivopts slows down SciMark sparse matrix benchmark http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39200 What|Removed |Added ---

[Bug lto/50935] All slim LTO tests FAIL on 32-bit Solaris

2011-11-21 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50935 --- Comment #5 from Paolo Bonzini 2011-11-21 17:25:20 UTC --- What's exactly the problem with gdb that requires disabling largefiles?

[Bug rtl-optimization/51447] [4.4/4.5/4.6/4.7 Regression] global register variable definition incorrectly removed as dead code

2011-12-07 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51447 --- Comment #4 from Paolo Bonzini 2011-12-07 13:48:42 UTC --- The bug is that rbx is added to the EXIT_BLOCK uses: Basic block 1 , prev 2, loop_depth 0, count 0, freq 0. Predecessors: ;; bb 1 artificial_defs: { } ;; bb 1 artificial_uses: { u-1(3

[Bug rtl-optimization/51447] [4.4/4.5/4.6/4.7 Regression] global register variable definition incorrectly removed as dead code

2011-12-07 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51447 --- Comment #5 from Paolo Bonzini 2011-12-07 14:04:04 UTC --- Untested patch... Index: df-problems.c === --- df-problems.c (revision 177688) +++ df-problems.c (working c

[Bug rtl-optimization/51505] [4.5/4.6/4.7 Regression] ICE: in form_sum, at reload.c:5349 with -O --param max-cse-insns=1

2011-12-13 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51505 --- Comment #4 from Paolo Bonzini 2011-12-13 19:34:25 UTC --- No, it should be easy. Just look at the EQ_USES in df_kill_notes and, if one EQ_USE refers to a dead pseudo, kill the REG_EQUAL or REG_EQUIV note.

[Bug rtl-optimization/51447] [4.4/4.5/4.6/4.7 Regression] global register variable definition incorrectly removed as dead code

2011-12-15 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51447 --- Comment #8 from Paolo Bonzini 2011-12-15 12:01:25 UTC --- For ud_dce it's simplest to add/remove fake edges around it. For 4.8 it could be worthwhile to try adding fake edges around all RTL passes (at least those running in cfglayout mode) a

[Bug bootstrap/49829] [4.7 Regression] --disable-static --enable-shared regression: cannot find -lstdc++

2012-01-03 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49829 --- Comment #4 from Paolo Bonzini 2012-01-03 13:06:50 UTC --- You can just set enable_static=no early in libstdc++-v3/configure.ac. It will still install libstdc++-v3.a, which is a bit ugly, but that's quite hard to achieve due to libtool. One

[Bug rtl-optimization/51505] [4.5/4.6/4.7 Regression] ICE: in form_sum, at reload.c:5349 with -O --param max-cse-insns=1

2012-01-17 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51505 --- Comment #6 from Paolo Bonzini 2012-01-17 16:22:08 UTC --- Yeah, perhaps you can make the code nicer by avoiding the nested loops: for (use_rec = DF_INSN_EQ_USES (insn); *use_rec; use_rec++) { df_ref use = *use_rec;

[Bug rtl-optimization/51505] [4.5/4.6/4.7 Regression] ICE: in form_sum, at reload.c:5349 with -O --param max-cse-insns=1

2012-01-18 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51505 --- Comment #8 from Paolo Bonzini 2012-01-18 08:58:33 UTC --- I think you can just kill the note and call df_notes_rescan, can't you? (Sorry for leaving this implicit in comment 4 and then forgetting about it yesterday).

[Bug rtl-optimization/51505] [4.5/4.6/4.7 Regression] ICE: in form_sum, at reload.c:5349 with -O --param max-cse-insns=1

2012-01-18 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51505 --- Comment #10 from Paolo Bonzini 2012-01-18 10:58:19 UTC --- Not using df_notes_rescan looks like premature optimization to me...

[Bug bootstrap/49829] [4.7 Regression] --disable-static --enable-shared regression: cannot find -lstdc++

2012-01-19 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49829 --- Comment #7 from Paolo Bonzini 2012-01-19 08:59:02 UTC --- The convenience library can be linked with -L.../.libs -lsupc++convenience -lstdc++convenience98. But it really looks like you attached the wrong patch?

[Bug bootstrap/49829] [4.7 Regression] --disable-static --enable-shared regression: cannot find -lstdc++

2012-01-19 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49829 --- Comment #12 from Paolo Bonzini 2012-01-20 07:52:26 UTC --- (In reply to comment #10) > When there is not one convenience library, but three. Seems like my options > are: > > 1) combine the three convenience libraries into one, meta or super

[Bug middle-end/49801] df_live_verify_transfer_functions fails with to use of CC_REGNUM and checking enabled in rx backend

2012-01-19 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49801 Paolo Bonzini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug rtl-optimization/31848] [4.3 regression] Invalid loop optimization causes bootstrap failure in genautomata

2007-05-10 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2007-05-11 07:19 --- I started bootstrap and SPEC2000 on i686-pc-linux-gnu, I'll post the result tomorrow hopefully (if the weekend swamps me it I might delay that). :-( -- bonzini at gnu dot org changed: What|Re

[Bug rtl-optimization/31848] [4.3 regression] Invalid loop optimization causes bootstrap failure in genautomata

2007-05-13 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2007-05-13 09:20 --- I confirm the compile-time improvements from the complete patch (2% enable-checking, 0.8% disable-checking), but there's no improvement in SPEC (no regression either). -- http://gcc.gnu.org/bugzilla/show_bug.c

[Bug bootstrap/32009] [4.3 Regression] building gcc4-4.3.0-20070518 failed on OSX 10.3.9

2007-05-21 Thread bonzini at gnu dot org
--- Comment #1 from bonzini at gnu dot org 2007-05-21 08:19 --- I know what's going on :-) -- bonzini at gnu dot org changed: What|Removed |Added Assig

[Bug bootstrap/32009] [4.3 Regression] building gcc4-4.3.0-20070518 failed on OSX 10.3.9

2007-05-21 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2007-05-21 08:21 --- Created an attachment (id=13593) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13593&action=view) tentative patch? Please test this patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32009

[Bug middle-end/32004] [4.3 regression] : gcc.target/i386/pr21291.c

2007-05-21 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2007-05-21 08:48 --- Micha, do you mean transforming (while expanding to RTL) asm ("": "=mr" (inout_2) : "0" (inout_1)); to inout_2 = inout_1; asm ("": "=mr" (inout_2) : "0&qu

[Bug middle-end/32004] [4.3 regression] : gcc.target/i386/pr21291.c

2007-05-21 Thread bonzini at gnu dot org
--- Comment #13 from bonzini at gnu dot org 2007-05-21 09:32 --- So we'd just be replacing a weak workaround with a stronger (but not definitive) workaround. :-( -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32004

[Bug bootstrap/32009] [4.3 Regression] building gcc4-4.3.0-20070518 failed on OSX 10.3.9

2007-05-22 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2007-05-22 10:33 --- Please try this patch on top of the previous one. Its purpose is just to validate the logic of the previous one, it's not meant to be committed. Index: libgcc/configu

[Bug bootstrap/32009] [4.3 Regression] building gcc4-4.3.0-20070518 failed on OSX 10.3.9

2007-05-23 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2007-05-23 15:24 --- I have a Mac so I can fix this, but I'm not sure on the timing. I'm commenting out the BOOT_CFLAGS setting for a moment to unbreak bootstrap. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32009

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

2007-05-30 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2007-05-30 15:57 --- A bug with the same symptom resurfaced. David, did I understand right that this time the problem is the huge environment passed from the toplevel makefile? -- bonzini at gnu dot org changed: What

[Bug bootstrap/32161] stage1 libgcc is being built unoptimized

2007-05-30 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2007-05-31 06:06 --- I'm not sure we actually want to build libgcc stage1 optimized. But yes, fixing 32009 will provide a way to fix this. -- bonzini at gnu dot org changed: What|Removed |

[Bug target/32275] [4.3 Regression] : FAIL: gcc.c-torture/execute/va-arg-24.c execution

2007-06-10 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2007-06-11 06:54 --- can you please show the difference in assembly code between the two? -- bonzini at gnu dot org changed: What|Removed |Added

[Bug other/32154] sim-crt0.o/crt0.o isn't found during configure due to missing -L or -B

2007-06-20 Thread bonzini at gnu dot org
--- Comment #10 from bonzini at gnu dot org 2007-06-20 11:13 --- DJ, do you think this patch is ok? -- bonzini at gnu dot org changed: What|Removed |Added

[Bug tree-optimization/30563] [4.3 Regression] ice for legal code with flags -O2 -fno-unit-at-a-time

2007-06-25 Thread bonzini at gnu dot org
--- Comment #14 from bonzini at gnu dot org 2007-06-25 07:01 --- wrong bug marked as duplicate... reopening... -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/30537] [4.3 regression] ICE with -fno-unit-at-a-time an inlining

2007-06-25 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2007-06-25 07:02 --- *** This bug has been marked as a duplicate of 30563 *** -- bonzini at gnu dot org changed: What|Removed |Added

[Bug tree-optimization/30563] [4.3 Regression] ice for legal code with flags -O2 -fno-unit-at-a-time

2007-06-25 Thread bonzini at gnu dot org
--- Comment #15 from bonzini at gnu dot org 2007-06-25 07:02 --- *** Bug 30537 has been marked as a duplicate of this bug. *** -- bonzini at gnu dot org changed: What|Removed |Added

[Bug tree-optimization/30563] [4.3 Regression] ice for legal code with flags -O2 -fno-unit-at-a-time

2007-06-25 Thread bonzini at gnu dot org
--- Comment #16 from bonzini at gnu dot org 2007-06-25 07:03 --- ... to close as fixed -- bonzini at gnu dot org changed: What|Removed |Added Status|REOPENED

[Bug bootstrap/32009] [4.3 Regression] building gcc4-4.3.0-20070518 failed on OSX 10.3.9

2007-06-29 Thread bonzini at gnu dot org
--- Comment #17 from bonzini at gnu dot org 2007-06-29 19:25 --- And that's why I left it assigned to me. I'll work on it next week. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32009

[Bug rtl-optimization/32372] [4.3 Regression] ICE in df_refs_verify, at df-scan.c:4065

2007-06-29 Thread bonzini at gnu dot org
--- Comment #3 from bonzini at gnu dot org 2007-06-29 19:26 --- CCing Honza, he had a patch for this bug. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-04 Thread bonzini at gnu dot org
--- Comment #17 from bonzini at gnu dot org 2007-07-04 07:11 --- I'm working on this, but don't hold your breath (hence not assigning to myself). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32004

[Bug target/25216] -fpic/-fPIC failure in gcc.target/i386/pr21291.c

2007-07-04 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2007-07-04 07:12 --- *** This bug has been marked as a duplicate of 32004 *** -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-04 Thread bonzini at gnu dot org
--- Comment #18 from bonzini at gnu dot org 2007-07-04 07:12 --- *** Bug 25216 has been marked as a duplicate of this bug. *** -- bonzini at gnu dot org changed: What|Removed |Added

[Bug target/23224] [meta-bug] Outages with -fPIC

2007-07-04 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2007-07-04 07:13 --- PR25216 is a dup of PR32004. -- bonzini at gnu dot org changed: What|Removed |Added BugsThisDependsOn

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-04 Thread bonzini at gnu dot org
--- Comment #19 from bonzini at gnu dot org 2007-07-04 08:16 --- Created an attachment (id=13843) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13843&action=view) patch under testing QED (Quite Easily Done :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32004

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-04 Thread bonzini at gnu dot org
--- Comment #20 from bonzini at gnu dot org 2007-07-04 13:54 --- The attached patch makes PR30311 resurface; this seems like a minor problem because that code is dubious, and can be worked around by not doing the transformation when the modes mismatch. -- http://gcc.gnu.org

[Bug libstdc++/31957] Build of compiler fails with 'error: #endif without #if'

2007-07-05 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2007-07-05 10:27 --- Using "s,g,g," or "s,^,," or even "b" as the default sed command doesn't seem to bad to me. -- bonzini at gnu dot org changed: What

[Bug rtl-optimization/28940] [4.0/4.1/4.2 Regression] address selection does not work correctly

2007-07-05 Thread bonzini at gnu dot org
--- Comment #13 from bonzini at gnu dot org 2007-07-05 10:36 --- Can we mark it as WONTFIX for 4.0 to 4.2? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28940

[Bug libstdc++/31957] Build of compiler fails with 'error: #endif without #if'

2007-07-05 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2007-07-05 11:13 --- Actually any no-op command would do, I think even "b" would be ok unless it triggers other bugs. In particular, replacing one g with a g, or all g's with g's, should not matter. :-) -- http://

[Bug target/32622] BOOT_CFLAGS is not passed to stage2 and stage3 compile

2007-07-05 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2007-07-05 20:03 --- Subject: Re: BOOT_CFLAGS is not passed to stage2 and stage3 compile Sebastian Pop wrote: > Hi, > > here is a fix for PR32622 that I've bootstrapped and tested on > i686-linux with "configure BOOT

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-05 Thread bonzini at gnu dot org
--- Comment #22 from bonzini at gnu dot org 2007-07-05 20:11 --- The patch does not fix this one, which also works in 3.3 and fails in 4.1. I'm not sure it's 100% the same bug. Still, I committed the patch to fix the testcase from PR21291. -- http://gcc.gnu.or

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-06 Thread bonzini at gnu dot org
--- Comment #23 from bonzini at gnu dot org 2007-07-06 12:08 --- In particular, this one could be rewritten to inline void g(int b) { register int reg = 0; asm volatile ("nop" : "+a"(reg), "+r"(b)); } void f(int a) { a /= 1000; g(a); } bu

<    4   5   6   7   8   9   10   11   12   13   >