[Bug target/70117] ppc long double isinf() is wrong?

2016-03-07 Thread uweigand at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117 --- Comment #7 from Ulrich Weigand --- Ah, OK. I did't realize this value didn't fit into a 106-bit mantissa. I agree that it probably doesn't make sense to change the internal representation to allow larger mantissas. First of all, there's no

[Bug sanitizer/70135] New: -fsanitize=undefined causes static_assert to fail

2016-03-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70135 Bug ID: 70135 Summary: -fsanitize=undefined causes static_assert to fail Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: s

[Bug c++/70112] [lto] Segmentation fault in Libreoffice's program gengal.bin when build with LTO

2016-03-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70112 Markus Trippelsdorf changed: What|Removed |Added CC||hubicka at ucw dot cz --- Comment

[Bug lto/69953] [5/6 Regression] Using lto causes gtkmm/gparted and gtkmm/inkscape compile to fail

2016-03-07 Thread john.frankish at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69953 --- Comment #16 from john.frankish at outlook dot com --- Any news on a possible patch?

[Bug c/7652] -Wswitch-break : Warn if a switch case falls through

2016-03-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7652 --- Comment #38 from Jonathan Wakely --- (In reply to Matthew Woehlke from comment #37) > [[fallthrough]] was approved for C++17. While the standard does not > normatively *require* a diagnostic, it's certainly expected that one be > issued. It's

[Bug c++/53637] NRVO not applied where there are two different variables involved

2016-03-07 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53637 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #6 from TC ---

[Bug rtl-optimization/70134] New: combine misses jump optimization on powerpc64le

2016-03-07 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70134 Bug ID: 70134 Summary: combine misses jump optimization on powerpc64le Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component

[Bug c/70133] New: AArch64 -mtune=native generates improperly formatted -march parameters

2016-03-07 Thread davidwillmore at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70133 Bug ID: 70133 Summary: AArch64 -mtune=native generates improperly formatted -march parameters Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal

[Bug target/70117] ppc long double isinf() is wrong?

2016-03-07 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117 --- Comment #6 from Alan Modra --- > Well, what I don't quite understand is that the gnulib value, which is > > 0x1.f7cp+1023 Sorry, I didn't look properly at the bug before commenting last night. For some reason I thou

[Bug target/70117] ppc long double isinf() is wrong?

2016-03-07 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117 --- Comment #5 from joseph at codesourcery dot com --- The issue is that GCC internally handles IBM long double as having a 106-bit mantissa. There is one value that is larger than can be represented with a 106-bit mantissa, while still being

[Bug c/70114] Incompatible implicit function declaration error when parameters actually match a prototype in another scope

2016-03-07 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70114 --- Comment #1 from joseph at codesourcery dot com --- On Mon, 7 Mar 2016, tanzx940228 at hotmail dot com wrote: > 3.gcc.error.c > - > int main() { > { > int foo(float arg0, float arg1); > foo(3.0f, 4.0f); > }

[Bug target/70048] [6 Regression][AArch64] Inefficient local array addressing

2016-03-07 Thread wdijkstr at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70048 --- Comment #12 from Wilco --- (In reply to Jiong Wang from comment #11) > (In reply to Richard Henderson from comment #10) > > Created attachment 37890 [details] > > second patch > > > > Still going through full testing, but I wanted to post th

[Bug fortran/70058] Segmentation fault when open file with existing file and status = "UNKNOWN"

2016-03-07 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70058 Jerry DeLisle changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/70112] [lto] Segmentation fault in Libreoffice's program gengal.bin when build with LTO

2016-03-07 Thread kabel at blackhole dot sk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70112 --- Comment #3 from Marek Behun --- Created attachment 37892 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37892&action=edit sanitizer-output.txt

[Bug target/70048] [6 Regression][AArch64] Inefficient local array addressing

2016-03-07 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70048 --- Comment #11 from Jiong Wang --- (In reply to Richard Henderson from comment #10) > Created attachment 37890 [details] > second patch > > Still going through full testing, but I wanted to post this > before the end of the day. > > This updat

[Bug c++/70112] [lto] Segmentation fault in Libreoffice's program gengal.bin when build with LTO

2016-03-07 Thread kabel at blackhole dot sk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70112 --- Comment #2 from Marek Behun --- (In reply to Markus Trippelsdorf from comment #1) Does not happen with -O0, does with -O1, -O2, -O3. When gengal.bin is compiled with -O0 -fsanitize=undefined, then in runs successfully, but the sanitizer pri

[Bug driver/70132] New: ARM -mcpu=native can cause a double free abort.

2016-03-07 Thread dariushardy1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70132 Bug ID: 70132 Summary: ARM -mcpu=native can cause a double free abort. Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d

[Bug tree-optimization/70128] Linux kernel div patching optimized away

2016-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70128 --- Comment #8 from Jakub Jelinek --- Well, it is a question if it is -fno-strict-aliasing or -std=kernel thing. Anyway, IMHO what matters is the points-to stuff: Points-to sets ANYTHING = { ANYTHING } ESCAPED = { ESCAPED NONLOCAL __aeabi_uidiv

[Bug target/59054] Powerpc -O0 -mcpu=power7 generates sub-optimal code to load 0

2016-03-07 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59054 Michael Meissner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/70131] PowerPC ISA 2.07 is inefficient at doint (float)(int)x.

2016-03-07 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70131 Michael Meissner changed: What|Removed |Added CC||dje at gcc dot gnu.org,

[Bug target/70131] New: PowerPC ISA 2.07 is inefficient at doint (float)(int)x.

2016-03-07 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70131 Bug ID: 70131 Summary: PowerPC ISA 2.07 is inefficient at doint (float)(int)x. Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority

[Bug tree-optimization/70128] Linux kernel div patching optimized away

2016-03-07 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70128 --- Comment #7 from Richard Henderson --- (In reply to Andrew Pinski from comment #5) > I still say this is undefined even with -fno-strict-aliasing because > patching a function is undefined. Oh please. I think that's short-sighted. I don't s

[Bug tree-optimization/70130] [6 Regression] h264ref fails with verification error starting with r231674

2016-03-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70130 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug tree-optimization/70130] New: h264ref fails with verification error starting with r231674

2016-03-07 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70130 Bug ID: 70130 Summary: h264ref fails with verification error starting with r231674 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/70128] Linux kernel div patching optimized away

2016-03-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70128 --- Comment #6 from Andrew Pinski --- Note since 4.5 is not out yet there looks to be another week before it comes out. The fix to the kernel can make it in.

[Bug tree-optimization/70128] Linux kernel div patching optimized away

2016-03-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70128 --- Comment #5 from Andrew Pinski --- I still say this is undefined even with -fno-strict-aliasing because patching a function is undefined.

[Bug tree-optimization/70128] Linux kernel div patching optimized away

2016-03-07 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70128 --- Comment #4 from Jeffrey A. Law --- Shouldn't the call to v7_coherent_kern_range prevent DSE from removing the store to fn_addr[0] and fn_addr[1]? It feels like the undefined nature of this code is leading to a lack of proper dataflow for the

[Bug target/70048] [6 Regression][AArch64] Inefficient local array addressing

2016-03-07 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70048 Richard Henderson changed: What|Removed |Added Attachment #37886|0 |1 is obsolete|

[Bug lto/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-03-07 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 --- Comment #9 from Bernd Schmidt --- Hmm, seems to break Ada of all things...

[Bug libstdc++/70129] [6 Regression] stdlib.h: No such file or directory when using -isystem /usr/include

2016-03-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/70129] [6 Regression] stdlib.h: No such file or directory when using -isystem /usr/include

2016-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug middle-end/70127] [6 Regression] wrong code on x86_64-linux-gnu at -O3 in 32-bit and 64-bit modes

2016-03-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70127 Markus Trippelsdorf changed: What|Removed |Added Keywords||wrong-code Status|UNCO

[Bug libstdc++/70129] New: [6 Regression] stdlib.h: No such file or directory when using -isystem /usr/include

2016-03-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129 Bug ID: 70129 Summary: [6 Regression] stdlib.h: No such file or directory when using -isystem /usr/include Product: gcc Version: 6.0 Status: UNCONFIRMED Severi

[Bug target/70064] Wrong code with custom flags and quite big testcase @ i686

2016-03-07 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70064 --- Comment #12 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #5) > So, shall we silently disable -mred-zone for -fpic/-fPIE in 32-bit code? > Or error out in that combination? > Or disable it only if we need PIC pointer? > What ab

[Bug target/70064] Wrong code with custom flags and quite big testcase @ i686

2016-03-07 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70064 Uroš Bizjak changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/70128] Linux kernel div patching optimized away

2016-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70128 --- Comment #3 from Jakub Jelinek --- *.mergephi1 has (just the first half, the second one is analogous): __aeabi_uidiv.0_1 = (long unsigned int) __aeabi_uidiv; fn_addr_2 = __aeabi_uidiv.0_1 & 4294967294; fn_addr.1_3 = (unsigned int *) fn_a

[Bug target/70064] Wrong code with custom flags and quite big testcase @ i686

2016-03-07 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70064 --- Comment #10 from uros at gcc dot gnu.org --- Author: uros Date: Mon Mar 7 19:54:02 2016 New Revision: 234050 URL: https://gcc.gnu.org/viewcvs?rev=234050&root=gcc&view=rev Log: PR target/70064 * config/i386/i386.h (machine_fun

[Bug tree-optimization/70128] Linux kernel div patching optimized away

2016-03-07 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70128 --- Comment #2 from Jeffrey A. Law --- Just so I'm clear on what's happening here. Precisely which stores are getting removed?

[Bug tree-optimization/70128] Linux kernel div patching optimized away

2016-03-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70128 --- Comment #1 from Andrew Pinski --- I think anyone patching functions need to be considered special and undefined. In most cases they did not mean to do it. Just the kernel is special. > just add an optimization barrier on fn_addr (like asm

[Bug tree-optimization/70128] New: Linux kernel div patching optimized away

2016-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70128 Bug ID: 70128 Summary: Linux kernel div patching optimized away Product: gcc Version: 6.0 URL: https://bugzilla.redhat.com/show_bug.cgi?id=1303147 Status: UNCONFIRMED

[Bug c++/70126] VLA accepted in sizeof and typedef, allowing integer overflow

2016-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70126 --- Comment #2 from Martin Sebor --- Yes, there are some significant differences between C99 VLAs and N3639. I don't know how common using sizeof with VLA types is in C++. I suspect not very. VLAs never did make it into C++ 14 (though I'm not

[Bug target/70048] [6 Regression][AArch64] Inefficient local array addressing

2016-03-07 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70048 --- Comment #9 from Richard Henderson --- While I fully believe in CSE'ing "base + reg*scale" when talking about non-stack-based pointers, when it comes to stack-based data access I'm less certain about the proper approach. All things work out "

[Bug tree-optimization/70094] Missed optimization when passing a constant struct argument by value

2016-03-07 Thread robryk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70094 --- Comment #2 from Robert Obryk --- Note that this optimization can not only be applied when the parameter is a compile-time constant. The following function can also be compiled so as not to touch the stack: --snip-- struct foo { int a; in

[Bug web/70127] New: wrong code on x86_64-linux-gnu at -O3 in 32-bit and 64-bit modes

2016-03-07 Thread chengniansun at gmail dot com
Thread model: posix gcc version 6.0.0 20160307 (experimental) [trunk revision 234022] (GCC) $: $: gcc-trunk -O3 small.c ; ./a.out 0 $: gcc-4.7 -O3 small.c ; ./a.out 0 $: gcc-4.8 -O3 small.c ; ./a.out 0 $: gcc-trunk -O0 small.c ; ./a.out 1 $: cat small.c int printf(const char *, ...); struct S0

[Bug target/24998] [4.9/5/6 Regression] Build failure: undefined symbol __floatunsitf

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

[Bug bootstrap/44756] [meta-bug] --enable-werror-always issues

2016-03-07 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44756 Bug 44756 depends on bug 49401, which changed state. Bug 49401 Summary: Warning regression for 'uninitialized' variable on non-existant code path (in mep-pragma.c) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49401 What|Removed

[Bug other/49401] Warning regression for 'uninitialized' variable on non-existant code path (in mep-pragma.c)

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

[Bug target/64402] mep-elf ICE in pre_and_rev_post_order_compute, at cfganal.c:1022

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

[Bug c++/70126] VLA accepted in sizeof and typedef, allowing integer overflow

2016-03-07 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70126 --- Comment #1 from Florian Weimer --- There seems to be a fundamental incompatibility here with supporting the GNU CC VLA extension and this new (and apparently dead) C++ VLA specification. I wonder how much existing G++ code applies sizeof to

[Bug target/70048] [6 Regression][AArch64] Inefficient local array addressing

2016-03-07 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70048 --- Comment #8 from amker at gcc dot gnu.org --- (In reply to Richard Henderson from comment #6) > Created attachment 37886 [details] > proposed patch > > I agree -- at minimum virtual and eliminable frame registers ought to be > special-cased.

[Bug testsuite/70009] test case libgomp.oacc-c-c++-common/vprop.c fails starting with its introduction in r233607

2016-03-07 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70009 James Greenhalgh changed: What|Removed |Added Target|powerpc*-*-*, aarch64-*-* |powerpc*-*-*, aarch64-*-*,

[Bug c++/70105] [6 regression] giant warning when building gcc-5 with gcc-6

2016-03-07 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70105 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/70126] New: VLA accepted in sizeof and typedef, allowing integer overflow

2016-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70126 Bug ID: 70126 Summary: VLA accepted in sizeof and typedef, allowing integer overflow Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Pr

[Bug target/70123] [6 Regression] Miscompilation of cfitsio testcase on s390x-linux starting with r222144

2016-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70123 --- Comment #2 from Jakub Jelinek --- Ah, the spilled value is pseudo 240, which holds &b. Dunno why instead of spilling it it couldn't be rematerialized. Anyway, the value in r6 after the f9 call is needed, so all that seems to be wrong is the

[Bug target/70123] [6 Regression] Miscompilation of cfitsio testcase on s390x-linux starting with r222144

2016-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70123 --- Comment #1 from Jakub Jelinek --- The __builtin_strcat in the testcase should be __builtin_strcpy, it reproduces even with that and without it it has UB. Anyway, what I see is that the f9 call loads the g variable into %r6 register (for argu

[Bug c++/16994] [meta-bug] VLA and C++

2016-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 21113, which changed state. Bug 21113 Summary: Jumps into VLA or VM scope not rejected for C++ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21113 What|Removed |Added

[Bug c++/21113] Jumps into VLA or VM scope not rejected for C++

2016-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21113 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Last reconfirmed|2012-01-05 00

[Bug c++/70076] no exception for excess initializer elements in a multidimensional VLA

2016-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70076 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/70019] VLA size overflow not detected

2016-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70019 --- Comment #3 from Martin Sebor --- Patch for this bug and for bug 69517 posted for review: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00441.html

[Bug c++/69517] [5/6 regression] SEGV on a VLA with excess initializer elements

2016-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69517 --- Comment #8 from Martin Sebor --- Patch posted for review: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00441.html

[Bug rtl-optimization/19705] -fno-branch-count-reg doesn't prevent decrement and branch instructions on a count register

2016-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19705 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/66786] [5/6 Regression] ICE: Segmentation fault

2016-03-07 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66786 --- Comment #8 from Patrick Palka --- Author: ppalka Date: Mon Mar 7 17:09:53 2016 New Revision: 234038 URL: https://gcc.gnu.org/viewcvs?rev=234038&root=gcc&view=rev Log: Adjust fix for PR c++/66786 gcc/cp/ChangeLog: PR c++/66786

[Bug rtl-optimization/19705] -fno-branch-count-reg doesn't prevent decrement and branch instructions on a count register

2016-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19705 --- Comment #7 from Martin Sebor --- Author: msebor Date: Mon Mar 7 17:10:12 2016 New Revision: 234039 URL: https://gcc.gnu.org/viewcvs?rev=234039&root=gcc&view=rev Log: PR rtl-optimization/19705 - -fno-branch-count-reg doesn't prevent decremen

[Bug tree-optimization/69740] [5/6 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "verify_loop_structure"

2016-03-07 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69740 --- Comment #12 from Jeffrey A. Law --- Author: law Date: Mon Mar 7 17:01:54 2016 New Revision: 234036 URL: https://gcc.gnu.org/viewcvs?rev=234036&root=gcc&view=rev Log: PR tree-optimization/69740 * cfghooks.c (remove_edge): Req

[Bug target/70120] [6 Regression][aarch64] -g causes Assembler messages: Error: unaligned opcodes detected in executable segment

2016-03-07 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70120 Zdenek Sojka changed: What|Removed |Added Summary|[6 Regression][aarch64] |[6 Regression][aarch64] -g

[Bug rtl-optimization/69052] [6 Regression] Performance regression after r229402.

2016-03-07 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69052 --- Comment #17 from amker at gcc dot gnu.org --- Author: amker Date: Mon Mar 7 16:39:27 2016 New Revision: 234034 URL: https://gcc.gnu.org/viewcvs?rev=234034&root=gcc&view=rev Log: PR rtl-optimization/69052 * rtlanal.c (commuta

[Bug c++/70124] alignas error in constexpr function

2016-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70124 --- Comment #1 from Martin Sebor --- Bug 70125 tracks the problem with the missing context of the diagnostic.

[Bug c++/70125] New: attributes diagnostics missing essential context

2016-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70125 Bug ID: 70125 Summary: attributes diagnostics missing essential context Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug lto/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803

2016-03-07 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650 Bernd Schmidt changed: What|Removed |Added CC||bernds at gcc dot gnu.org --- Comment #8

[Bug c++/70124] New: alignas error in constexpr function

2016-03-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70124 Bug ID: 70124 Summary: alignas error in constexpr function Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ A

[Bug rtl-optimization/69633] [6 Regression] Redundant move is generated after r228097

2016-03-07 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69633 Bernd Schmidt changed: What|Removed |Added CC||bernds at gcc dot gnu.org --- Comment #2

[Bug target/70123] [6 Regression] Miscompilation of cfitsio testcase on s390x-linux starting with r222144

2016-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70123 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug target/70117] ppc long double isinf() is wrong?

2016-03-07 Thread uweigand at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117 --- Comment #4 from Ulrich Weigand --- (In reply to Alan Modra from comment #3) > > while with GCC, we get: > > > > high double: 7FEF > > low double: 7C8F FFFE > > Right. This is 0x1.f78p+1023

[Bug target/70123] New: [6 Regression] Miscompilation of

2016-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70123 Bug ID: 70123 Summary: [6 Regression] Miscompilation of Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target A

[Bug target/70120] [6 Regression][aarch64] -freorder-functions -g causes Assembler messages: Error: unaligned opcodes detected in executable segment

2016-03-07 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70120 ktkachov at gcc dot gnu.org changed: What|Removed |Added Known to work||4.9.4, 5.3.1 Sum

[Bug tree-optimization/69666] [5 Regression] gcc ICE at -O2 and -O3 on valid code on x86_64-linux-gnu in "verify_gimple failed"

2016-03-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69666 --- Comment #14 from Martin Jambor --- With the reverted patch re-applied, this should be again fixed everywhere (and the fix should not be causing any new issues).

[Bug target/70120] [aarch64] -mno-pc-relative-literal-loads -g causes Assembler messages: Error: unaligned opcodes detected in executable segment

2016-03-07 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70120 --- Comment #2 from Zdenek Sojka --- Created attachment 37888 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37888&action=edit another testcase This testcase does not need -mno-pc-relative-literal-loads. $ aarch64-unknown-linux-gnu-gcc -O

[Bug target/63503] [AArch64] A57 executes fused multiply-add poorly in some situations

2016-03-07 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63503 Thomas Preud'homme changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug c/7652] -Wswitch-break : Warn if a switch case falls through

2016-03-07 Thread mwoehlke.floss at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7652 --- Comment #37 from Matthew Woehlke --- > Essentially, this warning and the "intentional fallthrough" attribute exist for both clang and MSVC and will be enabled there; but GCC still doesn't have this feature. [[fallthrough]] was approved for C+

[Bug tree-optimization/70116] tail-merge merges ubsan internal fns with different location information

2016-03-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70116 vries at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--

[Bug target/70048] [6 Regression][AArch64] Inefficient local array addressing

2016-03-07 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70048 Jiong Wang changed: What|Removed |Added CC||jiwang at gcc dot gnu.org --- Comment #7 fr

[Bug libstdc++/69879] Create a pointer to the default operator new and delete

2016-03-07 Thread gabriel.ibarra at tallertechnologies dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69879 Gabriel Ibarra changed: What|Removed |Added Attachment #37848|0 |1 is obsolete|

[Bug tree-optimization/69666] [5 Regression] gcc ICE at -O2 and -O3 on valid code on x86_64-linux-gnu in "verify_gimple failed"

2016-03-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69666 --- Comment #13 from Martin Jambor --- Author: jamborm Date: Mon Mar 7 15:17:49 2016 New Revision: 234030 URL: https://gcc.gnu.org/viewcvs?rev=234030&root=gcc&view=rev Log: Fix PR 69666 and PR 69920 2016-03-07 Martin Jambor PR tree

[Bug middle-end/69920] [6 Regression] FAIL: g++.dg/torture/pr42704.C -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error)

2016-03-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69920 --- Comment #16 from Martin Jambor --- Author: jamborm Date: Mon Mar 7 15:17:49 2016 New Revision: 234030 URL: https://gcc.gnu.org/viewcvs?rev=234030&root=gcc&view=rev Log: Fix PR 69666 and PR 69920 2016-03-07 Martin Jambor PR tree

[Bug c/7652] -Wswitch-break : Warn if a switch case falls through

2016-03-07 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7652 Tom Tromey changed: What|Removed |Added CC||tromey at gcc dot gnu.org --- Comment #36 fr

[Bug target/70117] ppc long double isinf() is wrong?

2016-03-07 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #3 from

[Bug tree-optimization/70013] [6 Regression] packed structure tree-sra loses initialization

2016-03-07 Thread alalaw01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70013 --- Comment #9 from alalaw01 at gcc dot gnu.org --- In analyze_access_subtree (since r147980, "New implementation of SRA", 2009): else if (root->grp_write || TREE_CODE (root->base) == PARM_DECL) root->grp_unscalarized_data = 1; /* not cover

[Bug libgomp/70122] [openacc] Handle acc loop directive

2016-03-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70122 --- Comment #3 from vries at gcc dot gnu.org --- (In reply to vries from comment #2) > For now, marking missed-optimization/enhancement. There might also be > correctness failures due to the lack of explicit handling, I'm not sure. Which is why I

[Bug libgomp/70122] [openacc] Handle acc loop directive

2016-03-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70122 --- Comment #2 from vries at gcc dot gnu.org --- For now, marking missed-optimization/enhancement. There might also be correctness failures due to the lack of explicit handling, I'm not sure.

[Bug libgomp/70122] [openacc] Handle acc loop directive

2016-03-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70122 vries at gcc dot gnu.org changed: What|Removed |Added Severity|normal |enhancement

[Bug libgomp/70122] [openacc] Handle acc loop directive

2016-03-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70122 vries at gcc dot gnu.org changed: What|Removed |Added Keywords||missed-optimization, patch ---

[Bug tree-optimization/70013] [6 Regression] packed structure tree-sra loses initialization

2016-03-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70013 --- Comment #8 from Martin Jambor --- That is what I suspected. Please have at look why analyze_access_subtree (which has to set the grp_unscalarized_data flag) acts differently then.

[Bug libgomp/70122] New: [openacc] Handle acc loop directive

2016-03-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70122 Bug ID: 70122 Summary: [openacc] Handle acc loop directive Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp

[Bug rtl-optimization/69710] performance issue with SP Linpack with Autovectorization

2016-03-07 Thread doug.gilmore at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69710 --- Comment #15 from Doug Gilmore --- > I had a patch too, will send it for review in GCC7 if it's still needed. Sorry I got side track last week and didn't make much progress. Please go ahead and submit if you have something you feel comfortabl

[Bug tree-optimization/70116] tail-merge merges ubsan internal fns with different location information

2016-03-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70116 --- Comment #2 from vries at gcc dot gnu.org --- Author: vries Date: Mon Mar 7 14:50:13 2016 New Revision: 234029 URL: https://gcc.gnu.org/viewcvs?rev=234029&root=gcc&view=rev Log: Skip ubsan/asan internal fns with different location in tail-mer

[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

2016-03-07 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67364 --- Comment #15 from Jason Merrill --- Author: jason Date: Mon Mar 7 14:43:14 2016 New Revision: 234028 URL: https://gcc.gnu.org/viewcvs?rev=234028&root=gcc&view=rev Log: PR c++/67364 * constexpr.c (cxx_eval_store_expression):

[Bug lto/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto

2016-03-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69607 --- Comment #24 from vries at gcc dot gnu.org --- (In reply to vries from comment #23) > pinged patch: https://gcc.gnu.org/ml/gcc-patches/2016-02/msg01632.html ping^2: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00487.html

[Bug tree-optimization/70013] [6 Regression] packed structure tree-sra loses initialization

2016-03-07 Thread alalaw01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70013 --- Comment #7 from alalaw01 at gcc dot gnu.org --- *second* half, sorry. grp_to_be_replaced is here true, but grp_unscalarized_data is false, so handle_unscalarized_data_in_subtree sets sad->refreshed=UDH_LEFT and we build the access to the LHS.

[Bug target/70083] [6 Regression] ICE: in assign_stack_local_1, at function.c:409 with -fschedule-insns -mavx512* @ i686

2016-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70083 --- Comment #4 from Jakub Jelinek --- RA is not my area of expertise, so sure, go ahead (unless Vlad wants to have a look).

[Bug c++/70121] [5/6 Regression] spurious warning and crash when returning a reference from lambda

2016-03-07 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70121 Marc Glisse changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRMED

  1   2   >