[Bug rtl-optimization/81747] [8 Regression] ICE in operator[], at vec.h:749

2017-08-08 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81747 --- Comment #7 from Alan Modra --- Yeah, I have more or less the same patch about to be bootstrapped.

[Bug rtl-optimization/81747] [8 Regression] ICE in operator[], at vec.h:749

2017-08-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81747 --- Comment #6 from Segher Boessenkool --- Yeah, I found out it is _not_ the one the backtrace (or GDB) points at. I have a patch: === diff --git a/gcc/cse.c b/gcc/cse.c index 6a968d1..34650d2 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -6642,6 +

[Bug rtl-optimization/81747] [8 Regression] ICE in operator[], at vec.h:749

2017-08-08 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81747 --- Comment #5 from Alan Modra --- Segher, the confusion is due to looking at the wrong BRANCH_EDGE occurrence in cse.c

[Bug target/81389] _mm_cmpestri segfault on -O0

2017-08-08 Thread rockeet at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81389 rockeet changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Bug rtl-optimization/81747] [8 Regression] ICE in operator[], at vec.h:749

2017-08-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81747 --- Comment #4 from Segher Boessenkool --- Yeah, but the condition in which BRANCH_EDGE is called starts with if (EDGE_COUNT (previous_bb_in_path->succs) == 2 so I'm confused now.

[Bug tree-optimization/81776] New: missing sprintf optimization due to pointer escape analysis

2017-08-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81776 Bug ID: 81776 Summary: missing sprintf optimization due to pointer escape analysis Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Prio

[Bug target/81763] Issues with BMI on 32bit x86 apps on GCC 7.1+

2017-08-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81763 --- Comment #7 from H.J. Lu --- (In reply to Mike Lothian from comment #6) > I tried the test case with > > gcc -O2 -march=native test.c -o test > > and > > gcc -O2 -march=native -mno-bmi test.c -o test > > Both executables seem to run with

[Bug rtl-optimization/81747] [8 Regression] ICE in operator[], at vec.h:749

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

[Bug tree-optimization/81772] Compile-time snprintf optimization

2017-08-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81772 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/81763] Issues with BMI on 32bit x86 apps on GCC 7.1+

2017-08-08 Thread mike at fireburn dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81763 --- Comment #6 from Mike Lothian --- I tried the test case with gcc -O2 -march=native test.c -o test and gcc -O2 -march=native -mno-bmi test.c -o test Both executables seem to run with no output I've only seen the issue in radeonsi in Mesa

[Bug rtl-optimization/81747] [8 Regression] ICE in operator[], at vec.h:749

2017-08-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81747 Segher Boessenkool changed: What|Removed |Added Keywords|ice-on-valid-code |ice-on-invalid-code Tar

[Bug c++/81607] [6/7 Regression] Conditional operator: "type mismatch in shift expression" error

2017-08-08 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81607 --- Comment #12 from Dmitry Babokin --- The fix helped all fails that I see (with all 7 different symptoms). Thanks!

[Bug driver/81498] Support creating static PIE

2017-08-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81498 Bug 81498 depends on bug 81523, which changed state. Bug 81523 Summary: -static -pie behaves differently depending on if --enable-default-pie is used https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81523 What|Removed

[Bug driver/80044] Specifying both -static and -pie insanity

2017-08-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80044 Bug 80044 depends on bug 81523, which changed state. Bug 81523 Summary: -static -pie behaves differently depending on if --enable-default-pie is used https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81523 What|Removed

[Bug target/81170] powerpc*-linux --enable-default-pie chooses incorrect startup files

2017-08-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81170 Bug 81170 depends on bug 81523, which changed state. Bug 81523 Summary: -static -pie behaves differently depending on if --enable-default-pie is used https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81523 What|Removed

[Bug driver/81523] -static -pie behaves differently depending on if --enable-default-pie is used

2017-08-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81523 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug driver/81523] -static -pie behaves differently depending on if --enable-default-pie is used

2017-08-08 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81523 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Aug 8 22:06:21 2017 New Revision: 250974 URL: https://gcc.gnu.org/viewcvs?rev=250974&root=gcc&view=rev Log: PR driver/81523: Make -static override -pie -static and -pie toget

[Bug ipa/81465] [8 Regression] ICE in estimate_edge_growth at gcc/ipa-inline.h:85 on s390x target

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

[Bug target/81766] [8 Regression] ICE in maybe_add_or_update_dep_1, at sched-deps.c:924 caused by r250815

2017-08-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81766 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comme

[Bug c++/81750] Calling generic lambda with no parameter fails to compile

2017-08-08 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81750 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #1 from TC ---

[Bug libstdc++/81669] trunk/gcc/fibonacci_heap.h:58: possible missing initialisation ?

2017-08-08 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81669 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #1 from TC ---

[Bug target/81485] [SH] ICE: in sh_find_set_of_reg, at config/sh/sh-protos.h:232

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

[Bug rtl-optimization/81747] [8 Regression] ICE in operator[], at vec.h:749

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

[Bug tree-optimization/81772] Compile-time snprintf optimization

2017-08-08 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81772 --- Comment #2 from Daniel Fruzynski --- You probably could optimize snprintf(buf, size, "%s", str) into this: if (size > 0) { buf[0] = 0; strncat(buf, str, size - 1); } Other optimizations would require to generate more code aa you wrote.

[Bug other/81096] [8 regression] test case ttest in libbacktrace fails starting with its introduction in r249111

2017-08-08 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81096 Steve Ellcey changed: What|Removed |Added CC||sje at gcc dot gnu.org --- Comment #3 fro

[Bug target/64512] ICE: in sched_analyze_reg, at sched-deps.c:2360 with -O2 -mmemcpy-strategy=vector_loop:-1:align -mno-push-args

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

[Bug libstdc++/81751] __basic_file::sync() may flush _all_ files

2017-08-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81751 --- Comment #2 from Jonathan Wakely --- The current __basic_file::sys_open behaviour came from the PR 17215 fix (r86756). Before that change we called sync() after doing _M_cfile=__file, but after we call sync() while it's still null. I think ra

[Bug libgomp/68033] OpenMP: ICE with teams distribute

2017-08-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68033 Martin Liška changed: What|Removed |Added Keywords||ice-on-invalid-code, openmp S

[Bug target/68485] ICE while building gpsd package on microblaze

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

[Bug bootstrap/79120] lm32 ICE in dwarf2out_frame_debug_expr, at dwarf2cfi.c:1747

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

[Bug c++/81197] [7/8 Regression] ICE with structured binding and lifetime-extended temporaries

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

[Bug libstdc++/79820] std::ifstream sets errno to zero

2017-08-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79820 --- Comment #7 from Jonathan Wakely --- The bug title says std::ifstream sets errno to zero, but it should never run stdio_filebuf::sys_open. Do you have a testcase for this? We should still fix it even if it only affects a non-standard extensio

[Bug target/79391] sh ICE in in eligible_for_delay, at config/sh/sh.md:564

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

[Bug target/79565] ICE in copy_to_mode_reg, at explow.c:612

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

[Bug target/81763] Issues with BMI on 32bit x86 apps on GCC 7.1+

2017-08-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81763 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/81763] Issues with BMI on 32bit x86 apps on GCC 7.1+

2017-08-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81763 --- Comment #4 from Andrew Pinski --- This might be PR 53399.

[Bug libgcc/81775] GCC fails to compile: md-unwind-support.h:65 dereferencing pointer to incomplete type ‘struct ucontext’

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

[Bug other/81712] gcc does not compile when using glib 2.26 (everything works fine with 2.25)

2017-08-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81712 Andrew Pinski changed: What|Removed |Added CC||guido at trentalancia dot com --- Commen

[Bug fortran/81251] check of logical pointers

2017-08-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81251 Thomas Koenig changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug libgcc/81775] New: GCC fails to compile: md-unwind-support.h:65 dereferencing pointer to incomplete type ‘struct ucontext’

2017-08-08 Thread guido at trentalancia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81775 Bug ID: 81775 Summary: GCC fails to compile: md-unwind-support.h:65 dereferencing pointer to incomplete type ‘struct ucontext’ Product: gcc Version: 7.1.0

[Bug libstdc++/17215] [3.4 only] __basic_file::close ignores errors

2017-08-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17215 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/81708] The x86 stack canary location should be customizable

2017-08-08 Thread hpa at zytor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708 --- Comment #9 from H. Peter Anvin --- In some applications it might even be appropriate to use the RDPID instruction and store the canary in the IA32_TSC_AUX MSR.

[Bug fortran/81748] extensible types non-conforming behaviour

2017-08-08 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81748 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/81708] The x86 stack canary location should be customizable

2017-08-08 Thread hpa at zytor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708 --- Comment #8 from H. Peter Anvin --- How about simply letting the user enter an assembly expression of neither of the standard ABI options are suitable? Also, shouldn't the user space default on 64 bits be an offset into the TLS using %fs, or

[Bug c/81774] Volatile - order of reads in generated code

2017-08-08 Thread pj at hugeone dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81774 --- Comment #3 from Piotr --- And what about if volatile variable changes during the multiplications. Mybe not in this example but if y was declared global - it can be interrupted between multiplications. volatile int y; int x3(int x) {

[Bug target/81708] The x86 stack canary location should be customizable

2017-08-08 Thread luto at kernel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708 --- Comment #7 from Andy Lutomirski --- Hmm. This is a big improvement, but it's still going to be awkward to use -- if we want to use a normal Linux percpu variable, we're stuck putting it in a fixed location that's known at compile time as opp

[Bug tree-optimization/81772] Compile-time snprintf optimization

2017-08-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81772 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #1

[Bug c/81774] Volatile - order of reads in generated code

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

[Bug c/81774] Volatile - order of reads in generated code

2017-08-08 Thread pj at hugeone dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81774 Piotr changed: What|Removed |Added CC||pj at hugeone dot co.uk Version|new-r

[Bug c/81774] New: Volatile - order of reads in generated code

2017-08-08 Thread pj at hugeone dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81774 Bug ID: 81774 Summary: Volatile - order of reads in generated code Product: gcc Version: new-ra Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/81708] The x86 stack canary location should be customizable

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

[Bug libgomp/81591] segmentation fault when using priorities of nested tasks

2017-08-08 Thread sistek at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81591 --- Comment #9 from Jakub Sistek --- Created attachment 41953 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41953&action=edit an enhanced version of the example producing an error Hi Jakub, sorry for my late response, I was on vacation :

[Bug target/81708] The x86 stack canary location should be customizable

2017-08-08 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708 --- Comment #5 from uros at gcc dot gnu.org --- Author: uros Date: Tue Aug 8 16:48:46 2017 New Revision: 250965 URL: https://gcc.gnu.org/viewcvs?rev=250965&root=gcc&view=rev Log: PR target/81708 * config/i386/i386.opt (mstack-pro

[Bug fortran/81773] [Coarray] Get with vector index on lhs leads to incorrect caf_get_by_ref() call.

2017-08-08 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81773 --- Comment #1 from vehre at gcc dot gnu.org --- Created attachment 41952 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41952&action=edit Example producing the bug

[Bug fortran/81773] [Coarray] Get with vector index on lhs leads to incorrect caf_get_by_ref() call.

2017-08-08 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81773 vehre at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug fortran/81773] New: [Coarray] Get with vector index on lhs leads to incorrect caf_get_by_ref() call.

2017-08-08 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81773 Bug ID: 81773 Summary: [Coarray] Get with vector index on lhs leads to incorrect caf_get_by_ref() call. Product: gcc Version: 7.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/71361] [7/8 Regression] Changes in ivopts caused perf regression on x86

2017-08-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71361 --- Comment #6 from amker at gcc dot gnu.org --- Hmm, but it can't be backported to 7 branch.

[Bug tree-optimization/71361] [7/8 Regression] Changes in ivopts caused perf regression on x86

2017-08-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71361 --- Comment #5 from amker at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #4) > So shall we defer this PR to GCC 8 then (i.e. [8 Regression] and Target > Milestone: 8.0? Richard, are you ok with that? With ivopt rewriting, we now

[Bug tree-optimization/53090] suboptimal ivopt

2017-08-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53090 amker at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--

[Bug c/81566] [4.9/5/6/7/8 Regression] invalid attribute aligned accepted on functions

2017-08-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81566 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #4 from Martin Sebor -

[Bug c/81544] attribute noreturn and warn_unused_result on the same function accepted

2017-08-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81544 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor -

[Bug middle-end/80283] [5/6/7/8 Regression] bad SIMD register allocation

2017-08-08 Thread already5chosen at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80283 --- Comment #18 from Michael_S --- O.k. Not a back end. The part of compiler that is responsible for binding local variables to registers or to stack locations. I am assuming that such part exists in gcc and acts after tree-ter phase, but before

[Bug middle-end/70100] [5 Regression] ICE: in execute, at cfgexpand.c:6066

2017-08-08 Thread jaak at ristioja dot ee
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70100 --- Comment #3 from Jaak Ristioja --- (In reply to Markus Trippelsdorf from comment #1) > template struct K { > using CmdSP = std::D; > template void operator()(Args... args) { > using MakeFunc = CmdSP(...); > MakeFunc makeFuncs; >

[Bug c/81772] New: Compile-time snprintf optimization

2017-08-08 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81772 Bug ID: 81772 Summary: Compile-time snprintf optimization Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug middle-end/80283] [5/6/7/8 Regression] bad SIMD register allocation

2017-08-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80283 --- Comment #17 from Wilco --- (In reply to shatz from comment #16) > I still think that effect of tree-ter is accidental and relatively > unimportant. > Very similar problems with SIMD register allocation could easily happen > without tree-ter,

[Bug libgomp/80859] Performance Problems with OpenMP 4.5 support

2017-08-08 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #27 from Thorsten Kurth --- Hello Jakub, I wanted to follow up on this. Is there any progress on this issue? Best Regards Thorsten Kurth

[Bug tree-optimization/81741] Misoptimisation : replacing a constant field read access by a function call

2017-08-08 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81741 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #4 fr

[Bug middle-end/80283] [5/6/7/8 Regression] bad SIMD register allocation

2017-08-08 Thread shatz at dsit dot co.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80283 shatz at dsit dot co.il changed: What|Removed |Added CC||shatz at dsit dot co.il --- Com

[Bug c/81566] [4.9/5/6/7/8 Regression] invalid attribute aligned accepted on functions

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

[Bug target/81763] Issues with 32bit x86 apps on GCC 7.1+

2017-08-08 Thread mike at fireburn dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81763 --- Comment #3 from Mike Lothian --- So dropping the -march=native allows everything to work again no matter which version of GCC Just using -mbmi breaks things and using -march=native -mno-bmi allows it all to work This is on a Skylake process

[Bug tree-optimization/81503] [8 Regression] Wrong code at -O2

2017-08-08 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81503 --- Comment #15 from Bill Schmidt --- Proposed patch awaiting approval: https://gcc.gnu.org/ml/gcc-patches/2017-08/msg00347.html

[Bug middle-end/19706] Recognize common Fortran usages of copysign.

2017-08-08 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19706 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org Targe

[Bug target/81766] [8 Regression] ICE in maybe_add_or_update_dep_1, at sched-deps.c:924 caused by r250815

2017-08-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81766 --- Comment #10 from Jakub Jelinek --- Created attachment 41950 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41950&action=edit gcc8-pr81766.patch Untested patch that fixes the ICE.

[Bug libstdc++/81771] __basic_file::sys_open is not a reserved name

2017-08-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81771 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libgomp/81768] error: control flow in the middle of basic block

2017-08-08 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81768 Alexander Monakov changed: What|Removed |Added Keywords||openmp CC|

[Bug libstdc++/81771] New: __basic_file::sys_open is not a reserved name

2017-08-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81771 Bug ID: 81771 Summary: __basic_file::sys_open is not a reserved name Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Prio

[Bug fortran/81770] New: [5/6/7 Regression] Bogus warning: Pointer in pointer assignment might outlive the pointer target

2017-08-08 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81770 Bug ID: 81770 Summary: [5/6/7 Regression] Bogus warning: Pointer in pointer assignment might outlive the pointer target Product: gcc Version: 7.1.0 Status: UNCONFIRMED

[Bug target/81766] [8 Regression] ICE in maybe_add_or_update_dep_1, at sched-deps.c:924 caused by r250815

2017-08-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81766 Richard Biener changed: What|Removed |Added Target Milestone|7.2 |8.0 Summary|[7/8 Regression]

[Bug target/81766] [8 Regression] ICE in maybe_add_or_update_dep_1, at sched-deps.c:924 caused by r250815

2017-08-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81766 Richard Biener changed: What|Removed |Added Target Milestone|7.2 |8.0 Summary|[7/8 Regression]

[Bug middle-end/19706] Recognize common Fortran usages of copysign.

2017-08-08 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19706 --- Comment #3 from Tamar Christina --- Author: tnfchris Date: Tue Aug 8 13:17:41 2017 New Revision: 250957 URL: https://gcc.gnu.org/viewcvs?rev=250957&root=gcc&view=rev Log: 2017-08-08 Tamar Christina PR middle-end/19706 *

[Bug middle-end/19706] Recognize common Fortran usages of copysign.

2017-08-08 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19706 --- Comment #2 from Tamar Christina --- Author: tnfchris Date: Tue Aug 8 13:15:44 2017 New Revision: 250956 URL: https://gcc.gnu.org/viewcvs?rev=250956&root=gcc&view=rev Log: 2017-08-08 Tamar Christina Andrew Pinski PR

[Bug tree-optimization/81354] [5/6 Regression] Segmentation fault in SSA Strength Reduction using -O3

2017-08-08 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81354 --- Comment #11 from Bill Schmidt --- Fixed on trunk so far, and verified that a modified backport fixes the limited range on 5.4 where the provided test case fails. Backports to follow in about a week after burn-in.

[Bug tree-optimization/81354] [5/6 Regression] Segmentation fault in SSA Strength Reduction using -O3

2017-08-08 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81354 --- Comment #10 from Bill Schmidt --- Author: wschmidt Date: Tue Aug 8 12:52:22 2017 New Revision: 250955 URL: https://gcc.gnu.org/viewcvs?rev=250955&root=gcc&view=rev Log: [gcc] 2017-08-08 Bill Schmidt PR tree-optimization/81354

[Bug middle-end/81719] Range-based for loop on short fixed size array generates long unrolled loop

2017-08-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81719 --- Comment #3 from Richard Biener --- Author: rguenth Date: Tue Aug 8 12:51:20 2017 New Revision: 250954 URL: https://gcc.gnu.org/viewcvs?rev=250954&root=gcc&view=rev Log: 2017-08-08 Richard Biener PR middle-end/81719 * tre

[Bug middle-end/81719] Range-based for loop on short fixed size array generates long unrolled loop

2017-08-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81719 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/81723] [7 Regression] fortran build doesn't terminate on 64bit targets

2017-08-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81723 --- Comment #9 from Richard Biener --- Author: rguenth Date: Tue Aug 8 12:49:39 2017 New Revision: 250953 URL: https://gcc.gnu.org/viewcvs?rev=250953&root=gcc&view=rev Log: 2017-08-08 Richard Biener PR tree-optimization/81723

[Bug tree-optimization/81723] [7 Regression] fortran build doesn't terminate on 64bit targets

2017-08-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81723 Richard Biener changed: What|Removed |Added Known to work||8.0 Summary|[7/8 Regression]

[Bug target/81766] [7/8 Regression] ICE in maybe_add_or_update_dep_1, at sched-deps.c:924 caused by r250815

2017-08-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81766 --- Comment #7 from Jakub Jelinek --- Sadly: --- gcc/config/i386/i386.c.jj 2017-08-07 18:50:10.0 +0200 +++ gcc/config/i386/i386.c 2017-08-08 14:33:06.462836529 +0200 @@ -8846,6 +8846,10 @@ ix86_init_large_pic_reg (unsigned int tm

[Bug target/81769] New: Unnecessary stack realign with -mavx

2017-08-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81769 Bug ID: 81769 Summary: Unnecessary stack realign with -mavx Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/81767] Unused variable warning with structured binding

2017-08-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81767 --- Comment #1 from Jonathan Wakely --- Already fixed on trunk with r248483

[Bug libgomp/81768] New: error: control flow in the middle of basic block

2017-08-08 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81768 Bug ID: 81768 Summary: error: control flow in the middle of basic block Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/81766] [7/8 Regression] ICE in maybe_add_or_update_dep_1, at sched-deps.c:924 caused by r250815

2017-08-08 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81766 --- Comment #6 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #4) > This stuff is weird anyway, do we really need it at the beginning of the > function, even if we say shrink-wrap (i.e. shouldn't it be done in the > prologue)? PIC

[Bug target/81766] [7/8 Regression] ICE in maybe_add_or_update_dep_1, at sched-deps.c:924 caused by r250815

2017-08-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81766 --- Comment #5 from Jakub Jelinek --- (In reply to Richard Biener from comment #3) > find_bb_boundaries doesn't seem to expect existing NOTE_INSN_BASIC_BLOCK, so > calling it on existing blocks exposes un-optimalities in case labels are > valid a

[Bug target/81753] Building of cross-compiler for powerpc-darwin7 is broken

2017-08-08 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81753 --- Comment #5 from acsawdey at gcc dot gnu.org --- Yes please do. The only wrinkle is as segher pointed out to me yesterday, make sure this only applies to powerpc darwin in config.gcc.

[Bug target/81766] [7/8 Regression] ICE in maybe_add_or_update_dep_1, at sched-deps.c:924 caused by r250815

2017-08-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81766 --- Comment #4 from Jakub Jelinek --- So, it seems the CODE_LABEL in the first bb (successor of entry bb) is added by ix86_init_large_pic_reg called by called by ix86_init_pic_reg from: 5135 /* Perform target specific PIC register initializa

[Bug tree-optimization/81696] [5/6/7/8 Regression] ICF ICE on non-local goto

2017-08-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81696 --- Comment #3 from Martin Liška --- Author: marxin Date: Tue Aug 8 11:59:23 2017 New Revision: 250951 URL: https://gcc.gnu.org/viewcvs?rev=250951&root=gcc&view=rev Log: ICF: properly handle LABEL_DECLs (PR tree-opt/81696). 2017-08-08 Martin

[Bug target/81736] Unnecessary save and restore frame pointer with -fno-omit-frame-pointer

2017-08-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81736 --- Comment #4 from H.J. Lu --- Another weird code with -fno-omit-frame-pointer: [hjl@gnu-6 pr59501]$ cat k.i typedef int v8si __attribute__ ((vector_size (32))); void foo (v8si *idx, v8si *out_start, v8si *out_end, v8si *regions) { v8

[Bug target/81736] Unnecessary save and restore frame pointer with -fno-omit-frame-pointer

2017-08-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81736 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug tree-optimization/81744] [8 Regression] ICE: verify_ssa failed, at tree-ssa.c:1186

2017-08-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81744 --- Comment #7 from amker at gcc dot gnu.org --- Author: amker Date: Tue Aug 8 11:32:05 2017 New Revision: 250950 URL: https://gcc.gnu.org/viewcvs?rev=250950&root=gcc&view=rev Log: PR tree-optimization/81744 * tree-predcom.c (pre

[Bug target/81313] Bad stack realignment code with -mno-accumulate-outgoing-args

2017-08-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81313 H.J. Lu changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

  1   2   >