[Bug target/55974] New: [avr] Wrong suffix for built-in defines __INT24_MAX__ and __UINT24_MAX__ with -mint8

2013-01-14 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55974 Bug #: 55974 Summary: [avr] Wrong suffix for built-in defines __INT24_MAX__ and __UINT24_MAX__ with -mint8 Classification: Unclassified Product: gcc Version: 4.7.2

[Bug target/55974] [avr] Wrong suffix for built-in defines __INT24_MAX__ and __UINT24_MAX__ with -mint8

2013-01-14 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55974 --- Comment #1 from Georg-Johann Lay 2013-01-14 18:28:37 UTC --- Author: gjl Date: Mon Jan 14 18:28:24 2013 New Revision: 195169 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195169 Log: PR target/55974 * config/avr/a

[Bug target/55974] [avr] Wrong suffix for built-in defines __INT24_MAX__ and __UINT24_MAX__ with -mint8

2013-01-14 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55974 --- Comment #2 from Georg-Johann Lay 2013-01-14 18:32:19 UTC --- Author: gjl Date: Mon Jan 14 18:32:05 2013 New Revision: 195170 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195170 Log: Backport from 2013-01-14 trunk r195

[Bug target/55974] [avr] Wrong suffix for built-in defines __INT24_MAX__ and __UINT24_MAX__ with -mint8

2013-01-14 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55974 Georg-Johann Lay changed: What|Removed |Added Priority|P3 |P5 Status|UNCONFI

[Bug tree-optimization/56064] New: Optimize VIEW_CONVERT_EXPR with FIXED_CST

2013-01-21 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56064 Bug #: 56064 Summary: Optimize VIEW_CONVERT_EXPR with FIXED_CST Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: missed-optimiza

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

2013-01-22 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41076 Georg-Johann Lay changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|F

[Bug target/54222] [avr] Implement fixed-point support

2013-01-23 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54222 --- Comment #9 from Georg-Johann Lay 2013-01-23 15:13:56 UTC --- Author: gjl Date: Wed Jan 23 15:13:51 2013 New Revision: 195407 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195407 Log: PR target/54222 * config/avr/s

[Bug target/54222] [avr] Implement fixed-point support

2013-01-25 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54222 --- Comment #10 from Georg-Johann Lay 2013-01-25 09:28:14 UTC --- Author: gjl Date: Fri Jan 25 09:28:09 2013 New Revision: 195464 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195464 Log: gcc/ PR target/54222 * confi

[Bug other/54814] [4.8 Regression] ICE: unable to find a register to spill in class 'R0_REG'

2013-01-25 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54814 Georg-Johann Lay changed: What|Removed |Added Keywords||patch Known to work|

[Bug pending/55996] [meta-bug] GCC 4.9 pending patches

2013-01-27 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55996 Georg-Johann Lay changed: What|Removed |Added Keywords||meta-bug Depends on|

[Bug other/54814] [4.8 Regression] ICE: unable to find a register to spill in class 'R0_REG'

2013-01-28 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54814 --- Comment #15 from Georg-Johann Lay 2013-01-28 20:03:34 UTC --- Author: gjl Date: Mon Jan 28 20:03:26 2013 New Revision: 195515 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195515 Log: PR other/54814 * reload.c (fi

[Bug other/54814] [4.8 Regression] ICE: unable to find a register to spill in class 'R0_REG'

2013-01-28 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54814 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug target/54222] [avr] Implement fixed-point support

2013-01-29 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54222 --- Comment #11 from Georg-Johann Lay 2013-01-29 10:33:24 UTC --- Author: gjl Date: Tue Jan 29 10:33:18 2013 New Revision: 195532 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195532 Log: PR target/54222 * config/avr/

[Bug tree-optimization/56064] Optimize VIEW_CONVERT_EXPR with FIXED_CST

2013-01-30 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56064 --- Comment #1 from Georg-Johann Lay 2013-01-30 11:04:35 UTC --- Author: gjl Date: Wed Jan 30 11:04:30 2013 New Revision: 195574 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195574 Log: gcc/ PR tree-optimization/56064

[Bug tree-optimization/56064] Optimize VIEW_CONVERT_EXPR with FIXED_CST

2013-01-30 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56064 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c/56164] avr-gcc 4.7.2 fail with __flash keyword

2013-01-31 Thread gjl at gcc dot gnu.org
||2013-01-31 CC||gjl at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #2 from Georg-Johann Lay 2013-01-31 15:24:58 UTC --- (In reply to comment #1) > testcase (zip-archive) Ple

[Bug c/56164] avr-gcc 4.7.2 fail with __flash keyword

2013-01-31 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56164 --- Comment #3 from Georg-Johann Lay 2013-01-31 20:25:20 UTC --- Created attachment 29322 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29322 Small an valis test case Output with avr-gcc 4.7.2: avr-gcc -S -mmcu=atmega8 -Os foo

[Bug target/56164] [avr] ICE: spill fail with __flash keyword

2013-01-31 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56164 Georg-Johann Lay changed: What|Removed |Added Target||avr Priority|P3

[Bug target/54888] GCC with -Os is faster than -O3 on some AVR code

2013-02-02 Thread gjl at gcc dot gnu.org
|gjl at gcc dot gnu.org | Resolution||INVALID --- Comment #6 from Georg-Johann Lay 2013-02-02 14:21:27 UTC --- Closed as invalid. No answer and no valid test case for over 3 months now.

[Bug target/49017] [avr] -ffunction-sections causes linker to fail

2013-02-02 Thread gjl at gcc dot gnu.org
|gjl at gcc dot gnu.org | Resolution||INVALID --- Comment #6 from Georg-Johann Lay 2013-02-02 14:22:46 UTC --- Closed as invalid. No answer and no valid test case for over 3 months now.

[Bug other/56183] New: [meta-bug][avr] Problems with register allocation

2013-02-02 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56183 Bug #: 56183 Summary: [meta-bug][avr] Problems with register allocation Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: meta-bu

[Bug other/56183] [meta-bug][avr] Problems with register allocation

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

[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 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-30 Thread gjl at gcc dot gnu.org
||gjl at gcc dot gnu.org Resolution|--- |INVALID

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

[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/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 there. *** This

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

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

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

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

[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 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, "avr-specifi

[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 target/81473] New: [avr] build fails due to INT8_MIN and friends.

2017-07-18 Thread gjl at gcc dot gnu.org
: target Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Mentioned macros from stdint.h are not available in older C++ standards which leads to abort when the compiler is being built with such a compiler.

[Bug target/81473] [avr] build fails due to INT8_MIN and friends.

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

[Bug target/81473] [avr] build fails due to INT8_MIN and friends.

2017-07-18 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81473 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Tue Jul 18 09:36:21 2017 New Revision: 250301 URL: https://gcc.gnu.org/viewcvs?rev=250301&root=gcc&view=rev Log: gcc/ PR target/81473 * config/avr/avr.c (avr_optimize_cas

[Bug target/81473] [avr] build fails due to INT8_MIN and friends.

2017-07-18 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81473 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Tue Jul 18 09:39:53 2017 New Revision: 250302 URL: https://gcc.gnu.org/viewcvs?rev=250302&root=gcc&view=rev Log: gcc/ Backport from 2017-07-18 trunk r250301. PR target/81

[Bug target/81473] [avr] build fails due to INT8_MIN and friends.

2017-07-18 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81473 Georg-Johann Lay changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

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

2017-07-19 Thread gjl at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- Compiling a trivial program fails: int main() { return 0; } $ avr-gcc simple.c -mmcu=atmega8 -v Using built-in specs. Reading specs

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

2017-07-20 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487 --- Comment #1 from Georg-Johann Lay --- FYI, the build compiler identifies as $ i686-w64-mingw32-gcc -v Using built-in specs. COLLECT_GCC=i686-w64-mingw32-gcc COLLECT_LTO_WRAPPER=/home/georg/bin/opt/mingw64-winpthreads-wildcard/mingw-w64-i686/

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

2017-07-20 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81147 --- Comment #7 from Georg-Johann Lay --- With your options (no -fverbose-asm for brevity), avr-gcc from trunk gives me _Z3abcv: push r28 ; 19 pushqi1/1 [length = 1] push r29 ; 20 pushqi1/1 [length

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

2017-07-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Fri Jul 21 15:58:14 2017 New Revision: 250428 URL: https://gcc.gnu.org/viewcvs?rev=250428&root=gcc&view=rev Log: lto-plugin/ PR lto/81487 * lto-plugin.c (claim_file_handl

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

2017-07-24 Thread gjl at gcc dot gnu.org
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Created attachment 41817 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41817&action=edit foo.cpp: C++ test cas

[Bug tree-optimization/81540] New: tree-switch-conversion leads to code bloat

2017-07-24 Thread gjl at gcc dot gnu.org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Created attachment 41821 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41821&action=edit cswtch.c: C test case The following code gets blown by tree

[Bug tree-optimization/81540] tree-switch-conversion leads to code bloat

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

[Bug tree-optimization/81540] tree-switch-conversion leads to code bloat

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81540 --- Comment #4 from Georg-Johann Lay --- (In reply to Jakub Jelinek from comment #3) > Estimating the size for non-switch converted switches is going to be really > hard. The point is that with -fno-tree-switch-conversion there is no switch at a

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

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81487 --- Comment #3 from Georg-Johann Lay --- Author: gjl Date: Tue Jul 25 09:59:44 2017 New Revision: 250499 URL: https://gcc.gnu.org/viewcvs?rev=250499&root=gcc&view=rev Log: gcc/ PR 81487 * hsa-brig.c (brig_init): Use xasprintf ins

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

2017-07-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80929 --- Comment #5 from Georg-Johann Lay --- (In reply to Richard Biener from comment #4) > Fixed? Not sure; the middle-end (rtlanal.c::insn_rtx_cost, seq_cost) are still bypassing PARALLELs with more than 1 SET, i.e. assume cost of 1.

[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 #8 from Georg-Johann Lay --- Author: gjl Date: Tue Jul 25 11:39:23 2017 New Revision: 250509 URL: https://gcc.gnu.org/viewcvs?rev=250509&root=gcc&view=rev Log: gcc/ Backport from 2017-05-06 trunk r247719. PR rtl-optim

[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 Target Milestone|--- |7.2

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

[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 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&action=edit pr49857-v2-all.diff: Proposed patch PR 49857 * target.def (TARGET_ADDR_SPACE_FOR_ARTIFICIAL

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

[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&root=gcc&view=rev Log: gcc/ Backport from 2017-07-12 trunk r250151. PR target/81

[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 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&root=gcc&view=rev Log: lto-plugin/ Backport from 2017-07-21 trunk r250428. PR lt

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

[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&root=gcc&view=rev Log: gcc/ Backport from 2017-07-12 trunk r250151. PR target/81

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

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

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

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

2017-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&root=gcc&view=rev Log: gcc/ Backport from 2016-06-15 trunk r237486. Backport fr

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

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

[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

[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 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&action=edit time-i.c: C test case (In reply to Richard Biener from comment #4) > Fixed? No. The attached test case $

[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] [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/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&action=edit snake-i.c: C test case. Th

[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&action=edit Assembly as generated by 3.4.6 for reference.

[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 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 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&root=gcc&view=rev Log: gcc/ PR target/81754 PR target/81268 * config/avr

[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/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&root=gcc&view=rev Log: gcc/ PR target/81754 PR target/81268 * config/avr

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

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