[Bug bootstrap/48879] Compilation cannot find file asm/errno.h

2018-01-18 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48879 --- Comment #9 from Georg-Johann Lay --- Hi, installing linux-libc-dev:i386 resolved this issue for me (linux-libc-dev was already installed).

[Bug tree-optimization/57503] Missing warning for signed overflow

2018-01-16 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57503 Georg-Johann Lay changed: What|Removed |Added Keywords|wrong-code |diagnostic Summary|[6/7/8

[Bug tree-optimization/57503] [6/7/8 Regression] Wrong extension of multiply operand

2018-01-15 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57503 --- Comment #17 from Georg-Johann Lay --- Obervation that -fno-wrapv also leads to correct code, hence there is somewhere a wrong assumption that signed overflow occurs (which doesn't).

[Bug tree-optimization/57503] [6/7/8 Regression] Wrong extension of multiply multiply operand

2018-01-15 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57503 Georg-Johann Lay changed: What|Removed |Added Component|middle-end |tree-optimization

[Bug middle-end/57503] [6/7/8 Regression] Expand uses wrong multiply routine

2018-01-15 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57503 Georg-Johann Lay changed: What|Removed |Added Priority|P4 |P3

[Bug middle-end/82931] Missing Optimization for Bit-Transfer

2018-01-15 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82931 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/82931] Missing Optimization for Bit-Transfer (AVR Target)

2018-01-15 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82931 Georg-Johann Lay changed: What|Removed |Added Attachment #42575|0 |1 is obsolete|

[Bug middle-end/57503] [6/7/8 Regression] Expand uses wrong multiply routine

2018-01-15 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57503 Georg-Johann Lay changed: What|Removed |Added Target Milestone|6.5 |---

[Bug middle-end/57503] [6/7/8 Regression] Expand uses wrong multiply routine

2018-01-15 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57503 Georg-Johann Lay changed: What|Removed |Added Last reconfirmed|2013-10-07 00:00:00 |2018-1-15 Known to fail|

[Bug c/83801] [8 Regression][avr] String constant in __flash not put into .progmem

2018-01-15 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83801 --- Comment #14 from Georg-Johann Lay --- Author: gjl Date: Mon Jan 15 10:04:32 2018 New Revision: 256687 URL: https://gcc.gnu.org/viewcvs?rev=256687=gcc=rev Log: PR c/83801 PR c/83729 * gcc.target/avr/torture/pr83729.c:

[Bug c/83729] [8 Regression] AVR ICE on convert_memory_address_addr_space_1 at explow.c:300

2018-01-15 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83729 --- Comment #6 from Georg-Johann Lay --- Author: gjl Date: Mon Jan 15 10:04:32 2018 New Revision: 256687 URL: https://gcc.gnu.org/viewcvs?rev=256687=gcc=rev Log: PR c/83801 PR c/83729 * gcc.target/avr/torture/pr83729.c:

[Bug c/83801] [8 Regression][avr] String constant in __flash not put into .progmem

2018-01-15 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83801 --- Comment #13 from Georg-Johann Lay --- *** Bug 83729 has been marked as a duplicate of this bug. ***

[Bug c/83729] [8 Regression] AVR ICE on convert_memory_address_addr_space_1 at explow.c:300

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

[Bug c/83801] [8 Regression][avr] String constant in __flash not put into .progmem

2018-01-12 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83801 --- Comment #9 from Georg-Johann Lay --- (In reply to Jakub Jelinek from comment #8) > Created attachment 43115 [details] > gcc8-pr83801.patch > > Untested patch, that if !is_init kind of restores the 7.x behavior of not > using DECL_INITIAL if

[Bug c/83801] [8 Regression][avr] String constant in __flash not put into .progmem

2018-01-12 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83801 --- Comment #7 from Georg-Johann Lay --- (In reply to Jakub Jelinek from comment #5) > I think the testcases just make invalid assumptions. Huh? Which assumptions specifically? 1) There are objects of static storage duration in some

[Bug c/83805] [8 Regression] Wrong constant merging for objects in different address spaces

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

[Bug c/83801] [8 Regression][avr] String constant in __flash not put into .progmem

2018-01-11 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83801 --- Comment #4 from Georg-Johann Lay --- *** Bug 83805 has been marked as a duplicate of this bug. ***

[Bug c/83801] [8 Regression][avr] String constant in __flash not put into .progmem

2018-01-11 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83801 Georg-Johann Lay changed: What|Removed |Added Keywords||addr-space Component|target

[Bug middle-end/83805] [8 Regression] Wrong constant merging for objects in different address spaces

2018-01-11 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83805 --- Comment #10 from Georg-Johann Lay --- (In reply to Jakub Jelinek from comment #9) > I don't see any bug actually. You are just saying that the str1 variable is > __flash, during optimization (already in C FE) it optimizes str1[i] into >

[Bug middle-end/83805] [8 Regression] Wrong constant merging for objects in different address spaces

2018-01-11 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83805 --- Comment #8 from Georg-Johann Lay --- (In reply to Jakub Jelinek from comment #7) > Well, you have 3 objects, str1, str2 and the string literal, if the compiler > thinks all 3 are needed, it emits all of them. Without > -fmerge-all-constants

[Bug middle-end/83805] [8 Regression] Wrong constant merging for objects in different address spaces

2018-01-11 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83805 --- Comment #6 from Georg-Johann Lay --- (In reply to Jakub Jelinek from comment #1) > If so, avr should override the select_section and unique_section target > hooks and return something different for the __flash strings. Also tried

[Bug middle-end/83805] [8 Regression] Wrong constant merging for objects in different address spaces

2018-01-11 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83805 --- Comment #5 from Georg-Johann Lay --- (In reply to Jakub Jelinek from comment #4) > Well, 7.2 certainly doesn't have any special casing for address spaces in > categorize_decl_for_section etc., so before claiming it is a regression > you'd

[Bug middle-end/83805] [8 Regression] Wrong constant merging for objects in different address spaces

2018-01-11 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83805 Georg-Johann Lay changed: What|Removed |Added Known to work||7.2.1 Summary|Wrong

[Bug middle-end/83805] Wrong constant merging for objects in different address spaces

2018-01-11 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83805 --- Comment #2 from Georg-Johann Lay --- (In reply to Jakub Jelinek from comment #1) > If so, avr should override the select_section and unique_section target > hooks and return something different for the __flash strings. I am just working on

[Bug target/83801] [8 Regression][avr] String constant in __flash not put into .progmem

2018-01-11 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83801 --- Comment #2 from Georg-Johann Lay --- Created attachment 43107 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43107=edit proposed patch

[Bug target/83801] [8 Regression][avr] String constant in __flash not put into .progmem

2018-01-11 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83801 Georg-Johann Lay changed: What|Removed |Added Known to work||7.2.1 Summary|[avr]

[Bug other/83805] Wrong constant merging for objects in different address spaces

2018-01-11 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83805 Georg-Johann Lay changed: What|Removed |Added Keywords||addr-space, wrong-code

[Bug other/83805] New: Wrong constant merging for objects in different address spaces

2018-01-11 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: --- Compile the following code with $ avr-gcc -Os bug.c -S -mmcu=avr5 char fun1 (unsigned i) { static const __flash char str1[] = "01234

[Bug middle-end/83729] [8 Regression] AVR ICE on convert_memory_address_addr_space_1 at explow.c:300

2018-01-11 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83729 --- Comment #4 from Georg-Johann Lay --- (In reply to gandalf from comment #3) > Another regression test case (compile with -O): > > void code_to_ascii(char buf[1], unsigned int code) > { > __attribute__((used)) > static const char __flash

[Bug target/83801] [avr] String constant in __flash not put into .progmem

2018-01-11 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83801 Georg-Johann Lay changed: What|Removed |Added Target||avr Status|UNCONFIRMED

[Bug target/83801] New: [avr] String constant in __flash not put into .progmem

2018-01-11 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: --- char to_ascii (unsigned i) { static const char __flash code_tab[] = "0123456789"; return code_tab[i]; } In the above test case, code_tab is put in

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

2018-01-09 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79883 --- Comment #18 from Georg-Johann Lay --- Author: gjl Date: Tue Jan 9 11:27:34 2018 New Revision: 256376 URL: https://gcc.gnu.org/viewcvs?rev=256376=gcc=rev Log: PR target/79883 * gcc.target/avr/torture/pr57631.c (dg-warning):

[Bug testsuite/83737] FAIL: gcc.dg/stdint-width-1.c (test for excess errors) for with newlib stdint.h

2018-01-09 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83737 --- Comment #3 from Georg-Johann Lay --- (In reply to Georg-Johann Lay from comment #2) > Author: gjl > Date: Tue Jan 9 10:38:45 2018 > New Revision: 256373 Typo in the ChangeLog :-( This was intended for PR83738

[Bug target/83738] [avr] Don't save registers in main

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

[Bug testsuite/83737] FAIL: gcc.dg/stdint-width-1.c (test for excess errors) for with newlib stdint.h

2018-01-09 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83737 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Tue Jan 9 10:38:45 2018 New Revision: 256373 URL: https://gcc.gnu.org/viewcvs?rev=256373=gcc=rev Log: gcc/ Don't save registers in main(). PR target/83737 *

[Bug middle-end/83729] [8 Regression] AVR ICE on convert_memory_address_addr_space_1 at explow.c:300

2018-01-08 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83729 --- Comment #2 from Georg-Johann Lay --- ...and this is a middle-end flaw because POINTERS_EXTEND_UNSIGNED states: [...] You need not define this macro [which is the case for avr] if the ptr_mode, Pmode and word_mode are all the same width

[Bug target/83738] [avr] Don't save registers in main

2018-01-08 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83738 Georg-Johann Lay changed: What|Removed |Added Keywords||missed-optimization

[Bug target/83738] New: [avr] Don't save registers in main

2018-01-08 Thread gjl at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: ---

[Bug middle-end/83729] [8 Regression] AVR ICE on convert_memory_address_addr_space_1 at explow.c:300

2018-01-08 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83729 Georg-Johann Lay changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug c++/83484] constexpr not evaluated at compile time

2017-12-19 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83484 --- Comment #2 from Georg-Johann Lay --- Using built-in specs. COLLECT_GCC=g++-8 COLLECT_LTO_WRAPPER=/srv/local/gnu/install/gcc-8-host/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with:

[Bug c++/83484] constexpr not evaluated at compile time

2017-12-19 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83484 --- Comment #1 from Georg-Johann Lay --- Created attachment 42917 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42917=edit tmp.cpp: C++11 test case

[Bug c++/83484] New: constexpr not evaluated at compile time

2017-12-19 Thread gjl at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- The following test case triggers a link failure because the constexpr are not evaluated at compile time: $ g++-8 tmp.cpp -Os -save-temps tmp.o: In function `Port<7>::set(Port<

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

2017-10-02 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41076 --- Comment #10 from Georg-Johann Lay --- Author: gjl Date: Mon Oct 2 11:31:03 2017 New Revision: 253343 URL: https://gcc.gnu.org/viewcvs?rev=253343=gcc=rev Log: PR target/41076 * confg/avr/avr.md (*iorhi3.ashift8-ext.zerox):

[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=gcc=rev > Log: > gcc/ > PR

[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

[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=gcc=rev Log: lto-plugin/ Backport from 2017-07-26 gcc-7-branch r250562. PR

[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=gcc=rev Log: gcc/ Backport from 2017-05-06 trunk r247719. PR

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

[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=gcc=rev Log: gcc/ Backport from 2016-06-15 trunk r237486. Backport from

[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=gcc=rev Log: gcc/ Backport from 2016-06-15 trunk r237486. Backport from

[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=gcc=rev Log: gcc/ Backport from 2017-04-19 trunk r246997. PR target/80462

[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=gcc=rev Log: gcc/ Backport from 2017-04-19 trunk r246997. PR target/80462

[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=gcc=rev Log: gcc/ 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 #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=gcc=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 #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=gcc=rev Log: gcc/ 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 #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=gcc=rev Log: gcc/ PR target/81910 * config/avr/avr.c

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

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

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

[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 error: Se

[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

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

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

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

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

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

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

2017-08-14 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81754 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Mon Aug 14 09:14:16 2017 New Revision: 251085 URL: https://gcc.gnu.org/viewcvs?rev=251085=gcc=rev Log: gcc/ PR target/81754 PR target/81268 * config/avr/avr.opt

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

2017-08-14 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 target/81268] [avr] Support __gcc_isr pseudo-instruction for more efficient ISR prologues

2017-08-14 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81268 --- Comment #3 from Georg-Johann Lay --- Author: gjl Date: Mon Aug 14 09:14:16 2017 New Revision: 251085 URL: https://gcc.gnu.org/viewcvs?rev=251085=gcc=rev Log: gcc/ PR target/81754 PR target/81268 * config/avr/avr.opt

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

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

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

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

[Bug rtl-optimization/81625] GCC v4.7 ... v8 is bloating code by > 25% compared to v3.4

2017-07-31 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81625 --- Comment #1 from Georg-Johann Lay --- Created attachment 41868 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41868=edit Assembly as generated by 3.4.6 for reference.

[Bug rtl-optimization/81625] New: GCC v4.7 ... v8 is bloating code by > 25% compared to v3.4

2017-07-31 Thread gjl at gcc dot gnu.org
mal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Created attachment 41867 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41867=edit snake-i.c: C test case. The attached tes

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

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

[Bug rtl-optimization/81611] gcc un-learned loop / post-increment optimization

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

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

2017-07-30 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80929 --- Comment #6 from Georg-Johann Lay --- Created attachment 41861 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41861=edit time-i.c: C test case (In reply to Richard Biener from comment #4) > Fixed? No. The attached test case $

[Bug inline-asm/54450] Extended asm in global scope

2017-07-29 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54450 --- Comment #7 from Georg-Johann Lay --- (In reply to Eric Gallager from comment #6) > (In reply to Marek Polacek from comment #2) > > Probably dup of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41045 > > Agreed, closing as a duplicate of it >

[Bug other/81611] New: gcc un-learned loop / post-increment optimization

2017-07-29 Thread gjl at gcc dot gnu.org
: other Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- C test case: void func1 (unsigned char x, char *str) { do { *str++ = '0' + (x & 1); x = x / 2; } while (x); *str = 0; } $ avr-gcc-8 foo.c -S -

[Bug other/81582] -Wimplicit-fallthrough= wrong warning with -save-temps

2017-07-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81582 --- Comment #9 from Georg-Johann Lay --- With -fdirectives-only locations go bananas: #include int f1 (int x) { switch (x) { case 1: x++; // FALLTHRU case 2: x--; /* FALLTHRU */ case 3: x++; // line #9 case 4: return

[Bug other/81582] -Wimplicit-fallthrough= wrong warning with -save-temps

2017-07-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81582 --- Comment #7 from Georg-Johann Lay --- (In reply to Jakub Jelinek from comment #6) > If you are preprocessing without -C and without -fdirectives-only, then > comments are gone, so you really can't use them to inhibit the warning. Yes, so

[Bug other/81582] -Wimplicit-fallthrough= wrong warning with -save-temps

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

[Bug other/81582] -Wimplicit-fallthrough= wrong warning with -save-temps

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

[Bug other/81582] New: -Wimplicit-fallthrough= wrong warning with -save-temps

2017-07-27 Thread gjl at gcc dot gnu.org
Component: other Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- int f1 (int x) { switch (x) { case 1: x++; // FALLTHRU case 2: x--; /* FALLTHRU */ case 3: x++; // FALLTHRU case 4: return x; default

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

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

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

2017-07-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79883 --- Comment #10 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 26 14:58:42 2017 New Revision: 250577 URL: https://gcc.gnu.org/viewcvs?rev=250577=gcc=rev Log: gcc/ Backport from 2016-06-15 trunk r237486. Backport from

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

2017-07-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67353 --- Comment #5 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 26 14:58:42 2017 New Revision: 250577 URL: https://gcc.gnu.org/viewcvs?rev=250577=gcc=rev Log: gcc/ Backport from 2016-06-15 trunk r237486. Backport from

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

2017-07-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81305 --- Comment #6 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 26 14:22:31 2017 New Revision: 250576 URL: https://gcc.gnu.org/viewcvs?rev=250576=gcc=rev Log: gcc/ Backport from 2017-07-05 trunk r249995. PR target/81305

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

2017-07-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81407 Georg-Johann Lay changed: What|Removed |Added Known to work||6.4.1, 7.1.1 --- Comment #5 from

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

2017-07-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81407 --- Comment #4 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 26 14:08:56 2017 New Revision: 250574 URL: https://gcc.gnu.org/viewcvs?rev=250574=gcc=rev Log: gcc/ Backport from 2017-07-12 trunk r250151. PR target/81407

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

2017-07-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487 --- Comment #5 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 26 13:59:54 2017 New Revision: 250573 URL: https://gcc.gnu.org/viewcvs?rev=250573=gcc=rev Log: lto-plugin/ Backport from 2017-07-26 gcc-7-branch r250562. PR

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

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

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

2017-07-26 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487 --- Comment #4 from Georg-Johann Lay --- Author: gjl Date: Wed Jul 26 08:58:37 2017 New Revision: 250562 URL: https://gcc.gnu.org/viewcvs?rev=250562=gcc=rev Log: lto-plugin/ Backport from 2017-07-21 trunk r250428. PR lto/81487

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

2017-07-25 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 |7.2

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

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81407 --- Comment #3 from Georg-Johann Lay --- Author: gjl Date: Tue Jul 25 14:32:30 2017 New Revision: 250522 URL: https://gcc.gnu.org/viewcvs?rev=250522=gcc=rev Log: gcc/ Backport from 2017-07-12 trunk r250151. PR target/81407

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

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81533 --- Comment #2 from Georg-Johann Lay --- (In reply to Richard Biener from comment #1) > I think there's a separate PR with the suggestion to try constexpr > evaluation of all constructors for optimization. Addresses are not constexpr because

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

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49857 --- Comment #16 from Georg-Johann Lay --- (In reply to Georg-Johann Lay from comment #15) > pr49857-v2-all.diff: Proposed patch Problems so far: * ivopts may shred address-space which results in wrong code. This is is the reason for why the

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

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49857 --- Comment #15 from Georg-Johann Lay --- Created attachment 41829 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41829=edit pr49857-v2-all.diff: Proposed patch PR 49857 * target.def

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

2017-07-25 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|NEW |RESOLVED Known to work|

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

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=75964 --- Comment #9 from Georg-Johann Lay --- Author: gjl Date: Tue Jul 25 11:55:44 2017 New Revision: 250511 URL: https://gcc.gnu.org/viewcvs?rev=250511=gcc=rev Log: gcc/ Backport from 2017-05-06 trunk r247719. PR

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