[Bug target/69685] GCC cross compiler build failed

2017-01-08 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69685 Georg-Johann Lay changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/44501] Wrong register stored

2017-01-07 Thread gjl at gcc dot gnu.org
||gjl at gcc dot gnu.org Resolution|--- |INVALID --- Comment #6 from Georg-Johann Lay --- Closed as invalig because AVR32 is not a supported target.

[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2017-01-07 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 --- Comment #10 from Georg-Johann Lay --- *** Bug 52025 has been marked as a duplicate of this bug. ***

[Bug rtl-optimization/52025] caller-saves triggers a frame without need

2017-01-07 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52025 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/71676] [avr] casesi won't handle switch values larger than 16 bits

2017-01-07 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71676 Georg-Johann Lay changed: What|Removed |Added Target Milestone|--- |7.0

[Bug target/71678] [avr] ICE from switch / case on long long (casesi + DImode)

2017-01-07 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71678 Georg-Johann Lay changed: What|Removed |Added Target Milestone|--- |7.0

[Bug target/78946] optimization throws internal compiler error for uint64_t on AVR

2017-01-07 Thread gjl at gcc dot gnu.org
||gjl at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Georg-Johann Lay --- switch / case won't work with 64-bit values; it's beed fixed for v7. As the changes are intrusive, there are no plans to back-port them, and hence you'll

[Bug target/71678] [avr] ICE from switch / case on long long (casesi + DImode)

2017-01-07 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71678 Georg-Johann Lay changed: What|Removed |Added CC||tho...@maier-komor.de --- Comment #5

[Bug testsuite/52641] Test cases fail for 16-bit int targets

2016-12-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641 --- Comment #14 from Georg-Johann Lay --- Author: gjl Date: Thu Dec 22 15:02:43 2016 New Revision: 243889 URL: https://gcc.gnu.org/viewcvs?rev=243889=gcc=rev Log: gcc/testsuite/ PR testsuite/52641 * gcc.dg/fold-and-rshift-2.c

[Bug testsuite/52641] Test cases fail for 16-bit int targets

2016-12-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641 --- Comment #13 from Georg-Johann Lay --- Author: gjl Date: Thu Dec 22 12:42:35 2016 New Revision: 243885 URL: https://gcc.gnu.org/viewcvs?rev=243885=gcc=rev Log: gcc/testsuite/ PR testsuite/52641 * gcc.dg/pr35258.c (main) : Use

[Bug rtl-optimization/78883] [avr] ICE triggered by change to combine.c (r243578)

2016-12-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78883 --- Comment #2 from Georg-Johann Lay --- Created attachment 40389 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40389=edit .combine dump as requested. Genrated with $ avr-gcc pr26833.c -S -O1 -mmcu=avr4 -S -fdump-rtl-combine-details

[Bug testsuite/52641] Test cases fail for 16-bit int targets

2016-12-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641 --- Comment #12 from Georg-Johann Lay --- Author: gjl Date: Wed Dec 21 13:50:11 2016 New Revision: 243854 URL: https://gcc.gnu.org/viewcvs?rev=243854=gcc=rev Log: gcc/testsuite/ PR testsuite/52641 *

[Bug rtl-optimization/78883] New: [avr] ICE triggered by change to combine.c (r243578)

2016-12-21 Thread gjl at gcc dot gnu.org
Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- r243578 triggers several ICEs in avr-gcc test suite; amongst them: $ avr-gcc /gnu/gcc.gnu.org/trunk/gcc/testsuite/gcc.c-torture/compile/pr26833.c -S -O1 -mmcu

[Bug c++/69681] C/C++ FEs do not consider comparisons of distinct function pointers to be constant expressions

2016-12-18 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69681 Georg-Johann Lay changed: What|Removed |Added CC||gjl at gcc dot gnu.org --- Comment

[Bug ipa/78790] New: Disable IPA-VRP for noclone functions.

2016-12-13 Thread gjl at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Even with attributes noclone + noinline, gcc propagates function arguments into functions like with the following test case and gcc-7: __attribute__ ((noinline,noclone)) int add (int

[Bug middle-end/78707] [4.8/4.9/5/6 Regression: internal compiler error: in push_reload, at reload.c:1349

2016-12-07 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78707 Georg-Johann Lay changed: What|Removed |Added Keywords||ice-on-valid-code, ra

[Bug middle-end/78707] New: [4.8/4.9/5/6 Regression: internal compiler error: in push_reload, at reload.c:1349

2016-12-07 Thread gjl at gcc dot gnu.org
Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Created attachment 40274 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40274=edit sscanf_flt-f1.c. C t

[Bug target/70676] suboptimal code generation on AVR

2016-12-05 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70676 --- Comment #7 from Georg-Johann Lay --- Sorry, but guessing around has proben to be extremely unefficient and error prone, in particular if the information is available on the other end of the wire. If -mrelax leads to wrong code, then you

[Bug c++/77353] uint16_t instead uint8_t comparison

2016-12-05 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77353 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Component|other

[Bug other/67373] Can't compile gcc snapshot for avr target with mingw

2016-12-02 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67373 Georg-Johann Lay changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/67839] Bit addressable instructions generated for invalid memory address

2016-12-02 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67839 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/67839] Bit addressable instructions generated for invalid memory address

2016-12-02 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67839 Georg-Johann Lay changed: What|Removed |Added Target Milestone|--- |6.0 --- Comment #6 from Georg-Johann

[Bug target/70676] suboptimal code generation on AVR

2016-12-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70676 --- Comment #5 from Georg-Johann Lay --- Whould you please mention to what module you are referring? Spi.ii?

[Bug lto/78562] Wrong warning for built-in functions with -flto

2016-11-30 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78562 Georg-Johann Lay changed: What|Removed |Added Priority|P3 |P5 Status|NEW

[Bug lto/78562] Wrong warning for built-in functions with -flto

2016-11-30 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78562 --- Comment #7 from Georg-Johann Lay --- Author: gjl Date: Wed Nov 30 11:08:37 2016 New Revision: 243008 URL: https://gcc.gnu.org/viewcvs?rev=243008=gcc=rev Log: gcc/lto/ PR lto/78562 * lto-symtab.c (lto_symtab_merge_decls_2):

[Bug lto/78562] Wrong warning for built-in functions with -flto

2016-11-28 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78562 --- Comment #5 from Georg-Johann Lay --- Maybe it is an option to be less strict? In the test case, both function name and asm name (libname) are in the namespace of the implementation: both start with 2 underscores. The function name even

[Bug lto/78562] Wrong warning for built-in functions with -flto

2016-11-28 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78562 --- Comment #4 from Georg-Johann Lay --- (In reply to rguent...@suse.de from comment #3) > Yes, using aliases would be a good workaround. hmmm, for libgcc functions written in asm this is easy enough, like .global func1_alias .global func1

[Bug lto/78562] Wrong warning for built-in functions with -flto

2016-11-28 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78562 --- Comment #2 from Georg-Johann Lay --- Thanks for looking into it. IIUC it's a backend issue. config/avr/builtins.def sets library names for some built-ins, and some libnames are the same because the libgcc asm code is exactly the same, even

[Bug tree-optimization/60145] [AVR] Suboptimal code for byte order shuffling using shift and or

2016-11-28 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60145 Georg-Johann Lay changed: What|Removed |Added Component|other |tree-optimization --- Comment #4

[Bug lto/78562] Wrong warning for built-in functions with -flto

2016-11-28 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78562 Georg-Johann Lay changed: What|Removed |Added Keywords||diagnostic Target|

[Bug lto/78562] New: Wrong warning for built-in functions with -flto

2016-11-28 Thread gjl at gcc dot gnu.org
: lto Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Created attachment 40175 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40175=edit lto.c: C test case The attaches test case throws an incorrect warning when compi

[Bug other/60145] [AVR] Suboptimal code for byte order shuffling using shift and or

2016-11-28 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60145 Georg-Johann Lay changed: What|Removed |Added Status|RESOLVED|NEW Last reconfirmed|

[Bug tree-optimization/65964] [meta] Operand Shortening

2016-11-28 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65964 Bug 65964 depends on bug 60145, which changed state. Bug 60145 Summary: [AVR] Suboptimal code for byte order shuffling using shift and or https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60145 What|Removed |Added

[Bug other/60145] [AVR] Suboptimal code for byte order shuffling using shift and or

2016-11-28 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60145 --- Comment #2 from Georg-Johann Lay --- Created attachment 40173 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40173=edit 2 patterns for the 4-byte case The 2-byte case should be improved by r242909 but the 4-byte case just leads to

[Bug tree-optimization/65964] [meta] Operand Shortening

2016-11-28 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65964 Bug 65964 depends on bug 41076, which changed state. Bug 41076 Summary: [avr] pessimal code for logical OR of 8-bit fields https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41076 What|Removed |Added

[Bug target/41076] [avr] pessimal code for logical OR of 8-bit fields

2016-11-28 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41076 Georg-Johann Lay changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug target/41076] [avr] pessimal code for logical OR of 8-bit fields

2016-11-28 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41076 --- Comment #8 from Georg-Johann Lay --- Author: gjl Date: Mon Nov 28 08:40:11 2016 New Revision: 242907 URL: https://gcc.gnu.org/viewcvs?rev=242907=gcc=rev Log: PR 41076 * config/avr/avr.md (SPLIT34): New mode iterator.

[Bug target/60300] [avr] Suboptimal stack pointer manipulation for frame setup

2016-11-23 Thread gjl at gcc dot gnu.org
Priority|P3 |P5 Status|UNCONFIRMED |RESOLVED CC||gjl at gcc dot gnu.org Resolution|--- |FIXED Target Milestone|--- |7.0 Severity|normal

[Bug target/60300] [avr] Suboptimal stack pointer manipulation for frame setup

2016-11-23 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60300 --- Comment #6 from Georg-Johann Lay --- Author: gjl Date: Wed Nov 23 09:17:57 2016 New Revision: 242741 URL: https://gcc.gnu.org/viewcvs?rev=242741=gcc=rev Log: gcc/ PR target/60300 * config/avr/constraints.md (Csp): Widen

[Bug target/59174] [avr] Suboptimal multiplication when indexing an array

2016-11-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59174 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/78093] [avr] New variable attribute "absdata" and option "-mabsdata" to enable LDS / STS on Reduced Tiny

2016-11-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78093 --- Comment #4 from Georg-Johann Lay --- Author: gjl Date: Mon Nov 21 12:23:14 2016 New Revision: 242660 URL: https://gcc.gnu.org/viewcvs?rev=242660=gcc=rev Log: PR target/78093 * config/avr/avr.c (avr_decl_maybe_lds_p): New

[Bug target/78093] [avr] New variable attribute "absdata" and option "-mabsdata" to enable LDS / STS on Reduced Tiny

2016-11-14 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78093 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/78093] [avr] Introduce new variable attribute "absdata" to enable LDS / STS on Reduced Tiny

2016-11-14 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78093 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Mon Nov 14 10:25:34 2016 New Revision: 242379 URL: https://gcc.gnu.org/viewcvs?rev=242379=gcc=rev Log: gcc/ PR target/78093 * doc/invoke.texi (AVR Options) [-mabsdata]:

[Bug target/78275] [avr] at43usb320 in wrong multilib set.

2016-11-09 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78275 Georg-Johann Lay changed: What|Removed |Added Target||avr Priority|P3

[Bug target/78275] New: [avr] at43usb320 in wrong multilib set.

2016-11-09 Thread gjl at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- avr-mcus.def currenly lists at43usb320 as belonging to avr31. This is not correct because the device can only handle 64 KiB of (external) program memory but avr31 is for devices

[Bug target/71678] [avr] ICE from switch / case on long long (casesi + DImode)

2016-10-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71678 --- Comment #4 from Georg-Johann Lay --- Author: gjl Date: Wed Oct 26 09:46:44 2016 New Revision: 241547 URL: https://gcc.gnu.org/viewcvs?rev=241547=gcc=rev Log: gen-pass-instances.awk is sensitive to the order in which passes

[Bug target/71676] [avr] casesi won't handle switch values larger than 16 bits

2016-10-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71676 --- Comment #4 from Georg-Johann Lay --- Author: gjl Date: Wed Oct 26 09:46:44 2016 New Revision: 241547 URL: https://gcc.gnu.org/viewcvs?rev=241547=gcc=rev Log: gen-pass-instances.awk is sensitive to the order in which passes

[Bug target/71678] [avr] ICE from switch / case on long long (casesi + DImode)

2016-10-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71678 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/71676] [avr] casesi won't handle switch values larger than 16 bits

2016-10-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71676 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/71678] [avr] ICE from switch / case on long long (casesi + DImode)

2016-10-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71678 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Tue Oct 25 08:35:17 2016 New Revision: 241504 URL: https://gcc.gnu.org/viewcvs?rev=241504=gcc=rev Log: gcc/ New avt target pass to work around performance loss by PR fix.

[Bug target/71676] [avr] casesi won't handle switch values larger than 16 bits

2016-10-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71676 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Tue Oct 25 08:35:17 2016 New Revision: 241504 URL: https://gcc.gnu.org/viewcvs?rev=241504=gcc=rev Log: gcc/ New avt target pass to work around performance loss by PR fix.

[Bug target/71678] [avr] ICE from switch / case on long long (casesi + DImode)

2016-10-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71678 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Tue Oct 25 08:26:59 2016 New Revision: 241503 URL: https://gcc.gnu.org/viewcvs?rev=241503=gcc=rev Log: gcc/ PR target/71676 PR target/71678 * config/avr/avr.md

[Bug target/71676] [avr] casesi won't handle switch values larger than 16 bits

2016-10-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71676 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Tue Oct 25 08:26:59 2016 New Revision: 241503 URL: https://gcc.gnu.org/viewcvs?rev=241503=gcc=rev Log: gcc/ PR target/71676 PR target/71678 * config/avr/avr.md

[Bug target/78093] [avr] Introduce new variable attribute "absdata" to enable LDS / STS on Reduced Tiny

2016-10-24 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78093 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Mon Oct 24 11:02:51 2016 New Revision: 241468 URL: https://gcc.gnu.org/viewcvs?rev=241468=gcc=rev Log: gcc/ PR target/78093 * doc/extend.texi (AVR Variable Attributes)

[Bug target/78093] [avr] Introduce new variable attribute "absdata" to enable LDS / STS on Reduced Tiny

2016-10-24 Thread gjl at gcc dot gnu.org
|P4 Assignee|unassigned at gcc dot gnu.org |gjl at gcc dot gnu.org Target Milestone|--- |7.0

[Bug target/78093] New: [avr] Introduce new variable attribute "absdata" to enable LDS / STS on Reduced Tiny

2016-10-24 Thread gjl at gcc dot gnu.org
NCONFIRMED Severity: enhancement Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Currently, the compiler won't use LDS / STS instructions für AVR's reduces Tiny cores (-mmcu=avrtiny).

[Bug target/77326] [avr] Invalid optimization omits comparison

2016-09-21 Thread gjl at gcc dot gnu.org
|UNCONFIRMED |RESOLVED CC||gjl at gcc dot gnu.org Resolution|--- |FIXED Summary|[avr] Invalid optimization |[avr] Invalid optimization |using varargs and a weak|omits comparison

[Bug target/77326] [avr] Invalid optimization using varargs and a weak function

2016-09-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77326 --- Comment #4 from Georg-Johann Lay --- Author: gjl Date: Wed Sep 21 14:11:59 2016 New Revision: 240315 URL: https://gcc.gnu.org/viewcvs?rev=240315=gcc=rev Log: gcc/ Backport from 2016-09-21 trunk r240306. PR target/77326

[Bug target/77326] [avr] Invalid optimization using varargs and a weak function

2016-09-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77326 --- Comment #3 from Georg-Johann Lay --- Author: gjl Date: Wed Sep 21 09:31:38 2016 New Revision: 240308 URL: https://gcc.gnu.org/viewcvs?rev=240308=gcc=rev Log: Backport from 2016-09-21 trunk r240306. PR target/77326 *

[Bug target/77326] [avr] Invalid optimization using varargs and a weak function

2016-09-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77326 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Wed Sep 21 09:17:32 2016 New Revision: 240306 URL: https://gcc.gnu.org/viewcvs?rev=240306=gcc=rev Log: gcc/ PR target/77326 * config/avr/avr.c (avr_notice_update_cc)

[Bug other/77353] uint16_t instead uint8_t comparison

2016-08-29 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77353 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/77353] [AVR] uint16_t instead uint8_t comparison

2016-08-29 Thread gjl at gcc dot gnu.org
Target|AVR |avr CC||gjl at gcc dot gnu.org Known to fail||6.2.1 --- Comment #10 from Georg-Johann Lay --- Here is a valid test case (avr/io.h is not available here): #define PINA (*(unsigned char

[Bug target/71151] [avr] -fmerge-constants and -fdata-sections/-ffunction-sections results in string constants in .progmem.gcc_sw section

2016-08-29 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151 --- Comment #20 from Georg-Johann Lay --- (In reply to Senthil Kumar Selvaraj from comment #19) > Can reproduce this on trunk So it's not related to PR72767 then? (Fixed since 2016-08-01)

[Bug rtl-optimization/75964] New: insn combiner removes comparison after ABS

2016-08-13 Thread gjl at gcc dot gnu.org
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Target: avr == Testcase == typedef __UINT8_TYPE__ uint8_t; uint8_t abs8 (uint8_t x) { if (x & 0x80) x

[Bug rtl-optimization/71976] insn-combiner deletes a live 64-bit shift

2016-08-08 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71976 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/71151] [avr] -fmerge-constants and -fdata-sections/-ffunction-sections results in string constants in .progmem.gcc_sw section

2016-08-08 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151 --- Comment #17 from Georg-Johann Lay --- What about the performance issue re. crossing the jump table with a branch? An easy fix would be to emit ".subsection 1" before the jump table; you think we should do this?

[Bug rtl-optimization/71976] insn-combiner deletes a live 64-bit shift

2016-08-08 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71976 --- Comment #10 from Georg-Johann Lay --- Author: gjl Date: Mon Aug 8 10:13:54 2016 New Revision: 239239 URL: https://gcc.gnu.org/viewcvs?rev=239239=gcc=rev Log: Backport from 2016-07-29 trunk r238863. PR rtl-optimization/71976

[Bug rtl-optimization/71976] insn-combiner deletes a live 64-bit shift

2016-08-08 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71976 --- Comment #9 from Georg-Johann Lay --- Author: gjl Date: Mon Aug 8 10:06:15 2016 New Revision: 239238 URL: https://gcc.gnu.org/viewcvs?rev=239238=gcc=rev Log: Backport from 2016-07-29 trunk r238863. PR rtl-optimization/71976

[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2016-08-04 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 Georg-Johann Lay changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/55181] [5/6/7 Regression] Expensive shift loop where a bit-testing instruction could be used

2016-08-04 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55181 --- Comment #17 from Georg-Johann Lay --- For now and for avr, hacked around the issue by supplying a pattern for the extract...

[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2016-08-04 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 --- Comment #8 from Georg-Johann Lay --- Author: gjl Date: Thu Aug 4 07:52:38 2016 New Revision: 239117 URL: https://gcc.gnu.org/viewcvs?rev=239117=gcc=rev Log: PR 70677 * common/config/avr/avr-common.c

[Bug target/55181] [5/6/7 Regression] Expensive shift loop where a bit-testing instruction could be used

2016-08-04 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55181 --- Comment #16 from Georg-Johann Lay --- Author: gjl Date: Thu Aug 4 07:50:53 2016 New Revision: 239116 URL: https://gcc.gnu.org/viewcvs?rev=239116=gcc=rev Log: PR 55181 * config/avr/avr.md: New pattern to work around

[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2016-08-03 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 --- Comment #7 from Georg-Johann Lay --- Author: gjl Date: Wed Aug 3 15:46:11 2016 New Revision: 239080 URL: https://gcc.gnu.org/viewcvs?rev=239080=gcc=rev Log: PR 70677 * common/config/avr/avr-common.c

[Bug target/71948] [avr] Make progmem work on reduced Tiny cores by adding 0x4000 to symbols

2016-08-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71948 --- Comment #3 from Georg-Johann Lay --- Author: gjl Date: Mon Aug 1 17:12:32 2016 New Revision: 238961 URL: https://gcc.gnu.org/viewcvs?rev=238961=gcc=rev Log: PR target/71948 * config/avr/avr.c (AVR_SYMBOL_FLAG_TINY_PM): Use

[Bug target/72767] [avr] Some branches report too small insn length

2016-08-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72767 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Version|5.2.0

[Bug target/72767] [avr] Some branches report too small insn length

2016-08-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72767 --- Comment #3 from Georg-Johann Lay --- Author: gjl Date: Mon Aug 1 12:44:18 2016 New Revision: 238950 URL: https://gcc.gnu.org/viewcvs?rev=238950=gcc=rev Log: Backport from 2016-08-01 trunk r238948. PR target/72767 *

[Bug target/72767] [avr] Some branches report too small insn length

2016-08-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72767 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Mon Aug 1 12:40:41 2016 New Revision: 238949 URL: https://gcc.gnu.org/viewcvs?rev=238949=gcc=rev Log: Backport from 2016-08-01 trunk r238948. PR target/72767 *

[Bug target/72767] [avr] Some branches report too small insn length

2016-08-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72767 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Mon Aug 1 12:36:11 2016 New Revision: 238948 URL: https://gcc.gnu.org/viewcvs?rev=238948=gcc=rev Log: PR target/72767 * config/avr/avr.md (length) [branch]: Correct

[Bug target/72767] [avr] Some branches report too small insn length

2016-08-01 Thread gjl at gcc dot gnu.org
|P4 Assignee|unassigned at gcc dot gnu.org |gjl at gcc dot gnu.org

[Bug target/72767] New: [avr] Some branches report too small insn length

2016-08-01 Thread gjl at gcc dot gnu.org
: target Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Created attachment 39039 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39039=edit nops.c: C test case Some branch instructions report too small instruction len

[Bug target/71151] [avr] -fmerge-constants and -fdata-sections/-ffunction-sections results in string constants in .progmem.gcc_sw section

2016-08-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151 --- Comment #15 from Georg-Johann Lay --- Author: gjl Date: Mon Aug 1 09:15:24 2016 New Revision: 238935 URL: https://gcc.gnu.org/viewcvs?rev=238935=gcc=rev Log: gcc/ Backport from 2016-06-16 trunk r237536. 2016-06-16 Senthil

[Bug rtl-optimization/71976] insn-combiner deletes a live 64-bit shift

2016-07-29 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71976 --- Comment #8 from Georg-Johann Lay --- Author: gjl Date: Fri Jul 29 12:34:21 2016 New Revision: 238863 URL: https://gcc.gnu.org/viewcvs?rev=238863=gcc=rev Log: gcc/ PR rtl-optimization/71976 * combine.c (get_last_value):

[Bug rtl-optimization/71976] insn-combiner deletes a live 64-bit shift

2016-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71976 --- Comment #7 from Georg-Johann Lay --- ...hmmm this place might be correct. combine defines #define RTL_HOOKS_REG_NUM_SIGN_BIT_COPIES reg_num_sign_bit_copies_for_combine and this function comes up with reg_num_sign_bit_copies_for_combine

[Bug rtl-optimization/71976] insn-combiner deletes a live 64-bit shift

2016-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71976 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/71976] [avr] insn-combiner deletes a live 64-bit shift

2016-07-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71976 --- Comment #3 from Georg-Johann Lay --- Created attachment 38955 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38955=edit bug-combin.c.243r.combine

[Bug rtl-optimization/71976] [avr] insn-combiner deletes a live 64-bit shift

2016-07-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71976 --- Comment #2 from Georg-Johann Lay --- Bugzille does not allow me to attach the .combine dump (for reference). ...anyway the relevant part of the dump is: In .242r.ud_dce there is the following right shift insn: (insn 51 50 52 2 (set

[Bug rtl-optimization/71976] [avr] insn-combiner deletes a live 64-bit shift

2016-07-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71976 --- Comment #1 from Georg-Johann Lay --- Created attachment 38954 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38954=edit bug-combin.c.242r.ud_dce

[Bug rtl-optimization/71976] New: [avr] insn-combiner deletes a live 64-bit shift

2016-07-22 Thread gjl at gcc dot gnu.org
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Target: avr Created attachment 38953 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38953=edit bug-combin.c: C t

[Bug target/71948] [avr] Make progmem work on reduced Tiny cores by adding 0x4000 to symbols

2016-07-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71948 Georg-Johann Lay changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/71948] [avr] Make progmem work on reduced Tiny cores by adding 0x4000 to symbols

2016-07-20 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71948 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 20 14:12:16 2016 New Revision: 238525 URL: https://gcc.gnu.org/viewcvs?rev=238525=gcc=rev Log: gcc/ Implement attribute progmem on reduced Tiny cores by adding

[Bug target/71948] [avr] Make progmem work on reduced Tiny cores by adding 0x4000 to symbols

2016-07-20 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71948 Georg-Johann Lay changed: What|Removed |Added Target||avr Priority|P3

[Bug target/71948] New: [avr] Make progmem work on reduced Tiny cores by adding 0x4000 to symbols

2016-07-20 Thread gjl at gcc dot gnu.org
: enhancement Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- The reduced tiny cores feature reading from flash: The flash memory can be seen in the RAM address range at an offset

[Bug tree-optimization/50417] regression: memcpy with known alignment

2016-07-09 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50417 --- Comment #18 from Georg-Johann Lay --- (In reply to rguent...@suse.de from comment #12) > On Fri, 8 Jul 2016, olegendo at gcc dot gnu.org wrote: > > > void test (const int *a, int *b) > > { > > a[100] = 1; > > b[200] = 2; > > > >

[Bug target/71151] [avr] -fmerge-constants and -fdata-sections/-ffunction-sections results in string constants in .progmem.gcc_sw section

2016-07-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151 --- Comment #14 from Georg-Johann Lay --- Author: gjl Date: Fri Jul 1 12:09:53 2016 New Revision: 237910 URL: https://gcc.gnu.org/viewcvs?rev=237910=gcc=rev Log: gcc/testsuite/ PR target/71151 * gcc.target/avr/pr71151-common.h

[Bug other/71627] AVR error: unable to find a register to spill in class 'POINTER_X_REGS'

2016-06-29 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71627 --- Comment #3 from Georg-Johann Lay --- Also confirmed on current trunk.

[Bug target/58655] [avr] -mfract-convert-truncate not documented

2016-06-28 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58655 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug other/71627] AVR error: unable to find a register to spill in class 'POINTER_X_REGS'

2016-06-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71627 Georg-Johann Lay changed: What|Removed |Added Target|AVR |avr Status|UNCONFIRMED

[Bug c/71627] AVR error: unable to find a register to spill in class 'POINTER_X_REGS'

2016-06-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71627 Georg-Johann Lay changed: What|Removed |Added CC||gjl at gcc dot gnu.org --- Comment

[Bug target/71678] New: [avr] ICE from switch / case on long long (casesi + DImode)

2016-06-27 Thread gjl at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Target: avr Created attachment 38778 --> https://gcc.gnu.org/bugzilla/attachment.cgi

[Bug target/71676] New: [avr] casesi won't handle switch values larger than 16 bits

2016-06-27 Thread gjl at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Target: avr Created attachment 38776 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38776=e

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