[Bug middle-end/31862] Loop IM and other optimizations harmful for -fopenmp

2009-02-25 Thread bonzini at gnu dot org
--- Comment #16 from bonzini at gnu dot org 2009-02-25 12:18 --- The upcoming C++0x memory model forbids this; see http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2338.html (Concurrency memory model compiler consequences). But it says that this is acceptable instead: tmp

[Bug ada/39172] libada parsing of multilib options

2009-02-25 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-02-25 17:03 --- Subject: Re: libada parsing of multilib options schwab at suse dot de wrote: > --- Comment #3 from schwab at suse dot de 2009-02-25 16:57 --- > Created an attachment (id=17360) --> (http://gcc.gnu.org

[Bug middle-end/31862] Loop IM and other optimizations harmful for -fopenmp

2009-02-25 Thread bonzini at gnu dot org
--- Comment #24 from bonzini at gnu dot org 2009-02-25 18:43 --- Andrew, your comments #6 #8 #9 clearly show that you haven't understood the issue and are just talking past others. The other hand the transformation has been shown to be an optimization on single-thread cases; if

[Bug middle-end/39254] [4.4 Regression] gcc.c-torture/execute/va-arg-trap-1.c ICEs on powerpc-apple-darwin9

2009-02-26 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2009-02-26 09:09 --- comment #6 suggests that it is at least a regression *from 4.2 to 4.3*? -- bonzini at gnu dot org changed: What|Removed |Added

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

2009-02-26 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2009-02-26 09:12 --- I remember seeing this kind of insertion in very old GCCs too (inserting all sort of loads at the end of every branch of a switch statement). I like Steven's patch, even though it's a bit brute force.

[Bug ada/39172] libada parsing of multilib options

2009-02-26 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2009-02-26 15:48 --- Subject: Re: libada parsing of multilib options I'll ping Marcello Presulli to submit his patch. Paolo -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39172

[Bug ada/39172] libada parsing of multilib options

2009-02-26 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2009-02-27 07:40 --- Andreas, the patch you posted on gcc-patches is okay. Thanks very much! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39172

[Bug middle-end/38219] gcc.dg/tree-ssa/vrp47.c fails on powerpc

2009-03-01 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2009-03-02 06:11 --- Subject: Re: gcc.dg/tree-ssa/vrp47.c fails on powerpc > Is this the same issue, or should I open a different report? I think it is the same, I will verify. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38219

[Bug target/39431] [4.3 Regression] ICE in spill_failure, at reload1.c:2093

2009-03-13 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2009-03-13 07:28 --- I think you need a matching memory constraint instead of just "m" or the bug might resurface. (define_memory_constraint "H" "@internal" (match_test "cmpxchg8b_memory_operand

[Bug target/39431] [4.3 Regression] ICE in spill_failure, at reload1.c:2093

2009-03-13 Thread bonzini at gnu dot org
--- Comment #13 from bonzini at gnu dot org 2009-03-13 07:32 --- Nevermind. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39431

[Bug rtl-optimization/39543] [4.4 Regression] Reload failure on mplayer from SVN

2009-03-24 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2009-03-24 15:03 --- The only thing to be careful is to have set_reg_equal == FALSE if the insn has multiple sets, and find which set in a multiple-set insn is actually referring to USE (a combination of note_stores and loc_mentioned_in_p will

[Bug rtl-optimization/39543] [4.4 Regression] Reload failure on mplayer from SVN

2009-03-25 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2009-03-25 16:49 --- > one is the rtx_cost (SET_SRC (set), SET, speed) > old_cost check > (I wonder whether it is needed for asms at all and if yes, how to actually do > it) For addresses it is already done in should_replace_addre

[Bug rtl-optimization/39543] [4.4 Regression] Reload failure on mplayer from SVN

2009-03-26 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2009-03-26 08:47 --- That's good to know. As I said, I'm okay with your patch. I just wondered if for 4.5 the cse_not_expected trick fixes it. In that case I'd have no problem applying the patch to 4.4, but I would reve

[Bug target/39561] New: -mno-expand-cbranchdi broken

2009-03-26 Thread bonzini at gnu dot org
Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org GCC target triplet: sh*-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39561

[Bug target/39600] New: arc target broken, cannot build newlib

2009-03-31 Thread bonzini at gnu dot org
n: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org GCC target triplet: arc-unknown-elf http://gcc

[Bug target/39601] New: xstormy16 target broken, cannot build newlib

2009-03-31 Thread bonzini at gnu dot org
rsion: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org GCC target triplet: xstormy16-unknown-elf http://gcc.gnu.org/bugzilla/show_bu

[Bug target/32431] [4.3/4.4/4.5 Regression][m68hc11] ICE in df_refs_verify, at df-scan.c:4066

2009-03-31 Thread bonzini at gnu dot org
--- Comment #10 from bonzini at gnu dot org 2009-03-31 13:22 --- The bug is still there FWIW. -- bonzini at gnu dot org changed: What|Removed |Added Last reconfirmed

[Bug middle-end/39677] AMD Opteron E needs workaround for lock erratum

2009-04-07 Thread bonzini at gnu dot org
--- Comment #1 from bonzini at gnu dot org 2009-04-07 13:42 --- More info from Solaris bug # 6323525: if (number_of_cores() < 2) then don't have bug if (family == 0xf && Model < 0x40) then have bug if (rdmsr(MSR_BU_CFG/*0xC0011023*/) & 2) then bug i

[Bug middle-end/39677] New: AMD Opteron E needs workaround for lock erratum

2009-04-07 Thread bonzini at gnu dot org
ock erratum Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: openmp Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org GCC target triplet: i386-*-*, x86_64-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39677

[Bug middle-end/39677] AMD Opteron E needs workaround for lock erratum

2009-04-07 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2009-04-07 15:02 --- I cannot see any better alternative, but I'll point out that saying "wrong-code" is not exact. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39677

[Bug middle-end/39685] ICE: in copyprop_hardreg_forward_1, at regrename.c:1603

2009-04-08 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2009-04-08 11:01 --- Minimized testcase is this: int baz (void *, ...); static void bar(); char c; float f; void foo(void) { bar(0,0,0, c, c, f, foo); } void bar (x1,x2,x3, ss, c, f, pf) { baz(&x1,&x2,&x3); } -- bonzini at

[Bug target/32431] [4.3/4.4/4.5 Regression][m68hc11] ICE in df_refs_verify, at df-scan.c:4066

2009-04-09 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2009-04-09 10:34 --- *** Bug 35655 has been marked as a duplicate of this bug. *** -- bonzini at gnu dot org changed: What|Removed |Added

[Bug target/35655] [m68hc11] Segmentation fault when compiling libgcc2.c

2009-04-09 Thread bonzini at gnu dot org
--- Comment #3 from bonzini at gnu dot org 2009-04-09 10:34 --- *** This bug has been marked as a duplicate of 32431 *** -- bonzini at gnu dot org changed: What|Removed |Added

[Bug target/17551] m68hc11: ICE: unrecognizable insn

2009-04-09 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2009-04-09 10:36 --- seems to be fixed on trunk. -- bonzini at gnu dot org changed: What|Removed |Added Status

[Bug target/31850] gcc.c-torture/compile/limits-fnargs.c is slow at compiling for spu-elf

2009-04-09 Thread bonzini at gnu dot org
--- Comment #16 from bonzini at gnu dot org 2009-04-09 11:00 --- On i686 to spu cross, for -O2 45 minutes were not enough. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/39701] [4.5 Regression] Revision 145846 caused many test failures

2009-04-09 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2009-04-10 06:42 --- The Fortran problem is a real bug in the front-end that was masked by folding. The problem is that we're folding less than without my patch. I'll prepare a patch to both fix the Fortran problem and reestablish t

[Bug middle-end/39701] [4.5 Regression] Revision 145846 caused many test failures

2009-04-09 Thread bonzini at gnu dot org
--- Comment #3 from bonzini at gnu dot org 2009-04-10 06:55 --- The pr36901-* are correct to fail IMO -- they now give an "initializer is not constant" error which they weren't giving before -- because you cannot know in principle that &sc > 0 at compile-time

[Bug target/39714] New: cond-optab fallout meta-bug

2009-04-10 Thread bonzini at gnu dot org
Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39714

[Bug target/39715] New: [cond-optab] extra sign extensions on Thumb

2009-04-10 Thread bonzini at gnu dot org
Thumb Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org OtherBugsDependingO 39714

[Bug target/39716] New: [cond-optab] worse MAX_EXPR expansion for Thumb

2009-04-10 Thread bonzini at gnu dot org
MED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org OtherBugsDependingO 39714 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39716

[Bug target/39717] New: [cond-optab] CSE does not put subregs into COMPAREs on many CC0 machines

2009-04-10 Thread bonzini at gnu dot org
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org OtherBugsDependingO 39714 nThis: http://gcc.gnu.org/bugzill

[Bug target/39718] New: [cond-optab] crash on crx in IRA

2009-04-10 Thread bonzini at gnu dot org
n crx in IRA Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org OtherBugsDependingO 39714 n

[Bug target/39719] New: [cond-optab] uses libcall instead of branch on m68hc11

2009-04-10 Thread bonzini at gnu dot org
mal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org OtherBugsDependingO 39714 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39719

[Bug target/39720] New: [cond-optab] combine does not use LOAD_EXTEND_OP?

2009-04-10 Thread bonzini at gnu dot org
mbine does not use LOAD_EXTEND_OP? Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org OtherBugs

[Bug target/39721] New: [cond-optab] worse register allocation on mn10300

2009-04-10 Thread bonzini at gnu dot org
: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org OtherBugsDependingO 39714 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39721

[Bug target/39722] New: [cond-optab] worse code with bitfields on v850 and mn10300

2009-04-10 Thread bonzini at gnu dot org
on v850 and mn10300 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot

[Bug target/39723] New: [cond-optab] worse code with long long shifts on v850

2009-04-10 Thread bonzini at gnu dot org
ith long long shifts on v850 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org OtherBugsDep

[Bug target/39724] New: [cond-optab] reload_cse_simplify_operands complicates code on vax

2009-04-10 Thread bonzini at gnu dot org
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org OtherBugsDependingO 39714 nThis: http://gcc.gnu.org

[Bug target/39725] New: [cond-optab] MIPS pessimizations on floating-point

2009-04-10 Thread bonzini at gnu dot org
pessimizations on floating-point Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org OtherBugsDependingO

[Bug target/39726] New: [cond-optab] ColdFire pessimizations on QImode/HImode tests

2009-04-10 Thread bonzini at gnu dot org
rsion: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org OtherBugsDependingO 39714 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39726

[Bug target/39727] New: [cond-optab] pessimization for FP compare with 0 on ColdFire

2009-04-10 Thread bonzini at gnu dot org
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org OtherBugsDependingO 39714 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39727

[Bug target/39718] [cond-optab] crash on crx in IRA

2009-04-10 Thread bonzini at gnu dot org
--- Comment #1 from bonzini at gnu dot org 2009-04-10 15:25 --- Another testcase, this one failing at -O2: void foo (unsigned int n) { int i, j = -1; for (i = 0; i < 10 && j < 0; i++) if ((1UL << i) == n) j = i; } -- http://gcc.gnu.org/bugz

[Bug middle-end/39701] [4.5 Regression] Revision 145846 caused many test failures

2009-04-10 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2009-04-10 16:05 --- > We know it's not NULL. I don't think the compiler can say so if not -fdelete-null-pointer-checks, and the flag is off at -O0 and -O1 (which is a separate bug and a separate patch). -- http://gcc.gnu

[Bug middle-end/39701] [4.5 Regression] Revision 145846 caused many test failures

2009-04-10 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2009-04-10 16:07 --- The fortran problem is now latent. The PR39601 failures remain and will be cured differently. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39701

[Bug middle-end/39701] [4.5 Regression] Revision 145846 caused many test failures

2009-04-10 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2009-04-10 16:18 --- Created an attachment (id=17614) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17614&action=view) second part of the fix This is an alternative way to fix the PR36901 failures by enabling -fdelete-null-pointer

[Bug target/39727] [cond-optab] pessimization for FP compare with 0 on ColdFire

2009-04-10 Thread bonzini at gnu dot org
--- Comment #1 from bonzini at gnu dot org 2009-04-10 20:06 --- This was actually fixed already with local patches, at least above -O1. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/39685] ICE: in copyprop_hardreg_forward_1, at regrename.c:1603

2009-04-14 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-04-14 07:28 --- -O2 -frename-registers is enough actually. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39685

[Bug target/39722] [cond-optab] worse code with bitfields on v850, mn10300, avr

2009-04-14 Thread bonzini at gnu dot org
--- Comment #1 from bonzini at gnu dot org 2009-04-14 08:29 --- Seems to be caused by a failure to simplify (if_then_else (ne (zero_extract:SI (const_int 0 [0x0]) (const_int 1 [0x1]) (const_int 0 [0x0])) (const_int 0 [0x0

[Bug target/39760] New: register allocation costs are not well described on AVR

2009-04-14 Thread bonzini at gnu dot org
nzini at gnu dot org GCC target triplet: avr-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39760

[Bug tree-optimization/39761] New: ccp does not fully propagate constant real/imaginary parts

2009-04-14 Thread bonzini at gnu dot org
ssigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39761

[Bug tree-optimization/39761] ccp does not fully propagate constant real/imaginary parts

2009-04-14 Thread bonzini at gnu dot org
--- Comment #1 from bonzini at gnu dot org 2009-04-14 08:57 --- This is currently caught by RTL jump bypassing, but not on all machines. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug tree-optimization/39761] data-flow analysis does not discover constant real/imaginary parts

2009-04-14 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-04-14 12:16 --- Right, sorry -- it is only at -Os that we don't get it. VRP and DOM say that the jump threading is not performed because the probability is too small, and PRE does not run at -Os at all. -- bonzini at gnu do

[Bug tree-optimization/39761] PRE does not discover constant real/imaginary parts

2009-04-14 Thread bonzini at gnu dot org
--- Comment #3 from bonzini at gnu dot org 2009-04-14 11:56 --- No, it survives to RTL :-( Adjusting subject. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug tree-optimization/39761] data-flow analysis does not discover constant real/imaginary parts

2009-04-14 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2009-04-14 13:00 --- It seems easier to lower complex phis. Though it doesn't work with vectors, it shouldn't matter since we do not have vector extraction yet. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39761

[Bug tree-optimization/39761] data-flow analysis does not discover constant real/imaginary parts

2009-04-14 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2009-04-14 13:41 --- Yes, but programs cannot use it so it does not really count. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39761

[Bug rtl-optimization/39543] [4.4/4.5 Regression] Reload failure on mplayer from SVN

2009-04-14 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2009-04-14 13:52 --- > I don't see the connection to SSA expansion Well, now that you posted the patch my suppositions were partly true. The important thing is that now you have a way to get an SSA_NAME's RHS into expansion.

[Bug rtl-optimization/39543] [4.4/4.5 Regression] Reload failure on mplayer from SVN

2009-04-14 Thread bonzini at gnu dot org
--- Comment #13 from bonzini at gnu dot org 2009-04-14 14:02 --- Subject: Re: [4.4/4.5 Regression] Reload failure on mplayer from SVN > That's one of the reasons why TER doesn't forward all expressions even if > they're used only once. Yes -- indeed i

[Bug target/39717] [cond-optab] CSE does not put subregs into COMPAREs on many CC0 machines

2009-04-16 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2009-04-16 08:04 --- Subject: Re: [cond-optab] CSE does not put subregs into COMPAREs on many CC0 machines > Is this a cond-optab regression or "just" an observation? Yes, it causes extra moves on code using unions. Where we

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

2009-04-18 Thread bonzini at gnu dot org
NCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bonzini at gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39806

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

2009-04-18 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed

[Bug middle-end/39794] [4.4/4.5 Regression] Miscompile with -O2 -funroll-loops

2009-04-20 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2009-04-20 15:48 --- > Maybe a stupid question, but shouldn't this > canon_true_dependence call receive canonicalized MEMs from 'base' and > 'store_info->cse_base'? I think so. The only way that DSE

[Bug middle-end/38934] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:398

2009-04-21 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.3.4 Version|4.4.0 |4.3.3 http

[Bug middle-end/39794] [4.4/4.5 Regression] Miscompile with -O2 -funroll-loops

2009-04-23 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2009-04-23 14:37 --- (From update of attachment 17675) The testcase includes an invalid asm (it should clobber memory). -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/39867] [4.4/4.5 Regression] Wrong result of conditional operator exp < 2 ? 2U : (unsigned int) exp

2009-04-23 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added Summary|[4.4 Regression] Wrong |[4.4/4.5 Regression] Wrong |result of conditional

[Bug middle-end/39867] [4.4/4.5 Regression] Wrong result of conditional operator exp < 2 ? 2U : (unsigned int) exp

2009-04-23 Thread bonzini at gnu dot org
--- Comment #3 from bonzini at gnu dot org 2009-04-23 15:22 --- Created an attachment (id=17684) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17684&action=view) patch Bootstrapped but not yet regtested. Testcase: /* { dg-do link } */ /* { dg-options "-O2" } *

[Bug middle-end/39867] [4.4/4.5 Regression] Wrong result of conditional operator exp < 2 ? 2U : (unsigned int) exp

2009-04-23 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 tree-optimization/39870] VRP can't see through cast to unsigned

2009-04-23 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2009-04-23 16:09 --- Eric, fold only does it for a >= C1 && a <= C2, not for variable C1 and C2. in fact, in this case it would be illegal to do the transformation if the front-end did not know that m->length is posit

[Bug tree-optimization/39870] VRP can't see through cast to unsigned

2009-04-23 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2009-04-23 16:10 --- Eric, fold only does it for constant C1 and C2 in "a >= C1 && a <= C2", not for variable C1 and C2. in fact, in the other case it would be illegal to do the transformation. the front-end can do it

[Bug middle-end/39867] [4.4/4.5 Regression] Wrong result of conditional operator exp < 2 ? 2U : (unsigned int) exp

2009-04-24 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-04-24 11:35 --- Subject: Bug 39867 Author: bonzini Date: Fri Apr 24 11:34:59 2009 New Revision: 146702 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146702 Log: 2009-04-24 Paolo Bonzini PR middle-e

[Bug regression/39914] [4.4/4.5 Regression] 96% performance regression in floating point code; part of the problem started 2009/03/12-13

2009-04-27 Thread bonzini at gnu dot org
--- Comment #10 from bonzini at gnu dot org 2009-04-27 19:04 --- Yeah, it's basically destroying caller-save optimization. -- bonzini at gnu dot org changed: What|Removed |

[Bug target/39949] [4.5 regression] Revision 146874 breaks %z on x87 insns

2009-04-28 Thread bonzini at gnu dot org
--- Comment #3 from bonzini at gnu dot org 2009-04-28 18:12 --- H.J., please do not make up testcases and tell us who was actually using %z for x87 as of March 31st, 2009. Otherwise, this bug has the same level of seriousness as the one I'm closing it as duplicate of. *** This bu

[Bug c++/5] [1.36.3/1.37/.../3.2/3.3/3.4 regression] C++ sucks, can't you make it better?

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

[Bug target/39949] [4.5 regression] Revision 146874 breaks %z on x87 insns

2009-04-28 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2009-04-28 18:13 --- reopening... -- bonzini at gnu dot org changed: What|Removed |Added Status|RESOLVED

[Bug target/39949] [4.5 regression] Revision 146874 breaks %z on x87 insns

2009-04-28 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-04-28 18:14 --- ... to mark as waiting. -- bonzini at gnu dot org changed: What|Removed |Added Status

[Bug target/39949] [4.5 regression] Revision 146874 breaks %z on x87 insns

2009-04-28 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2009-04-28 19:33 --- Subject: Re: [4.5 regression] Revision 146874 breaks %z on x87 insns > If I had told you that we had had several internal applications > which use %z on x87 since 1998, would it make a difference? Maybe n

[Bug target/39949] [4.5 regression] Revision 146874 breaks %z on x87 insns

2009-04-28 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2009-04-29 05:09 --- Subject: Re: [4.5 regression] Revision 146874 breaks %z on x87 insns > The right thing is just to document them. Agreed. But the question is whether to break %z and all but one person reckon it would

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-04-30 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2009-04-30 14:56 --- Fails after PRE. Reduced testcase requiring just a jc1 executable (assuming gcc is built in a subdirectory of the toplevel, i.e. ../configure): ./jc1 "../../libjava/classpath/lib/gnu/CORBA/Poa/gnuPOA\$RefTemplate.

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-04-30 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2009-04-30 14:56 --- Ah, I didn't bootstrap so jc1 cannot be miscompiled. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39940

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-04-30 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2009-04-30 21:10 --- Subject: Re: [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9 > I successfully bootstrapped libjava on powerpc-apple-darwin9 at revision > 146999. Interesting, can you try the command-

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-04-30 Thread bonzini at gnu dot org
--- Comment #11 from bonzini at gnu dot org 2009-05-01 05:40 --- Subject: Re: [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9 The file name is really gnuPOA$RefTemplate.class -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39940

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-04-30 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2009-05-01 05:42 --- Subject: Re: [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9 -mtune=generic should be eliminated from the ppc build, too (but intel fails also without it) -- http://gcc.gnu.org/bugzilla

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-05-02 Thread bonzini at gnu dot org
--- Comment #20 from bonzini at gnu dot org 2009-05-02 13:51 --- Also reproducible with compiler to powerpc-apple-darwin, same error message. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-05-02 Thread bonzini at gnu dot org
--- Comment #21 from bonzini at gnu dot org 2009-05-02 13:53 --- > Java has always been broken at -m64 on ppc-darwin since no one has ever ported > ffi to work on ppc64 for darwin. But jc1 builds if you just "make jc1", and it exhibits the same bug. -- http://gcc.

[Bug java/39940] [4.5 Regression] failure in jc1 on i686-apple-darwin9 host

2009-05-02 Thread bonzini at gnu dot org
--- Comment #23 from bonzini at gnu dot org 2009-05-02 14:16 --- Now this is funny. I get the same error even with a cross from i686-darwin to i686-pc-linux-gnu! -- bonzini at gnu dot org changed: What|Removed |Added

[Bug java/39940] [4.5 Regression] failure in jc1 on i686-apple-darwin9 host

2009-05-02 Thread bonzini at gnu dot org
--- Comment #24 from bonzini at gnu dot org 2009-05-02 14:20 --- Created an attachment (id=17792) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17792&action=view) debug output with -fdump-tree-all-details-blocks-vops -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39940

[Bug java/39940] [4.5 Regression] failure in jc1 on i686-apple-darwin9 host

2009-05-02 Thread bonzini at gnu dot org
--- Comment #28 from bonzini at gnu dot org 2009-05-02 20:34 --- Yes, fixed. -- bonzini at gnu dot org changed: What|Removed |Added Status|RESOLVED

[Bug java/39940] [4.5 Regression] failure in jc1 on i686-apple-darwin9 host

2009-05-02 Thread bonzini at gnu dot org
--- Comment #29 from bonzini at gnu dot org 2009-05-02 20:35 --- what about 4.4? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39940

[Bug target/40009] altivec __builtin_vec_ctu has wrong tyes

2009-05-03 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-05-03 12:11 --- In many cases, opaque types are used in the prototypes just to avoid warnings. You're right that the front-end should insert VIEW_CONVERT_EXPRs. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40009

[Bug target/40009] altivec __builtin_vec_ctu has wrong tyes

2009-05-03 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2009-05-03 14:00 --- > Ok, so the builtins should have a proper, but opaque vector type (like for > VEC_CTU it should be an unsigned vector type, not a signed one). No, there's no reason to have >1 opaque vector type for a single

[Bug target/40009] altivec __builtin_vec_ctu has wrong tyes

2009-05-03 Thread bonzini at gnu dot org
--- Comment #8 from bonzini at gnu dot org 2009-05-03 14:25 --- What's remaining was already in the database. *** This bug has been marked as a duplicate of 30210 *** -- bonzini at gnu dot org changed: What|Removed |

[Bug target/30210] Altivec builtins have inaccurate return types

2009-05-03 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2009-05-03 14:25 --- *** Bug 40009 has been marked as a duplicate of this bug. *** -- bonzini at gnu dot org changed: What|Removed |Added

[Bug target/30210] Altivec builtins have inaccurate return types

2009-05-03 Thread bonzini at gnu dot org
--- Comment #10 from bonzini at gnu dot org 2009-05-03 14:26 --- The wrong types in __builtin_altivec_ctu cause this: FAIL: gcc.c-torture/compile/pr39943.c -O3 -fomit-frame-pointer (internal compiler error) FAIL: gcc.c-torture/compile/pr39943.c -O3 -fomit-frame-pointer (test for

[Bug target/40009] altivec __builtin_vec_ctu has wrong tyes

2009-05-03 Thread bonzini at gnu dot org
--- Comment #9 from bonzini at gnu dot org 2009-05-03 14:34 --- To be more specific, the builtin call is created by the vectorizer, and the vectorizer is quite careless in matching types. The front-end *does* insert VIEW_CONVERT_EXPRs and so does rs6000-c.c. -- http://gcc.gnu.org

[Bug other/28315] gcc doesn't use locale for default input charset

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

[Bug lto/54206] build in source dir breaks lto plugin detection

2012-10-04 Thread bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54206 --- Comment #7 from Paolo Bonzini 2012-10-05 06:33:41 UTC --- Building in srcdir usually works. Could it be as simple as this? Index: Makefile.am === --- Makefile.am(r

[Bug target/40934] [4.5 Regression] ICE in get_hard_regnum, at reg-stack.c:741

2009-08-14 Thread bonzini at gnu dot org
--- Comment #16 from bonzini at gnu dot org 2009-08-14 12:17 --- committed. -- bonzini at gnu dot org changed: What|Removed |Added Status|NEW

[Bug c/40454] GCC 4.4.0 vs 3.4.0 - PNGCrush is about 20% slower when compiled with GCC 4.4.0

2009-08-17 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2009-08-17 08:42 --- Can you check if the same preprocessed source for deflate.c (the deflate.i file obtained with --save-temps) compiles fine with both 3.4.0 and 4.4.1? If so, please attach it together with the deflate.s files produced by the

[Bug c/40454] GCC 4.4.0 vs 3.4.0 - at -O3, PNGCrush is about 20% slower when compiled with GCC 4.4.0

2009-08-17 Thread bonzini at gnu dot org
--- Comment #12 from bonzini at gnu dot org 2009-08-17 13:30 --- Please try again with GCC 4.4.1 -O2 vs. GCC 3.4.0 -O2 or -O3. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug ada/41122] libada multilib string parsing error

2009-08-20 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 ada/41122] libada multilib string parsing error

2009-08-30 Thread bonzini at gnu dot org
--- Comment #6 from bonzini at gnu dot org 2009-08-30 14:35 --- committed to trunk, 4.4 will follow. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41122

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