[Bug c++/71167] Long typenames produce extremely hard to read diagnostics and slow down compilation time

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71167 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug c++/71167] Long typenames produce extremely hard to read diagnostics and slow down compilation time

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71167 --- Comment #1 from Andrew Pinski --- Most likely a dup of bug 17693.

[Bug c++/71164] [6/7 Regression] tree check fail at cp/pt.c:12961

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71164 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|---

[Bug c++/71741] The program works 3 times slower compiled with g++ 5.3.1 than the same program compiled with g++ 4.8.4 with the same command (i7-5820 Haswell)

2016-07-04 Thread cranon at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71741 --- Comment #2 from Alex --- At attachment There is no all sources of my program, you can find it here: https://github.com/mediev/inclined_well/tree/gcc_bug But, instead of my program, I ask you to try reproduce the simple example of code here:

[Bug libgcc/71744] Concurrently throwing exceptions is not scalable

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

[Bug c++/70938] [5 only] internal compiler error: in tsubst_copy, at cp/pt.c:13008

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70938 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Known to work|

[Bug c++/71154] Attributes for an explicit template instantiation are ignored

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

[Bug c/71157] -Wnull-dereference false alarm in wrong function

2016-07-04 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71157 --- Comment #6 from Paul Eggert --- > this is because it thinks skip_space() may return NULL: That sounds like a bug, then, as skip_spaces immediately dereferences its argument, so it cannot possibly return NULL. Also, skip_spaces is never pass

[Bug tree-optimization/71026] Missing division optimizations

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

[Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ?

2016-07-04 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905 --- Comment #9 from David Binderman --- I tried a build of the gcc fortran compiler and I found this warning: ../../../src/trunk/libgfortran/intrinsics/date_and_time.c:173:33: warning: ‘%+03d’ directive output truncated while writing ‘9’ bytes i

[Bug target/70934] 16-byte atomics are unimplemented on s390x, but __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 is defined

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

[Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ?

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905 --- Comment #10 from Jakub Jelinek --- (In reply to David Binderman from comment #9) > I tried a build of the gcc fortran compiler and I found this warning: > > ../../../src/trunk/libgfortran/intrinsics/date_and_time.c:173:33: warning: > ‘%+03d’

[Bug middle-end/66334] cleanup block fails to initialize EBX

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66334 Andrew Pinski changed: What|Removed |Added Target Milestone|6.2 |6.0 --- Comment #14 from Andrew Pinski

[Bug c++/71748] [4.9/5/6/7 Regression] ICE on valid (?) C++ template code invoking a base destructor: in build_base_path, at cp/class.c:304

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

[Bug c++/71747] [4.9/5/6/7 Regression] ICE on invalid C++11 code with misuse of overloaded operator '()': Segmentation fault (program cc1plus)

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

[Bug target/71749] New: Define _REENTRANT on ARC when -pthread is passed

2016-07-04 Thread thomas.petazz...@free-electrons.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71749 Bug ID: 71749 Summary: Define _REENTRANT on ARC when -pthread is passed Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ta

[Bug target/71750] New: Define _REENTRANT on Blackfin when -pthread is passed

2016-07-04 Thread thomas.petazz...@free-electrons.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71750 Bug ID: 71750 Summary: Define _REENTRANT on Blackfin when -pthread is passed Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/71106] MIPS: Unaligned load/store instructions are not used to access a variable with an aligned attribute

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71106 --- Comment #3 from Andrew Pinski --- Doing a movmisalign for mips is actually very easy: ;; Unaligned load/store (movmisalign) (define_expand "movmisalign" [(set (match_operand:GPR 0 "nonimmediate_operand") (match_operand:GPR 1 "move

[Bug c++/71739] [6/7 Regression] ICE on valid C++11 code: tree check: expected identifier_node, have tree_list in private_is_attribute_p, at tree.c:6080

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71739 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target Milest

[Bug target/71721] uclinux posix threads

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71721 Andrew Pinski changed: What|Removed |Added Severity|minor |enhancement

[Bug c++/71738] [4.9/5/6/7 Regression] ICE on valid C++ code: tree check: expected record_type or union_type or qual_union_type, have template_decl in lookup_template_class_1, at cp/pt.c:8619

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

[Bug c++/71737] [4.9/5/6/7 Regression] ICE following 2x pack expansion in non-pack with template alias

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

[Bug target/63874] vtable address generation goes through memory

2016-07-04 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63874 --- Comment #3 from Ramana Radhakrishnan --- Author: ramana Date: Mon Jul 4 09:06:02 2016 New Revision: 237957 URL: https://gcc.gnu.org/viewcvs?rev=237957&root=gcc&view=rev Log: [AArch64] Fix PR target/63874 In this PR we have a situation

[Bug target/63874] vtable address generation goes through memory

2016-07-04 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63874 Ramana Radhakrishnan changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/71751] New: [7 Regression] Segmentation fault in ssa_default_def

2016-07-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71751 Bug ID: 71751 Summary: [7 Regression] Segmentation fault in ssa_default_def Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug tree-optimization/71751] [7 Regression] Segmentation fault in ssa_default_def

2016-07-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71751 ktkachov at gcc dot gnu.org changed: What|Removed |Added Known to work||6.1.0 Target Milestone|--

[Bug c++/71739] [6/7 Regression] ICE on valid C++11 code: tree check: expected identifier_node, have tree_list in private_is_attribute_p, at tree.c:6080

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

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

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

[Bug tree-optimization/71752] New: [7 Regression] ICE in compute_live_loop_exits, at tree-ssa-loop-manip.c:229 w/ -O1 -ftree-vectorize

2016-07-04 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71752 Bug ID: 71752 Summary: [7 Regression] ICE in compute_live_loop_exits, at tree-ssa-loop-manip.c:229 w/ -O1 -ftree-vectorize Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug c++/71753] New: Clamp function does not work with O3 optimization

2016-07-04 Thread lukasz.spintzyk at displaylink dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71753 Bug ID: 71753 Summary: Clamp function does not work with O3 optimization Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug ipa/71190] [7 Regression] ICE in assemble_variable_contents, at varasm.c:2054

2016-07-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71190 --- Comment #4 from Markus Trippelsdorf --- In my case it only happens with "-flto=60 --param lto-partitions=60", -flto=60 alone works fine. So perhaps flto-partition=max will help reducing. (Will give it another try later today myself.)

[Bug target/71670] powerpc64le ICE in extract_constrain_insn with -mcpu=power9

2016-07-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71670 --- Comment #3 from Segher Boessenkool --- Author: segher Date: Mon Jul 4 09:52:38 2016 New Revision: 237958 URL: https://gcc.gnu.org/viewcvs?rev=237958&root=gcc&view=rev Log: rs6000: Fix split of ashdi3_extswsli_dot for memory (PR71670) The s

[Bug target/71670] powerpc64le ICE in extract_constrain_insn with -mcpu=power9

2016-07-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71670 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/71753] Clamp function does not work with O3 optimization

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71753 --- Comment #1 from Andrew Pinski --- Comment on attachment 38830 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38830 Code that reproduces the issue value + 0x7F00 Will overflow most of the time.

[Bug c++/71753] Clamp function does not work with O3 optimization

2016-07-04 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71753 --- Comment #2 from Marc Glisse --- -fsanitize=undefined a.c:11:21: runtime error: signed integer overflow: 260 + 2147483392 cannot be represented in type 'int' You need to use an unsigned type for this type of computation.

[Bug c++/71753] Clamp function does not work with O3 optimization

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

[Bug tree-optimization/71357] [7 Regression] [graphite] ICE: verify_ssa failed (error: definition in block follows the use for SSA_NAME) w/ -O2 -floop-nest-optimize

2016-07-04 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71357 --- Comment #2 from Arseny Solokha --- gcc-7.0.0-alpha20160703 snapshot ICEs w/ -O1 -floop-nest-optimize only, not w/ -O2 and above.

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

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71691 --- Comment #3 from Jakub Jelinek --- The testcase looks invalid to me. In the second iteration of the outermost loop, l = 1, g = 0, so it compares uninitialized h with 7.

[Bug c++/71753] Clamp function does not work with O3 optimization

2016-07-04 Thread lukasz.spintzyk at displaylink dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71753 --- Comment #4 from Łukasz Spintzyk --- Yes, this code is utilizing overflow, but it is there for a reason to optimize the code and get rid of branches as they can slow down program execution. You can refer to http://locklessinc.com/articles/sat

[Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ?

2016-07-04 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905 --- Comment #11 from David Binderman --- (In reply to Jakub Jelinek from comment #10) > I think the warning code should compute both > minimum and maximum, I'd be happy for the code to compute minimum only and have maximum postponed for the fut

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

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71691 --- Comment #4 from Jakub Jelinek --- That said, char b; short f; unsigned e; int g = 20; void foo () { int l, h; for (l = 0; l <= 7; l++) { int j = 38; if (g) h = 0; for (; h <= 7; h++) { int

[Bug c++/71753] Clamp function does not work with O3 optimization

2016-07-04 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71753 --- Comment #5 from Marc Glisse --- (In reply to Łukasz Spintzyk from comment #4) > Looking from this point of view is this really invalid? There is a perfectly valid way to write such code: "You need to use an unsigned type for this type of co

[Bug target/66960] Add interrupt attribute to x86 backend

2016-07-04 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #13 from Goswin von Brederlow --- (In reply to H.J. Lu from comment #12) > (In reply to Goswin von Brederlow from comment #11) > > I think the design is fundamentally lacking in the following points: > > > > 1. interrupt handler

[Bug tree-optimization/71752] [7 Regression] ICE in compute_live_loop_exits, at tree-ssa-loop-manip.c:229 w/ -O1 -ftree-vectorize

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

[Bug middle-end/70159] missed CSE optimization

2016-07-04 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70159 --- Comment #12 from rguenther at suse dot de --- On Sat, 2 Jul 2016, hiraditya at msn dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70159 > > AK changed: > >What|Removed |Added > --

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

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71691 --- Comment #5 from Jakub Jelinek --- I bet this is related to the uninitialized i. We have in bb3: # RANGE [0, 1] NONZERO 1 # i_57 = PHI and in bb5: # RANGE [0, 1] NONZERO 1 # i_48 = PHI and in bb6: if (i_48 != 0) and in basic

[Bug tree-optimization/71751] [7 Regression] Segmentation fault in ssa_default_def

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

[Bug c++/71010] error: 'begin' was not declared in this scope

2016-07-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71010 --- Comment #5 from Jonathan Wakely --- (In reply to Ubikovich from comment #3) > But since C++14 cbegin invoke std::begin: > > // http://en.cppreference.com/w/cpp/iterator/begin > template< class C > > constexpr auto cbegin( const C& c ) -> dec

[Bug c/71719] [7 Regression] invalid set-but-not-used warning with vectors

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

[Bug debug/71667] [7 Regression] ICE in as_a, at is-a.h:192 w/ -g -O2 -ftree-vectorize

2016-07-04 Thread alahay01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71667 --- Comment #5 from alahay01 at gcc dot gnu.org --- Qirun: That looks like a separate issue. My fix for 71667 (under review) is specific to debug statements. Could you please raise your test case as a new bug and assign it to me. Thanks!

[Bug libstdc++/71313] [Filesystem TS] remove_all fails to remove directory contents recursively

2016-07-04 Thread ville at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71313 --- Comment #2 from ville at gcc dot gnu.org --- Author: ville Date: Mon Jul 4 12:52:49 2016 New Revision: 237978 URL: https://gcc.gnu.org/viewcvs?rev=237978&root=gcc&view=rev Log: PR libstdc++/71313 * src/filesystem/ops.cc (remo

[Bug libstdc++/71313] [Filesystem TS] remove_all fails to remove directory contents recursively

2016-07-04 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71313 --- Comment #3 from Ville Voutilainen --- Fixed on trunk so far, backporting to gcc-6 and gcc-5 shortly.

[Bug libstdc++/71313] [Filesystem TS] remove_all fails to remove directory contents recursively

2016-07-04 Thread ville at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71313 --- Comment #4 from ville at gcc dot gnu.org --- Author: ville Date: Mon Jul 4 13:15:10 2016 New Revision: 237980 URL: https://gcc.gnu.org/viewcvs?rev=237980&root=gcc&view=rev Log: PR libstdc++/71313 * src/filesystem/ops.cc (remo

[Bug c/71754] New: gcc prints internal error on ARM NEON code with buffer overflow

2016-07-04 Thread olme8 at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71754 Bug ID: 71754 Summary: gcc prints internal error on ARM NEON code with buffer overflow Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: minor

[Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ?

2016-07-04 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905 --- Comment #12 from David Binderman --- (In reply to David Binderman from comment #11) > So it looks to me like format %Lx isn't handled. Also, %lf seems to cause a crash.

[Bug target/71754] [4.9 Regression] gcc prints internal error on ARM NEON code with buffer overflow

2016-07-04 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71754 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target||arm* Status|UNC

[Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729 --- Comment #29 from Jakub Jelinek --- The #c27 r237844 change looks bogus to me. First of all, IMNSHO you can argue this way only if ref is a reference seen in loop LOOP, which is the case of e.g. *.omp_data_i_23(D).a ref in simd3.f90 -O2 -fopen

[Bug middle-end/71734] [7 Regression] FAIL: libgomp.fortran/simd4.f90 -O3 -g execution test

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

[Bug libstdc++/71313] [Filesystem TS] remove_all fails to remove directory contents recursively

2016-07-04 Thread ville at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71313 --- Comment #5 from ville at gcc dot gnu.org --- Author: ville Date: Mon Jul 4 13:52:21 2016 New Revision: 237981 URL: https://gcc.gnu.org/viewcvs?rev=237981&root=gcc&view=rev Log: Backport from mainline 2016-07-04 Ville Voutila

[Bug libstdc++/71313] [Filesystem TS] remove_all fails to remove directory contents recursively

2016-07-04 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71313 Ville Voutilainen changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/71190] [7 Regression] ICE in assemble_variable_contents, at varasm.c:2054

2016-07-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71190 --- Comment #5 from Markus Trippelsdorf --- I'm down to 16 *.ii files. It will probably take a few days to creduce them all.

[Bug tree-optimization/71715] FAIL: 23_containers/deque/modifiers/swap/2.cc (test for excess errors)

2016-07-04 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71715 Thomas Preud'homme changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/71707] [7 Regression] ICE in get_stridx_plus_constant

2016-07-04 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71707 Thomas Preud'homme changed: What|Removed |Added CC||thopre01 at gcc dot gnu.org --- Com

[Bug c++/71753] Clamp function does not work with O3 optimization

2016-07-04 Thread lukasz.spintzyk at displaylink dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71753 --- Comment #6 from Łukasz Spintzyk --- I confirm changing the code to use unsigned int fixed the problem. Also there is no signed overflow errors. Thanks a lot.

[Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729 --- Comment #30 from Jakub Jelinek --- Another thing to think of, e.g. void baz (int *p, int *q) { #pragma omp simd safelen(2) for (int i = 0; i < 1024; i++) p[4 * i] += q[0]; } for aliasing p[4 * 1022] I think still applies that if (&q[0

[Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729 --- Comment #31 from Jakub Jelinek --- A question is if #pragma GCC ivdep has similar guarantees/restrictions; the documentation only disallows certain loop-carried dependencies, in particular those that would prevent vectorization, so I think it

[Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729 --- Comment #32 from Jakub Jelinek --- Also, the testcase has weird dg- directives: // { dg-do compile } // { dg-require-effective-target vect_simd_clones } // { dg-additional-options "-Ofast" } // { dg-additional-options "-mavx2 -fopenmp-simd" {

[Bug preprocessor/28810] gcc -MD -MP doesn't add phony rule for source file

2016-07-04 Thread vz-gcc at zeitlins dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28810 Vadim Zeitlin changed: What|Removed |Added CC||vz-gcc at zeitlins dot org --- Comment #

[Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729 --- Comment #33 from Jakub Jelinek --- In any case, loop->safelen > 0 test looks also wrong, if there are guarantees about single iteration only (safelen(1)), then there is nothing useful at all. So it must be loop->safelen >= 2. For foo in #c29

[Bug c++/71755] New: friend function may not be defined inside a class using a qualified name but GCC allows that

2016-07-04 Thread ww2www2w at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71755 Bug ID: 71755 Summary: friend function may not be defined inside a class using a qualified name but GCC allows that Product: gcc Version: 6.1.0 Status: UNCONFIRMED

[Bug c++/71756] New: internal compiler error: in ~saved_token_sentinel, at cp/parser.c:1228

2016-07-04 Thread vegard.nossum at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71756 Bug ID: 71756 Summary: internal compiler error: in ~saved_token_sentinel, at cp/parser.c:1228 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug target/66960] Add interrupt attribute to x86 backend

2016-07-04 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #14 from H.J. Lu --- (In reply to Goswin von Brederlow from comment #13) > > > > > > In a kernel there will always be some exception that simply prints a > > > register dump and stack backtrace. So again how do you access the origin

[Bug libgcj/71757] New: libgcj: unknown symbol __cxa_throw_bad_array_new_length

2016-07-04 Thread timo.teras at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71757 Bug ID: 71757 Summary: libgcj: unknown symbol __cxa_throw_bad_array_new_length Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priori

[Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized

2016-07-04 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729 --- Comment #34 from Yuri Rumyantsev --- Thanks a lot Jakub for your detail comments. I have simple fix which cures failures from 71734. The fix is simple enough and simply check that the ref in problem belongs to simd loop: diff --git a/gcc/tre

[Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729 --- Comment #35 from Jakub Jelinek --- Doesn't it still miscompile the #c33 testcase? Say with __attribute__((noinline, noclone)) on baz and int v[2048]; int main () { v[1023] = 5; baz (v, v + 1023, v + 1024, v + 1023); int i; for (i = 0

[Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized

2016-07-04 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729 --- Comment #36 from Yuri Rumyantsev --- #c33 testcase was not tested since I have some doubts about it. Note that original problem was #pragma omp simd for (int i=0; i: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729 > > --- Comment #35 f

[Bug libgcj/71757] libgcj: unknown symbol __cxa_throw_bad_array_new_length

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71757 --- Comment #1 from Andrew Pinski --- What target is this on? I get all passes in the java testsuite with GCC 6.1 on aarch-linux-gnu.

[Bug libgcj/71757] libgcj: unknown symbol __cxa_throw_bad_array_new_length

2016-07-04 Thread timo.teras at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71757 --- Comment #2 from Timo Teräs --- (In reply to Andrew Pinski from comment #1) > What target is this on? I get all passes in the java testsuite with GCC 6.1 > on aarch-linux-gnu. Happens on x86_64-alpine-linux-musl for me. PIE enabled by defaul

[Bug libgcj/71757] libgcj: unknown symbol __cxa_throw_bad_array_new_length

2016-07-04 Thread timo.teras at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71757 --- Comment #3 from Timo Teräs --- (In reply to Timo Teräs from comment #2) > (In reply to Andrew Pinski from comment #1) > > What target is this on? I get all passes in the java testsuite with GCC 6.1 > > on aarch-linux-gnu. > > Happens on x86

[Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized

2016-07-04 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729 --- Comment #37 from Yuri Rumyantsev --- Jakub, I assume that yoour #C33 test-case is not correct, i.e. it can not be marked with pragma omp simd. For example, even if we turn off lim phase it will be aborted: my_g++ -O3 -m64 t33.cpp -o t33.exe

[Bug libgcj/71757] libgcj: unknown symbol __cxa_throw_bad_array_new_length

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71757 --- Comment #4 from Andrew Pinski --- (In reply to Timo Teräs from comment #3) > (In reply to Timo Teräs from comment #2) > > (In reply to Andrew Pinski from comment #1) > > > What target is this on? I get all passes in the java testsuite with G

[Bug libgcj/71757] libgcj: unknown symbol __cxa_throw_bad_array_new_length

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71757 Andrew Pinski changed: What|Removed |Added Keywords||build --- Comment #5 from Andrew Pinski

[Bug libgcj/71757] libgcj: unknown symbol __cxa_throw_bad_array_new_length

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71757 --- Comment #6 from Andrew Pinski --- Are you sure __cxa_throw_bad_array_new_length is being exported from libstdc++v3?

[Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ?

2016-07-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905 --- Comment #13 from Martin Sebor --- (In reply to David Binderman from comment #9) > I tried a build of the gcc fortran compiler and I found this warning: > > ../../../src/trunk/libgfortran/intrinsics/date_and_time.c:173:33: warning: > ‘%+03d’

[Bug libgcj/71757] libgcj: unknown symbol __cxa_throw_bad_array_new_length

2016-07-04 Thread timo.teras at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71757 --- Comment #7 from Timo Teräs --- (In reply to Andrew Pinski from comment #6) > Are you sure __cxa_throw_bad_array_new_length is being exported from > libstdc++v3? $ nm -D ./stage1-x86_64-alpine-linux-musl/libstdc++-v3/src/.libs/libstdc++.so|g

[Bug c++/71227] [6/7 Regression] template friend function cannot be resolved

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71227 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ?

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905 --- Comment #14 from Jakub Jelinek --- (In reply to Martin Sebor from comment #13) > (In reply to David Binderman from comment #9) > > I tried a build of the gcc fortran compiler and I found this warning: > > > > ../../../src/trunk/libgfortran/i

[Bug tree-optimization/70729] Loop marked with omp simd pragma is not vectorized

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70729 --- Comment #38 from Jakub Jelinek --- Sorry, make that __attribute__((noinline, noclone)) void baz (int *p, int *q, int *r, int *s) { #pragma omp simd for (int i = 0; i < 1024; i++) { p[i] += q[0] * 6; r[i] += s[0] * 9; } }

[Bug fortran/66244] [4.9/5/6/7 Regression] ICE on assigning a value to a pointer variable

2016-07-04 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66244 --- Comment #4 from Gerhard Steinmetz --- Compiling slightly modified example from comment 0 : $ cat z4.f90 program p integer, target :: a(3)[*] integer, pointer :: z => a(3) z = 0 print *, z end $ gfortran-7-20160703 -fcoarray=s

[Bug c++/71069] -Waddress didn't catch all cases

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71069 --- Comment #2 from Andrew Pinski --- -fsantize=undefined will catch this at runtime. What is undefined is passing a NULL to setData.

[Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ?

2016-07-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905 --- Comment #15 from Martin Sebor --- (In reply to David Binderman from comment #11) > BTW, I tried a Linux kernel build and got this > > drivers/char/ipmi/ipmi_msghandler.c: In function ‘guid_show’: > drivers/char/ipmi/ipmi_msghandler.c:2365:9:

[Bug debug/71058] ICE when building heavy templating and -std=c++17 -gstabs

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71058 --- Comment #2 from Andrew Pinski --- Why would someone even try to use stabs debugging info. It provides almost no debug information anyways.

[Bug fortran/67883] ICE on empty array constructor of character function

2016-07-04 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67883 --- Comment #2 from Gerhard Steinmetz --- Another group of examples. First case is working in a sufficient manner. Concatenating two empty hulls (zero len and size, respectivly) gives an empty hull as result again. $ cat zz1.f90 program p

[Bug fortran/67883] ICE on empty array constructor of character function

2016-07-04 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67883 --- Comment #3 from Gerhard Steinmetz --- For the following cases, every line produces an ICE : $ cat zz5.f90 program p character(*), parameter :: x1(*) = [character(*) ::] // [character(0) ::] character(*), parameter :: x2(*) = [charac

[Bug fortran/65173] ICE while compiling wrong code

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

[Bug c++/71739] [6/7 Regression] ICE on valid C++11 code: tree check: expected identifier_node, have tree_list in private_is_attribute_p, at tree.c:6080

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71739 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Mon Jul 4 17:31:38 2016 New Revision: 237991 URL: https://gcc.gnu.org/viewcvs?rev=237991&root=gcc&view=rev Log: PR c++/71739 * tree.c (attribute_value_equal): Use get_att

[Bug fortran/47425] Array constructor with type-spec: Fails with more complicated length type expr

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

[Bug c++/71739] [6/7 Regression] ICE on valid C++11 code: tree check: expected identifier_node, have tree_list in private_is_attribute_p, at tree.c:6080

2016-07-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71739 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Mon Jul 4 17:33:50 2016 New Revision: 237992 URL: https://gcc.gnu.org/viewcvs?rev=237992&root=gcc&view=rev Log: PR c++/71739 * tree.c (attribute_value_equal): Use get_att

[Bug fortran/47425] Array constructor with type-spec: Fails with more complicated length type expr

2016-07-04 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47425 --- Comment #4 from Gerhard Steinmetz --- Some simplifications : $ cat z1.f90 program p character(3) :: x integer :: n = 3 print *, [character(len(x(1:n))) :: 'a'] end $ gfortran-7-20160703 z1.f90 z1.f90:4:0: print *, [characte

[Bug fortran/71758] New: ICE in verify_gimple_in_cfg, at tree-cfg.c:5212

2016-07-04 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71758 Bug ID: 71758 Summary: ICE in verify_gimple_in_cfg, at tree-cfg.c:5212 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: for

  1   2   >