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

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

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

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

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

2016-06-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30417 --- Comment #13 from Georg-Johann Lay --- (In reply to Senthil Kumar Selvaraj from comment #12) > This works if the start of data is specified as -Tdata 0xaddress. Other ways > of specifying the same thing don't work; -Tdata=0xaddress, >

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

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

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30417 Georg-Johann Lay changed: What|Removed |Added Priority|P3 |P5 Status|UNCONFIRMED

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30417 --- Comment #10 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 11:00:54 2016 New Revision: 237643 URL: https://gcc.gnu.org/viewcvs?rev=237643=gcc=rev Log: Backport from 2016-06-21 trunk r237639. PR target/30417 *

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30417 --- Comment #9 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:43:12 2016 New Revision: 237641 URL: https://gcc.gnu.org/viewcvs?rev=237641=gcc=rev Log: Backport from 2016-06-21 trunk r237639. PR target/30417 *

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30417 --- Comment #8 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:39:59 2016 New Revision: 237640 URL: https://gcc.gnu.org/viewcvs?rev=237640=gcc=rev Log: Backport from 2016-06-21 trunk r237639. PR target/30417 *

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30417 --- Comment #7 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:36:13 2016 New Revision: 237639 URL: https://gcc.gnu.org/viewcvs?rev=237639=gcc=rev Log: PR target/30417 * config/avr/gen-avr-mmcu-specs.c (print_mcu):

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #14 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:23:08 2016 New Revision: 237638 URL: https://gcc.gnu.org/viewcvs?rev=237638=gcc=rev Log: PR target/71103 * config/avr/avr.md (movqi): Only handle loading

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #13 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:18:26 2016 New Revision: 237637 URL: https://gcc.gnu.org/viewcvs?rev=237637=gcc=rev Log: PR target/71103 * config/avr/avr.md (movqi): Only handle loading

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #12 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:15:25 2016 New Revision: 237636 URL: https://gcc.gnu.org/viewcvs?rev=237636=gcc=rev Log: PR target/71103 * config/avr/avr.md (movqi): Only handle loading

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #11 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:10:46 2016 New Revision: 237635 URL: https://gcc.gnu.org/viewcvs?rev=237635=gcc=rev Log: PR target/71103 * config/avr/avr.md (movqi): Only handle loading

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

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

[Bug target/52305] [avr] ICE in avr_print_operand: unknown mode (const_double)

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

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-20 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 Georg-Johann Lay changed: What|Removed |Added Priority|P3 |P4 Status|NEW

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-20 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #8 from Georg-Johann Lay --- Author: gjl Date: Mon Jun 20 12:02:36 2016 New Revision: 237594 URL: https://gcc.gnu.org/viewcvs?rev=237594=gcc=rev Log: gcc/ Backport from 2016-06-20 trunk r237589, r236558. PR

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-20 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #7 from Georg-Johann Lay --- Author: gjl Date: Mon Jun 20 11:55:11 2016 New Revision: 237593 URL: https://gcc.gnu.org/viewcvs?rev=237593=gcc=rev Log: gcc/ Backport from 2016-06-20 trunk r237589, r236558. PR

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-20 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #6 from Georg-Johann Lay --- Author: gjl Date: Mon Jun 20 11:20:27 2016 New Revision: 237591 URL: https://gcc.gnu.org/viewcvs?rev=237591=gcc=rev Log: gcc/ Backport from 2016-06-20 trunk r237589, r236558. PR

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-20 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #5 from Georg-Johann Lay --- Author: gjl Date: Mon Jun 20 11:01:13 2016 New Revision: 237589 URL: https://gcc.gnu.org/viewcvs?rev=237589=gcc=rev Log: gcc/ PR target/71103 * config/avr/avr.md (movqi): Handle loading

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

2016-06-15 Thread gjl at gcc dot gnu.org
|7.0 Resolution|--- |FIXED Assignee|gjl at gcc dot gnu.org |unassigned at gcc dot gnu.org --- Comment #4 from Georg-Johann Lay --- Implemented for v7.

[Bug c++/71053] [6/7 Regression] Volatile read optimized into endless loop

2016-06-08 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71053 --- Comment #6 from Georg-Johann Lay --- (In reply to Michael Weiser from comment #5) > I think it's well estabilished and verified by now that this is an > avr-target-specific regression (which I think is what Richard meant). Well,

[Bug c++/71053] [6/7 Regression] Volatile read optimized into endless loop

2016-06-08 Thread gjl at gcc dot gnu.org
|NEW Last reconfirmed||2016-06-08 Component|target |c++ CC||gjl at gcc dot gnu.org Host|x86_64-apple-darwin15 |x86_64 Ever confirmed|0

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

2016-06-03 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151 --- Comment #13 from Georg-Johann Lay --- Disadvantage of havong tables in same text section a code is that code side might increase for the following reason: branches that cross a switch statement will also have to cross the jump table, hence

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

2016-06-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151 --- Comment #11 from Georg-Johann Lay --- well, IIRC for Tiny .rodata is still a part of .data and not part of .text? If this is still the case, then on Tiny the best place for jump tables is also .text.

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

2016-06-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151 --- Comment #10 from Georg-Johann Lay --- Well, then we should remove TARGET_ASM_FUNCTION_RODATA_SECTION implementation altogether (it's weird, not only because it patches flag_data_sections), same for ASM_OUTPUT_ADDR_VEC_ELT. Instead implement

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

2016-06-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151 --- Comment #8 from Georg-Johann Lay --- What about avr_asm_function_rodata_section? Isn't it possible to filter DECL and only transform for addr_vect?

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

2016-05-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151 --- Comment #6 from Georg-Johann Lay --- (In reply to Anatol from comment #5) > It is a severe compiler issue that stop avr-gcc 6 from using. > Consider changing "Importance" status to blocker. It's definite not a "blocker". "blocker" would

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

2016-05-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 --- Comment #5 from Georg-Johann Lay --- Maybe -fno-caller-saves is what you are looking for? Here is a C test case guessed from your first code snipped: typedef struct { unsigned char x, y; } point; extern void printSpeed (long, unsigned

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

2016-05-23 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 --- Comment #3 from Georg-Johann Lay --- You can follow the bug reporting instructions an provide the preprocessed code and the compiler output as described in https://gcc.gnu.org/bugs/#need Just add -v -save-temps to the compiler's command

[Bug target/70676] suboptimal code generation on AVR

2016-05-23 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70676 --- Comment #3 from Georg-Johann Lay --- You can follow the bug reporting instructions an provide the preprocessed code and the compiler output as described in https://gcc.gnu.org/bugs/#need Just add -v -save-temps to the compiler's command

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-05-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #3 from Georg-Johann Lay --- This change is at least incomplete: it does not handle CONST. To see this change the test case to returnValue.response = response + 1; Who is generating these SUBREGs? If it's in a push insn, we should

[Bug target/69647] gcc build for avr-unknown-elf

2016-05-21 Thread gjl at gcc dot gnu.org
|RESOLVED CC||gjl at gcc dot gnu.org Resolution|--- |INVALID --- Comment #4 from Georg-Johann Lay --- Invalid bug: Read v5 Release Caveats > On AVR, support has been added for the devices ATtiny4/5/9

[Bug target/70676] suboptimal code generation on AVR

2016-05-21 Thread gjl at gcc dot gnu.org
Target||avr Priority|P3 |P5 Status|UNCONFIRMED |WAITING Last reconfirmed||2016-05-21 CC||gjl at gcc dot gnu.org Ever confirmed|0

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

2016-05-21 Thread gjl at gcc dot gnu.org
Target||avr Priority|P3 |P5 Status|UNCONFIRMED |WAITING Last reconfirmed||2016-05-21 CC||gjl at gcc dot gnu.org Ever confirmed|0

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

2016-05-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151 Georg-Johann Lay changed: What|Removed |Added CC||gigo121 at gmail dot com --- Comment

[Bug target/70999] AVR: String incorrectly placed in flash instead of RAM when building with -ffunction-sections

2016-05-21 Thread gjl at gcc dot gnu.org
|RESOLVED CC||gjl at gcc dot gnu.org Resolution|--- |DUPLICATE Severity|major |normal --- Comment #1 from Georg-Johann Lay --- Same as PR71151, more info

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-05-21 Thread gjl at gcc dot gnu.org
|NEW Known to work||4.6.2 Keywords||ice-on-valid-code Last reconfirmed||2016-05-21 CC||gjl at gcc dot gnu.org Ever confirmed|0

[Bug target/71000] Wrong defines for ATMEGA328p

2016-05-21 Thread gjl at gcc dot gnu.org
||gjl at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Georg-Johann Lay --- Target support macros and headers are realm of AVR-Libc, it is not a compiler issue. Please report at AVR-Libc's bug tracker http://savannah.nongnu.org

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

2016-05-18 Thread gjl at gcc dot gnu.org
||gjl at gcc dot gnu.org --- Comment #2 from Georg-Johann Lay --- Cannot reproduce this on 5.x. The avr BE tries to apply -fdata-sections to data in progmem in a similar way like -fdata-sections acts on data in RAM. A dedicated option like -mprogmem-sections was not possible

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

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

[Bug target/69685] GCC cross compiler build failed

2016-03-02 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69685 --- Comment #4 from Georg-Johann Lay --- FYI, as you are using Newlib (and not avr-libc as all the folks does) you want to configure with --with-avrlibc=no.

[Bug target/69685] GCC cross compiler build failed

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

[Bug target/69049] [avr] strange/unnecessary commands in compiled code

2016-01-30 Thread gjl at gcc dot gnu.org
||gjl at gcc dot gnu.org Resolution|--- |INVALID

[Bug other/67031] avr-gcc internal compiler error: segmentation fault in push_reload, at reload.c

2016-01-29 Thread gjl at gcc dot gnu.org
|NEW Keywords||ice-on-valid-code Last reconfirmed||2016-01-29 Component|target |other CC||gjl at gcc dot gnu.org Ever confirmed|0

[Bug target/69049] [avr] strange/unnecessary commands in compiled code

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

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

2016-01-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67353 Georg-Johann Lay changed: What|Removed |Added CC||astralien3000 at yahoo dot fr ---

[Bug target/68199] avr-gcc rise a warning when defining a custom interruption

2016-01-25 Thread gjl at gcc dot gnu.org
|RESOLVED CC||gjl at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Georg-Johann Lay --- Cf. PR67353 *** This bug has been marked as a duplicate of bug 67353 ***

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

2016-01-25 Thread gjl at gcc dot gnu.org
at gcc dot gnu.org Ever confirmed|0 |1

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

2016-01-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67353 Georg-Johann Lay changed: What|Removed |Added Keywords||easyhack Target Milestone|6.0

[Bug target/69330] avr-gcc Error: operand out of range: 32

2016-01-25 Thread gjl at gcc dot gnu.org
|RESOLVED CC||gjl at gcc dot gnu.org Known to work||4.9.2 Resolution|--- |DUPLICATE Known to fail||5.2.1 --- Comment #1 from Georg-Johann

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

2016-01-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67839 Georg-Johann Lay changed: What|Removed |Added CC||karaliusliudas+bugzilla@gma

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

2016-01-25 Thread gjl at gcc dot gnu.org
|NEW Last reconfirmed||2016-01-25 CC||gjl at gcc dot gnu.org Known to work||4.9.2 Ever confirmed|0 |1 Known to fail

[Bug ipa/67428] lto1: fatal error: test.elf.ltrans0.o: section is missing with -flto -fipa-pta

2015-09-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67428 --- Comment #2 from Georg-Johann Lay --- Created attachment 36279 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36279=edit e.c (C-source 2/3)

[Bug ipa/67428] lto1: fatal error: test.elf.ltrans0.o: section is missing with -flto -fipa-pta

2015-09-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67428 --- Comment #1 from Georg-Johann Lay --- Created attachment 36278 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36278=edit Bug.c (C-source 1/3)

[Bug ipa/67428] lto1: fatal error: test.elf.ltrans0.o: section is missing with -flto -fipa-pta

2015-09-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67428 --- Comment #3 from Georg-Johann Lay --- Created attachment 36280 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36280=edit i.c (C-source 3/3)

[Bug ipa/67428] lto1: fatal error: test.elf.ltrans0.o: section is missing with -flto -fipa-pta

2015-09-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67428 --- Comment #4 from Georg-Johann Lay --- Created attachment 36281 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36281=edit output of gcc-5.2

[Bug ipa/67428] New: lto1: fatal error: test.elf.ltrans0.o: section is missing with -flto -fipa-pta

2015-09-01 Thread gjl at gcc dot gnu.org
: lto Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Host: x86-linux-gnu Target: i386 Build: x86-linux-gnu Following

[Bug ipa/67428] lto1: fatal error: test.elf.ltrans0.o: section is missing with -flto -fipa-pta

2015-09-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67428 --- Comment #5 from Georg-Johann Lay --- Created attachment 36282 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36282=edit output of avr-gcc-6 (SVN trunk 227033)

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

2015-08-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67353 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P5

[Bug target/67352] [avr] incorrect warning with -Waddr-space-convert and array in struct in __flash

2015-08-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67352 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

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

2015-08-25 Thread gjl at gcc dot gnu.org
: diagnostic Severity: normal Priority: P3 Component: target Assignee: gjl at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Target: avr Add -W flag to control the mentioned warning or turn it into an error.

[Bug target/67352] New: [avr] incorrect warning with -Waddr-space-convert and array in struct in __flash

2015-08-25 Thread gjl at gcc dot gnu.org
Keywords: addr-space, diagnostic Severity: normal Priority: P3 Component: target Assignee: gjl at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Target: avr == C source == typedef struct { char a, b[3]; } S; const

[Bug target/67352] [avr] incorrect warning with -Waddr-space-convert and array in struct in __flash

2015-08-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67352 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Target

[Bug target/66511] [avr] whole-byte shifts not optimized away for uint64_t

2015-08-13 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66511 --- Comment #3 from Georg-Johann Lay gjl at gcc dot gnu.org --- (In reply to Matthijs Kooijman from comment #2) So, IIUC, this is quite hard to fix? Either you use lib functions, which prevents the optimizer from just relabeling or coyping

[Bug libgcc/64401] avr-elf crtbegin.o fails to compile

2015-07-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64401 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last

[Bug target/66956] [avr] Using 32*32=64 multiplicatiion (umulsidi3) for 32=32*32 without MUL.

2015-07-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66956 --- Comment #3 from Georg-Johann Lay gjl at gcc dot gnu.org --- Author: gjl Date: Tue Jul 21 17:29:47 2015 New Revision: 226047 URL: https://gcc.gnu.org/viewcvs?rev=226047root=gccview=rev Log: Backport from 2015-07-21 trunk r226046

[Bug target/66956] [avr] Using 32*32=64 multiplicatiion (umulsidi3) for 32=32*32 without MUL.

2015-07-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66956 --- Comment #2 from Georg-Johann Lay gjl at gcc dot gnu.org --- Author: gjl Date: Tue Jul 21 17:25:48 2015 New Revision: 226046 URL: https://gcc.gnu.org/viewcvs?rev=226046root=gccview=rev Log: PR target/66956 * config/avr/avr

[Bug target/66956] [avr] Using 32*32=64 multiplicatiion (umulsidi3) for 32=32*32 without MUL.

2015-07-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66956 --- Comment #4 from Georg-Johann Lay gjl at gcc dot gnu.org --- Author: gjl Date: Tue Jul 21 17:31:22 2015 New Revision: 226048 URL: https://gcc.gnu.org/viewcvs?rev=226048root=gccview=rev Log: Backport from 2015-07-21 trunk r226046

[Bug target/66956] [avr] Using 32*32=64 multiplicatiion (umulsidi3) for 32=32*32 without MUL.

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

[Bug target/66933] [AVR] Shifted multiplication produces suboptimal asm

2015-07-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66933 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added CC||gjl at gcc dot

[Bug target/66933] [AVR] Shifted multiplication produces suboptimal asm

2015-07-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66933 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Keywords||missed

[Bug target/66956] New: [avr] Using 32*32=64 multiplicatiion (umulsidi3) for 32=32*32 without MUL.

2015-07-21 Thread gjl at gcc dot gnu.org
: missed-optimization Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Target: avr Created attachment 36020 -- https://gcc.gnu.org/bugzilla

[Bug target/66956] [avr] Using 32*32=64 multiplicatiion (umulsidi3) for 32=32*32 without MUL.

2015-07-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66956 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P5

[Bug target/66956] [avr] Using 32*32=64 multiplicatiion (umulsidi3) for 32=32*32 without MUL.

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

[Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR

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

[Bug tree-optimization/66768] address space gets lost on literal pointer

2015-07-20 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66768 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Keywords||addr-space

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

2015-07-18 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49857 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Target Milestone|5.3 |6.0

[Bug target/66511] [avr] whole-byte shifts not optimized away for uint64_t

2015-06-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66511 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Keywords||missed

[Bug target/66201] [avr] ICE in avr_print_operand: Bad address

2015-06-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66201 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-invalid

[Bug target/66511] [avr] whole-byte shifts not optimized away for uint64_t

2015-06-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66511 --- Comment #1 from Georg-Johann Lay gjl at gcc dot gnu.org --- (In reply to Matthijs Kooijman from comment #0) I haven't found a readily available 5.x package yet to test. It's the same. As you can see, the versions operating on 64 bit

[Bug target/66201] [avr] ICE in avr_print_operand: Bad address

2015-05-19 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66201 --- Comment #2 from Georg-Johann Lay gjl at gcc dot gnu.org --- In short: If avr we should skip that test, or at least remove code which is using that function, e.g. #ifdef __AVR__.

[Bug target/66201] [avr] ICE in avr_print_operand: Bad address

2015-05-19 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66201 --- Comment #1 from Georg-Johann Lay gjl at gcc dot gnu.org --- IMO using operands attached to m constraint in the asm template is no valid avr code. You can never know the matching instructions because m is too generic: Use LD, LD+ or LDS

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

2015-05-01 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65964 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added CC||gjl at gcc dot

[Bug target/65185] avr-gcc mcus.def missing rfr2 devices

2015-04-30 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65185 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Target||avr

[Bug target/65895] Segfault building cross GCC 5.1.0 for Target AVR on Mac OSX 10.10.3 (using Apple LLVM version 6.1.0 (clang-602.0.49))

2015-04-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65895 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug target/65296] [avr] fix various issues with specs file generation

2015-04-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65296 Bug 65296 depends on bug 65895, which changed state. Bug 65895 Summary: Segfault building cross GCC 5.1.0 for Target AVR on Mac OSX 10.10.3 (using Apple LLVM version 6.1.0 (clang-602.0.49)) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65895

[Bug target/65296] [avr] fix various issues with specs file generation

2015-04-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65296 --- Comment #12 from Georg-Johann Lay gjl at gcc dot gnu.org --- Author: gjl Date: Mon Apr 27 11:43:20 2015 New Revision: 222459 URL: https://gcc.gnu.org/viewcvs?rev=222459root=gccview=rev Log: PR target/65296 PR target/65895

[Bug target/65895] Segfault building cross GCC 5.1.0 for Target AVR on Mac OSX 10.10.3 (using Apple LLVM version 6.1.0 (clang-602.0.49))

2015-04-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65895 --- Comment #1 from Georg-Johann Lay gjl at gcc dot gnu.org --- Author: gjl Date: Mon Apr 27 11:43:20 2015 New Revision: 222459 URL: https://gcc.gnu.org/viewcvs?rev=222459root=gccview=rev Log: PR target/65296 PR target/65895

[Bug target/65895] Segfault building cross GCC 5.1.0 for Target AVR on Mac OSX 10.10.3 (using Apple LLVM version 6.1.0 (clang-602.0.49))

2015-04-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65895 --- Comment #2 from Georg-Johann Lay gjl at gcc dot gnu.org --- Author: gjl Date: Mon Apr 27 11:49:42 2015 New Revision: 222460 URL: https://gcc.gnu.org/viewcvs?rev=222460root=gccview=rev Log: Backport from 2015-04-27 trunk r222459

[Bug target/65296] [avr] fix various issues with specs file generation

2015-04-27 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65296 --- Comment #13 from Georg-Johann Lay gjl at gcc dot gnu.org --- Author: gjl Date: Mon Apr 27 11:49:42 2015 New Revision: 222460 URL: https://gcc.gnu.org/viewcvs?rev=222460root=gccview=rev Log: Backport from 2015-04-27 trunk r222459

[Bug target/65296] [avr] fix various issues with specs file generation

2015-04-23 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65296 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Keywords||link-failure

[Bug target/65296] [avr] fix various issues with specs file generation

2015-04-22 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65296 --- Comment #10 from Georg-Johann Lay gjl at gcc dot gnu.org --- Author: gjl Date: Wed Apr 22 16:14:50 2015 New Revision: 222333 URL: https://gcc.gnu.org/viewcvs?rev=222333root=gccview=rev Log: Backport from trunk r222179. 2015-04-17

[Bug other/65794] New: Building crossback fails: No rule to make target `auto-build.h', needed by `build/genmddeps.o'

2015-04-17 Thread gjl at gcc dot gnu.org
Keywords: build Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Host: i386-mingw32 Target: x86_64-linux-gnu Build: x86_64-linux-gnu

[Bug target/65296] [avr] fix various issues with specs file generation

2015-04-17 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65296 --- Comment #9 from Georg-Johann Lay gjl at gcc dot gnu.org --- Author: gjl Date: Fri Apr 17 13:54:16 2015 New Revision: 222179 URL: https://gcc.gnu.org/viewcvs?rev=222179root=gccview=rev Log: PR target/65296 * config/avr/gen-avr-mmcu

[Bug target/65296] [avr] fix various issues with specs file generation

2015-04-17 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65296 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |5.2

[Bug target/63633] [avr] internal compiler error: unrecognizable insn with mult insns

2015-04-16 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63633 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug target/63633] [avr] internal compiler error: unrecognizable insn with mult insns

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

[Bug target/65657] [avr] read from __memx address space tramples argument to following function

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

[Bug target/65296] [avr] fix various issues with specs file generation

2015-04-09 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65296 --- Comment #8 from Georg-Johann Lay gjl at gcc dot gnu.org --- Author: gjl Date: Thu Apr 9 11:37:11 2015 New Revision: 221947 URL: https://gcc.gnu.org/viewcvs?rev=221947root=gccview=rev Log: PR target/65296 * config/avr/driver-avr.c

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