[Bug tree-optimization/71544] gfortran compiler optimization bug when dealing with c-style pointers

2016-06-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71544 Richard Biener changed: What|Removed |Added Keywords||wrong-code Status|WAITING

[Bug ada/71674] missing overflow detection in Ada.Strings.Search

2016-06-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71674 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/71544] gfortran compiler optimization bug when dealing with c-style pointers

2016-06-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71544 Richard Biener changed: What|Removed |Added Status|ASSIGNED|NEW Component|tree-optimizatio

[Bug target/71680] New: [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-06-28 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 Bug ID: 71680 Summary: [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug middle-end/66313] Unsafe factorization of a*b+a*c

2016-06-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66313 Richard Biener changed: What|Removed |Added URL||https://gcc.gnu.org/ml/gcc-

[Bug c++/71658] User-defined conversion operator from a wrapper class to the wrapped type does not compile.

2016-06-28 Thread ulrichmutze at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71658 --- Comment #2 from Ulrich Mutze --- Created attachment 38780 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38780&action=edit This is a shortened version of the first attachment. It avoids a superfluous complication.

[Bug tree-optimization/70032] tree-ssa-tail-merge engine replacement

2016-06-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70032 --- Comment #4 from Richard Biener --- Yes, tail-merging needs to utilize a "value-numbering" like IPA ICF (in fact, just re-use its implementation - I think this is what Martins patch set does). My cleanup comment was supposed to be the first c

[Bug c++/71386] Wrong code on c++14 (GCC trunk)

2016-06-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71386 --- Comment #7 from Richard Biener --- ISTR a similar bug in C++ lambda support related how we map them to nested functions. PR69756.

[Bug preprocessor/71681] New: header.gcc file lookup is broken for -remap

2016-06-28 Thread andris.pavenis at iki dot fi
is getting new_dir='/usr/includesys/' where name should have been './usr/include/sys/') Test example foo.c: #include "foo/bar/baz.h" #include Used gcc version 7.0.0-20160628. Problem present also in several earlier GCC versions. Problem actually detected for DJGPP, but

[Bug middle-end/66867] Suboptimal code generation for atomic_compare_exchange

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66867 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Tue Jun 28 08:27:18 2016 New Revision: 237814 URL: https://gcc.gnu.org/viewcvs?rev=237814&root=gcc&view=rev Log: PR middle-end/66867 * builtins.c (expand_ifn_atomic_compar

[Bug c++/71658] User-defined conversion operator from a wrapper class to the wrapped type does not compile.

2016-06-28 Thread ulrichmutze at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71658 --- Comment #3 from Ulrich Mutze --- (In reply to Martin Sebor from comment #1) > I believe the test case is invalid. > > In a call to an operator, operator overload resolution in [over.match.oper] > considers three sets of candidate functions:

[Bug rtl-optimization/71673] [7 Regression] FAIL: c-c++-common/torture/builtin-arith-overflow-p-19.c -O2 (internal compiler error)

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71673 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Jun 28 08:29:11 2016 New Revision: 237815 URL: https://gcc.gnu.org/viewcvs?rev=237815&root=gcc&view=rev Log: PR rtl-optimization/71673 * internal-fn.c (expand_arith_ov

[Bug preprocessor/71681] header.gcc file lookup is broken for -remap

2016-06-28 Thread andris.pavenis at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71681 --- Comment #1 from Andris Pavenis --- Created attachment 38781 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38781&action=edit Fix for problem

[Bug fortran/71544] gfortran compiler optimization bug when dealing with c-style pointers

2016-06-28 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71544 --- Comment #10 from Dominique d'Humieres --- > Thank you for the suggested workaround. This can certainly be helpful in the > short term. However, we would not want to rely on tuning compiler > optimization switches in the future to ensure corr

[Bug rtl-optimization/70751] [7 Regression] FAIL: gcc.target/arm/eliminate.c scan-assembler-times r0,[\\t ]*sp 3 since r235184

2016-06-28 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70751 Dominik Vogt changed: What|Removed |Added CC||vogt at linux dot vnet.ibm.com --- Commen

[Bug rtl-optimization/71673] [7 Regression] FAIL: c-c++-common/torture/builtin-arith-overflow-p-19.c -O2 (internal compiler error)

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71673 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug middle-end/66867] Suboptimal code generation for atomic_compare_exchange

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66867 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-06-28 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 Anton Blanchard changed: What|Removed |Added CC||anton at samba dot org --- Comment #1

[Bug middle-end/71682] New: [7 Regression] Several libjava failures on x86_64-apple-darwin15 with -m32 after r237556

2016-06-28 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71682 Bug ID: 71682 Summary: [7 Regression] Several libjava failures on x86_64-apple-darwin15 with -m32 after r237556 Product: gcc Version: 7.0 Status: UNCONFIRMED Se

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-06-28 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 Jiong Wang changed: What|Removed |Added CC||jiwang at gcc dot gnu.org --- Comment #2 fr

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-06-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 --- Comment #3 from Segher Boessenkool --- anton: What flags for your test case? I fail to reproduce it.

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-06-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-06-28 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 --- Comment #5 from Arseny Solokha --- (In reply to Segher Boessenkool from comment #4) > Oh never mind, I forgot -mlra, duh. > > Confirmed, also on BE, -O2 -mlra fails already. I can't make it fail on 32-bit BE, though. Segher, is your machine

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-06-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 --- Comment #6 from Segher Boessenkool --- Yes, but it fails with -m32 too.

[Bug c++/71675] __atomic_compare_exchange_n returns wrong type for typed enum

2016-06-28 Thread js at alien8 dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71675 --- Comment #2 from Julian Stecklina --- Return bool actually makes sense, because that is the result from the "compare" part of compare/exchange. I am not sure what the meaning of 'type' as a result would be.

[Bug target/71680] [7 Regression] ICE: Max. number of generated reload insns per insn is achieved (90) w/ -Os -mlra

2016-06-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71680 --- Comment #7 from Segher Boessenkool --- We have an insn: (insn 32 33 34 3 (set (reg:DI 165) (unspec:DI [ (fix:SI (subreg:SF (reg:SI 160 [ a ]) 0)) ] UNSPEC_FCTIWZ)) 71680.c:11 334 {fctiwz_sf} (expr_lis

[Bug tree-optimization/71625] missing strlen optimization on different array initialization style

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71625 Jakub Jelinek changed: What|Removed |Added Component|middle-end |tree-optimization Version|tre

[Bug target/60882] [ARM] Execution fail on spec2K/197.parser

2016-06-28 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60882 Richard Earnshaw changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug lto/63607] run fail with -flto -mfloat-abi=softfp for armeb-linux-gnueabi-gcc

2016-06-28 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63607 Richard Earnshaw changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug jit/64810] jit not working on armv7hl ("ld: error: /tmp/libgccjit-ZGemdr/fake.so uses VFP register arguments, /tmp/ccJFCBsE.o does not")

2016-06-28 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64810 --- Comment #27 from Richard Earnshaw --- (In reply to David Malcolm from comment #26) > (In reply to Ramana Radhakrishnan from comment #25) > > Fixed presumably ? > > Mostly. The remaining issue with configure-time options reaching the jit is

[Bug c++/71679] gcc silently accepts parameter number mismatch in template redeclaration

2016-06-28 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71679 --- Comment #1 from Markus Trippelsdorf --- The testcase can be further reduced: template struct A; struct B { template friend struct ::A; }; When using A instead of ::A it works fine and gcc errors out: llvm.ii:3:37: error: redeclared wit

[Bug tree-optimization/66917] [4.9 regression] ARM: NEON: memcpy compiles to vst1 with incorrect alignment

2016-06-28 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66917 --- Comment #23 from Richard Earnshaw --- Any plans to backport to 4.9, or should this be closed?

[Bug rtl-optimization/67037] [4.9 Regression] Wrong code at -O1 and above on ARM

2016-06-28 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67037 --- Comment #9 from Richard Earnshaw --- Any plans to backport to 4.9, or should this be closed?

[Bug c++/71639] [5.2.0] c++11 list initializer and std::transform - error?

2016-06-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71639 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/69187] ICE: Aborted when native compiling neon code with __builtin_neon_vmlals_lanev4hi

2016-06-28 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69187 --- Comment #15 from Richard Earnshaw --- Any plans to backport this further?

[Bug rtl-optimization/69886] ICE: in process_insert_insn, at gcse.c:1976 with --param=gcse-unrestricted-cost=0 @ aarch64

2016-06-28 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69886 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work

[Bug tree-optimization/71683] New: [7 Regression] ICE in gen_phi_arg_condition, at tree-if-conv.c:1705 w/ -ftree-vectorize -O2 (and above)

2016-06-28 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71683 Bug ID: 71683 Summary: [7 Regression] ICE in gen_phi_arg_condition, at tree-if-conv.c:1705 w/ -ftree-vectorize -O2 (and above) Product: gcc Version: 7.0

[Bug c++/71675] __atomic_compare_exchange_n returns wrong type for typed enum

2016-06-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71675 Martin Sebor changed: What|Removed |Added Keywords|documentation |rejects-valid --- Comment #3 from Martin

[Bug middle-end/71682] [7 Regression] Several libjava failures on x86_64-apple-darwin15 with -m32 after r237556

2016-06-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71682 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug tree-optimization/71683] [7 Regression] ICE in gen_phi_arg_condition, at tree-if-conv.c:1705 w/ -ftree-vectorize -O2 (and above)

2016-06-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71683 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug c++/71350] [4.9/5/6/7 regression] ICE on trailing return type declaration with initializer list

2016-06-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71350 Richard Biener changed: What|Removed |Added Target Milestone|--- |4.9.4 Summary|[4.8/4.9/5/6/7

[Bug c++/71675] __atomic_compare_exchange_n returns wrong type for typed enum

2016-06-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71675 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug rtl-optimization/70030] [LRA]ICE when reload insn with output scratch operand

2016-06-28 Thread renlin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70030 --- Comment #8 from Renlin Li --- (In reply to Vladimir Makarov from comment #6) > Created attachment 38033 [details] > A patch > > Here is the patch which might solve the problem. Hi Vladimir, Do you have plan to check this patch in? Thanks!

[Bug libstdc++/71684] New: Memory leak with std::mutex and std::lock_guard on freebsd

2016-06-28 Thread plongstaff at sandvine dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71684 Bug ID: 71684 Summary: Memory leak with std::mutex and std::lock_guard on freebsd Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Pri

[Bug rtl-optimization/67037] [4.9 Regression] Wrong code at -O1 and above on ARM

2016-06-28 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67037 --- Comment #10 from Bernd Edlinger --- (In reply to Richard Earnshaw from comment #9) > Any plans to backport to 4.9, or should this be closed? I won't have time/resources for the necessary regression testing. However the patch is quite simple,

[Bug c/71685] New: Segmentation fault in gcc when compiling the attached file.

2016-06-28 Thread vtselfa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71685 Bug ID: 71685 Summary: Segmentation fault in gcc when compiling the attached file. Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Pr

[Bug target/70814] atomic store of __int128 is not lock free on aarch64

2016-06-28 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70814 --- Comment #3 from Richard Earnshaw --- Atomic loads and stores have to use the same policy for a single object, you can't have loads using one model and stores another. Atomic loads have to work even if the object is marked const. C/C++ permi

[Bug c/71685] Segmentation fault in gcc when compiling the attached file.

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71685 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/71685] [6/7 Regression] Segmentation fault in gcc when compiling the attached file.

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71685 Jakub Jelinek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug libstdc++/71684] Memory leak with std::mutex and std::lock_guard on freebsd

2016-06-28 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71684 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org --- Comme

[Bug libstdc++/71684] Memory leak with std::mutex and std::lock_guard on freebsd

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

[Bug libstdc++/71684] Memory leak with std::mutex and std::lock_guard on freebsd

2016-06-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71684 --- Comment #3 from Jonathan Wakely --- (In reply to nsz from comment #1) > on a posix platform pthread_mutex_destroy should be called for a mutex if > its life time ends, so the ifdef logic seems wrong (the initializer does not > make a differen

[Bug libstdc++/71684] Memory leak with std::mutex and std::lock_guard on freebsd

2016-06-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71684 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > On some older versions of FreeBSD using PTHREAD_MUTEX_INITIALIZER and then > pthread_mutex_destroy would segfault, see > http://lists.freebsd.org/pipermail/fr

[Bug c++/71679] gcc silently accepts parameter number mismatch in template redeclaration

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

[Bug target/71656] ICE in reload when generating code for -mcpu=power9 -mpower9-dform-vector

2016-06-28 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71656 --- Comment #5 from Peter Bergner --- Author: bergner Date: Tue Jun 28 15:49:10 2016 New Revision: 237823 URL: https://gcc.gnu.org/viewcvs?rev=237823&root=gcc&view=rev Log: PR target/71656 * gcc.target/powerpc/pr71656-2.c: Fix sy

[Bug target/70814] atomic store of __int128 is not lock free on aarch64

2016-06-28 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70814 --- Comment #4 from Yichao Yu --- Thanks for the explanation. I didn't realize that the load is the problem. Just curious (since I somehow can't find documentation about it), would `ldaxp` provide the right semantics without the corresponding sto

[Bug c/71685] [6/7 Regression] Segmentation fault in gcc when compiling the attached file.

2016-06-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71685 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/71675] __atomic_compare_exchange_n returns wrong type for typed enum

2016-06-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71675 --- Comment #5 from Martin Sebor --- Patch posted for review: https://gcc.gnu.org/ml/gcc-patches/2016-06/msg01896.html

[Bug c/71685] [6/7 Regression] Segmentation fault in gcc when compiling the attached file.

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71685 Jakub Jelinek changed: What|Removed |Added Assignee|mpolacek at gcc dot gnu.org|jakub at gcc dot gnu.org --- Comm

[Bug target/70814] atomic store of __int128 is not lock free on aarch64

2016-06-28 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70814 --- Comment #5 from Richard Earnshaw --- I don't think so. It's to do with whether the CPU is permitted to 'crack' the operation into multiple micro-ops that proceed independently down the pipeline. LDAXP could still be cracked in this way prov

[Bug tree-optimization/71683] [7 Regression] ICE in gen_phi_arg_condition, at tree-if-conv.c:1705 w/ -ftree-vectorize -O2 (and above)

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71683 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/70814] atomic store of __int128 is not lock free on aarch64

2016-06-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70814 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/71684] Memory leak with std::mutex and std::lock_guard on freebsd

2016-06-28 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71684 --- Comment #5 from nsz at gcc dot gnu.org --- (In reply to Jonathan Wakely from comment #3) > (In reply to nsz from comment #1) > > on a posix platform pthread_mutex_destroy should be called for a mutex if > > its life time ends, so the ifdef log

[Bug target/70814] atomic store of __int128 is not lock free on aarch64

2016-06-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70814 --- Comment #6 from Andrew Pinski --- (In reply to Richard Earnshaw from comment #5) > I don't think so. It's to do with whether the CPU is permitted to 'crack' > the operation into multiple micro-ops that proceed independently down the > pipeli

[Bug c/71685] [6/7 Regression] Segmentation fault in gcc when compiling the attached file.

2016-06-28 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71685 --- Comment #4 from Jim Wilson --- The problem here is that I assumed that c_build_qualified_type would only be called when we want to create a variant type. However, there are a number of places that call it without checking to see if we have a

[Bug target/70814] atomic store of __int128 is not lock free on aarch64

2016-06-28 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70814 --- Comment #8 from Richard Earnshaw --- (In reply to Andrew Pinski from comment #7) > Closing as invalid. Though for v8.4 or so it would be nice if there was > 128bit atomic loads. That probably wouldn't help. It would require a new ABI befor

[Bug target/70814] atomic store of __int128 is not lock free on aarch64

2016-06-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70814 --- Comment #9 from Andrew Pinski --- (In reply to Richard Earnshaw from comment #8) > (In reply to Andrew Pinski from comment #7) > > Closing as invalid. Though for v8.4 or so it would be nice if there was > > 128bit atomic loads. > > That pro

[Bug tree-optimization/71683] [7 Regression] ICE in gen_phi_arg_condition, at tree-if-conv.c:1705 w/ -ftree-vectorize -O2 (and above)

2016-06-28 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71683 --- Comment #2 from Arseny Solokha --- (In reply to Jakub Jelinek from comment #1) > Started wutg r235808. Must be a duplicate of PR71503, then.

[Bug target/58655] [avr] -mfract-convert-truncate not documented

2016-06-28 Thread denisc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58655 --- Comment #1 from denisc at gcc dot gnu.org --- Author: denisc Date: Tue Jun 28 17:56:37 2016 New Revision: 237825 URL: https://gcc.gnu.org/viewcvs?rev=237825&root=gcc&view=rev Log: PR target/58655 * config/avr/avr.opt (-mfract-

[Bug fortran/70524] [5/6/7 Regression] ICE when using -frepack-arrays -Warray-temporaries

2016-06-28 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70524 Gerhard Steinmetz changed: What|Removed |Added CC||gerhard.steinmetz.fortran@t

[Bug middle-end/71626] [4.9/5/6/7 regression] ICE at -O1 and above on x86_64-linux-gnu (in output_constant_pool_2, at varasm.c:3837)

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71626 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Jun 28 18:31:42 2016 New Revision: 237826 URL: https://gcc.gnu.org/viewcvs?rev=237826&root=gcc&view=rev Log: PR middle-end/71626 * config/i386/i386.c (ix86_expand_vect

[Bug fortran/71686] New: ICE on broken character continuation

2016-06-28 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71686 Bug ID: 71686 Summary: ICE on broken character continuation Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug fortran/71687] New: ICE in omp_add_variable, at gimplify.c:5821

2016-06-28 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71687 Bug ID: 71687 Summary: ICE in omp_add_variable, at gimplify.c:5821 Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortr

[Bug fortran/71687] ICE in omp_add_variable, at gimplify.c:5821

2016-06-28 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71687 --- Comment #1 from Gerhard Steinmetz --- As known, case above works with "workshare" : $ cat z2.f90 subroutine s (n, x) integer :: n real :: x(n) !$omp parallel workshare x(1:n) = x(n:1:-1) !$omp end parallel workshare end

[Bug fortran/71688] New: ICE in analyze, at cgraphunit.c:632

2016-06-28 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71688 Bug ID: 71688 Summary: ICE in analyze, at cgraphunit.c:632 Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug fortran/71688] ICE in analyze, at cgraphunit.c:632

2016-06-28 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71688 --- Comment #1 from Gerhard Steinmetz --- Modified a bit : $ cat z2.f90 program p call s contains subroutine s real :: x[*] = 1 block end block x = 2 end end $ gfortran-6 -fcoarray=lib z2.f90 z2.f90:1:0: pr

[Bug middle-end/71626] [4.9/5/6 regression] ICE at -O1 and above on x86_64-linux-gnu (in output_constant_pool_2, at varasm.c:3837)

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71626 Jakub Jelinek changed: What|Removed |Added Summary|[4.9/5/6/7 regression] ICE |[4.9/5/6 regression] ICE at

[Bug target/58655] [avr] -mfract-convert-truncate not documented

2016-06-28 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58655 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/71689] New: Missing dwarf info when using nested function

2016-06-28 Thread asnast at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71689 Bug ID: 71689 Summary: Missing dwarf info when using nested function Product: gcc Version: 4.8.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/71552] Confusing error for incorrect struct initialization

2016-06-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71552 --- Comment #6 from Martin Sebor --- Author: msebor Date: Tue Jun 28 20:09:36 2016 New Revision: 237829 URL: https://gcc.gnu.org/viewcvs?rev=237829&root=gcc&view=rev Log: PR c/71552 - Confusing error for incorrect struct initialization gcc/c/Ch

[Bug c/71552] Confusing error for incorrect struct initialization

2016-06-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71552 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71671] g++: internal compiler error: Killed (program cc1plus)

2016-06-28 Thread tiago at skewed dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71671 Tiago de Paula Peixoto changed: What|Removed |Added CC||tiago at skewed dot de --- Comm

[Bug c++/71671] g++: internal compiler error: Killed (program cc1plus)

2016-06-28 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71671 Markus Trippelsdorf changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/71690] New: integer conversion defeats memcpy optimizaton

2016-06-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71690 Bug ID: 71690 Summary: integer conversion defeats memcpy optimizaton Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middl

[Bug middle-end/71690] integer conversion defeats memcpy optimizaton

2016-06-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71690 --- Comment #1 from Martin Sebor --- See also C++ bug 71654 for the "inverse" of the problem where VRP successfully provides range information in the absence of a conversion but fails with it.

[Bug fortran/70524] [5/6/7 Regression] ICE when using -frepack-arrays -Warray-temporaries

2016-06-28 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70524 --- Comment #6 from Manuel López-Ibáñez --- (In reply to Gerhard Steinmetz from comment #5) > There is a different ICE for a subset of the above group. It is probably a similar issue: gfortran is passing a wrong location. You need to figure out

[Bug middle-end/71654] [6/7 Regression] missing VRP optimization on c++ unsigned char and short expressions

2016-06-28 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71654 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #2

[Bug middle-end/71690] absence of integer conversion defeats memcpy optimizaton

2016-06-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71690 --- Comment #2 from Andrew Pinski --- (In reply to Martin Sebor from comment #1) > See also C++ bug 71654 for the "inverse" of the problem where VRP > successfully provides range information in the absence of a conversion but > fails with it. Th

[Bug c/71685] [6/7 Regression] Segmentation fault in gcc when compiling the attached file.

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71685 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Jun 28 22:30:04 2016 New Revision: 237830 URL: https://gcc.gnu.org/viewcvs?rev=237830&root=gcc&view=rev Log: PR c/71685 * c-typeck.c (c_build_qualified_type): Don't cl

[Bug middle-end/71690] absence of integer conversion defeats memcpy optimizaton

2016-06-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71690 --- Comment #3 from Andrew Pinski --- To fix this, would mean we keep around copies and PHInodes longer. I don't know if we want to do that because it causes code generation to be very bad really.

[Bug c/71685] [6 Regression] Segmentation fault in gcc when compiling the attached file.

2016-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71685 Jakub Jelinek changed: What|Removed |Added Summary|[6/7 Regression]|[6 Regression] Segmentation

[Bug c/71685] [6 Regression] Segmentation fault in gcc when compiling the attached file.

2016-06-28 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71685 --- Comment #7 from Jim Wilson --- An early exit if type_quals is 0 does not work, as there is at least one place that deliberately calls c_build_qualified_type with no type qualifiers to create an unqualified type from a qualified type. Likewis

[Bug middle-end/71690] some integer conversions defeat memcpy optimizaton

2016-06-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71690 Martin Sebor changed: What|Removed |Added Summary|absence of integer |some integer conversions

[Bug fortran/71686] ICE on broken character continuation

2016-06-28 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71686 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Comment

[Bug fortran/71686] ICE on broken character continuation

2016-06-28 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71686 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/71690] some integer conversions defeat memcpy optimizaton

2016-06-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71690 --- Comment #5 from Martin Sebor --- In addition to the data in comment #4, the script below extracts VRP ranges for an argument passed via the ellipsis to __builtin_snprintf. The script output shows that despite the same bounds on a variable, V

[Bug tree-optimization/71691] New: wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (Floating point exception)

2016-06-28 Thread chengniansun at gmail dot com
/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160628 (experimental) [trunk revision 237830