[Bug c++/67270] New: internal compiler error: in unify, at cp/pt.c:18178

2015-08-19 Thread radventure at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67270 Bug ID: 67270 Summary: internal compiler error: in unify, at cp/pt.c:18178 Product: gcc Version: 4.9.3 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/67270] internal compiler error: in unify, at cp/pt.c:18178

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67270 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/67257] [5/6 regression] Internal compiler error in retrieve_specialization

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67257 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/67247] ICE on std::forward args&& inside nested lambda function

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67247 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/67259] list-initialization of a reference fails to initialize char array from string literal

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67259 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/67100] ICE(in type_dependent_expression_p) on macro function + user defined literal

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67100 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c/67271] New: ICE with -O1,2,3 on darwin14.5 x86_64

2015-08-19 Thread tarasevich at cs dot uni-saarland.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67271 Bug ID: 67271 Summary: ICE with -O1,2,3 on darwin14.5 x86_64 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c A

[Bug c++/67050] [C++14] ICE when calling a template member function from a lambda with implicit "this" capture

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67050 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/67050] [C++14] ICE when calling a template member function from a lambda with implicit "this" capture

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67050 --- Comment #3 from Marek Polacek --- (But it's a different ICE than the one in the Description.)

[Bug middle-end/67271] [5/6 Regression] ICE with -O1,2,3 on darwin14.5 x86_64

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67271 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Com

[Bug middle-end/67271] [5/6 Regression] ICE with -O1,2,3 on darwin14.5 x86_64

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67271 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/67272] New: [HSA] register allocator expects that every register must be assigned

2015-08-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67272 Bug ID: 67272 Summary: [HSA] register allocator expects that every register must be assigned Product: gcc Version: hsa Status: UNCONFIRMED Severity: normal

[Bug middle-end/67271] [5/6 Regression] ICE with -O1,2,3 on darwin14.5 x86_64

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67271 --- Comment #2 from Marek Polacek --- long int labs (long int j); int main () { long *a = "empty"; int i = 1441516387; a[i] = labs (a[i]); return 0; } $ ./cc1 -quiet q.c -O q.c: In function ‘main’: q.c:5:13: warning: initialization from

[Bug middle-end/67271] [5/6 Regression] ICE with -O1,2,3 on darwin14.5 x86_64

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67271 --- Comment #3 from Marek Polacek --- Seems like native_encode_string should deal with nonsensical offset: (gdb) p off $4 = -1352770792

[Bug c++/67270] internal compiler error: in unify, at cp/pt.c:18178

2015-08-19 Thread radventure at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67270 --- Comment #2 from radventure at yandex dot ru --- (In reply to Marek Polacek from comment #1) > This was fixed in r219557 and is fixed in 5/trunk. I know about absence of problem in 5.1.

[Bug target/61578] [4.9 regression] Code size increase for ARM thumb compared to 4.8.x when compiling with -Os

2015-08-19 Thread fredrik.hederstie...@securitas-direct.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61578 --- Comment #19 from Fredrik Hederstierna --- I'm not sure why bug 59535 was closed, same problem might still exist, quote: > Zhenqiang Chen 2014-09-03 06:17:44 UTC > > Here is a small case to show lra introduces one more register copy (tested

[Bug c++/67270] internal compiler error: in unify, at cp/pt.c:18178

2015-08-19 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67270 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/63602] [5/6 Regression] Wrong code w/ -O2 -ftree-loop-linear

2015-08-19 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63602 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de --- C

[Bug fortran/67250] gfortran does not faithfully preprocess the way cpp does

2015-08-19 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67250 --- Comment #14 from Manuel López-Ibáñez --- (In reply to Jeff Hammond from comment #13) > This is all fair. I try very hard to fix my own bugs and submit patches, > but in this case I am wholly unqualified. I don't know the first thing > about

[Bug c++/67273] New: Incorrect -Wshadow warning with generic lambdas

2015-08-19 Thread vittorio.romeo at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67273 Bug ID: 67273 Summary: Incorrect -Wshadow warning with generic lambdas Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++

[Bug other/67042] gcc/hwint.h:250:19: runtime error: left shift of 8589934588 by 32 places cannot be represented in type 'long int'

2015-08-19 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67042 --- Comment #1 from Mikael Morin --- Author: mikael Date: Wed Aug 19 13:42:36 2015 New Revision: 227008 URL: https://gcc.gnu.org/viewcvs?rev=227008&root=gcc&view=rev Log: Avoid signed left shift undefined behaviour in sext_hwi gcc/ PR o

[Bug other/67042] gcc/hwint.h:250:19: runtime error: left shift of 8589934588 by 32 places cannot be represented in type 'long int'

2015-08-19 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67042 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/67274] Inconsistent `this->` required when calling member function in a lambda capturing `this` through another function

2015-08-19 Thread vittorio.romeo at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67274 --- Comment #1 from Vittorio Romeo --- More test cases, using minor variations to the code posted above: With bar() = call([this](auto x){ foo(x); }); clang++ 3.6+ compiles. g++ 5.2+ does not compile. With bar() = call([this](auto x){ this->foo

[Bug c++/67274] New: Inconsistent `this->` required when calling member function in a lambda capturing `this` through another function

2015-08-19 Thread vittorio.romeo at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67274 Bug ID: 67274 Summary: Inconsistent `this->` required when calling member function in a lambda capturing `this` through another function Product: gcc Version: 6.0

[Bug middle-end/67133] [6 Regression] ICE at -Os and above on x86_64-linux-gnu in gimple_op, at gimple.h:2274

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67133 --- Comment #30 from Marek Polacek --- Author: mpolacek Date: Wed Aug 19 14:22:26 2015 New Revision: 227009 URL: https://gcc.gnu.org/viewcvs?rev=227009&root=gcc&view=rev Log: PR middle-end/67133 * gimple-ssa-isolate-paths.c

[Bug middle-end/67133] [6 Regression] ICE at -Os and above on x86_64-linux-gnu in gimple_op, at gimple.h:2274

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67133 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/67271] [5/6 Regression] ICE with -O1,2,3 on darwin14.5 x86_64

2015-08-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67271 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug bootstrap/67275] New: *** No rule to make target '../build-x86_64-w64-mingw32/libiberty/pic/libiberty.a', needed by 'build/genmddeps.exe'.

2015-08-19 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67275 Bug ID: 67275 Summary: *** No rule to make target '../build-x86_64-w64-mingw32/libiberty/pic/libiberty.a ', needed by 'build/genmddeps.exe'. Product: gcc Version:

[Bug tree-optimization/67227] [6 regression] comparison failure in ada/par.o

2015-08-19 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67227 Andreas Schwab changed: What|Removed |Added Summary|[6 regression] stage2 ada |[6 regression] comparison

[Bug c++/53184] Unnecessary anonymous namespace warnings

2015-08-19 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53184 Paolo Carlini changed: What|Removed |Added CC||blue.dragan+gcc at gmail dot com --- Co

[Bug c++/51440] Improve message and add an option for warning for an unnamed struct member: TYPE has a field FIELD whose type uses the anonymous namespace

2015-08-19 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51440 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/66929] [6 regression] ICE with iso_varying_string

2015-08-19 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66929 --- Comment #12 from Mikael Morin --- Author: mikael Date: Wed Aug 19 14:47:23 2015 New Revision: 227010 URL: https://gcc.gnu.org/viewcvs?rev=227010&root=gcc&view=rev Log: Forward-port test generic_31.f90 from the 5 branch. gcc/testsuite/

[Bug target/65491] [aarch64] ICE: in emit_move_insn, at expr.c:3609

2015-08-19 Thread tarasevich at cs dot uni-saarland.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65491 Andrey Tarasevich changed: What|Removed |Added CC||tarasevich at cs dot uni-saarland.

[Bug c/67276] New: duplicated missing terminating character diagnostic

2015-08-19 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67276 Bug ID: 67276 Summary: duplicated missing terminating character diagnostic Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug preprocessor/67276] duplicated missing terminating character diagnostic

2015-08-19 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67276 Manuel López-Ibáñez changed: What|Removed |Added Component|c |preprocessor --- Comment #1 from M

[Bug fortran/67277] New: segfault when passing a missing optional argument to an elemental intrinsic

2015-08-19 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67277 Bug ID: 67277 Summary: segfault when passing a missing optional argument to an elemental intrinsic Product: gcc Version: unknown Status: UNCONFIRMED Severity: n

[Bug target/67272] [HSA] register allocator expects that every register must be assigned

2015-08-19 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67272 --- Comment #1 from Michael Matz --- Which options and which svn revision are you using? I can't reproduce.

[Bug target/67272] [HSA] register allocator expects that every register must be assigned

2015-08-19 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67272 --- Comment #2 from Michael Matz --- Ah, with -O0, can reproduce now.

[Bug fortran/67277] segfault when passing a missing optional argument to an elemental intrinsic

2015-08-19 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67277 --- Comment #1 from Mikael Morin --- Created attachment 36215 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36215&action=edit Draft patch, untested, currently bootstrapping This patch adds a gfc_abstract_symbol class to abstract away the

[Bug target/65491] [aarch64] ICE: in emit_move_insn, at expr.c:3609

2015-08-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65491 --- Comment #6 from Andrew Pinski --- (In reply to Andrey Tarasevich from comment #5) > Test pr65491.c fails on on darwin14.5 x86_64 > > GCC was compiled from SVN trunk revision 226781 Please file this as a separate bug.

[Bug fortran/67277] segfault when passing a missing optional argument to an elemental intrinsic

2015-08-19 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67277 --- Comment #2 from Mikael Morin --- (In reply to Mikael Morin from comment #1) > I hope it works that way. Nope, it doesn't. :-(

[Bug target/67272] [HSA] register allocator expects that every register must be assigned

2015-08-19 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67272 --- Comment #3 from Michael Matz --- Author: matz Date: Wed Aug 19 15:55:19 2015 New Revision: 227014 URL: https://gcc.gnu.org/viewcvs?rev=227014&root=gcc&view=rev Log: PR target/67272 * hsa-regalloc.c (naive_process_phi): Don't

[Bug fortran/66929] [6 regression] ICE with iso_varying_string

2015-08-19 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66929 Mikael Morin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/67272] [HSA] register allocator expects that every register must be assigned

2015-08-19 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67272 Michael Matz changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug regression/67278] New: ICE: verify_gimple failed on darwin 14.5 x86_64

2015-08-19 Thread tarasevich at cs dot uni-saarland.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67278 Bug ID: 67278 Summary: ICE: verify_gimple failed on darwin 14.5 x86_64 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: reg

[Bug fortran/67277] segfault when passing a missing optional argument to an elemental intrinsic

2015-08-19 Thread mikael at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67277 --- Comment #3 from Mikael Morin --- (In reply to Mikael Morin from comment #2) > (In reply to Mikael Morin from comment #1) > > I hope it works that way. > > Nope, it doesn't. :-( The symbol is left uninitialized, it seems. And reverting the

[Bug rtl-optimization/64164] [4.9/5/6 Regression] one more stack slot used due to one less inlining level

2015-08-19 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64164 --- Comment #52 from Alexandre Oliva --- Author: aoliva Date: Wed Aug 19 17:00:32 2015 New Revision: 227015 URL: https://gcc.gnu.org/viewcvs?rev=227015&root=gcc&view=rev Log: [PR64164] fix regressions reported on m68k and armeb Defer stack slot

[Bug target/55307] libgcc's __cpu_indicator_init does not check for avx correctly

2015-08-19 Thread noloader at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55307 Jeffrey Walton changed: What|Removed |Added CC||noloader at gmail dot com --- Comment #

[Bug c/67279] New: -fsanitize=undefined spurious error: initializer element is not constant

2015-08-19 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67279 Bug ID: 67279 Summary: -fsanitize=undefined spurious error: initializer element is not constant Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal

[Bug c/67279] -fsanitize=undefined spurious error: initializer element is not constant

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67279 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug target/67280] New: [5 Regression] wrong C++11 code generated on arm-linux-gnueabihf

2015-08-19 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67280 Bug ID: 67280 Summary: [5 Regression] wrong C++11 code generated on arm-linux-gnueabihf Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/67281] New: HTM builtins aren't treated as compiler barriers on powerpc

2015-08-19 Thread tuliom at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67281 Bug ID: 67281 Summary: HTM builtins aren't treated as compiler barriers on powerpc Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/67282] New: Wrong code with -floop-nest-optimize

2015-08-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67282 Bug ID: 67282 Summary: Wrong code with -floop-nest-optimize Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimiz

[Bug target/67281] HTM builtins aren't treated as compiler barriers on powerpc

2015-08-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67281 --- Comment #1 from Andrew Pinski --- There is no memory access in your testcase at all. Since the variables are all local variables and nothing takes the address, it can be moved out of the loop as no other thread can cause that to fail.

[Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu

2015-08-19 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211 --- Comment #8 from Michael Meissner --- A preliminary analysis is -mefficient-unaligned-vector is set in rs6000_option_override_internal if -mtune=power8 is used. Note, this code uses a variable 'rs6000_cpu' to indicate the tuning cpu, not the t

[Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu

2015-08-19 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211 --- Comment #9 from Michael Meissner --- Created attachment 36217 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36217&action=edit Proposed patch to fix the problem This patch makes -mefficient-unaligned-vsx set on -mcpu=power8 instead of

[Bug c++/67268] demangler does not elide empty argument pack in operator()

2015-08-19 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67268 --- Comment #1 from Ian Lance Taylor --- This symbol shows a similar, though perhaps not identical, issue: _ZNSt11_Tuple_implILm0EJN12stats_census7tracing2OpEEEC2IRS2_JEvEEOT_DpOT0_ The demangler turns this into std::_Tuple_impl<0ul, stats_cen

[Bug target/67281] HTM builtins aren't treated as compiler barriers on powerpc

2015-08-19 Thread tuliom at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67281 --- Comment #2 from Tulio Magno Quites Machado Filho --- Oooops. My bad. What about this one? $ cat tbegin-barrier.c long foo (long dest, long *src0, long src1, long tries) { long i; for (i = 0; i < tries; i++) { __builtin_tbegin

[Bug target/67281] HTM builtins aren't treated as compiler barriers on powerpc

2015-08-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67281 --- Comment #3 from Andrew Pinski --- Since there are no stores, the load seems like it can be pulled out of the loop too.

[Bug target/67211] [5 Regression] ICE (insn does not satisfy its constraints) on powerpc64le-linux-gnu

2015-08-19 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67211 Michael Meissner changed: What|Removed |Added Attachment #36217|0 |1 is obsolete|

[Bug c++/67269] demangler does not handle constructor of substituted name correctly

2015-08-19 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67269 --- Comment #1 from Ian Lance Taylor --- Here is a similar, though different, case involving a constructor: _ZZN1C1D1E1F1G1HEvENUlvE_C2EOS4_ The demangler currently turns this into: C::D::E::F::G::H()::{lambda()#1}::H({lambda()#1}&&) That is

[Bug c/67279] -fsanitize=undefined spurious error: initializer element is not constant

2015-08-19 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67279 --- Comment #2 from Vittorio Zecca --- UB = undefined behaviour? Why then it is only signaled if "static" attribute is requested? This is accepted:"int dec_1 = 1 << 31;" Isn't UB as well if it is not static? I believe gcc should deliver a warning

[Bug target/67281] HTM builtins aren't treated as compiler barriers on powerpc

2015-08-19 Thread tuliom at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67281 --- Comment #4 from Tulio Magno Quites Machado Filho --- (In reply to Andrew Pinski from comment #3) > Since there are no stores, the load seems like it can be pulled out of the > loop too. I disagree with you. If I use the value of dest to take

[Bug c/67279] -fsanitize=undefined spurious error: initializer element is not constant

2015-08-19 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67279 --- Comment #3 from Vittorio Zecca --- The following code has UB at lines 4 and 5 but compiles with -fsanitize=undefined int main() { int test[1],t; t=test[1]; return test[1]; } Its execution it delivers four runtime errors from the sanitizer an

[Bug c/67283] New: GCC regression over inlining of returned structures

2015-08-19 Thread roche at httrack dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67283 Bug ID: 67283 Summary: GCC regression over inlining of returned structures Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c/67283] GCC regression over inlining of returned structures

2015-08-19 Thread roche at httrack dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67283 --- Comment #1 from Xavier Roche --- Created attachment 36220 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36220&action=edit Produced assembly code with GCC 4.4.7 on x86_64 Produced assembly code with GCC 4.4.7 on x86_64

[Bug c/67283] GCC regression over inlining of returned structures

2015-08-19 Thread roche at httrack dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67283 --- Comment #2 from Xavier Roche --- Created attachment 36221 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36221&action=edit Produced assembly code with GCC 4.6.4 on x86_64 Produced assembly code with GCC 4.6.4 on x86_64

[Bug c/67283] GCC regression over inlining of returned structures

2015-08-19 Thread roche at httrack dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67283 --- Comment #3 from Xavier Roche --- Created attachment 36222 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36222&action=edit Produced assembly code with GCC 5.2.0 on x86_64 Produced assembly code with GCC 5.2.0 on x86_64

[Bug c/67279] -fsanitize=undefined spurious error: initializer element is not constant

2015-08-19 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67279 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/67281] HTM builtins aren't treated as compiler barriers on powerpc

2015-08-19 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67281 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment #

[Bug c++/66606] missing diagnostic on using function main

2015-08-19 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66606 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug go/67284] New: libgo fails to build on trunk r227015 / *-linux-gnu

2015-08-19 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67284 Bug ID: 67284 Summary: libgo fails to build on trunk r227015 / *-linux-gnu Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c/67279] -fsanitize=undefined spurious error: initializer element is not constant

2015-08-19 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67279 --- Comment #5 from Manuel López-Ibáñez --- (In reply to Manuel López-Ibáñez from comment #4) > A possible solution could be to give a warning enabled by default (about 1 > << 31 being undefined) and to NOT sanitize expressions that are required

[Bug c++/66957] [4.9/5/6 Regression] incorrect "is protected within this context" error

2015-08-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66957 --- Comment #5 from Jason Merrill --- Author: jason Date: Thu Aug 20 01:45:49 2015 New Revision: 227023 URL: https://gcc.gnu.org/viewcvs?rev=227023&root=gcc&view=rev Log: PR c++/66957 * search.c (protected_accessible_p): Remove r

[Bug c++/67065] [DR 1886] Missing diagnostics for ill-formed program with main variable instead of function

2015-08-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67065 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Summ

[Bug c++/66957] [4.9/5/6 Regression] incorrect "is protected within this context" error

2015-08-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66957 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/38579] [4.2/4.3/4.4 Regression] Template: Wrong inherited copy-ctor visibility

2015-08-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38579 Jason Merrill changed: What|Removed |Added Known to fail|| --- Comment #10 from Jason Merrill ---

[Bug middle-end/67285] New: ICE with (rdiv (POW:s @0 REAL_CST@1) @0)

2015-08-19 Thread hs.naveen2u at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67285 Bug ID: 67285 Summary: ICE with (rdiv (POW:s @0 REAL_CST@1) @0) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle

[Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result))

2015-08-19 Thread rusty at rustcorp dot com.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425 --- Comment #21 from rusty at rustcorp dot com.au --- jengelh at inai dot de writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425 > > --- Comment #20 from Jan Engelhardt --- > Seems like the short route is to add a new attribute > ((warn

[Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result))

2015-08-19 Thread filbranden at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425 --- Comment #22 from Filipe Brandenburger --- (In reply to Jan Engelhardt from comment #20) > Seems like the short route is to add a new attribute > ((warn_unused_result_with_void_cancelling)) that exhibits the "desired" > behavior of (void) canc

[Bug sanitizer/67286] New: asan doen't work on Android(32bit ARM)

2015-08-19 Thread zhouweiguo2008 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67286 Bug ID: 67286 Summary: asan doen't work on Android(32bit ARM) Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: critical Priority: P3 Component: sanitize

[Bug sanitizer/67286] asan doen't work on Android(32bit ARM)

2015-08-19 Thread zhouweiguo2008 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67286 --- Comment #1 from zhouweiguo2008 at gmail dot com --- this bug had been fixed and validated with gcc 4.9.2 and gcc 5.2.0. and the testcases (from external/compiler-rt/test/asan/TestCases) could be running normally on the 32-bit Android 5.0 pho

[Bug sanitizer/67286] asan doen't work on Android(32bit ARM)

2015-08-19 Thread zhouweiguo2008 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67286 weiguo.zhou changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---