[Bug c/42483] AVR fails all whopr/lto tests

2010-01-11 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #1 from hutchinsonandy at gcc dot gnu dot org 2010-01-11 23:21 --- Due to target defining linker name. Fixed 4.5 HEAD Author: hutchinsonandy Date: Mon Jan 11 23:12:14 2010 New Revision: 155819 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155819 Log: 2010-01-11

[Bug target/41885] AVR Rotate patterns do not correctly consider overlap.

2010-01-08 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2010-01-08 23:02 --- Subject: Bug 41885 Author: hutchinsonandy Date: Fri Jan 8 23:01:45 2010 New Revision: 155746 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155746 Log: 2010-01-08 Andy Hutchinson hutchinsona

[Bug middle-end/19154] miss-optimization of (x pow2C) avr conditionals returning bool equivalent values

2009-12-30 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #9 from hutchinsonandy at gcc dot gnu dot org 2009-12-30 16:14 --- Fixed on 4.5 - or at least significantly better enough to warrant closure. -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/29560] [avr] Poor optimization for byte shifts

2009-12-30 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2009-12-31 03:16 --- The same occurs in 4.5 I think the bug is invalid The expression 1 pin will be promoted. This produces a defined result if pin7 and 15 The expression can not then be lower to 8 bit shift - since a shift

[Bug testsuite/38036] [4.4/4.5 Regression][AVR] FAIL: gcc.c-torture/execute/pr37573.c execution

2009-12-24 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2009-12-24 14:46 --- Fixed already Rev 142978 (29th December 2008) -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/35013] Incomplete check in RTL for pm() annotation

2009-12-24 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2009-12-24 19:54 --- Subject: Bug 35013 Author: hutchinsonandy Date: Thu Dec 24 19:53:57 2009 New Revision: 155459 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155459 Log: 2009-12-24 Andy Hutchinson hutchinsona

[Bug target/35013] Incomplete check in RTL for pm() annotation

2009-12-24 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #3 from hutchinsonandy at gcc dot gnu dot org 2009-12-24 19:58 --- Fixed 4.5 -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27192] call through function pointer goes to wrong address

2009-12-24 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #7 from hutchinsonandy at gcc dot gnu dot org 2009-12-24 20:01 --- Fixed 4.5 -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42457] [4.5 Regression] AVR fails to build with other than C family languages

2009-12-24 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #5 from hutchinsonandy at gcc dot gnu dot org 2009-12-24 20:32 --- Subject: Bug 42457 Author: hutchinsonandy Date: Thu Dec 24 20:32:38 2009 New Revision: 155460 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155460 Log: 2009-12-24 Andy Hutchinson hutchinsona

[Bug target/42457] [4.5 Regression] AVR fails to build with other than C family languages

2009-12-24 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #6 from hutchinsonandy at gcc dot gnu dot org 2009-12-24 20:33 --- Fixed 4.5 -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/42483] New: AVR fails all whopr/lto tests

2009-12-23 Thread hutchinsonandy at gcc dot gnu dot org
: hutchinsonandy at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: avr-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42483

[Bug target/42457] [4.5 Regression] AVR fails to build with other than C family languages

2009-12-22 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #3 from hutchinsonandy at gcc dot gnu dot org 2009-12-22 21:18 --- Created an attachment (id=19375) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19375action=view) PATCH to add avr-c.c Here is patch that I believe moves out the C related stuff to avr-c

[Bug target/42457] [4.5 Regression] AVR fails to build with other than C family languages

2009-12-22 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2009-12-22 21:20 --- Testsuite fails all lto/whopr tests: Example: Executing on host: /media/verbatim/gcchead/obj-dir/gcc/xgcc -B/media/verbatim/gcchead/obj-dir/gcc/ /media/verbatim/gcchead/trunk/gcc/testsuite/gcc.c-torture

[Bug testsuite/36903] Generic vectorizarion test failures

2009-12-21 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #1 from hutchinsonandy at gcc dot gnu dot org 2009-12-22 00:01 --- Subject: Bug 36903 Author: hutchinsonandy Date: Tue Dec 22 00:00:50 2009 New Revision: 155382 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155382 Log: 2009-12-21 Andy Hutchinson hutchinsona

[Bug testsuite/36903] Generic vectorizarion test failures

2009-12-21 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2009-12-22 00:16 --- Fixed 4.5. AVR wont vectorize with word size of 1 byte! -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/42457] New: AVR fails to build unless LTO is disabled

2009-12-21 Thread hutchinsonandy at gcc dot gnu dot org
unless LTO is disabled Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC host

[Bug c/42457] AVR fails to build unless LTO is disabled

2009-12-21 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #1 from hutchinsonandy at gcc dot gnu dot org 2009-12-22 03:20 --- Created an attachment (id=19366) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19366action=view) Make log file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42457

[Bug rtl-optimization/23726] Missed optimizations for divmod

2009-12-13 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #9 from hutchinsonandy at gcc dot gnu dot org 2009-12-13 21:03 --- Subject: Bug 23726 Author: hutchinsonandy Date: Sun Dec 13 21:03:41 2009 New Revision: 155195 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155195 Log: PR target/23726 * config/avr/predicates.md

[Bug rtl-optimization/23726] Missed optimizations for divmod

2009-12-13 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #10 from hutchinsonandy at gcc dot gnu dot org 2009-12-13 21:05 --- Fixed 4.5 -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/42303] New: Shift left as wide as mode is expanded into RTL as shift

2009-12-05 Thread hutchinsonandy at gcc dot gnu dot org
gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: avr-unknown-none http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42303

[Bug target/42210] avr: optimizing assignment to a bit field

2009-11-29 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #1 from hutchinsonandy at gcc dot gnu dot org 2009-11-29 14:35 --- Same on 4.5 Head. The backend patterns match against MEM AND singlebit. Combine never considers this. Incoming RTL and Combine pass dump file extract: ;; Pred edge ENTRY [100.0%] (fallthru) (note 4 0 2

[Bug c/42204] New: update_eliminables should be called in reload after something changes

2009-11-27 Thread hutchinsonandy at gcc dot gnu dot org
Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: avr-unknown-none http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42204

[Bug target/41077] [avr] excessive prologue/epilogue for interrupt handler

2009-11-26 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #1 from hutchinsonandy at gcc dot gnu dot org 2009-11-26 17:12 --- R1 and R0 are used at assembler level outside of compiler scope. R1 is always expected to contain as a zero value - to avoid using a register to load this common value. R1 maybe used in assembler for other

[Bug target/21080] Excecution test failure for avr for pr17377 test case.

2009-11-26 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #6 from hutchinsonandy at gcc dot gnu dot org 2009-11-26 17:20 --- Fixed on 4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21078 -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/37081] [avr] FAIL: gcc.dg/pr36998.c

2009-11-26 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #3 from hutchinsonandy at gcc dot gnu dot org 2009-11-26 17:25 --- Author: hutchinsonandy Date: Mon Nov 23 21:38:32 2009 New Revision: 154467 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154467 Log: * gcc.dg/pr36998.c: Frame pointer required for avr target. * gcc.dg

[Bug testsuite/38202] [avr] FAIL: gcc.dg/torture/pr37868.c

2009-11-26 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #3 from hutchinsonandy at gcc dot gnu dot org 2009-11-26 17:29 --- Fixed 4.5 Author: hutchinsonandy Date: Mon Nov 23 22:21:21 2009 New Revision: 154474 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154474 Log: * gcc.dg/torture/pr37868.c: Use smaller bitfield

[Bug c/36470] sizeof UTF-32 is 2 on AVR

2009-11-23 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #5 from hutchinsonandy at gcc dot gnu dot org 2009-11-23 22:10 --- Subject: Bug 36470 Author: hutchinsonandy Date: Mon Nov 23 22:10:18 2009 New Revision: 154471 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154471 Log: PR testsuite/36470 * gcc.dg/utf-cvt.c: Skip int

[Bug c/42146] New: ICE in tree_low_cst

2009-11-22 Thread hutchinsonandy at gcc dot gnu dot org
Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: avr-unknown-none http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug c/42147] New: ICE: verify_stmts failed

2009-11-22 Thread hutchinsonandy at gcc dot gnu dot org
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: avr

[Bug c/42149] New: ICE:verify_gimple failed for avr target

2009-11-22 Thread hutchinsonandy at gcc dot gnu dot org
at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: avr-unknown-none http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42149

[Bug target/36055] Missed optimsation of QI register loads

2009-11-22 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #3 from hutchinsonandy at gcc dot gnu dot org 2009-11-22 18:57 --- Fixed on 4.5 Revision 152958 2009-10-17 Andy Hutchinson hutchinsona...@aim.com * config/avr.md (*movqi): Add zero as equally preferable constraint as general register. (*movhi): Ditto

[Bug middle-end/41440] SEG FAULT in CSE.C caused by bad RTL expansion

2009-11-22 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #11 from hutchinsonandy at gcc dot gnu dot org 2009-11-22 18:59 --- Fixed. -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/42114] c99-stdint test fails for ptrdiff test

2009-11-22 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #5 from hutchinsonandy at gcc dot gnu dot org 2009-11-22 19:02 --- Fixed 4.5 -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41738] optabs expands rotate using wrong mode

2009-11-22 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #3 from hutchinsonandy at gcc dot gnu dot org 2009-11-22 19:04 --- Fixed 4.5 Back port needed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41738

[Bug c/36470] sizeof UTF-32 is 2 on AVR

2009-11-21 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2009-11-21 15:06 --- Test and now passes for avr and m32 targets. gcc.dg/utf32-1.c gcc.dg/utf32-2.c gcc.dg/utf32-3.c I will remove XFAIL in cleanup patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36470

[Bug c/42114] c99-stdint test fails for ptrdiff test

2009-11-20 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2009-11-21 01:35 --- Subject: Bug 42114 Author: hutchinsonandy Date: Sat Nov 21 01:34:51 2009 New Revision: 154392 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154392 Log: PR Testsuite/42114 * gcc-dg/c99-stdint-1.c

[Bug c/42114] New: c99-stdint test fails for ptrdiff test

2009-11-19 Thread hutchinsonandy at gcc dot gnu dot org
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: avr

[Bug c/42114] c99-stdint test fails for ptrdiff test

2009-11-19 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2009-11-20 02:07 --- I found c99 limit now which explains it. I was tempted to make PTRDIFF_TYPE signed 32 bits to solve c99 compliance - however that completely useless as we cannot declare array exceeding 32767 bytes

[Bug target/21078] Testsuite reports excecution failure for gcc.c-torture/execute/20010122.c for some optimization levels

2009-11-14 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #3 from hutchinsonandy at gcc dot gnu dot org 2009-11-15 04:10 --- Subject: Bug 21078 Author: hutchinsonandy Date: Sun Nov 15 04:10:20 2009 New Revision: 154188 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154188 Log: PR target/21078, 21080 * config/avr/avr.c

[Bug middle-end/41440] SEG FAULT in CSE.C caused by bad RTL expansion

2009-11-11 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #10 from hutchinsonandy at gcc dot gnu dot org 2009-11-12 02:36 --- Subject: Bug 41440 Author: hutchinsonandy Date: Thu Nov 12 02:35:49 2009 New Revision: 154112 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154112 Log: PR middle-end/41440 * cfgexpand.c

[Bug target/41894] wrong code with -fno-split-wide-types

2009-11-01 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2009-11-01 17:24 --- The problem is still present on 4.3.5 head I cannot reproduce on 4.5 It looks like reload issue with SUBREG. Instruction 18 gets reloaded. The output reload is HImode. I will post dump files but here

[Bug target/41894] wrong code with -fno-split-wide-types

2009-11-01 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #5 from hutchinsonandy at gcc dot gnu dot org 2009-11-01 17:27 --- Created an attachment (id=18945) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18945action=view) dump file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41894

[Bug target/41894] wrong code with -fno-split-wide-types

2009-11-01 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #6 from hutchinsonandy at gcc dot gnu dot org 2009-11-01 17:27 --- Created an attachment (id=18946) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18946action=view) dump file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41894

[Bug target/41894] wrong code with -fno-split-wide-types

2009-11-01 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #8 from hutchinsonandy at gcc dot gnu dot org 2009-11-02 00:54 --- The problem seems related to use of R28+r29 - which is also frame pointer. avr_hard_regno_mode_ok allows R28 in HIMODE but not any other mode. (This hack was made to avoid reload problem where r29 was used

[Bug target/21080] Excecution test failure for avr for pr17377 test case.

2009-10-31 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2009-10-31 15:27 --- *** Bug 21078 has been marked as a duplicate of this bug. *** -- Bug 21080 depends on bug 21078, which changed state. Bug 21078 Summary: Testsuite reports excecution failure for gcc.c-torture/execute

[Bug target/21078] Testsuite reports excecution failure for gcc.c-torture/execute/20010122.c for some optimization levels

2009-10-31 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2009-10-31 15:27 --- *** This bug has been marked as a duplicate of 21080 *** -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/21080] Excecution test failure for avr for pr17377 test case.

2009-10-31 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #5 from hutchinsonandy at gcc dot gnu dot org 2009-10-31 17:02 --- Anatoly, can we implement this patch to correct __builtin_return_address and thus remove these old bug reports and associated testsuite failures? It also provides a means to document stack usage which would

[Bug target/41894] wrong code with -fno-split-wide-types

2009-10-31 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #1 from hutchinsonandy at gcc dot gnu dot org 2009-10-31 23:02 --- Please post entire assembler code. -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/41885] New: AVR Rotate patterns do not correctly consider overlap.

2009-10-30 Thread hutchinsonandy at gcc dot gnu dot org
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC host triplet: i486-linux-gnu GCC target triplet: avr-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41885

[Bug target/41885] AVR Rotate patterns do not correctly consider overlap.

2009-10-30 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #1 from hutchinsonandy at gcc dot gnu dot org 2009-10-31 00:38 --- Subject: Bug 41885 Author: hutchinsonandy Date: Sat Oct 31 00:38:10 2009 New Revision: 153773 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153773 Log: PR target/41885 * gcc.target/avr/torture

[Bug middle-end/19154] miss-optimization of (x pow2C) avr conditionals returning bool equivalent values

2009-10-24 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #7 from hutchinsonandy at gcc dot gnu dot org 2009-10-24 15:36 --- Subject: Bug 19154 Author: hutchinsonandy Date: Sat Oct 24 15:36:40 2009 New Revision: 153530 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153530 Log: PR middle-end/19154 * avr.md (QIDI): Add new

[Bug middle-end/19154] miss-optimization of (x pow2C) avr conditionals returning bool equivalent values

2009-10-24 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #8 from hutchinsonandy at gcc dot gnu dot org 2009-10-24 15:39 --- Subject: Bug 19154 Author: hutchinsonandy Date: Sat Oct 24 15:39:23 2009 New Revision: 153531 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153531 Log: PR middle-end/19154 * avr.md (QIDI

[Bug middle-end/41738] New: optabs expands rotate using wrong mode

2009-10-17 Thread hutchinsonandy at gcc dot gnu dot org
: hutchinsonandy at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: avr-unknown-none http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41738

[Bug middle-end/41738] optabs expands rotate using wrong mode

2009-10-17 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2009-10-17 22:42 --- Subject: Bug 41738 Author: hutchinsonandy Date: Sat Oct 17 22:42:17 2009 New Revision: 152961 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=152961 Log: 2009-10-17 Andy Hutchinson hutchinsona

[Bug middle-end/41738] optabs expands rotate using wrong mode

2009-10-17 Thread hutchinsonandy at gcc dot gnu dot org
-- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41738

[Bug middle-end/41440] SEG FAULT in CSE.C caused by bad RTL expansion

2009-10-01 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #9 from hutchinsonandy at gcc dot gnu dot org 2009-10-02 00:30 --- Checked earlier version. They all insert on edge before RTL is expanded. Making this 4.5 regression. -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed

[Bug c/41440] SEG FAULT in CSE.C caused by bad RTL expansion

2009-09-30 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #8 from hutchinsonandy at gcc dot gnu dot org 2009-10-01 01:49 --- Created an attachment (id=18681) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18681action=view) Fix After lengthy and productive correspondence with Michael Matz, we have arrived at a conclusion

[Bug c/41440] SEG FAULT in CSE.C caused by bad RTL expansion

2009-09-27 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #6 from hutchinsonandy at gcc dot gnu dot org 2009-09-27 17:30 --- Created an attachment (id=18663) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18663action=view) Patch to cfgrtl.c commit_one_edge_insertion() The problem is in cfgrtl.c function

[Bug debug/41474] [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279

2009-09-27 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2009-09-27 19:15 --- Same for AVR target. Numerous example (though not same testcase) /home/andy/gccsvn/gcc/testsuite/gcc.c-torture/compile/pr38123.c:13:1: internal compiler error: in mem_loc_descriptor, at dwarf2out.c:11292

[Bug c/41440] SEG FAULT in CSE.C caused by bad RTL expansion

2009-09-23 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2009-09-24 02:15 --- Created an attachment (id=18641) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18641action=view) cleanup_cfg dump -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41440

[Bug c/41440] SEG FAULT in CSE.C caused by bad RTL expansion

2009-09-23 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #3 from hutchinsonandy at gcc dot gnu dot org 2009-09-24 02:15 --- Created an attachment (id=18642) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18642action=view) ssa dump -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41440

[Bug c/41440] SEG FAULT in CSE.C caused by bad RTL expansion

2009-09-23 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2009-09-24 02:21 --- Problem is located in ssa pass. It seems to name initialization of loop index to something other than the loop index increment and tested in the last for loop. This deadinitialization is deleted in latter

[Bug c/41440] SEG FAULT in CSE.C caused by bad RTL expansion

2009-09-23 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #5 from hutchinsonandy at gcc dot gnu dot org 2009-09-24 03:30 --- Forget previous post, I misunderstood PHI node. However, I was close The PHI in block 5 has incoming ZERO constant. With detailed expansion dump file , it can be seen that this constant value copy

[Bug c/41440] New: SEG FAULT in CSE.C caused by bad RTL expansion

2009-09-22 Thread hutchinsonandy at gcc dot gnu dot org
Status: UNCONFIRMED Severity: major Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: avr-unknown-none http://gcc.gnu.org

[Bug c/41440] SEG FAULT in CSE.C caused by bad RTL expansion

2009-09-22 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #1 from hutchinsonandy at gcc dot gnu dot org 2009-09-23 02:49 --- Created an attachment (id=18632) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18632action=view) Expanded RTL Expanded RTL dump -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41440

[Bug target/36609] AVR wrong code using incorrect RTL for test reversal pattern

2008-09-08 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2008-09-08 22:26 --- Subject: Bug 36609 Author: hutchinsonandy Date: Mon Sep 8 22:25:42 2008 New Revision: 140124 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140124 Log: PR target/36609 * config/avr/avr.c (avr_reorg

[Bug target/36609] AVR wrong code using incorrect RTL for test reversal pattern

2008-09-08 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #3 from hutchinsonandy at gcc dot gnu dot org 2008-09-08 22:45 --- 4.4 fixed. -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/36609] AVR wrong code using incorrect RTL for test reversal pattern

2008-07-23 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #1 from hutchinsonandy at gcc dot gnu dot org 2008-07-23 10:43 --- Created an attachment (id=15945) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15945action=view) Patch to target files http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00391.html -- http://gcc.gnu.org

[Bug testsuite/36903] New: Generic vectorizarion test failures

2008-07-22 Thread hutchinsonandy at gcc dot gnu dot org
Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC target triplet: avr-unknown-none http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36903

[Bug middle-end/36884] ifcvt poor optimization

2008-07-21 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2008-07-22 02:37 --- 4.2.2 has same issue. Can someone benchmark -fno-if-conversion for AVR? Transforms are made independent of target. BRANCH_COST is already 0 for avr. Here is a related example. This time result is a power

[Bug tree-optimization/36792] [4.4 Regression] Revision 137631 causes many failures

2008-07-20 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #6 from hutchinsonandy at gcc dot gnu dot org 2008-07-20 13:57 --- Similarly Platform: avr-unknown-none 4.4.0 20080718 (experimental) [trunk revision 137967] FAIL: gcc.dg/tree-ssa/ssa-fre-13.c scan-tree-dump fre Inserted .* a FAIL: gcc.dg/tree-ssa/ssa-fre-13.c scan-tree

[Bug middle-end/36884] New: ifcvt poor optimization

2008-07-20 Thread hutchinsonandy at gcc dot gnu dot org
Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC target triplet: avr-unknown-none http://gcc.gnu.org

[Bug testsuite/36285] gcc.dg/compat/struct-by-value-xxx improper test for AVR target

2008-07-02 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2008-07-02 22:32 --- Subject: Bug 36285 Author: hutchinsonandy Date: Wed Jul 2 22:31:11 2008 New Revision: 137396 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137396 Log: PR testsuite/36285 * gcc.dg/compat/struct

[Bug middle-end/36598] Failed optimisation of return of struct argment in memcpy-1.c

2008-06-30 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #5 from hutchinsonandy at gcc dot gnu dot org 2008-06-30 22:39 --- Subject: Bug 36598 Author: hutchinsonandy Date: Mon Jun 30 22:38:34 2008 New Revision: 137298 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137298 Log: PR target/36598 * gcc.dg/memcpy-1.c: Mark test

[Bug target/36609] New: AVR wrong code using incorrect RTL for test reversal pattern

2008-06-23 Thread hutchinsonandy at gcc dot gnu dot org
ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC build triplet: i686-pc-cygwin GCC host triplet: i686-pc-cygwin GCC target triplet: avr-unknown-none http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36609

[Bug c/36598] New: Failed optimisation of return of struct argment in memcpy-1.c

2008-06-22 Thread hutchinsonandy at gcc dot gnu dot org
org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: avr-unknown-none http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36598

[Bug c/36598] Failed optimisation of return of struct argment in memcpy-1.c

2008-06-22 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2008-06-22 14:33 --- Thanks for information --param sra-max-structure-size=32 does indeed remove test failure and produces optimal code. But changing the testcase does not remove the optimization problem - unless sra-max

[Bug c/36598] Failed optimisation of return of struct argment in memcpy-1.c

2008-06-22 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2008-06-22 16:11 --- Quite possibly due to cost metrics. They are far from ideal. Will mark test XFAIL until we can investigate and fix. -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed

[Bug c++/36460] No space between 's not always handled in C++0x

2008-06-18 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2008-06-18 21:49 --- Subject: Bug 36460 Author: hutchinsonandy Date: Wed Jun 18 21:48:50 2008 New Revision: 136919 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136919 Log: PR c/36460 * gcc.dg/utf32-1.c: Mark xfail

[Bug testsuite/36284] gcc.dg-struct-layout fails AVR target - multiple reasons

2008-06-18 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2008-06-18 21:54 --- Subject: Bug 36284 Author: hutchinsonandy Date: Wed Jun 18 21:53:20 2008 New Revision: 136920 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136920 Log: PR testsuite/36284 * gcc.dg/compat/struct

[Bug c/36571] New: Default untyped return for AVR is byte register.

2008-06-18 Thread hutchinsonandy at gcc dot gnu dot org
Status: UNCONFIRMED Severity: minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet

[Bug middle-end/36571] Default untyped return for AVR is byte register.

2008-06-18 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #1 from hutchinsonandy at gcc dot gnu dot org 2008-06-18 23:00 --- Subject: Bug 36571 Author: hutchinsonandy Date: Wed Jun 18 22:59:41 2008 New Revision: 136926 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136926 Log: PR c/36571 * gcc.dg/builtin-return-1.c: Mark

[Bug testsuite/36284] gcc.dg-struct-layout fails AVR target - multiple reasons

2008-06-18 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #3 from hutchinsonandy at gcc dot gnu dot org 2008-06-19 02:16 --- Testcase fixed for 4.4 -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/36561] New: store using long array index not hoisted out of loop

2008-06-17 Thread hutchinsonandy at gcc dot gnu dot org
: 4.4.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC target triplet: avr-unkown-none http://gcc.gnu.org/bugzilla

[Bug target/36336] ICE push_reload - psuedo reg_equiv_constant

2008-06-15 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #6 from hutchinsonandy at gcc dot gnu dot org 2008-06-15 18:25 --- Subject: Bug 36336 Author: hutchinsonandy Date: Sun Jun 15 18:24:27 2008 New Revision: 136818 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136818 Log: PR target/36336 * config/avr/avr.h

[Bug target/36336] ICE push_reload - psuedo reg_equiv_constant

2008-06-15 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #7 from hutchinsonandy at gcc dot gnu dot org 2008-06-15 18:35 --- Subject: Bug 36336 Author: hutchinsonandy Date: Sun Jun 15 18:34:45 2008 New Revision: 136819 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136819 Log: PR target/36336 * config/avr/avr.h

[Bug target/36336] ICE push_reload - psuedo reg_equiv_constant

2008-06-15 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #8 from hutchinsonandy at gcc dot gnu dot org 2008-06-15 18:36 --- Fixed 4.4 and 4.3 -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/36494] Char arrays gets corrupted in avr programs.

2008-06-10 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #1 from hutchinsonandy at gcc dot gnu dot org 2008-06-11 02:35 --- Please post command line used to compile and assembler produced. I cannot reproduce this on 4.4 or 4.2.2. At high optimisation (-Os) it compiles to load PORTC with 3 directly. (as one would expect): 13

[Bug middle-end/36447] [4.4 Regression] simplify_subreg ICE with right shift more than length type AVR

2008-06-09 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2008-06-09 22:39 --- Subject: Bug 36447 Author: hutchinsonandy Date: Mon Jun 9 22:38:34 2008 New Revision: 136602 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136602 Log: PR middle-end/36447 * simplify-rtx.c

[Bug testsuite/36285] gcc.dg/compat/struct-by-value-xxx improper test for AVR target

2008-06-09 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2008-06-09 22:49 --- Subject: Bug 36285 Author: hutchinsonandy Date: Mon Jun 9 22:48:37 2008 New Revision: 136604 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136604 Log: PR testsuite/36285 * gcc.dg/compat/struct

[Bug c/36470] sizeof UTF-32 is 2 on AVR

2008-06-09 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2008-06-10 03:21 --- Fixing the testcase is easy, That is how i found problem. Two wrongs make a right! It is not a priority but it seems like the suggestions is right way to fix. I'll mark as XFAIL sometime soon. -- http

[Bug target/36467] [avr] Missed optimization with pointer arithmetic and mul*

2008-06-08 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #4 from hutchinsonandy at gcc dot gnu dot org 2008-06-08 18:20 --- It makes sense in one respect We don't have fast shift by 4 bits and code defaults to loop for Os. Seems we should be selective as MUL is indeed shorter. Though I think gcc may be confused by our poor cost

[Bug c/36470] New: sizeof UTF-32 is 2 on AVR

2008-06-08 Thread hutchinsonandy at gcc dot gnu dot org
-32 is 2 on AVR Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hutchinsonandy at gcc dot gnu dot org GCC host triplet

[Bug target/27386] AVR: wrong code generated when passing three uint64_t arguments to function

2008-06-07 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #17 from hutchinsonandy at gcc dot gnu dot org 2008-06-07 15:49 --- Subject: Bug 27386 Author: hutchinsonandy Date: Sat Jun 7 15:48:25 2008 New Revision: 136531 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136531 Log: Backports from 4.4 PR target/27386 * config

[Bug target/34932] [avr] ICE in reload

2008-06-07 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #7 from hutchinsonandy at gcc dot gnu dot org 2008-06-07 15:49 --- Subject: Bug 34932 Author: hutchinsonandy Date: Sat Jun 7 15:48:25 2008 New Revision: 136531 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136531 Log: Backports from 4.4 PR target/27386 * config/avr

[Bug target/30243] [4.1/4.2/4.3/4.4 Regression][avr] signbit() causes an internal compiler error

2008-06-07 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #12 from hutchinsonandy at gcc dot gnu dot org 2008-06-07 15:49 --- Subject: Bug 30243 Author: hutchinsonandy Date: Sat Jun 7 15:48:25 2008 New Revision: 136531 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136531 Log: Backports from 4.4 PR target/27386 * config

[Bug target/30243] [4.1/4.2/4.3/4.4 Regression][avr] signbit() causes an internal compiler error

2008-06-04 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #10 from hutchinsonandy at gcc dot gnu dot org 2008-06-04 22:00 --- Subject: Bug 30243 Author: hutchinsonandy Date: Wed Jun 4 21:59:54 2008 New Revision: 136376 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136376 Log: PR target/30243 * builtins.c

[Bug target/27386] AVR: wrong code generated when passing three uint64_t arguments to function

2008-06-04 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #15 from hutchinsonandy at gcc dot gnu dot org 2008-06-04 22:03 --- Subject: Bug 27386 Author: hutchinsonandy Date: Wed Jun 4 22:02:57 2008 New Revision: 136377 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136377 Log: PR target/27386 * config/avr/avr.h

[Bug target/30243] [4.1/4.2/4.3/4.4 Regression][avr] signbit() causes an internal compiler error

2008-06-04 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #11 from hutchinsonandy at gcc dot gnu dot org 2008-06-04 22:05 --- Fixed 4.4 Back port to 4.3.2 when its open. -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27386] AVR: wrong code generated when passing three uint64_t arguments to function

2008-06-04 Thread hutchinsonandy at gcc dot gnu dot org
--- Comment #16 from hutchinsonandy at gcc dot gnu dot org 2008-06-04 22:06 --- Fixed 4.4 -- hutchinsonandy at gcc dot gnu dot org changed: What|Removed |Added

  1   2   >