[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 --- 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=gcc=rev Log: gcc/ Better ISR prologues by supporting GASes __gcc_isr pseudo insn.

[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=gcc=rev Log: gcc/ Better ISR prologues by supporting GASes __gcc_isr pseudo insn.

[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=gcc=rev Log: gcc/ Move jump-tables out of .text again. PR target/81075

[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=gcc=rev Log: PR target/81305 * gcc.target/avr/isr-test.h: Fix warnings.

[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/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=gcc=rev Log: gcc/ Graceful degrade if Binutils PR21472 is not available. PR

[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/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=gcc=rev Log: gcc/ Backport from 2017-07-05 trunk r249995. PR target/81305

[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=gcc=rev Log: gcc/ PR target/81305 * testsuite/gcc.target/avr/isr-test.h: New

[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=gcc=rev Log: gcc/ PR target/81305 * config/avr/avr.c (avr_out_movhi_mr_r_xmega)

[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 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

[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 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/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

[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/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/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 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 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 CC||gjl at gcc dot gnu.org --- Comment

[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

[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 >

[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=gcc=rev Log: PR target/81072 * config/avr/avr-devices.c: Fix indentation.

[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/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 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/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 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 --- 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=gcc=rev Log: gcc/ Support multilibs and devices that see flash in RAM address range.

[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
|P4 Assignee|unassigned at gcc dot gnu.org |gjl at gcc dot gnu.org

[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 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 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

[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,

[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

[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] 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/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/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

[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

[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] 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

[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=edit loopasm.s: Generated assembly Assembler output as generated with $ avr-gcc loopasm.c -O2 -dp -S -std=gnu99 The

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

2017-04-23 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=edit loopasm.c: GNU-C99 test case

[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 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=gcc=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
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=gcc=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 Georg-Johann Lay changed: What|Removed |Added Keywords||diagnostic Target|

[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
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 char stri

[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 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=gcc=rev Log: gcc/ Backport from 2017-04-18 trunk r246966. PR target/79435

[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=gcc=rev Log: gcc/ PR target/79435 * config/avr/avr.c (intl.h): Include it.

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

2017-04-04 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79883 Georg-Johann Lay changed: What|Removed |Added Severity|normal |minor

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

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

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

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

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

2017-02-09 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=75964 Georg-Johann Lay changed: What|Removed |Added Keywords||diagnostic --- Comment #2 from

[Bug c++/79387] Internal compiler error in convert_nontype_argument

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

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

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

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

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

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

2017-02-06 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78883 --- Comment #5 from Georg-Johann Lay --- Author: gjl Date: Mon Feb 6 13:38:56 2017 New Revision: 245209 URL: https://gcc.gnu.org/viewcvs?rev=245209=gcc=rev Log: gcc/ PR target/78883 * config/avr/avr.c (rtl-iter.h): Include it.

[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|---

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