[Bug target/36539] IRA+i386 doesn't allocate asm output being returned to eax

2008-12-05 Thread astrange at ithinksw dot com
--- Comment #8 from astrange at ithinksw dot com 2008-12-05 20:08 --- With some recent changes IRA makes better decisions now but they don't survive reload. Using > /gcc -O3 -fomit-frame-pointer -fno-pic -fdump-rtl-ira -S cabac-ret.i I get about the same asm and this in the

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

2008-12-17 Thread astrange at ithinksw dot com
--- Comment #4 from astrange at ithinksw dot com 2008-12-17 22:10 --- Causes silly code on i386 with this: void pred8x8l_vertical_add_c(unsigned char *pix, const short *block, int stride){ int i; for(i=0; i<8; i++){ int j; for (j=0; j<8; j++){

[Bug c/2803] casts in asm act as lvalues

2009-05-25 Thread astrange at ithinksw dot com
--- Comment #12 from astrange at ithinksw dot com 2009-05-25 20:26 --- I noticed this is still accepted by gcc 4.5; one stuck into ffmpeg and broke the build with another compiler. For instance, this only fails in c(): int as(int a) { asm ("" : : "m"((int

[Bug tree-optimization/36318] SRA pessimizes struct copies without -Os

2009-05-29 Thread astrange at ithinksw dot com
--- Comment #2 from astrange at ithinksw dot com 2009-05-30 00:19 --- Fixed with new SRA: _foo1: subl$12, %esp movl20(%esp), %eax movl(%eax), %edx movl16(%esp), %eax movl%edx, (%eax) addl$12, %esp ret

[Bug tree-optimization/36318] SRA pessimizes struct copies without -Os

2009-06-04 Thread astrange at ithinksw dot com
--- Comment #4 from astrange at ithinksw dot com 2009-06-05 04:31 --- This bug must have been weaker than I remembered it; when I used 4 char fields instead of one char[4], 4.4 behaved properly too. How about: Alexander Strange http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36318

[Bug tree-optimization/36127] bad choice of loop IVs above -Os on x86

2009-08-06 Thread astrange at ithinksw dot com
--- Comment #5 from astrange at ithinksw dot com 2009-08-07 03:04 --- Fixed with -O3 -fgraphite-identity. Why did I even bother checking that? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36127

[Bug tree-optimization/40992] New: [4.2/4.3/4.4/4.5 Regression] cunroll ignoring asm size

2009-08-06 Thread astrange at ithinksw dot com
NCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40992

[Bug tree-optimization/40992] [4.2/4.3/4.4/4.5 Regression] cunroll ignoring asm size

2009-08-06 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2009-08-07 04:25 --- Created an attachment (id=18315) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18315&action=view) the source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40992

[Bug tree-optimization/40992] [4.2/4.3/4.4/4.5 Regression] cunroll ignoring asm size

2009-08-08 Thread astrange at ithinksw dot com
--- Comment #3 from astrange at ithinksw dot com 2009-08-08 16:44 --- Maybe the C version will be usable after everyone is using 4.4+, earlier versions tend to make a mess. Anyway, counting newlines for size estimation wouldn't pessimize anything. -- http://gcc.gnu.org/bug

[Bug tree-optimization/32572] Small C++ function fails to inline with large negative badness

2007-07-16 Thread astrange at ithinksw dot com
--- Comment #2 from astrange at ithinksw dot com 2007-07-16 19:51 --- Seems to work now in r126689. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32572

[Bug tree-optimization/32572] Small C++ function fails to inline with large negative badness

2007-09-15 Thread astrange at ithinksw dot com
--- Comment #3 from astrange at ithinksw dot com 2007-09-15 23:47 --- It's more like it was accidentally fixed and the underlying cause is still there, but it is fixed. -- astrange at ithinksw dot com changed: What|Removed |

[Bug target/33555] New: x86 missed opportunity for sbb

2007-09-25 Thread astrange at ithinksw dot com
t: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: i386-apple-darwin8.10.1 GCC host triple

[Bug tree-optimization/33705] New: gcc generates dead struct stores

2007-10-08 Thread astrange at ithinksw dot com
D Severity: minor Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: i386-apple-darwin8.10.1 GCC host triplet: i386-apple-darwin8.10.1 GCC target triplet: i386-apple-darwin

[Bug tree-optimization/33705] gcc generates dead struct stores

2007-10-08 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2007-10-09 03:14 --- Created an attachment (id=14328) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14328&action=view) source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33705

[Bug tree-optimization/33705] gcc generates dead struct stores

2007-10-08 Thread astrange at ithinksw dot com
--- Comment #2 from astrange at ithinksw dot com 2007-10-09 03:15 --- Created an attachment (id=14329) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14329&action=view) resulting x86-64 asm /usr/local/gcc43/bin/gcc -O3 -fno-pic -fomit-frame-pointer -m64 -S gcc-struct-s

[Bug target/33791] New: x86 out of registers ICE with -fschedule-insns -march=core2

2007-10-15 Thread astrange at ithinksw dot com
0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: i386-apple-darwin8.10.1 GCC host triplet: i386-apple-dar

[Bug target/33791] x86 out of registers ICE with -fschedule-insns -march=core2

2007-10-15 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2007-10-16 05:46 --- Created an attachment (id=14358) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14358&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33791

[Bug tree-optimization/20231] New: missed optimization of loop IV modulus

2005-02-26 Thread astrange at ithinksw dot com
IV modulus Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com CC:

[Bug rtl-optimization/20614] New: PowerPC - inefficient use of condition register

2005-03-23 Thread astrange at ithinksw dot com
Priority: P2 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: powerpc-apple-darwin7.7.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20614

[Bug target/20614] PowerPC - inefficient use of condition register

2005-03-23 Thread astrange at ithinksw dot com
--- Additional Comments From astrange at ithinksw dot com 2005-03-24 06:39 --- It buys two cycles per compare on a G3/G4 (as well as not clobbering cr0, which one of the gcc patterns does). It also saves 2/3s of the code size, which is what -Os is targeting. Not much, but the

[Bug rtl-optimization/36673] IRA -O3 -fno-pic ICE in save_con_fun_n, at caller-save.c:1389

2008-08-26 Thread astrange at ithinksw dot com
--- Comment #5 from astrange at ithinksw dot com 2008-08-27 04:27 --- Fixed. -- astrange at ithinksw dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug rtl-optimization/36672] IRA + -fno-pic ICE in emit_swap_insn, at reg-stack.c:829

2008-08-26 Thread astrange at ithinksw dot com
--- Comment #4 from astrange at ithinksw dot com 2008-08-27 04:28 --- Fixed. -- astrange at ithinksw dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug rtl-optimization/36663] IRA ICE in save_call_clobbered_regs at caller-save.c:1949

2008-08-26 Thread astrange at ithinksw dot com
--- Comment #4 from astrange at ithinksw dot com 2008-08-27 04:28 --- Fixed. -- astrange at ithinksw dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug target/36539] [4.4 regression] IRA doesn't allocate asm output being returned to eax

2008-08-26 Thread astrange at ithinksw dot com
--- Comment #3 from astrange at ithinksw dot com 2008-08-27 04:41 --- Now it is. -- astrange at ithinksw dot com changed: What|Removed |Added Summary|IRA

[Bug target/36539] [4.4 regression] IRA doesn't allocate asm output being returned to eax

2008-09-03 Thread astrange at ithinksw dot com
--- Comment #5 from astrange at ithinksw dot com 2008-09-04 04:02 --- It is fixed for me on x86-64. For i386 it's still suboptimal: _get_cabac: subl$28, %esp movl%esi, 16(%esp) movl%edi, 20(%esp) movl%ebx, 12(%esp) movl%eb

[Bug target/36539] IRA+i386 doesn't allocate asm output being returned to eax

2008-09-17 Thread astrange at ithinksw dot com
--- Comment #7 from astrange at ithinksw dot com 2008-09-18 01:29 --- Updated to 32-bit only. -- astrange at ithinksw dot com changed: What|Removed |Added

[Bug rtl-optimization/34279] ira branch/-fdump-rtl-ira ICE at at ira-call.c:525

2008-02-10 Thread astrange at ithinksw dot com
--- Comment #2 from astrange at ithinksw dot com 2008-02-10 19:14 --- fixed -- astrange at ithinksw dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug tree-optimization/35215] New: ICE: verify_histograms failed with -fprofile-use

2008-02-15 Thread astrange at ithinksw dot com
: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: 386-apple-darwin9.2.0 GCC host triplet: 386-apple-darwin9.2.0 GCC target triplet: 386-apple-darwin9.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35215

[Bug tree-optimization/35215] ICE: verify_histograms failed with -fprofile-use

2008-02-15 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2008-02-16 04:56 --- Created an attachment (id=15164) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15164&action=view) source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35215

[Bug tree-optimization/35215] ICE: verify_histograms failed with -fprofile-use

2008-02-15 Thread astrange at ithinksw dot com
--- Comment #2 from astrange at ithinksw dot com 2008-02-16 04:56 --- Created an attachment (id=15165) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15165&action=view) gcda -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35215

[Bug tree-optimization/35215] ICE: verify_histograms failed with -fprofile-use

2008-02-15 Thread astrange at ithinksw dot com
--- Comment #3 from astrange at ithinksw dot com 2008-02-16 04:57 --- Created an attachment (id=15166) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15166&action=view) gcno -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35215

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

2008-02-16 Thread astrange at ithinksw dot com
--- Comment #3 from astrange at ithinksw dot com 2008-02-16 18:16 --- Also, 'x >> 32 - y' can be transformed into 'x >> -y', since x86 only uses the lowest 5 bits. I'm not sure about other targets. Messing with the backend doesn't seem very p

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

2008-02-16 Thread astrange at ithinksw dot com
-- astrange at ithinksw dot com changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32593

[Bug target/33555] x86 missed opportunity for sbb

2008-02-16 Thread astrange at ithinksw dot com
-- astrange at ithinksw dot com changed: What|Removed |Added Severity|minor |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33555

[Bug rtl-optimization/35281] New: [4.3 regression] multiply with 0 generated for 64*32->64

2008-02-21 Thread astrange at ithinksw dot com
nassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: i386-apple-darwin9.2.0 GCC host triplet: i386-apple-darwin9.2.0 GCC target triplet: i386-apple-darwin9.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35281

[Bug rtl-optimization/35281] [4.3 regression] multiply with 0 generated for 64*32->64

2008-02-21 Thread astrange at ithinksw dot com
--- Comment #2 from astrange at ithinksw dot com 2008-02-21 21:58 --- Created an attachment (id=15199) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15199&action=view) source Oh, I forgot. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35281

[Bug target/14552] compiled trivial vector intrinsic code is inefficient

2008-03-19 Thread astrange at ithinksw dot com
--- Comment #24 from astrange at ithinksw dot com 2008-03-19 19:21 --- For typedef short mmxw __attribute__ ((mode(V4HI))); typedef int mmxdw __attribute__ ((mode(V2SI))); mmxdw dw; mmxw w; void test(){ w+=w; dw= (mmxdw)w; } void test2(){ w= __builtin_ia32_paddw(w

[Bug target/14552] compiled trivial vector intrinsic code is inefficient

2008-03-19 Thread astrange at ithinksw dot com
--- Comment #25 from astrange at ithinksw dot com 2008-03-19 19:39 --- Actually the first generates- subl$12, %esp movq_w, %mm0 paddw %mm0, %mm0 movq%mm0, _w movq_w, %mm0 movq%mm0, _dw addl$12, %esp

[Bug target/14552] compiled trivial vector intrinsic code is inefficient

2008-03-19 Thread astrange at ithinksw dot com
--- Comment #32 from astrange at ithinksw dot com 2008-03-20 00:39 --- This is missed on trees: mmxdw dw; mmxw w; void test2(){ w= __builtin_ia32_paddw(w,w); w= (mmxdw)w; } void test3(){ mmxw w2= __builtin_ia32_paddw(w,w); dw= (mmxdw)w2; } test2 () { vector short

[Bug other/31043] duplicated data in .rodata / .rodata.cst sections.

2008-03-21 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2008-03-22 04:28 --- I encountered this myself with 4.4.0 20080321. If the data is static, gcc generates LC0 but not the copy with the original name, which impedes debugging. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31043

[Bug target/35714] New: x86 poor code with pmaddwd

2008-03-26 Thread astrange at ithinksw dot com
Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: i386-apple-darwin9.2.0 GCC host triplet: i386-apple-darwin9.2.0 GCC target triplet: i386-apple-darw

[Bug target/35714] x86 poor code with pmaddwd

2008-03-26 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2008-03-27 01:02 --- Created an attachment (id=15384) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15384&action=view) source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35714

[Bug target/39123] New: x86 asm *(a+b) input causes out of registers above -O0

2009-02-06 Thread astrange at ithinksw dot com
t: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: i?86-*-* GCC host triplet: i?86-*-

[Bug target/39123] x86 asm *(a+b) input causes out of registers above -O0

2009-02-06 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2009-02-07 06:13 --- Created an attachment (id=17265) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17265&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39123

[Bug target/39329] New: x86 -Os could use mulw for (uint16 * uint16)>>16

2009-02-28 Thread astrange at ithinksw dot com
codecs or arithmetic coders. -- Summary: x86 -Os could use mulw for (uint16 * uint16)>>16 Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at g

[Bug target/39337] New: x86 use of VLA disables -fomit-frame-pointer

2009-03-01 Thread astrange at ithinksw dot com
Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: i?86-*-* GCC hos

[Bug target/39337] x86 use of VLA disables -fomit-frame-pointer

2009-03-01 Thread astrange at ithinksw dot com
--- Comment #3 from astrange at ithinksw dot com 2009-03-02 02:39 --- > This is correct, vla and alloca always uses a frame pointer because there is > no way to get back to the original offsets so the compiler needs a frame > pointer. It's not restoring from the fram

[Bug inline-asm/11203] source doesn't compile with -O0 but they compile with -O3

2009-10-18 Thread astrange at ithinksw dot com
--- Comment #40 from astrange at ithinksw dot com 2009-10-18 19:56 --- Linked from http://x264dev.multimedia.cx/?p=185, I'd forgotten all about the ridiculous flamewar in this one. Just as a note, the actual definitions of the four variables (from liba52): x2k = x + 2 * k;

[Bug tree-optimization/36646] [4.3/4.4/4.5 Regression] Unnecessary moves generated on loop boundaries

2009-10-20 Thread astrange at ithinksw dot com
--- Comment #7 from astrange at ithinksw dot com 2009-10-20 21:10 --- Tried with SVN today and it's fixed: L6: incb(%ebx) jmp L12 .align 4,0x90 Close if you want; I don't think it's worth finding when this happened. -- http://gcc.g

[Bug tree-optimization/36646] [4.3/4.4/4.5 Regression] Unnecessary moves generated on loop boundaries

2009-11-07 Thread astrange at ithinksw dot com
--- Comment #8 from astrange at ithinksw dot com 2009-11-07 09:03 --- Closing. -- astrange at ithinksw dot com changed: What|Removed |Added Status|NEW

[Bug tree-optimization/32015] New: pointer-plus ICE in extract_range_from_binary_expr, at tree-vrp.c:1755

2007-05-20 Thread astrange at ithinksw dot com
Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: i386-apple-darwin8.9.1 GCC host

[Bug tree-optimization/32572] New: Small C++ function fails to inline with large negative badness

2007-07-01 Thread astrange at ithinksw dot com
Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: i386-apple-darwin8.10.1 GCC

[Bug tree-optimization/32572] Small C++ function fails to inline with large negative badness

2007-07-01 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2007-07-02 06:18 --- This is a regression from Apple gcc 4.0: Considering void image::set(size_t, size_t, f_pixel, f_real) with 29 insns Estimated growth is -21 insns. Inlined into void set_test(image*, int, int, f_pixel&, do

[Bug tree-optimization/32590] New: [4.3 regression] Duplicate code generated on both branches of if/else

2007-07-02 Thread astrange at ithinksw dot com
Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: i386-apple-darwin8.10.1 GCC host triplet: i386-apple-darwin8.10.1 GCC target triplet: i386-apple-darwin8.10.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32590

[Bug tree-optimization/32590] [4.3 regression] Duplicate code generated on both branches of if/else

2007-07-02 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2007-07-02 18:04 --- Created an attachment (id=13826) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13826&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32590

[Bug tree-optimization/32593] New: Missed optimization of 'y = constant - x' operation

2007-07-02 Thread astrange at ithinksw dot com
Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: i386-apple-darwin8.10.1 GCC host triple

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

2007-07-02 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2007-07-02 18:47 --- Created an attachment (id=13827) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13827&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32593

[Bug tree-optimization/61515] New: Extremely long compile time for generated code

2014-06-15 Thread astrange at ithinksw dot com
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: astrange at ithinksw dot com > /usr/local/gcc49/bin/gcc -v Using built-in specs. COLLECT_GCC=/usr/local/gcc49/bin/gcc COLLECT_LTO_WRAPPER=/usr/local/gcc49/libexec/gcc/x86_64-apple-darwin13.2.0/4.10.0/

[Bug tree-optimization/61515] Extremely long compile time for generated code

2014-06-15 Thread astrange at ithinksw dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61515 --- Comment #1 from Alexander Strange --- Created attachment 32944 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32944&action=edit Preprocessed source

[Bug tree-optimization/61515] Extremely long compile time for generated code

2014-06-15 Thread astrange at ithinksw dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61515 --- Comment #3 from Alexander Strange --- Without checking, -O0 went from 8 -> 5 minutes. I stopped the -Os compile at 29 minutes.

[Bug tree-optimization/43224] New: Constant load not raised out of loop

2010-03-01 Thread astrange at ithinksw dot com
oduct: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC host triplet: x86_64-apple-darwin10.2.0 http

[Bug tree-optimization/43224] Constant load not raised out of loop

2010-03-01 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2010-03-02 03:45 --- Created an attachment (id=20002) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20002&action=view) x86-64 asm output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43224

[Bug tree-optimization/43224] Constant load not raised out of loop

2010-03-01 Thread astrange at ithinksw dot com
--- Comment #4 from astrange at ithinksw dot com 2010-03-02 04:00 --- Is it possible for aliased writes to affect a const pointer? I was assuming that it wasn't. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43224

[Bug target/43225] New: Structure copies not vectorized

2010-03-01 Thread astrange at ithinksw dot com
org ReportedBy: astrange at ithinksw dot com GCC host triplet: x86_64-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43225

[Bug target/43225] Structure copies not vectorized

2010-03-01 Thread astrange at ithinksw dot com
--- Comment #2 from astrange at ithinksw dot com 2010-03-02 05:31 --- -fdump-tree-slp-details: copy_gcc.c:8: note: ===vect_slp_analyze_bb=== copy_gcc.c:8: note: === vect_analyze_data_refs === Creating dr for *b_2(D) analyze_innermost: success. base_address: b_2(D

[Bug target/43233] New: x86 flags not combined across blocks

2010-03-02 Thread astrange at ithinksw dot com
Summary: x86 flags not combined across blocks Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astran

[Bug lto/43318] New: LTO ICE with minimal C++ program

2010-03-09 Thread astrange at ithinksw dot com
: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43318

[Bug lto/43318] LTO ICE with minimal C++ program

2010-03-09 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2010-03-10 00:32 --- Actually, it doesn't work in C either. I find that unlikely, time to make sure I didn't build it wrong somehow... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43318

[Bug lto/43318] LTO ICE with minimal C++ program

2010-03-09 Thread astrange at ithinksw dot com
--- Comment #3 from astrange at ithinksw dot com 2010-03-10 00:37 --- *** This bug has been marked as a duplicate of 42402 *** -- astrange at ithinksw dot com changed: What|Removed |Added

[Bug lto/42402] ICE in propagate, at ipa-reference.c:1244

2010-03-09 Thread astrange at ithinksw dot com
--- Comment #2 from astrange at ithinksw dot com 2010-03-10 00:37 --- *** Bug 43318 has been marked as a duplicate of this bug. *** -- astrange at ithinksw dot com changed: What|Removed |Added

[Bug lto/43342] lto1: internal compiler error: failed to reclaim unneeded function

2010-03-14 Thread astrange at ithinksw dot com
--- Comment #4 from astrange at ithinksw dot com 2010-03-14 23:33 --- This happens building ffmpeg --enable-shared with -fwhopr. I can make a testcase out of that if needed. -- astrange at ithinksw dot com changed: What|Removed |Added

[Bug lto/43372] New: lto ICE in strip_extension with linker plugin

2010-03-14 Thread astrange at ithinksw dot com
ONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43372

[Bug lto/43373] New: whopr+linker plugin ICE compressed stream data error

2010-03-14 Thread astrange at ithinksw dot com
stream data error Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC host triplet: i686-p

[Bug lto/43373] whopr+linker plugin ICE compressed stream data error

2010-03-15 Thread astrange at ithinksw dot com
--- Comment #2 from astrange at ithinksw dot com 2010-03-15 11:10 --- The last two commands were the source and testcase. Should have spaced it out more. i don't have enough memory allocated to this VM to build ffmpeg without whopr, so I thought i'd try the more experimental

[Bug target/43550] New: arm missing rev16

2010-03-26 Thread astrange at ithinksw dot com
Severity: enhancement Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC target triplet: arm-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43550

[Bug rtl-optimization/43721] Failure to optimise (a/b) and (a%b) into single __aeabi_idivmod call

2010-04-11 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2010-04-12 03:54 --- Still the case with 4.5. > arm-none-linux-gnueabi-gcc -Os -S divmod.c > cat divmod.s .cpu arm10tdmi .fpu softvfp .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attrib

[Bug target/43723] New: Some ARMs support unaligned

2010-04-11 Thread astrange at ithinksw dot com
eg. -- Summary: Some ARMs support unaligned Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astra

[Bug target/43766] New: x86 prefetch doesn't use complex memory addressing

2010-04-16 Thread astrange at ithinksw dot com
refetch doesn't use complex memory addressing Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at

[Bug target/43766] x86 prefetch doesn't use complex memory addressing

2010-04-16 Thread astrange at ithinksw dot com
--- Comment #3 from astrange at ithinksw dot com 2010-04-16 21:19 --- Works with x86-64. Checking -m32, the same thing happens with or without the patch: _p: subl$12, %esp movl20(%esp), %eax sall$2, %eax addl16(%esp), %eax addl

[Bug c/42136] New: Inconsistent strict-aliasing warning with cast from char[]

2009-11-21 Thread astrange at ithinksw dot com
t strict-aliasing warning with cast from char[] Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange

[Bug tree-optimization/42211] New: Segmentation fault with graphite -floop-interchange

2009-11-29 Thread astrange at ithinksw dot com
us: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: x86_64-apple-darwin10.2.0 GCC host triplet: x86_64-apple-dar

[Bug tree-optimization/42211] Segmentation fault with graphite -floop-interchange

2009-11-29 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2009-11-29 09:38 --- Created an attachment (id=19175) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19175&action=view) somewhat-reduced source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42211

[Bug target/43225] Structure copies not vectorized

2011-03-29 Thread astrange at ithinksw dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43225 --- Comment #4 from Alexander Strange 2011-03-29 20:39:28 UTC --- Better source: #include struct a1 { char l[16];} __attribute__((aligned)); struct a2 { __m128i l; } __attribute__((aligned)); void f1(struct a1 *a, struct a1 *b) { *a = *b;

[Bug target/44073] x86 constants could be unduplicated

2010-08-07 Thread astrange at ithinksw dot com
--- Comment #5 from astrange at ithinksw dot com 2010-08-08 06:39 --- That commit doesn't reverse cleanly anymore, and I'm not sure how to update it. I don't have any pre-2005 gccs at the moment to test with. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44073

[Bug target/44474] GCC inserts redundant "test" instruction due to incorrect clobber

2010-08-28 Thread astrange at ithinksw dot com
--- Comment #2 from astrange at ithinksw dot com 2010-08-29 06:39 --- Still happens with the new combine work (not that I really expected it to change). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44474

[Bug rtl-optimization/45788] New: -fwhole-program causes ICE error: BB 3 can not throw but has an EH edge

2010-09-24 Thread astrange at ithinksw dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45788 Summary: -fwhole-program causes ICE error: BB 3 can not throw but has an EH edge Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/45788] -fwhole-program causes ICE error: BB 3 can not throw but has an EH edge

2010-09-24 Thread astrange at ithinksw dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45788 --- Comment #1 from Alexander Strange 2010-09-25 06:51:33 UTC --- BTW, I think the error would be a lot clearer if it printed the pre-cloning/etc function name. -- Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email --- Y

[Bug rtl-optimization/45788] -fwhole-program causes ICE error: BB 3 can not throw but has an EH edge

2010-09-25 Thread astrange at ithinksw dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45788 --- Comment #4 from Alexander Strange 2010-09-25 19:50:29 UTC --- I (probably) definitely attached it, is the attachment form in the new bugs page not working?

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

2010-10-20 Thread astrange at ithinksw dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36503 --- Comment #8 from Alexander Strange 2010-10-21 04:39:36 UTC --- I built ffmpeg for x86-64 with --disable-asm with the attached patch and the regression tests failed. Reverting the patch fixes them. I saved the binaries but haven't investigated

[Bug rtl-optimization/46248] New: 4.6 regression: crash+infinite recursion in combine

2010-10-31 Thread astrange at ithinksw dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46248 Summary: 4.6 regression: crash+infinite recursion in combine Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization

[Bug inline-asm/46615] New: [4.6 regression] possibly-invalid x86-64 inline asm miscompilation

2010-11-22 Thread astrange at ithinksw dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46615 Summary: [4.6 regression] possibly-invalid x86-64 inline asm miscompilation Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/44063] [4.6 Regression]: build broken for libgcc cris-elf, ICE in cgraph_estimate_size_after_inlining, at ipa-inline

2010-05-10 Thread astrange at ithinksw dot com
--- Comment #2 from astrange at ithinksw dot com 2010-05-11 03:38 --- Created an attachment (id=20623) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20623&action=view) testcase This happens building ffmpeg on x86-64 now. Minimal-ish testcase attached. -- http://gcc.

[Bug target/44073] New: x86 constants could be unduplicated

2010-05-11 Thread astrange at ithinksw dot com
: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC host triplet: x86_64-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44073

[Bug target/44073] x86 constants could be unduplicated

2010-05-11 Thread astrange at ithinksw dot com
--- Comment #3 from astrange at ithinksw dot com 2010-05-11 10:36 --- It's propagated by vrp1, and then nothing removes it again. tree-uncprop doesn't change it - it looks like it doesn't have anything to handle this, actually. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44073

[Bug lto/44090] New: lto ice in verify_stmts

2010-05-11 Thread astrange at ithinksw dot com
Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC host triplet: x86_64-apple-darwin10.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44090

[Bug lto/44090] lto ice in verify_stmts

2010-05-11 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2010-05-12 05:27 --- Created an attachment (id=20638) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20638&action=view) test file 1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44090

[Bug lto/44090] lto ice in verify_stmts

2010-05-11 Thread astrange at ithinksw dot com
--- Comment #2 from astrange at ithinksw dot com 2010-05-12 05:27 --- Created an attachment (id=20639) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20639&action=view) test file 2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44090

[Bug rtl-optimization/44223] New: segmentation fault with -g -fsched-pressure

2010-05-20 Thread astrange at ithinksw dot com
org ReportedBy: astrange at ithinksw dot com GCC host triplet: x86_64-apple-darwin10.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44223

[Bug rtl-optimization/44223] segmentation fault with -g -fsched-pressure

2010-05-20 Thread astrange at ithinksw dot com
--- Comment #1 from astrange at ithinksw dot com 2010-05-21 02:02 --- Created an attachment (id=20715) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20715&action=view) file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44223

[Bug lto/44090] lto ice in verify_stmts

2010-05-24 Thread astrange at ithinksw dot com
--- Comment #3 from astrange at ithinksw dot com 2010-05-24 20:01 --- Fixed itself. Though lto still doesn't build ffmpeg, it's just a different bug now. -- astrange at ithinksw dot com changed: What|Removed

  1   2   >