[Bug target/81268] [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues

2017-08-18 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81268 --- Comment #4 from Georg-Johann Lay --- (In reply to Eric Gallager from comment #3) > Redoing https://gcc.gnu.org/ml/gcc-bugs/2017-08/msg01469.html I guess due to some server crash / glitch? > New Revision: 251085 > > URL: https://gcc.gnu.org

[Bug target/81754] Building of cross compiler avr-elf is broken

2017-08-18 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81754 Georg-Johann Lay changed: What|Removed |Added Keywords||build Priority|P3

[Bug c++/81533] g++ pops up a constructor for objects that could be initialized at load-time

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

[Bug target/81910] New: [avr] ICE with "address" attribute on type

2017-08-21 Thread gjl at gcc dot gnu.org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- struct { char a; } __attribute((address(1))); ICEs the compiler: cc1: warning: 'address' attribute only applies to variables x.c:1:8: internal compiler

[Bug target/81910] [avr] ICE with "address" attribute on type

2017-08-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81910 Georg-Johann Lay changed: What|Removed |Added Keywords||ice-on-invalid-code Targe

[Bug target/79883] avr i18n: untranslated "interrupt" or "signal"

2017-08-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79883 --- Comment #12 from Georg-Johann Lay --- Author: gjl Date: Mon Aug 21 12:39:59 2017 New Revision: 251223 URL: https://gcc.gnu.org/viewcvs?rev=251223&root=gcc&view=rev Log: PR target/79883 * config/avr/avr.c (avr_set_current_func

[Bug target/79883] avr i18n: untranslated "interrupt" or "signal"

2017-08-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79883 --- Comment #13 from Georg-Johann Lay --- Author: gjl Date: Mon Aug 21 12:42:47 2017 New Revision: 251224 URL: https://gcc.gnu.org/viewcvs?rev=251224&root=gcc&view=rev Log: PR target/79883 * config/avr/avr.c (avr_set_current_func

[Bug target/79883] avr i18n: untranslated "interrupt" or "signal"

2017-08-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79883 --- Comment #14 from Georg-Johann Lay --- Author: gjl Date: Mon Aug 21 12:44:23 2017 New Revision: 251225 URL: https://gcc.gnu.org/viewcvs?rev=251225&root=gcc&view=rev Log: PR target/79883 * config/avr/avr.c (avr_set_current_func

[Bug target/79883] avr i18n: untranslated "interrupt" or "signal"

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

[Bug target/81910] [avr] ICE with "address" attribute on type

2017-08-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81910 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Tue Aug 22 07:52:42 2017 New Revision: 251256 URL: https://gcc.gnu.org/viewcvs?rev=251256&root=gcc&view=rev Log: gcc/ PR target/81910 * config/avr/avr.c (avr_handle_addr_

[Bug target/81910] [avr] ICE with "address" attribute on type

2017-08-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81910 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Tue Aug 22 07:55:34 2017 New Revision: 251257 URL: https://gcc.gnu.org/viewcvs?rev=251257&root=gcc&view=rev Log: gcc/ Backport from 2017-08-22 trunk r251256. PR target/81

[Bug target/81910] [avr] ICE with "address" attribute on type

2017-08-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81910 --- Comment #3 from Georg-Johann Lay --- Author: gjl Date: Tue Aug 22 07:57:40 2017 New Revision: 251258 URL: https://gcc.gnu.org/viewcvs?rev=251258&root=gcc&view=rev Log: Backport from 2017-08-22 trunk r251256. PR target/81910

[Bug target/81910] [avr] ICE with "address" attribute on type

2017-08-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81910 --- Comment #4 from Georg-Johann Lay --- Author: gjl Date: Tue Aug 22 08:40:15 2017 New Revision: 251261 URL: https://gcc.gnu.org/viewcvs?rev=251261&root=gcc&view=rev Log: gcc/ Backport from 2017-08-22 trunk r251256. PR target/81

[Bug target/81407] [avr] Diagnose if a variable in progmem needs constructing.

2017-08-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81407 --- Comment #6 from Georg-Johann Lay --- Author: gjl Date: Tue Aug 22 09:29:30 2017 New Revision: 251267 URL: https://gcc.gnu.org/viewcvs?rev=251267&root=gcc&view=rev Log: gcc/ Backport from 2017-04-19 trunk r246997. PR target/80

[Bug target/80462] [avr] Incorrect "warning: uninitialized variable 'xxx' put into program memory area" for identical strings

2017-08-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80462 --- Comment #4 from Georg-Johann Lay --- Author: gjl Date: Tue Aug 22 09:29:30 2017 New Revision: 251267 URL: https://gcc.gnu.org/viewcvs?rev=251267&root=gcc&view=rev Log: gcc/ Backport from 2017-04-19 trunk r246997. PR target/80

[Bug target/67353] [avr] Option-ize Warning "appears to be a misspelled signal / interrupt handler"

2017-08-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67353 --- Comment #6 from Georg-Johann Lay --- Author: gjl Date: Tue Aug 22 09:48:48 2017 New Revision: 251269 URL: https://gcc.gnu.org/viewcvs?rev=251269&root=gcc&view=rev Log: gcc/ Backport from 2016-06-15 trunk r237486. Backport fro

[Bug target/79883] avr i18n: untranslated "interrupt" or "signal"

2017-08-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79883 --- Comment #16 from Georg-Johann Lay --- Author: gjl Date: Tue Aug 22 09:48:48 2017 New Revision: 251269 URL: https://gcc.gnu.org/viewcvs?rev=251269&root=gcc&view=rev Log: gcc/ Backport from 2016-06-15 trunk r237486. Backport fr

[Bug target/81305] [avr] avrtiny uses LDS for SREG in ISR routines which is out of range of LDS.

2017-08-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81305 --- Comment #7 from Georg-Johann Lay --- Author: gjl Date: Tue Aug 22 10:01:38 2017 New Revision: 251270 URL: https://gcc.gnu.org/viewcvs?rev=251270&root=gcc&view=rev Log: gcc/ Backport from 2017-07-05 trunk r249995. PR target/81

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

2017-08-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=75964 --- Comment #11 from Georg-Johann Lay --- Author: gjl Date: Tue Aug 22 10:07:51 2017 New Revision: 251271 URL: https://gcc.gnu.org/viewcvs?rev=251271&root=gcc&view=rev Log: gcc/ Backport from 2017-05-06 trunk r247719. PR rtl-opti

[Bug lto/81487] [mingw32] ld.exe: error: asprintf failed

2017-08-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487 --- Comment #7 from Georg-Johann Lay --- Author: gjl Date: Tue Aug 22 10:32:36 2017 New Revision: 251272 URL: https://gcc.gnu.org/viewcvs?rev=251272&root=gcc&view=rev Log: lto-plugin/ Backport from 2017-07-26 gcc-7-branch r250562.

[Bug c++/43745] [avr] g++ puts VTABLES in SRAM

2017-09-02 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43745 --- Comment #13 from Georg-Johann Lay --- (In reply to Matthijs Kooijman from comment #12) > Apologies if this is an obvious question, but I'm not familiar with gcc/g++ > internals. Georg-Johann, you say this requires address space support in c++

[Bug target/81268] [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues

2017-09-14 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81268 --- Comment #7 from Georg-Johann Lay --- (In reply to Aldy Hernandez from comment #6) > Author: aldyh > Date: Wed Sep 13 16:56:35 2017 > New Revision: 252421 > > URL: https://gcc.gnu.org/viewcvs?rev=252421&root=gcc&view=rev > Log: > gcc/ >

[Bug c++/79435] [7 Regression] ICE on invalid C++ code (with member access into an incomplete type) on x86_64-linux-gnu: Segmentation fault

2017-04-18 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79435 --- Comment #5 from Georg-Johann Lay --- Author: gjl Date: Tue Apr 18 13:15:47 2017 New Revision: 246966 URL: https://gcc.gnu.org/viewcvs?rev=246966&root=gcc&view=rev Log: gcc/ PR target/79435 * config/avr/avr.c (intl.h): Include

[Bug c++/79435] [7 Regression] ICE on invalid C++ code (with member access into an incomplete type) on x86_64-linux-gnu: Segmentation fault

2017-04-18 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79435 --- Comment #6 from Georg-Johann Lay --- Author: gjl Date: Tue Apr 18 13:23:01 2017 New Revision: 246967 URL: https://gcc.gnu.org/viewcvs?rev=246967&root=gcc&view=rev Log: gcc/ Backport from 2017-04-18 trunk r246966. PR target/79

[Bug target/79453] Translator unfriendly string in avr_pgm_check_var_decl

2017-04-18 Thread gjl at gcc dot gnu.org
|P5 Status|UNCONFIRMED |RESOLVED Keywords||diagnostic Component|translation |target CC||gjl at gcc dot gnu.org Resolution

[Bug target/80462] New: [avr] Incorrect "warning: uninitialized variable 'xxx' put into program memory area" for identical strings

2017-04-19 Thread gjl at gcc dot gnu.org
n Status: UNCONFIRMED Severity: minor Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- const __flash char string1[] = "same string"; const __flash

[Bug target/80462] [avr] Incorrect "warning: uninitialized variable 'xxx' put into program memory area" for identical strings

2017-04-19 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80462 Georg-Johann Lay changed: What|Removed |Added Keywords||diagnostic Target|

[Bug target/80462] [avr] Incorrect "warning: uninitialized variable 'xxx' put into program memory area" for identical strings

2017-04-19 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80462 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Wed Apr 19 12:20:57 2017 New Revision: 246997 URL: https://gcc.gnu.org/viewcvs?rev=246997&root=gcc&view=rev Log: PR target/80462 * config/avr/avr.c (tree.h): Include it.

[Bug target/80462] [avr] Incorrect "warning: uninitialized variable 'xxx' put into program memory area" for identical strings

2017-04-19 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80462 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Wed Apr 19 12:22:59 2017 New Revision: 246998 URL: https://gcc.gnu.org/viewcvs?rev=246998&root=gcc&view=rev Log: Backport from 2017-04-19 trunk r246997. PR target/80462

[Bug target/80462] [avr] Incorrect "warning: uninitialized variable 'xxx' put into program memory area" for identical strings

2017-04-19 Thread gjl at gcc dot gnu.org
|--- |FIXED Assignee|unassigned at gcc dot gnu.org |gjl at gcc dot gnu.org Target Milestone|--- |6.4 --- Comment #3 from Georg-Johann Lay --- Fixed in 6.4+.

[Bug other/80492] New: Wrong code when unrolling a loop with inline asm and local regs

2017-04-22 Thread gjl at gcc dot gnu.org
Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Created attachment 41248 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41248&action=edit loopasm.c: GNU-C99 test case

[Bug other/80492] Wrong code when unrolling a loop with inline asm and local regs

2017-04-23 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #1 from Georg-Johann Lay --- Created attachment 41249 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41249&action=edit loopasm.s: Generated assembly Assembler output as generated with $ avr-gcc loopasm.c -O2 -dp -S -std=gnu99

[Bug other/80492] Wrong code when unrolling a loop with inline asm and local regs

2017-04-23 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #2 from Georg-Johann Lay --- FYI, if the code is not executed in a loop but instead void do_syscalls_noloop (void) { syscall_7 (0, 8); syscall_7 (1, 9); syscall_7 (0, 8); syscall_7 (1, 9); } then the generated code i

[Bug other/80492] [5/6 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-23 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 Georg-Johann Lay changed: What|Removed |Added Summary|Wrong code when unrolling a |[5/6 Regression] Wrong code

[Bug other/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-24 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 Georg-Johann Lay changed: What|Removed |Added Target|avr |avr,x86,x86_64 Summary|[5/

[Bug other/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-24 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #6 from Georg-Johann Lay --- (In reply to Uroš Bizjak from comment #5) > (In reply to Georg-Johann Lay from comment #4) > > > The 2 last inline asms are missing the set of ESI. > > You should mark that "Some Code" asm clobbers %esi.

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #9 from Georg-Johann Lay --- (In reply to Uroš Bizjak from comment #8) > Happens in fre3 pass. That's not the whole story. With -fdisable-tree-fre3 the code is still wrong. I need at least: -fdisable-tree-fre3 -fdisable-tree-pre

[Bug other/80573] New: ICE: internal compiler error: in assign_temp, at function.c:961

2017-04-30 Thread gjl at gcc dot gnu.org
Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- This PR looks similar to PR71210, however I am just using v6.3 from 2016-12-22 whereas PR71210 has been fixed for v6.2 on 2016-05-20. == C

[Bug tree-optimization/80574] GCC fail to optimize nested ternary

2017-04-30 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80574 Georg-Johann Lay changed: What|Removed |Added CC||gjl at gcc dot gnu.org --- Comment

[Bug other/80573] ICE: internal compiler error: in assign_temp, at function.c:961

2017-05-03 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80573 Georg-Johann Lay changed: What|Removed |Added Target|avr |avr,x86_64 --- Comment #1 from Georg-

[Bug other/80573] ICE: internal compiler error: in assign_temp, at function.c:961

2017-05-03 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80573 --- Comment #2 from Georg-Johann Lay --- (In reply to Georg-Johann Lay from comment #1) > Also ICEc on x86_64 from trunk (v8) and v7: > > ice.c: In function ‘fun’: > ice.c:5:5: internal compiler error: in assign_temp, at function.c:968 FYI, the

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

2017-05-08 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=75964 --- Comment #6 from Georg-Johann Lay --- (In reply to rsand...@gcc.gnu.org from comment #5) > It doesn't look like it's a regression, but maybe we want to backport anyway? Would be great. It's wrong code after all, and the fix appears to be low

[Bug middle-end/80929] New: [7/8 Regression] Division with constant no more optimized to mult highpart

2017-05-31 Thread gjl at gcc dot gnu.org
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Since PR79665, division with known denominator are no more optimized to __umulhisi3 but transfomed to an expensive signed

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

2017-06-08 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151 Georg-Johann Lay changed: What|Removed |Added Target Milestone|--- |6.2

[Bug target/81072] [avr] Support some XMEGA devices with flash seen in RAM address space.

2017-06-12 Thread gjl at gcc dot gnu.org
|P4 Assignee|unassigned at gcc dot gnu.org |gjl at gcc dot gnu.org

[Bug target/81072] New: [avr] Support some XMEGA devices with flash seen in RAM address space.

2017-06-12 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: ---

[Bug target/81072] [avr] Support some XMEGA devices with flash seen in RAM address space.

2017-06-12 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81072 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Mon Jun 12 12:52:30 2017 New Revision: 249124 URL: https://gcc.gnu.org/viewcvs?rev=249124&root=gcc&view=rev Log: gcc/ Support multilibs and devices that see flash in RAM address

[Bug target/81072] [avr] Support some XMEGA devices with flash seen in RAM address space.

2017-06-12 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81072 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/81072] [avr] Support some XMEGA devices with flash seen in RAM address space.

2017-06-12 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81072 Georg-Johann Lay changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/81073] New: link failure as C++ misses to instanciate some objects

2017-06-12 Thread gjl at gcc dot gnu.org
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- $ g++ struct.cpp -Os -save-temps the following C++ test case struct.cpp: struct test { const int *addr; }; const test* setup() { static constexpr test atest

[Bug target/81075] New: [avr] Move jump-tables out of .text

2017-06-12 Thread gjl at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Since PR71151 has been fixed (v6.2), we have JUMP_TABLES_IN_TEXT_SECTION. This means that branches that cross such tables have larger branch offsets than before that fix. Hence

[Bug target/81075] [avr] Move jump-tables out of .text

2017-06-12 Thread gjl at gcc dot gnu.org
Target||avr Priority|P3 |P4 Assignee|unassigned at gcc dot gnu.org |gjl at gcc dot gnu.org

[Bug target/81072] [avr] Support some XMEGA devices with flash seen in RAM address space.

2017-06-13 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81072 --- Comment #3 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 13 08:25:07 2017 New Revision: 249146 URL: https://gcc.gnu.org/viewcvs?rev=249146&root=gcc&view=rev Log: PR target/81072 * config/avr/avr-devices.c: Fix indentati

[Bug c++/81073] [5/6/7/8 Regression] link failure as C++ misses to instanciate some objects

2017-06-17 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81073 --- Comment #4 from Georg-Johann Lay --- (In reply to Jason Merrill from comment #3) > The testcase in comment 1 works on trunk and current 7 branch. The original > testcase looks ill-formed to me; [dcl.constexpr] says that a constexpr > functio

[Bug c++/81073] [5/6/7/8 Regression] link failure as C++ misses to instanciate some objects

2017-06-19 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81073 --- Comment #8 from Georg-Johann Lay --- (In reply to Jason Merrill from comment #7) > > To make things even worse, all the PROGMEM + inline asm + > > statement-expression stuff is hidden behind common usability macros that are > > used by actual

[Bug c++/81147] [avr] C++ for -mmcu=atmega2560 doesn't do NRVO or RVO when class inherits from empty base

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

[Bug c++/81147] [avr] C++ for -mmcu=atmega2560 doesn't do NRVO or RVO when class inherits from empty base

2017-06-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81147 Georg-Johann Lay changed: What|Removed |Added Priority|P3 |P5

[Bug c++/81147] [avr] C++ for -mmcu=atmega2560 doesn't do NRVO or RVO when class inherits from empty base

2017-06-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81147 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/81268] New: [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues

2017-06-30 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: --- GNU assembler supports the __gcc_isr pseudo-instruction, cf. https://sourceware.org/bugzilla/show_bug.cgi?id=21683

[Bug target/81268] [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues

2017-06-30 Thread gjl at gcc dot gnu.org
Target||avr Priority|P3 |P5 Blocks||20296 Assignee|unassigned at gcc dot gnu.org |gjl at gcc dot gnu.org Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20296 [Bug

[Bug target/70676] suboptimal code generation on AVR

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

[Bug target/70676] suboptimal code generation on AVR

2017-07-03 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70676 Georg-Johann Lay changed: What|Removed |Added Status|REOPENED|WAITING --- Comment #10 from Georg-Jo

[Bug target/81305] New: [avr] avrtiny uses LDS for SREG in ISR routines which is out of range of LDS.

2017-07-04 Thread gjl at gcc dot gnu.org
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- This problem occurs with -O0 and -mmcu=avrtiny and "signal" or "interrupt" functions. Assembler

[Bug target/81305] [avr] avrtiny uses LDS for SREG in ISR routines which is out of range of LDS.

2017-07-04 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81305 Georg-Johann Lay changed: What|Removed |Added Keywords||wrong-code Target|

[Bug tree-optimization/49857] Put constant switch-tables into flash

2017-07-05 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49857 Georg-Johann Lay changed: What|Removed |Added Component|target |tree-optimization --- Comment #14 fro

[Bug lto/68384] LTO error for global register variables in PHP 7 compiling on powerpc64le

2017-07-05 Thread gjl at gcc dot gnu.org
||gjl at gcc dot gnu.org --- Comment #11 from Georg-Johann Lay --- I am also seeing this on current trunk, even with -fno-toplevel-reorder. Bit annoying as this also comes up when testing GCC itself, at least if -flto is part of the torture-options.

[Bug target/81305] [avr] avrtiny uses LDS for SREG in ISR routines which is out of range of LDS.

2017-07-05 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81305 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 5 12:28:19 2017 New Revision: 249995 URL: https://gcc.gnu.org/viewcvs?rev=249995&root=gcc&view=rev Log: gcc/ PR target/81305 * config/avr/avr.c (avr_out_movhi_mr

[Bug target/81305] [avr] avrtiny uses LDS for SREG in ISR routines which is out of range of LDS.

2017-07-05 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81305 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 5 12:34:36 2017 New Revision: 249996 URL: https://gcc.gnu.org/viewcvs?rev=249996&root=gcc&view=rev Log: gcc/ PR target/81305 * testsuite/gcc.target/avr/isr-test.

[Bug target/81305] [avr] avrtiny uses LDS for SREG in ISR routines which is out of range of LDS.

2017-07-05 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81305 --- Comment #3 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 5 12:49:08 2017 New Revision: 249998 URL: https://gcc.gnu.org/viewcvs?rev=249998&root=gcc&view=rev Log: gcc/ Backport from 2017-07-05 trunk r249995. PR target/81

[Bug target/81305] [avr] avrtiny uses LDS for SREG in ISR routines which is out of range of LDS.

2017-07-05 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81305 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Version|unknown

[Bug target/81072] [avr] Support some XMEGA devices with flash seen in RAM address space.

2017-07-05 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81072 --- Comment #4 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 5 13:57:28 2017 New Revision: 25 URL: https://gcc.gnu.org/viewcvs?rev=25&root=gcc&view=rev Log: gcc/ Graceful degrade if Binutils PR21472 is not available.

[Bug c++/81147] [avr] C++ for -mmcu=atmega2560 doesn't do NRVO or RVO when class inherits from empty base

2017-07-05 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81147 Georg-Johann Lay changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug target/81305] [avr] avrtiny uses LDS for SREG in ISR routines which is out of range of LDS.

2017-07-06 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81305 --- Comment #5 from Georg-Johann Lay --- Author: gjl Date: Thu Jul 6 15:31:42 2017 New Revision: 250029 URL: https://gcc.gnu.org/viewcvs?rev=250029&root=gcc&view=rev Log: PR target/81305 * gcc.target/avr/isr-test.h: Fix warnings

[Bug target/81075] [avr] Move jump-tables out of .text

2017-07-10 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81075 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Mon Jul 10 08:22:47 2017 New Revision: 250091 URL: https://gcc.gnu.org/viewcvs?rev=250091&root=gcc&view=rev Log: gcc/ Move jump-tables out of .text again. PR target/81075

[Bug target/81268] [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues

2017-07-10 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81268 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Mon Jul 10 09:49:18 2017 New Revision: 250093 URL: https://gcc.gnu.org/viewcvs?rev=250093&root=gcc&view=rev Log: gcc/ Better ISR prologues by supporting GASes __gcc_isr pseudo in

[Bug target/20296] Speeding up small interrupts on avr

2017-07-10 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20296 --- Comment #3 from Georg-Johann Lay --- Author: gjl Date: Mon Jul 10 09:49:18 2017 New Revision: 250093 URL: https://gcc.gnu.org/viewcvs?rev=250093&root=gcc&view=rev Log: gcc/ Better ISR prologues by supporting GASes __gcc_isr pseudo in

[Bug target/20296] Speeding up small interrupts on avr

2017-07-10 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20296 Bug 20296 depends on bug 81268, which changed state. Bug 81268 Summary: [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81268 What|Removed

[Bug target/81268] [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues

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

[Bug target/20296] Speeding up small interrupts on avr

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

[Bug target/81075] [avr] Move jump-tables out of .text

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

[Bug target/81407] New: [avr] Diagnose if a variable in progmem needs constructing.

2017-07-12 Thread gjl at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- avr-g++ might decide to pop up a constructor for a const variable in progmem, shredding the assumption that the object is not written to at

[Bug target/81407] [avr] Diagnose if a variable in progmem needs constructing.

2017-07-12 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81407 Georg-Johann Lay changed: What|Removed |Added Keywords||diagnostic Target|

[Bug c++/81073] [5/6/7/8 Regression] link failure as C++ misses to instanciate some objects

2017-07-12 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81073 --- Comment #10 from Georg-Johann Lay --- (In reply to Jason Merrill from comment #9) > Created attachment 41711 [details] > patch to error on progmem with dynamic init > > Does this do what you had in mind? Some situations are diagnosed, but a

[Bug c++/81073] [5/6/7/8 Regression] link failure as C++ misses to instanciate some objects

2017-07-12 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81073 --- Comment #11 from Georg-Johann Lay --- ...oops, I missed the PROGMEM in PSTR definition. Should read: // A string in flash #define PSTR(str) \ (__extension__({ \

[Bug target/81407] [avr] Diagnose if a variable in progmem needs constructing.

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

[Bug target/81407] [avr] Diagnose if a variable in progmem needs constructing.

2017-07-12 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81407 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 12 13:58:34 2017 New Revision: 250151 URL: https://gcc.gnu.org/viewcvs?rev=250151&root=gcc&view=rev Log: PR target/81407 * config/avr/avr.c (avr_encode_section_in

[Bug c++/81073] [5/6/7/8 Regression] link failure as C++ misses to instantiate some objects

2017-07-12 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81073 --- Comment #12 from Georg-Johann Lay --- Thanks, (In reply to Jason Merrill from comment #9) > Created attachment 41711 [details] > patch to error on progmem with dynamic init > > Does this do what you had in mind? Hi, thanks. Used to impleme

[Bug target/81407] [avr] Diagnose if a variable in progmem needs constructing.

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

[Bug target/79883] avr i18n: untranslated "interrupt" or "signal"

2017-07-12 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79883 --- Comment #7 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 12 15:25:07 2017 New Revision: 250156 URL: https://gcc.gnu.org/viewcvs?rev=250156&root=gcc&view=rev Log: PR target/79883 * config/avr/avr.c (avr_set_current_funct

[Bug target/79883] avr i18n: untranslated "interrupt" or "signal"

2017-07-12 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79883 --- Comment #8 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 12 15:31:22 2017 New Revision: 250157 URL: https://gcc.gnu.org/viewcvs?rev=250157&root=gcc&view=rev Log: gcc/ Backport from 2017-07-12 trunk r250156. PR target/79

[Bug target/79883] avr i18n: untranslated "interrupt" or "signal"

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

[Bug middle-end/81444] New: expmed.c:init_expmed_one_mode uses wrong mode for widening cost computations

2017-07-14 Thread gjl at gcc dot gnu.org
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- expmed.c:init_expmed_one_mode uses a wrong mode for widening cost computations. For example, on avr this function will

[Bug middle-end/81444] expmed.c:init_expmed_one_mode uses wrong mode for widening cost computations

2017-07-14 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81444 --- Comment #1 from Georg-Johann Lay --- Created attachment 41759 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41759&action=edit Proposed patch. PR middle-end/81444 * expmed.c (init_expmed_one_conv): Don't clobber all->re

[Bug c++/81147] [avr] C++ for -mmcu=atmega2560 doesn't do NRVO or RVO when class inherits from empty base

2017-07-14 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81147 --- Comment #5 from Georg-Johann Lay --- What you mean by "NRVO" and "RVO" ?

[Bug middle-end/80929] [7/8 Regression] Division with constant no more optimized to mult highpart

2017-07-17 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80929 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Mon Jul 17 08:56:06 2017 New Revision: 250258 URL: https://gcc.gnu.org/viewcvs?rev=250258&root=gcc&view=rev Log: PR 80929 * config/avr/avr.c (avr_mul_highpart_cost): New

[Bug middle-end/80929] [7/8 Regression] Division with constant no more optimized to mult highpart

2017-07-17 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80929 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Mon Jul 17 09:06:39 2017 New Revision: 250259 URL: https://gcc.gnu.org/viewcvs?rev=250259&root=gcc&view=rev Log: Backport from 2017-07-17 trunk r250258. PR 80929

[Bug middle-end/80929] [7/8 Regression] Division with constant no more optimized to mult highpart

2017-07-17 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80929 --- Comment #3 from Georg-Johann Lay --- Author: gjl Date: Mon Jul 17 09:09:42 2017 New Revision: 250260 URL: https://gcc.gnu.org/viewcvs?rev=250260&root=gcc&view=rev Log: Backport from 2017-07-17 trunk r250258. PR 80929

[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&root=gcc&view=rev Log: gcc/ PR target/60300 * config/avr/constraints.md (Csp): W

[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/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&root=gcc&view=rev Log: PR 41076 * config/avr/avr.md (SPLIT34): New mode iterator

<    6   7   8   9   10   11   12   13   14   15   >