[Bug libstdc++/55233] libstdc++ atomic does not support hle_acquire/release

2016-10-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55233 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/78104] optimizer doesn't grok C++ new/delete yet

2016-10-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78104 --- Comment #4 from Richard Biener --- (In reply to Andrew Pinski from comment #3) > (In reply to Markus Trippelsdorf from comment #0) > > A simple example: > > > > int main() { > > int *ob = new int(); > > delete ob; > > } > > > > clang op

[Bug target/78103] Failure to optimize with __builtin_clzl

2016-10-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78103 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, i?86-*-* Status

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2016-10-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/78099] Typo in sem_function::get_hash

2016-10-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78099 --- Comment #1 from Richard Biener --- Yes.

[Bug middle-end/78098] error: interrupt service routine can't be called directly

2016-10-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78098 --- Comment #6 from Richard Biener --- Why would we be not able to tailcall in an interupt handler?

[Bug middle-end/78099] Typo in sem_function::get_hash

2016-10-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78099 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 --- Comment #3 from Marc Glisse --- (In reply to Richard Biener from comment #2) > This means using GCC vector extensions in the header for the intrinsic was > a bad idea in this particular case. Yes, the simplest fix is to revert to using the b

[Bug middle-end/78098] error: interrupt service routine can't be called directly

2016-10-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78098 --- Comment #7 from Martin Liška --- > Can ICF turn foo1 into a tail call to foo2 when foo2 has an interrupt > attribute? Problem here is that comp_type_attributes returns 1 as $18 = {name = 0x19d357b "interrupt", min_length = 0, max_length = 0

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 --- Comment #4 from Uroš Bizjak --- Created attachment 39877 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39877&action=edit Patch to enable generic expanders for sse-4.1 We need to enable a couple of expanders for sse-4.1. Hopefully midd

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 --- Comment #6 from Jakub Jelinek --- Or, if we are ok that for SSE4.1 (and not SSE4.2) the vectorizer just won't be able to use those V2DI equality (and gt?) comparisons, then revert part of the r217608 change and fold the builtin into generic v

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

2016-10-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71676 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Tue Oct 25 08:26:59 2016 New Revision: 241503 URL: https://gcc.gnu.org/viewcvs?rev=241503&root=gcc&view=rev Log: gcc/ PR target/71676 PR target/71678 * config/avr

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

2016-10-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71678 --- Comment #1 from Georg-Johann Lay --- Author: gjl Date: Tue Oct 25 08:26:59 2016 New Revision: 241503 URL: https://gcc.gnu.org/viewcvs?rev=241503&root=gcc&view=rev Log: gcc/ PR target/71676 PR target/71678 * config/avr

[Bug c++/64431] "-Wignored-qualifiers" warning gives misleading position in code

2016-10-25 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64431 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|paolo.carlini at

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

2016-10-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71676 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Tue Oct 25 08:35:17 2016 New Revision: 241504 URL: https://gcc.gnu.org/viewcvs?rev=241504&root=gcc&view=rev Log: gcc/ New avt target pass to work around performance loss by PR fi

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

2016-10-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71678 --- Comment #2 from Georg-Johann Lay --- Author: gjl Date: Tue Oct 25 08:35:17 2016 New Revision: 241504 URL: https://gcc.gnu.org/viewcvs?rev=241504&root=gcc&view=rev Log: gcc/ New avt target pass to work around performance loss by PR fi

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 --- Comment #7 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #4) > Let's see what breaks with the attached patch. The test compiles OK. As expected, fails following test with -msse4.1: --cut here-- typedef long long __m128i __attr

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 --- Comment #8 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #7) > (In reply to Jakub Jelinek from comment #5) > > > I'm not sure it is a good idea. Then expand_vec_cond_expr_p will return > > true, vectorizer will use them heavi

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

2016-10-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71676 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2016-10-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71678 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 --- Comment #9 from Richard Biener --- For fixing the regression I'd suggest to revert the intrinsic header change (for the branches).

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 --- Comment #10 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #8) > How would it expand? Repeat all the vector condition/comparison lowering > code from tree-vect-generic.c on RTL? Compared to that I think it would be > simpler

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 --- Comment #11 from Richard Biener --- A separate optab for equality compares would maybe work (if the difference between 4.1 and 4.2 is really equality vs. relational compares). vcond_eq (handling both signed/unsigned obviously).

[Bug middle-end/78103] Failure to optimize with __builtin_clzl

2016-10-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78103 Uroš Bizjak changed: What|Removed |Added Component|target |middle-end --- Comment #3 from Uroš Bizjak

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 --- Comment #12 from Uroš Bizjak --- (In reply to Richard Biener from comment #11) > A separate optab for equality compares would maybe work (if the difference > between 4.1 and 4.2 is really equality vs. relational compares). > vcond_eq (handlin

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 --- Comment #13 from Jakub Jelinek --- Actually, now that optabs are looked up using a binary search, the argument that conv optabs are very expensive doesn't hold any longer, plus we could arrange for only defining vcond_eq and vec_cmpeq if corr

[Bug middle-end/78103] Failure to optimize with __builtin_clzl

2016-10-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78103 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug middle-end/78103] Failure to optimize with __builtin_clzl

2016-10-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78103 --- Comment #5 from Richard Biener --- (In reply to Jakub Jelinek from comment #4) > I wouldn't introduce a builtin, that would be user accessible, perhaps > internal function + corresponding optab and just pattern match it. Yeah, IFN + optab is

[Bug target/78041] Wrong code on ARMv7 with -mthumb -mfpu=neon-fp16 -O0

2016-10-25 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78041 wilco at gcc dot gnu.org changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- C

[Bug target/78105] New: ICE during LTO bootstrap on AARCH64

2016-10-25 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 Bug ID: 78105 Summary: ICE during LTO bootstrap on AARCH64 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 --- Comment #14 from Jakub Jelinek --- Created attachment 39878 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39878&action=edit Untested patch for the middle-end bits Will try to add the expanders to sse.md now.

[Bug target/78041] Wrong code on ARMv7 with -mthumb -mfpu=neon-fp16 -O0

2016-10-25 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78041 --- Comment #15 from Bernd Edlinger --- FYI: You could merge the two alternatives into one. =?r,?&r 0, r i, i is equivalent to =?&r 0r i

[Bug target/78041] Wrong code on ARMv7 with -mthumb -mfpu=neon-fp16 -O0

2016-10-25 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78041 --- Comment #16 from wilco at gcc dot gnu.org --- Author: wilco Date: Tue Oct 25 10:25:28 2016 New Revision: 241508 URL: https://gcc.gnu.org/viewcvs?rev=241508&root=gcc&view=rev Log: With -fpu=neon DI mode shifts are expanded after reload. DI mo

[Bug target/78105] ICE during LTO bootstrap on AARCH64

2016-10-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/78041] Wrong code on ARMv7 with -mthumb -mfpu=neon-fp16 -O0

2016-10-25 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78041 --- Comment #17 from wilco at gcc dot gnu.org --- (In reply to Bernd Edlinger from comment #15) > FYI: You could merge the two alternatives into one. > > =?r,?&r > 0, r > i, i > > is equivalent to > > =?&r > 0r > i Yes, that seems po

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/78105] ICE during LTO bootstrap on AARCH64

2016-10-25 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 --- Comment #2 from PeteVine --- I've run the command in gdb but there's no stack after reproducing the crash - suggestions?

[Bug target/78105] ICE during LTO bootstrap on AARCH64

2016-10-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 --- Comment #3 from Martin Liška --- Please try to add following to your compile flags: -wrapper gdb,--args However I guess the problem is that build-lto/./gcc/xgcc binary is somehow miscompiled.

[Bug sanitizer/78106] New: ASAN can't find heap-use-after-free with -O1

2016-10-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78106 Bug ID: 78106 Summary: ASAN can't find heap-use-after-free with -O1 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: sa

[Bug target/78105] ICE during LTO bootstrap on AARCH64

2016-10-25 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 --- Comment #4 from PeteVine --- That helped, running gdb --args manually wasn't working obviously: Program received signal SIGSEGV, Segmentation fault. _Unwind_GetGR (index=29, context=0x7fae00) at ../../../libgcc/unwind-dw2.c:240 240

[Bug sanitizer/78106] ASAN can't find heap-use-after-free with -O1

2016-10-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78106 --- Comment #1 from Martin Liška --- Patch has been just sent: https://gcc.gnu.org/ml/gcc-patches/2016-10/msg02010.html

[Bug ipa/78099] Typo in sem_function::get_hash

2016-10-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78099 --- Comment #3 from Martin Liška --- Author: marxin Date: Tue Oct 25 12:20:19 2016 New Revision: 241510 URL: https://gcc.gnu.org/viewcvs?rev=241510&root=gcc&view=rev Log: Fix 2 typos in IPA ICF pass * gcc.dg/ipa/ipa-icf-32.c: Removed on

[Bug ipa/78099] Typo in sem_function::get_hash

2016-10-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78099 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gcov-profile/78086] FAIL: gcc.misc-tests/gcov-1.c, etc

2016-10-25 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78086 --- Comment #2 from dave.anglin at bell dot net --- On 2016-10-24, at 4:53 AM, marxin at gcc dot gnu.org wrote: > However, 'cannot open data file, assuming not executed' message is very > suspicious. The .gcda files are not being generated. Inv

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-25 Thread pawel_sikora at zoho dot com
le-128 --disable-cld --disable-bootstrap Thread model: posix gcc version 7.0.0 20161025 (experimental) (GCC) ~/src/gcc-install/usr/local/bin/g++ -fuse-ld=gold -g2 -Og -fsanitize=address -Wl,-rpath,/home/pawels/src/gcc-install/usr/local/lib64 -flto s.cpp -shared -o s.so -fPIC -pthread ~/src/gcc-

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-25 Thread m.ostapenko at samsung dot com
--enable-linux-futex --enable-threads=posix > --enable-shared --with-pic --enable-gold --enable-__cxa_atexit > --enable-gnu-unique-object --enable-initfini-array --enable-languages=c,c++ > --enable-checking=release --with-long-double-128 --disable-cld > --disable-bootstrap > Thread m

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-25 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 --- Comment #9 from Pawel Sikora --- (In reply to Maxim Ostapenko from comment #8) > Hm, perhaps environment issue. What version of Glibc do you use? glibc-2.23.1-10.fc24.x86_64

[Bug sanitizer/78106] ASAN can't find heap-use-after-free with -O1

2016-10-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78106 --- Comment #2 from Martin Liška --- Author: marxin Date: Tue Oct 25 14:16:10 2016 New Revision: 241511 URL: https://gcc.gnu.org/viewcvs?rev=241511&root=gcc&view=rev Log: Fix not caught use-after-scope with -O1 (PR sanitize/78106) PR sa

[Bug libstdc++/78058] Complex initialization of nested std::optional does not work

2016-10-25 Thread akrzemi1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78058 --- Comment #1 from Andrzej Krzemienski --- Fore some background, the bug is caused by GCC correctly implementing p0032r2. Technically GCC is compliant with N4604, however the tags as specified in 20.2 are buggy, as can be seen in the initial exa

[Bug sanitizer/78106] ASAN can't find heap-use-after-free with -O1

2016-10-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78106 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/78098] error: interrupt service routine can't be called directly

2016-10-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78098 --- Comment #8 from H.J. Lu --- (In reply to Martin Liška from comment #7) > > Can ICF turn foo1 into a tail call to foo2 when foo2 has an interrupt > > attribute? > > Problem here is that comp_type_attributes returns 1 as > > $18 = {name = 0x1

[Bug middle-end/78098] error: interrupt service routine can't be called directly

2016-10-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78098 --- Comment #9 from H.J. Lu --- (In reply to Richard Biener from comment #6) > Why would we be not able to tailcall in an interupt handler? We need to verify that the only instruction in an interrupt handler is a tail call to another interrupt h

[Bug middle-end/78098] error: interrupt service routine can't be called directly

2016-10-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78098 --- Comment #10 from Martin Liška --- (In reply to H.J. Lu from comment #9) > (In reply to Richard Biener from comment #6) > > Why would we be not able to tailcall in an interupt handler? > > We need to verify that the only instruction in an int

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 --- Comment #16 from Marc Glisse --- (In reply to Jakub Jelinek from comment #6) > Or, if we are ok that for SSE4.1 (and not SSE4.2) the vectorizer just won't > be able to use those V2DI equality (and gt?) comparisons, then revert part > of the r

[Bug other/61439] contrib/download_prerequisites script does not verify integrity of packages

2016-10-25 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61439 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug sanitizer/77982] deadlock in asan thread initialization/interception.

2016-10-25 Thread m.ostapenko at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982 --- Comment #10 from Maxim Ostapenko --- (In reply to Pawel Sikora from comment #9) > (In reply to Maxim Ostapenko from comment #8) > > > Hm, perhaps environment issue. What version of Glibc do you use? > > glibc-2.23.1-10.fc24.x86_64 Reproduc

[Bug c/65452] strcmp (foo, foo) could give a warning

2016-10-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65452 --- Comment #8 from Marek Polacek --- Created attachment 39880 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39880&action=edit Wsame-arguments I'm attaching a patch to implement a warning for this, named -Wsame-arguments. The problem is

[Bug c/65452] strcmp (foo, foo) could give a warning

2016-10-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65452 --- Comment #9 from Marek Polacek --- Testcase: #include #define STR1 "str" #define STR2 "str" #define S1 (s) #define S2 (s) int f (const char *s) { int r = 0; r += strcmp (s, s) == 0; r += __builtin_strcmp (s, s) == 0; r += strcmp

[Bug c/65452] strcmp (foo, foo) could give a warning

2016-10-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65452 --- Comment #10 from Marek Polacek --- And another #include struct S { int val; }; int f (struct S *sym1, struct S *sym2 __attribute__((unused))) { return memcmp (&sym1->val, &sym1->val, sizeof (sym1->val)); } #define N 0 #define M 0 i

[Bug classpath/29304] autoconf should be used in libjava to check for fabs, fabsf and scalbn

2016-10-25 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29304 --- Comment #2 from Eric Gallager --- GCJ has been removed from GCC 7. So "wontfix"?

[Bug target/48097] new Throw_2 failures in libjava under Xcode 4.0

2016-10-25 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48097 --- Comment #12 from Eric Gallager --- GCJ has been removed from GCC 7. But on the other hand this isn't really so much a java bug itself as it is an unwinding bug that java just happened to be the one to tickle. So is it worth keeping this bug o

[Bug target/48097] new Throw_2 failures in libjava under Xcode 4.0

2016-10-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48097 --- Comment #13 from Iain Sandoe --- (In reply to Eric Gallager from comment #12) > GCJ has been removed from GCC 7. But on the other hand this isn't really so > much a java bug itself as it is an unwinding bug that java just happened to > be the

[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 --- Comment #17 from Jakub Jelinek --- Author: jakub Date: Tue Oct 25 16:26:12 2016 New Revision: 241525 URL: https://gcc.gnu.org/viewcvs?rev=241525&root=gcc&view=rev Log: PR target/78102 * optabs.def (vcondeq_optab, vec_cmpeq_op

[Bug tree-optimization/78107] New: verify_gimple failed ICE caused by Gimple loop splitting patch

2016-10-25 Thread tamar.christina at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78107 Bug ID: 78107 Summary: verify_gimple failed ICE caused by Gimple loop splitting patch Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal P

[Bug target/78102] [5/6 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

2016-10-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102 Jakub Jelinek changed: What|Removed |Added Summary|[5/6/7 regression] GCC |[5/6 regression] GCC |

[Bug libfortran/77473] New PRNG causes regressions on DragonFly BSD

2016-10-25 Thread rimvydas.jas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77473 Rimvydas (RJ) changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/72770] [7 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:263

2016-10-25 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72770 --- Comment #8 from vehre at gcc dot gnu.org --- Author: vehre Date: Tue Oct 25 17:01:58 2016 New Revision: 241528 URL: https://gcc.gnu.org/viewcvs?rev=241528&root=gcc&view=rev Log: gcc/testsuite/ChangeLog: 2016-10-25 Andre Vehreschild

[Bug c++/54548] unclear error message for ambiguous type lookup.

2016-10-25 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54548 Pawel Sikora changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug libstdc++/63746] i/o fragmentation inside basic_filebuf::xsputn

2016-10-25 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63746 Pawel Sikora changed: What|Removed |Added Known to fail||4.9.2, 5.4.1, 6.2.1 --- Comment #2 from P

[Bug other/52609] -Wstrict-aliasing / missed diagnostics

2016-10-25 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52609 Pawel Sikora changed: What|Removed |Added Known to fail||7.0 --- Comment #5 from Pawel Sikora ---

[Bug classpath/29304] autoconf should be used in libjava to check for fabs, fabsf and scalbn

2016-10-25 Thread gnu_andrew at member dot fsf.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29304 Andrew John Hughes changed: What|Removed |Added CC||gnu_andrew at member dot fsf.org -

[Bug c++/52231] [missed optimization/diagnostics] address-of-reference

2016-10-25 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52231 Pawel Sikora changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug tree-optimization/77309] [5/6/7 Regression] wrong code at -Os and above on x86_64-linux-gnu (in the 64-bit mode)

2016-10-25 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77309 Bernd Schmidt changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/77974] m68k bootstrap failure due to -Werror=implicit-fallthrough

2016-10-25 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77974 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug plugins/46577] cp-tree.h: c-common.h/hard-reg-set.h needs to be installed into plugin directory.

2016-10-25 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46577 Pawel Sikora changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/77308] surprisingly large stack usage for sha512 on arm

2016-10-25 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77308 --- Comment #13 from Bernd Edlinger --- I am still trying to understand why thumb1 seems to outperform thumb2. Obviously thumb1 does not have the shiftdi3 pattern, but even if I remove these from thumb2, the result is still not par with thumb2.

[Bug middle-end/78098] error: interrupt service routine can't be called directly

2016-10-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78098 --- Comment #11 from H.J. Lu --- (In reply to Martin Liška from comment #10) > (In reply to H.J. Lu from comment #9) > > (In reply to Richard Biener from comment #6) > > > Why would we be not able to tailcall in an interupt handler? > > > > We n

[Bug target/77308] surprisingly large stack usage for sha512 on arm

2016-10-25 Thread wdijkstr at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77308 --- Comment #14 from Wilco --- (In reply to Bernd Edlinger from comment #13) > I am still trying to understand why thumb1 seems to outperform thumb2. > > Obviously thumb1 does not have the shiftdi3 pattern, > but even if I remove these from thum

[Bug fortran/78108] New: Generic type-bound operator conflicts

2016-10-25 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78108 Bug ID: 78108 Summary: Generic type-bound operator conflicts Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug other/78109] New: ld with -pie creates a shared library instead of an executable

2016-10-25 Thread hadrien-gcc at psydk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78109 Bug ID: 78109 Summary: ld with -pie creates a shared library instead of an executable Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/42195] missed xnor optimization.

2016-10-25 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42195 Pawel Sikora changed: What|Removed |Added Known to fail||7.0 --- Comment #2 from Pawel Sikora ---

[Bug middle-end/34212] spurious warning: value computed is not used

2016-10-25 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34212 Pawel Sikora changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug sanitizer/78106] ASAN can't find heap-use-after-free with -O1

2016-10-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78106 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Oct 25 20:15:20 2016 New Revision: 241537 URL: https://gcc.gnu.org/viewcvs?rev=241537&root=gcc&view=rev Log: PR sanitizer/78106 * gcc.dg/asan/pr78106.c: Add -ffat-lto-

[Bug fortran/45516] [F08] allocatable compontents of recursive type

2016-10-25 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45516 --- Comment #8 from Paul Thomas --- Author: pault Date: Tue Oct 25 20:37:05 2016 New Revision: 241539 URL: https://gcc.gnu.org/viewcvs?rev=241539&root=gcc&view=rev Log: 2016-10-25 Paul Thomas PR fortran/45516 * class.c (gfc_f

[Bug target/77308] surprisingly large stack usage for sha512 on arm

2016-10-25 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77308 --- Comment #15 from Bernd Edlinger --- (In reply to Wilco from comment #14) > (In reply to Bernd Edlinger from comment #13) > > I am still trying to understand why thumb1 seems to outperform thumb2. > > > > Obviously thumb1 does not have the sh

[Bug tree-optimization/78107] [7 Regression] verify_gimple failed ICE caused by Gimple loop splitting patch

2016-10-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78107 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNCO

[Bug other/78109] ld with -pie creates a shared library instead of an executable

2016-10-25 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78109 --- Comment #1 from joseph at codesourcery dot com --- That's what a PIE is: an ET_DYN that can be directly executed. There is no bug here.

[Bug other/78109] ld with -pie creates a shared library instead of an executable

2016-10-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78109 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/78105] ICE during LTO bootstrap on AARCH64

2016-10-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 Andrew Pinski changed: What|Removed |Added Keywords||build, wrong-code --- Comment #5 from An

[Bug target/78105] ICE during LTO bootstrap on AARCH64 with extra options

2016-10-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78105 --- Comment #6 from Andrew Pinski --- > -O3 -mtune=cortex-a53 -fomit-frame-pointer -fipa-pta -march=armv8-a+crc > -ftree-vectorize Can you show the exact command line which you used to configure GCC? And the output of env? A normal bootstrap

[Bug target/77308] surprisingly large stack usage for sha512 on arm

2016-10-25 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77308 --- Comment #16 from Bernd Edlinger --- Wow. look at this: Index: arm.md === --- arm.md (revision 241539) +++ arm.md (working copy) @@ -448,7 +448,7 @@ (plus:DI

[Bug gcov-profile/78086] FAIL: gcc.misc-tests/gcov-1.c, etc

2016-10-25 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78086 --- Comment #3 from dave.anglin at bell dot net --- On 2016-10-25, at 8:29 AM, dave.anglin at bell dot net wrote: >> However, 'cannot open data file, assuming not executed' message is very >> suspicious. > > The .gcda files are not being generat

[Bug target/43750] -march unconditionally added to COLLECT_GCC_OPTIONS

2016-10-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43750 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/43515] Basic block re-ordering unconditionally disabled for Os

2016-10-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43515 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #5 from

[Bug libstdc++/78110] New: freestanding libstdc++ fails to compile

2016-10-25 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78110 Bug ID: 78110 Summary: freestanding libstdc++ fails to compile Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug libstdc++/78110] freestanding libstdc++ fails to compile

2016-10-25 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78110 --- Comment #1 from Bernd Edlinger --- oh, I am using eCos and that is based on newlib but on a very very old one. I don't know what happens when I dont use --with-newlib, but I can try... configure.ac has this: # First, test for "known" syste