[Bug c++/35878] [LWG 2302] Useless NULL pointer check when constructing object

2017-03-20 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35878 --- Comment #11 from Ville Voutilainen --- Fixed on trunk for C++17 mode, leaving open to enable in other standard modes later.

[Bug c++/35878] [LWG 2302] Useless NULL pointer check when constructing object

2017-03-20 Thread ville at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35878 --- Comment #10 from ville at gcc dot gnu.org --- Author: ville Date: Tue Mar 21 06:36:22 2017 New Revision: 246301 URL: https://gcc.gnu.org/viewcvs?rev=246301&root=gcc&view=rev Log: gcc/ PR c++/35878 * cp/init.c (std_placement_new_fn_p): New. (

[Bug fortran/38573] Missing markers for translation

2017-03-20 Thread fmarchal at perso dot be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38573 Frederic Marchal changed: What|Removed |Added CC||roland.illig at gmx dot de --- Commen

[Bug target/80108] ICE in aggregate_value_p at function.c:2028

2017-03-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80108 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/80107] ICE in final_scan_insn, at final.c:2964

2017-03-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80107 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/80103] ICE in output_1144, at config/rs6000/vsx.md:2298

2017-03-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80103 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/80101] ICE in store_data_bypass_p, at recog.c:3737

2017-03-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80101 --- Comment #1 from Segher Boessenkool --- power6.md defines a bypass: ; define the bypass for the case where the value written ; by a fixed point op is used as the source value on a ; store. (define_bypass 1 "power6-integer,\

[Bug target/80101] ICE in store_data_bypass_p, at recog.c:3737

2017-03-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80101 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/35878] [LWG 2302] Useless NULL pointer check when constructing object

2017-03-20 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35878 Ville Voutilainen changed: What|Removed |Added Component|libstdc++ |c++ --- Comment #9 from Ville Voutil

[Bug rtl-optimization/79910] [7 Regression] wrong code with -O -fweb

2017-03-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79910 --- Comment #7 from Segher Boessenkool --- Author: segher Date: Mon Mar 20 23:08:16 2017 New Revision: 246297 URL: https://gcc.gnu.org/viewcvs?rev=246297&root=gcc&view=rev Log: combine: Fix 79910 If the dest of an I0 or I1 is used in an insn be

[Bug c++/79986] [6/7 Regression][CHKP] ICE in fold_convert_loc with a flexible array

2017-03-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79986 --- Comment #6 from Martin Sebor --- Minimal patch submitted for review: https://gcc.gnu.org/ml/gcc-patches/2017-03/msg01062.html

[Bug c++/79986] [6/7 Regression][CHKP] ICE in fold_convert_loc with a flexible array

2017-03-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79986 --- Comment #5 from Martin Sebor --- The initialization of flexible array members is still broken in various ways. For some examples, see pr69338, pr69696, and pr69697. The initialization in flexary11.C is a special case of a general C++ patter

[Bug sanitizer/80114] asan-stack=1 with -fsanitize-address-use-after-scope and stack arrays multiplies code size

2017-03-20 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80114 --- Comment #9 from Arnd Bergmann --- Sent a kernel patch to avoid the problem: http://www.spinics.net/lists/intel-gfx/msg123586.html

[Bug fortran/38573] Missing markers for translation

2017-03-20 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38573 --- Comment #7 from Jerry DeLisle --- intrinsic.c contains a similar error message: if (!gfc_check_intrinsic_standard (isym, &symstd, false, loc) && !sym->attr.artificial) { if (sym->attr.proc == PROC_UNKNOWN && warn_intrinsics

[Bug fortran/38573] Missing markers for translation

2017-03-20 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38573 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Comment

[Bug target/80123] libgomp tests pr66199-2.c and pr66199-5.c fail with -mcpu=power9

2017-03-20 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80123 --- Comment #1 from acsawdey at gcc dot gnu.org --- Changing the final constraint of vsx_splat_ from "wr" to "b" allows this to compile and pass the execution test. This isn't really a correct fix as "b" is not NO_REGS if 64-bit instructions are

[Bug c++/79519] [5/6 Regression] ICE deleting template friend function

2017-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79519 Jason Merrill changed: What|Removed |Added Known to work||7.0 Summary|[5/6/7 Regression

[Bug c++/80096] [7 Regression] [c++1z] ICE with auto template parameter

2017-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80096 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/68354] -Warray-bounds on a flexible array member in C++

2017-03-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68354 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug c++/69698] [meta-bug] flexible array members

2017-03-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69698 Bug 69698 depends on bug 68354, which changed state. Bug 68354 Summary: -Warray-bounds on a flexible array member in C++ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68354 What|Removed |Added ---

[Bug c++/68354] -Warray-bounds on a flexible array member in C++

2017-03-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68354 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #2 from Martin Sebor ---

[Bug c++/80059] [7 Regression] ICE with invalid noexcept for __transaction_atomic

2017-03-20 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80059 --- Comment #11 from Volker Reichelt --- Hi Marek, thanks for the fix! However, the ChangeLog entry is wrong. In the final version you didn't call instantiate_non_dependent_expr_sfinae, but instantiate_non_dependent_expr instead. Would you mind

[Bug tree-optimization/55985] Misleading message about which variable 'may be used uninitialized in this function'

2017-03-20 Thread jonathan.leffler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55985 --- Comment #2 from Jonathan Leffler --- This problem has been mostly resolved in 5.3.0 (and quite possibly earlier): $ gcc -O3 -Werror -Wall -g -std=c99 -c -o gccbug.o gccbug.c gccbug.c: In function ‘updtypes’: gccbug.c:20:18: error: ‘savtups

[Bug c++/80029] [6/7 Regression] valgrind error in new_omp_context(omp_region_type) (gimplify.c:400)

2017-03-20 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80029 --- Comment #3 from cesar at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #2) > That doesn't work, it is too early. > With: > --- gimplify.c.jj 2017-03-08 18:19:24.0 +0100 > +++ gimplify.c2017-03-20 07:22:05.5879

[Bug target/80083] libgomp doacross2.f90 regtest fails with -mcpu=power9 -O1

2017-03-20 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80083 --- Comment #4 from acsawdey at gcc dot gnu.org --- Author: acsawdey Date: Mon Mar 20 20:43:44 2017 New Revision: 246293 URL: https://gcc.gnu.org/viewcvs?rev=246293&root=gcc&view=rev Log: 2017-03-20 Aaron Sawdey PR target/80083

[Bug c++/80096] [7 Regression] [c++1z] ICE with auto template parameter

2017-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80096 --- Comment #4 from Jason Merrill --- Author: jason Date: Mon Mar 20 20:36:54 2017 New Revision: 246292 URL: https://gcc.gnu.org/viewcvs?rev=246292&root=gcc&view=rev Log: PR c++/80096 - ICE with C++17 non-type auto. * pt.c (tsub

[Bug c++/79519] [5/6/7 Regression] ICE deleting template friend function

2017-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79519 --- Comment #3 from Jason Merrill --- Author: jason Date: Mon Mar 20 20:36:46 2017 New Revision: 246291 URL: https://gcc.gnu.org/viewcvs?rev=246291&root=gcc&view=rev Log: PR c++/79519 - ICE with deleted template friend. * decl.c

[Bug target/80124] Possible bug in _mm_cmpeq_ps

2017-03-20 Thread guille at berkeley dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80124 --- Comment #6 from Guille --- Thanks.

[Bug tree-optimization/80054] [7 Regression] ICE in verify_ssa with -O3 -march=broadwell/skylake-avx512

2017-03-20 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80054 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/80054] [7 Regression] ICE in verify_ssa with -O3 -march=broadwell/skylake-avx512

2017-03-20 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80054 --- Comment #5 from Bill Schmidt --- Author: wschmidt Date: Mon Mar 20 20:04:25 2017 New Revision: 246290 URL: https://gcc.gnu.org/viewcvs?rev=246290&root=gcc&view=rev Log: [gcc] 2017-03-20 Bill Schmidt PR tree-optimization/80054

[Bug target/80124] Possible bug in _mm_cmpeq_ps

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

[Bug c++/80124] Possible bug in _mm_cmpeq_ps

2017-03-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80124 --- Comment #4 from Marc Glisse --- NaN (all-ones is a NaN) is not equal to itself, that's normal behavior.

[Bug c/80116] Warn about macros expanding to multiple statements

2017-03-20 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80116 Eric Gallager changed: What|Removed |Added CC||egall at gwmail dot gwu.edu --- Comment

[Bug sanitizer/80114] asan-stack=1 with -fsanitize-address-use-after-scope and stack arrays multiplies code size

2017-03-20 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80114 --- Comment #8 from Arnd Bergmann --- Looking at the kernel code again, I came up with an alternative that avoids the large stack size and produces good executable code in all configurations I found with the file that showed up a -Wframe-larger-t

[Bug fortran/38573] Missing markers for translation

2017-03-20 Thread fmarchal at perso dot be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38573 Frederic Marchal changed: What|Removed |Added CC||fmarchal at perso dot be --- Comment

[Bug c++/80096] [7 Regression] [c++1z] ICE with auto template parameter

2017-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80096 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug fortran/80120] [7 Regression] Incorrect error with associate construct and character array

2017-03-20 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80120 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug c++/78345] [5/6 Regression] ICE on invalid c++ code on x86_64-linux-gnu (internal compiler error: in cxx_eval_outermost_constant_expr, at cp/constexpr.c:4464)

2017-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78345 Jason Merrill changed: What|Removed |Added Known to work||7.0 Summary|[5/6/7 Regression

[Bug c++/80124] Possible bug in _mm_cmpeq_ps

2017-03-20 Thread guille at berkeley dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80124 --- Comment #3 from Guille --- Apologies, this maybe should've gone in the 'C bugs' section, not the C++ section.

[Bug c++/80124] Possible bug in _mm_cmpeq_ps

2017-03-20 Thread guille at berkeley dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80124 --- Comment #2 from Guille --- Created attachment 41008 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41008&action=edit the code that triggers possible bug Compile with 'c++ t.c' (or maybe 'c++ -msse -msse2 t.c').

[Bug c++/80124] Possible bug in _mm_cmpeq_ps

2017-03-20 Thread guille at berkeley dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80124 --- Comment #1 from Guille --- I forgot to mention that a while back (~1year) I had a similar problem with _mm256_cmp_ps(a,b, _CMP_EQ_OQ) (the AVX equivalent of _mm_cmpeq_ps), but I wasn't able to isolate the problem back then.

[Bug c++/79519] [5/6/7 Regression] ICE deleting template friend function

2017-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79519 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/79640] [5/6 Regression] ICE with generic lambda expression

2017-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79640 Jason Merrill changed: What|Removed |Added Known to work||7.0 Summary|[5/6/7 Regression

[Bug c++/80124] New: Possible bug in _mm_cmpeq_ps

2017-03-20 Thread guille at berkeley dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80124 Bug ID: 80124 Summary: Possible bug in _mm_cmpeq_ps Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assi

[Bug sanitizer/80114] asan-stack=1 with -fsanitize-address-use-after-scope and stack arrays multiplies code size

2017-03-20 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80114 --- Comment #7 from joseph at codesourcery dot com --- "String literals, and compound literals with const-qualified types, need not designate distinct objects.". (This is different from named variables, which can't be merged without -fmerge-al

[Bug c++/79640] [5/6/7 Regression] ICE with generic lambda expression

2017-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79640 --- Comment #4 from Jason Merrill --- Author: jason Date: Mon Mar 20 18:49:10 2017 New Revision: 246289 URL: https://gcc.gnu.org/viewcvs?rev=246289&root=gcc&view=rev Log: PR c++/79640 - infinite recursion with generic lambda. *

[Bug c++/52477] Wrong initialization order? __attribute__((constructor)) vs static data access

2017-03-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52477 --- Comment #8 from Martin Sebor --- r246288 updates the manual for GCC 7 and documents the limitation (as per commetn #6) but the issue itself remains unresolved.

[Bug c++/52477] Wrong initialization order? __attribute__((constructor)) vs static data access

2017-03-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52477 --- Comment #7 from Martin Sebor --- Author: msebor Date: Mon Mar 20 18:33:31 2017 New Revision: 246288 URL: https://gcc.gnu.org/viewcvs?rev=246288&root=gcc&view=rev Log: PR c++/52477 - Wrong initialization order __attribute__((constructor)) vs

[Bug middle-end/61118] Spurious -Wclobbered warning generated by gcc 4.9.0 for pthread_cleanup_push

2017-03-20 Thread tavianator at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61118 --- Comment #10 from Tavian Barnes --- > I think it is - __cancel_arg is assigned inside a while loop Specifically a do { } while(0); loop, which obviously has only one iteration.

[Bug c++/79416] Internal compiler error for recursive template expansion

2017-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79416 Jason Merrill changed: What|Removed |Added Priority|P2 |P3 CC|

[Bug target/79963] vec_eq_any extracts wrong CR bit when compiling with -mcpu=power9

2017-03-20 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79963 kelvin at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|-

[Bug c++/79986] [6/7 Regression][CHKP] ICE in fold_convert_loc with a flexible array

2017-03-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79986 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug sanitizer/78158] Strange data race detection with thread sanitizer

2017-03-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78158 Jakub Jelinek changed: What|Removed |Added CC||torvald at gcc dot gnu.org --- Comment #

[Bug target/79963] vec_eq_any extracts wrong CR bit when compiling with -mcpu=power9

2017-03-20 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79963 --- Comment #2 from kelvin at gcc dot gnu.org --- Author: kelvin Date: Mon Mar 20 18:05:00 2017 New Revision: 246287 URL: https://gcc.gnu.org/viewcvs?rev=246287&root=gcc&view=rev Log: gcc/testsuite/ChangeLog: 2017-03-20 Kelvin Nilsen

[Bug sanitizer/78158] Strange data race detection with thread sanitizer

2017-03-20 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78158 --- Comment #8 from Dmitry Vyukov --- We need to modify tsan runtime to ignore (zero) __ATOMIC_HLE_ACQUIRE/RELEASE bits, right? It's only an optimization and we can pretend that elision never succeeds under tsan. What is sync special bit (0x4000

[Bug sanitizer/80114] asan-stack=1 with -fsanitize-address-use-after-scope and stack arrays multiplies code size

2017-03-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80114 --- Comment #6 from Jakub Jelinek --- Sometimes it might be beneficial to use array in .rodata section rather than automatic compound literal, i.e. try const int j = ({ const int myarr[] = {0, 1, 2, 3, 4, 5}; myarr[i]; }); The question is

[Bug c++/79640] [5/6/7 Regression] ICE with generic lambda expression

2017-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79640 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug fortran/39239] Reject SAVEd variables EQUIVALENCEd to a COMMON

2017-03-20 Thread koenigni at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39239 --- Comment #12 from koenigni at gcc dot gnu.org --- Author: koenigni Date: Mon Mar 20 16:50:00 2017 New Revision: 246284 URL: https://gcc.gnu.org/viewcvs?rev=246284&root=gcc&view=rev Log: 2017-03-12 Nicolas Koenig PR fortran/39239

[Bug target/79912] [7 regression] LRA unable to generate reloads after r245655

2017-03-20 Thread palmer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79912 --- Comment #18 from palmer at gcc dot gnu.org --- Author: palmer Date: Mon Mar 20 16:43:21 2017 New Revision: 246283 URL: https://gcc.gnu.org/viewcvs?rev=246283&root=gcc&view=rev Log: RISC-V: Don't prefer FP_REGS for integers On RISC-V we can't

[Bug sanitizer/78158] Strange data race detection with thread sanitizer

2017-03-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78158 --- Comment #7 from Jakub Jelinek --- Or the sync special bit (0x4000)? That said, if (!tree_fits_uhwi_p (last_arg) || memmodel_base (tree_to_uhwi (last_arg)) >= MEMMODEL_LAST) actually just ignores the higher bits (al

[Bug sanitizer/78158] Strange data race detection with thread sanitizer

2017-03-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78158 --- Comment #6 from Jakub Jelinek --- Does it support e.g. __ATOMIC_HLE_ACQUIRE (1 << 16) and __ATOMIC_HLE_RELEASE (1 << 17) bits ored into the memory model?

[Bug c++/80091] [6 Regression] gcc-6 branch segfaults while compiling firefox

2017-03-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80091 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/77383] -fcheck-pointer-bounds -mmpx ICE with VLA struct return type

2017-03-20 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77383 --- Comment #3 from Vittorio Zecca --- Still in 7.0.1

[Bug c/67410] [5 Regression] c/c-typeck.c references out of bounds array

2017-03-20 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67410 --- Comment #8 from Vittorio Zecca --- Fixed on 7.0.1

[Bug sanitizer/80114] asan-stack=1 with -fsanitize-address-use-after-scope and stack arrays multiplies code size

2017-03-20 Thread jani.nikula at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80114 --- Comment #5 from Jani Nikula --- (In reply to Martin Liška from comment #4) > How common is such situation and why do you use volatile keyword in > combination with a constant index? I didn't write the sample, I think the goal of 'volatile' w

[Bug sanitizer/78158] Strange data race detection with thread sanitizer

2017-03-20 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78158 --- Comment #5 from Dmitry Vyukov --- I may be missing something, but can't we just always emit calls into tsan runtime under tsan? They accept the memory order value and can work with constants and runtime values.

[Bug tree-optimization/80109] ICE in get_range_info, at tree-ssanames.c:375

2017-03-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80109 --- Comment #6 from Marek Polacek --- Okay, I'll test a combination of mine & your patch and post it to the ML. We can discuss it further there.

[Bug sanitizer/78158] Strange data race detection with thread sanitizer

2017-03-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78158 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug sanitizer/78158] Strange data race detection with thread sanitizer

2017-03-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78158 --- Comment #4 from Jakub Jelinek --- That is clearly due to bugs in tsan.c, in my PR55439 r194133 changes. At -O0 the code is not optimized, so we end up with e.g. __m_6 = 5; __b_7 = std::operator& (__m_6, 65535); __m.10_8 = (int) __m_6;

[Bug tree-optimization/80109] ICE in get_range_info, at tree-ssanames.c:375

2017-03-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80109 --- Comment #5 from Martin Sebor --- Marek is already a step ahead of me. (Please go ahead with your patch. I submitted my suggestion only because I had typed it up before I saw your update.)

[Bug tree-optimization/80109] ICE in get_range_info, at tree-ssanames.c:375

2017-03-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80109 Martin Sebor changed: What|Removed |Added Keywords|ice-on-valid-code |ice-on-invalid-code CC|

[Bug tree-optimization/80109] ICE in get_range_info, at tree-ssanames.c:375

2017-03-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80109 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug sanitizer/80114] asan-stack=1 with -fsanitize-address-use-after-scope and stack arrays multiplies code size

2017-03-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80114 --- Comment #4 from Martin Liška --- (In reply to Jani Nikula from comment #3) > (In reply to Martin Liška from comment #2) > > Well, just adding the param and -fsanitize-address-use-after-scope does not > > enable any sanitization. One has to ad

[Bug c/80116] Warn about macros expanding to multiple statements

2017-03-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80116 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug target/80123] New: libgomp tests pr66199-2.c and pr66199-5.c fail with -mcpu=power9

2017-03-20 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80123 Bug ID: 80123 Summary: libgomp tests pr66199-2.c and pr66199-5.c fail with -mcpu=power9 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/80109] ICE in get_range_info, at tree-ssanames.c:375

2017-03-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80109 Marek Polacek changed: What|Removed |Added Target Milestone|--- |7.0

[Bug tree-optimization/80109] ICE in get_range_info, at tree-ssanames.c:375

2017-03-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80109 --- Comment #2 from Marek Polacek --- But also ICEs on x86_64. Started with: commit da6cf191f748d879f8be3c00d745b3bfe6e5495b Author: aldyh Date: Tue Oct 18 21:40:58 2016 + * Makefile.in (OBJS): Add gimple-ssa-warn-alloca.o.

[Bug c++/80059] [7 Regression] ICE with invalid noexcept for __transaction_atomic

2017-03-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80059 --- Comment #9 from Marek Polacek --- Author: mpolacek Date: Mon Mar 20 15:02:09 2017 New Revision: 246279 URL: https://gcc.gnu.org/viewcvs?rev=246279&root=gcc&view=rev Log: PR c++/80059 - ICE with noexcept and __transaction_atomic

[Bug fortran/80121] New: Memory leak when allocating a component derived type in a recursive subroutine (gfortran)

2017-03-20 Thread andrew at fluidgravity dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80121 Bug ID: 80121 Summary: Memory leak when allocating a component derived type in a recursive subroutine (gfortran) Product: gcc Version: 6.3.0 Status: UNCONFIRMED

[Bug c/80122] New: __builtin_va_arg_pack() and __builtin_va_arg_pack_len() does not work correctly

2017-03-20 Thread rpirrera at aitek dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80122 Bug ID: 80122 Summary: __builtin_va_arg_pack() and __builtin_va_arg_pack_len() does not work correctly Product: gcc Version: 4.8.5 Status: UNCONFIRMED Severity:

[Bug c++/80059] [7 Regression] ICE with invalid noexcept for __transaction_atomic

2017-03-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80059 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/80120] New: Incorrect error with associate construct and character array (regression)

2017-03-20 Thread mrestelli at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80120 Bug ID: 80120 Summary: Incorrect error with associate construct and character array (regression) Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: norma

[Bug c++/79986] [6/7 Regression][CHKP] ICE in fold_convert_loc with a flexible array

2017-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79986 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3

[Bug c++/80119] -Wmaybe-uninitialized wrongly flags the body of a short-circuited if-clause

2017-03-20 Thread julian.pfeifle at upc dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80119 --- Comment #1 from Julian Pfeifle --- The error occurs with -O0 and -O3.

[Bug c++/80119] New: -Wmaybe-uninitialized wrongly flags the body of a short-circuited if-clause

2017-03-20 Thread julian.pfeifle at upc dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80119 Bug ID: 80119 Summary: -Wmaybe-uninitialized wrongly flags the body of a short-circuited if-clause Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: nor

[Bug fortran/80118] New: ICE with zero size parameter array

2017-03-20 Thread mrestelli at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80118 Bug ID: 80118 Summary: ICE with zero size parameter array Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug target/80106] ICE on an invalid code in tree_to_uhwi, at tree.c:7344

2017-03-20 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80106 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ada/80117] New: [7 regression] a-cfinve.ads:245:04: warning: types for unchecked conversion have different sizes

2017-03-20 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 Bug ID: 80117 Summary: [7 regression] a-cfinve.ads:245:04: warning: types for unchecked conversion have different sizes Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug target/79893] ICE in s390_adjust_builtin_arglist in gcc/config/s390/s390-c.c:679

2017-03-20 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79893 --- Comment #3 from Andreas Krebbel --- *** Bug 80106 has been marked as a duplicate of this bug. ***

[Bug sanitizer/80063] gcc/asan.c: PVS-Studio: Incorrect Block Delimitation (CWE-483)

2017-03-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80063 --- Comment #8 from Marek Polacek --- I created PR80116 to track the warning addition.

[Bug target/80102] ICE in maybe_record_trace_start, at dwarf2cfi.c:2330

2017-03-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80102 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/80116] New: Warn about macros expanding to multiple statements

2017-03-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80116 Bug ID: 80116 Summary: Warn about macros expanding to multiple statements Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug sanitizer/80063] gcc/asan.c: PVS-Studio: Incorrect Block Delimitation (CWE-483)

2017-03-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80063 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug sanitizer/80063] gcc/asan.c: PVS-Studio: Incorrect Block Delimitation (CWE-483)

2017-03-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80063 --- Comment #6 from Marek Polacek --- Author: mpolacek Date: Mon Mar 20 13:31:28 2017 New Revision: 246278 URL: https://gcc.gnu.org/viewcvs?rev=246278&root=gcc&view=rev Log: PR sanitizer/80063 * asan.c (DEF_SANITIZER_BUILTIN): Us

[Bug sanitizer/78158] Strange data race detection with thread sanitizer

2017-03-20 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78158 --- Comment #3 from Dmitry Vyukov --- Also reported on stackoverflow: http://stackoverflow.com/questions/37552866/why-does-threadsanitizer-report-a-race-with-this-lock-free-example I've checked with gcc version 7.0.1 20170307 (experimental) (GCC

[Bug sanitizer/80063] gcc/asan.c: PVS-Studio: Incorrect Block Delimitation (CWE-483)

2017-03-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80063 --- Comment #5 from Jakub Jelinek --- As for the warning, we should open an enhancement request, though not sure it is something for -Wmisleading-indentation. I'd say that we just should warn whenever a macro defines several statements and the m

[Bug sanitizer/80063] gcc/asan.c: PVS-Studio: Incorrect Block Delimitation (CWE-483)

2017-03-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80063 --- Comment #4 from Jakub Jelinek --- Please reformat it properly: #define DEF_SANITIZER_BUILTIN(ENUM, NAME, TYPE, ATTRS) \ do { \ decl = add_builtin_function ("__builtin_" NAME,

[Bug target/80115] [7 Regression] OpenJDK 1.8 fails to build

2017-03-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80115 --- Comment #3 from Richard Biener --- This is from systemtap 3.0, didn't try with 3.1 which seems to be available since a few weeks.

[Bug tree-optimization/80113] [6/7 Regression] ICE in set_var_live_on_entry at tree-ssa-live.c:1018

2017-03-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80113 --- Comment #3 from Richard Biener --- Author: rguenth Date: Mon Mar 20 13:06:58 2017 New Revision: 246277 URL: https://gcc.gnu.org/viewcvs?rev=246277&root=gcc&view=rev Log: 2017-03-20 Richard Biener PR tree-optimization/80113

[Bug sanitizer/80114] asan-stack=1 with -fsanitize-address-use-after-scope and stack arrays multiplies code size

2017-03-20 Thread jani.nikula at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80114 --- Comment #3 from Jani Nikula --- (In reply to Martin Liška from comment #2) > Well, just adding the param and -fsanitize-address-use-after-scope does not > enable any sanitization. One has to add -fsanitize=address to trigger real > sanitizati

  1   2   >