[Bug tree-optimization/71179] [7 Regression] ice fold_convert_loc, at fold-const.c:2360

2016-05-21 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71179 --- Comment #4 from kugan at gcc dot gnu.org --- Author: kugan Date: Sat May 21 07:09:16 2016 New Revision: 236554 URL: https://gcc.gnu.org/viewcvs?rev=236554&root=gcc&view=rev Log: gcc/testsuite/ChangeLog: 2016-05-21 Kugan Vivekanandarajah

[Bug target/67973] All the tests for -gstabs* fail on x86_64-apple-darwin14 with Xcode 7

2016-05-21 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67973 --- Comment #21 from dominiq at gcc dot gnu.org --- Author: dominiq Date: Sat May 21 08:35:25 2016 New Revision: 236556 URL: https://gcc.gnu.org/viewcvs?rev=236556&root=gcc&view=rev Log: @@ -1,3 +1,22 @@ 2016-05-21 Iain Sandoe Domi

[Bug fortran/66461] [4.9/5/6/7 Regression] ICE on missing end program in fixed source

2016-05-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66461 --- Comment #15 from Dominique d'Humieres --- > Another odd thing I found is on or about scanner.c:1530 is this: > > if (c == '0' || c == ' ' || c == '\n') > > What is the significance of a zero digit in that position. ... '0' is not a cont

[Bug target/71000] Wrong defines for ATMEGA328p

2016-05-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71000 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

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

2016-05-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 Target||avr Status|UNCONFIRMED

[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70999 Georg-Johann Lay changed: What|Removed |Added Target||avr Status|UNCONFIRMED

[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/71103] avr-gcc crashes with unrecognizable insn error

2016-05-21 Thread denisc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #2 from denisc at gcc dot gnu.org --- Author: denisc Date: Sat May 21 10:47:27 2016 New Revision: 236558 URL: https://gcc.gnu.org/viewcvs?rev=236558&root=gcc&view=rev Log: PR target/71103 * config/avr/avr.md (define_ex

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

2016-05-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 Georg-Johann Lay changed: What|Removed |Added Keywords||missed-optimization Targe

[Bug target/70676] suboptimal code generation on AVR

2016-05-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70676 Georg-Johann Lay changed: What|Removed |Added Keywords||missed-optimization Targe

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

2016-05-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69647 Georg-Johann Lay changed: What|Removed |Added Target||avr Status|WAITING

[Bug c++/71218] New: Add a warning about "new T[integer-literal]"

2016-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71218 Bug ID: 71218 Summary: Add a warning about "new T[integer-literal]" Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: diagnostic Severity: enhancement Pri

[Bug c++/71218] Add a warning about "new T[integer-literal]"

2016-05-21 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71218 --- Comment #1 from Marc Glisse --- Can you be more specific? Do you mean people should have written: T tab[8]; instead? What if 8 or sizeof(T) is large? If your "..." includes possible writes to p, or if p escapes and "..." may throw, I guess th

[Bug c++/63999] Explicit conversion operators are not considered for explicit cast using braces

2016-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63999 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Last reconfirmed|2014-

[Bug c/71219] New: Warn about (struct S*)malloc(n) where n < sizeof(struct S)

2016-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71219 Bug ID: 71219 Summary: Warn about (struct S*)malloc(n) where n < sizeof(struct S) Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug c/25702] feature request: generate a warning for sizeof on a pointer

2016-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25702 --- Comment #12 from Jonathan Wakely --- PR 71219 requests a new warning for: struct S* p = (struct S*)malloc(sizeof(p)); which would solve some of the other bugs shown in comment 3.

[Bug c/25702] feature request: generate a warning for sizeof on a pointer

2016-05-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25702 --- Comment #13 from Jakub Jelinek --- If we add such a warning, IMNSHO it shouldn't be in -Wall, because sizeof on pointer is a perfectly valid thing, which is used in huge amounts of code, there is really nothing wrong on it.

[Bug c++/71218] Add a warning about "new T[integer-literal]"

2016-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71218 --- Comment #2 from Jonathan Wakely --- (In reply to Marc Glisse from comment #1) > Can you be more specific? Do you mean people should have written: > T tab[8]; Yes, exactly. I was fixing some code earlier today that used a dynamically allocate

[Bug c/25702] feature request: generate a warning for sizeof on a pointer

2016-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25702 --- Comment #14 from Jonathan Wakely --- See PR 71219 and the TC it links to. The suggestion is to warn for (T*)malloc(n) where n < sizeof(T) i.e. when there is enough context to infer that what was intended was malloc(sizeof(T)). The occurrence

[Bug c/25702] feature request: generate a warning for sizeof on a pointer

2016-05-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25702 --- Comment #15 from Jakub Jelinek --- Even (T*)malloc(n) where n < sizeof(T) is quite common, e.g. in GCC itself (well, we don't usually use malloc but some ggc_alloc*) - e.g. if T is a union and the code wants to allocate memory just for one of

[Bug c++/71205] c++14 wrong constructor resolution

2016-05-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71205 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIR

[Bug target/71191] aarch64 and others: __atomic_load;arithmetic;__atomic_compare_exchange loops should be able to generate better code with LL/SC-type constructs than a CAS loop

2016-05-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71191 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|n

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-05-21 Thread m-ou...@m-ou.se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 Maurice changed: What|Removed |Added CC||m-ou...@m-ou.se --- Comment #12 from Maurice

[Bug fortran/66461] [4.9/5/6/7 Regression] ICE on missing end program in fixed source

2016-05-21 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66461 --- Comment #16 from kargl at gcc dot gnu.org --- (In reply to Jerry DeLisle from comment #10) > This is a bandaid, but it works. > > diff --git a/gcc/fortran/match.c b/gcc/fortran/match.c > index 2490f856..726973a6 100644 > --- a/gcc/fortran/mat

[Bug target/71056] [6/7 Regression] __builtin_bswap32 NEON instruction error with -O3

2016-05-21 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71056 --- Comment #4 from Yichao Yu --- (Sorry I'm not sure how to understand that cross link). Is the fix merged?

[Bug fortran/66461] [4.9/5/6/7 Regression] ICE on missing end program in fixed source

2016-05-21 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66461 --- Comment #17 from Jerry DeLisle --- Steve, I like your patch much better. I will test and commit for you with a Changelog Dominique, Do you have a version of gfortran where this does not give an ICE??? I have just one other thing to check fi

[Bug fortran/66461] [4.9/5/6/7 Regression] ICE on missing end program in fixed source

2016-05-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66461 --- Comment #18 from Dominique d'Humieres --- > Dominique, Do you have a version of gfortran where this does not give an > ICE??? 4.3.1, 4.3.6, and 4.4.7 (see comment 13).

[Bug c++/71220] New: ICE on instantiation using variadic template

2016-05-21 Thread rippey.e at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71220 Bug ID: 71220 Summary: ICE on instantiation using variadic template Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/71221] New: [concepts] ICE in tsubst_pack_expansion when expanding a sizeof... expression in a requires clause of a member function template

2016-05-21 Thread tom at honermann dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71221 Bug ID: 71221 Summary: [concepts] ICE in tsubst_pack_expansion when expanding a sizeof... expression in a requires clause of a member function template Product: gcc

[Bug c++/71222] New: [concepts] ill-formed code taking the address of a function concept not rejected

2016-05-21 Thread tom at honermann dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71222 Bug ID: 71222 Summary: [concepts] ill-formed code taking the address of a function concept not rejected Product: gcc Version: unknown Status: UNCONFIRMED Severi

[Bug c++/71221] [concepts] ICE in tsubst_pack_expansion when expanding a sizeof... expression in a requires clause of a member function template

2016-05-21 Thread tom at honermann dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71221 --- Comment #1 from Tom Honermann --- (In reply to Tom Honermann from comment #0) > $ g++ --version > g++ (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010 Oops, I ran the above in the wrong terminal session. The correct gcc version info is: $ g++ --ver

[Bug c++/71223] New: [fold expression] Incorrect processing a fold expression

2016-05-21 Thread sergstrukovlink at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71223 Bug ID: 71223 Summary: [fold expression] Incorrect processing a fold expression Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Prior