[Bug c++/82304] New: GCC compiles constexpr function with double reinterpret_cast in a constant context

2017-09-22 Thread vladimir.krivopalov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82304 Bug ID: 82304 Summary: GCC compiles constexpr function with double reinterpret_cast in a constant context Product: gcc Version: 7.2.0 Status: UNCONFIRMED

[Bug target/82303] Better PIE/PIC code generation for kernel code (x86_64 & arm64)

2017-09-22 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82303 --- Comment #1 from H.J. Lu --- A static PIE option can be used for both kernel as well as user space.

[Bug libfortran/82292] [8 Regression] bootstrap fails in libgfortran on powerpc64le-linux-gnu

2017-09-22 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82292 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/82303] New: Better PIE/PIC code generation for kernel code (x86_64 & arm64)

2017-09-22 Thread thgarnie at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82303 Bug ID: 82303 Summary: Better PIE/PIC code generation for kernel code (x86_64 & arm64) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/82267] x32: unnecessary address-size prefixes. Why isn't -maddress-mode=long the default?

2017-09-22 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82267 H.J. Lu changed: What|Removed |Added CC|hjl at gcc dot gnu.org |hjl.tools at gmail dot com ---

[Bug middle-end/35691] Missed (a == 0) && (b == 0) into (a|(typeof(a)(b)) == 0 when the types don't match

2017-09-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35691 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug sanitizer/81929] [7/8 Regression] exponential slowdown in undefined behavior sanitizer for streaming

2017-09-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81929 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/80556] [8 Regression] bootstrap failure for Ada compiler

2017-09-22 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556 --- Comment #58 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #57 from Iain Sandoe --- [...] >> Now running an i386-apple-darwin11.4.2 bootstrap, which will take >> another day. > Dominique reported OK on Darwin16 and Darwin10 on

[Bug middle-end/35691] Missed (a == 0) && (b == 0) into (a|(typeof(a)(b)) == 0 when the types don't match

2017-09-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35691 --- Comment #4 from Andrew Pinski --- (In reply to prathamesh3492 from comment #2) > Fixed on targets when LOGICAL_OP_NON_SHORT_CIRCUIT is true. > When LOGICAL_OP_NON_SHORT_CIRCUIT is false, the conversion of > truth_andif_expr to bit_and_expr

[Bug lto/82302] New: LTO producing bad code

2017-09-22 Thread krzysio.kurek at wp dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82302 Bug ID: 82302 Summary: LTO producing bad code Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee:

[Bug bootstrap/81926] [7 regression] go/parse.o differs between stage2 and stage3

2017-09-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81926 --- Comment #35 from Eric Botcazou --- Author: ebotcazou Date: Fri Sep 22 20:20:40 2017 New Revision: 253110 URL: https://gcc.gnu.org/viewcvs?rev=253110=gcc=rev Log: PR bootstrap/81926 * cp-objcp-common.c (cp_get_debug_type): Do

[Bug bootstrap/81926] [7 regression] go/parse.o differs between stage2 and stage3

2017-09-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81926 --- Comment #34 from Eric Botcazou --- Author: ebotcazou Date: Fri Sep 22 20:20:25 2017 New Revision: 253109 URL: https://gcc.gnu.org/viewcvs?rev=253109=gcc=rev Log: PR bootstrap/81926 * cp-objcp-common.c (cp_get_debug_type): Do

[Bug bootstrap/82300] Bootstrapping gcc-8 does not work on darwin

2017-09-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82300 --- Comment #3 from Dominique d'Humieres --- If this PR appears at or before r 252896, The problem I see is different.

[Bug bootstrap/82300] Bootstrapping gcc-8 does not work on darwin

2017-09-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82300 Dominique d'Humieres changed: What|Removed |Added CC||uros at gcc dot gnu.org ---

[Bug other/82301] [8 regression] Updated test case g++.dg/ext/attr-ifunc-1.C (and others) in r253041 segfault on powerpc64

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

[Bug other/82301] New: [8 regression] Updated test case g++.dg/ext/attr-ifunc-1.C (and others) in r253041 segfault on powerpc64

2017-09-22 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82301 Bug ID: 82301 Summary: [8 regression] Updated test case g++.dg/ext/attr-ifunc-1.C (and others) in r253041 segfault on powerpc64 Product: gcc Version: 8.0

[Bug c/82272] RFE: request a warning for ( == ) etc.

2017-09-22 Thread hpa at zytor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82272 --- Comment #2 from H. Peter Anvin --- Since it doesn't seem to be clear from the text, perhaps an interpretation request to the committee is in order. If this indeed is the requirement, I would suggest implementing it as a gnu99/gnu11

[Bug sanitizer/81929] [7/8 Regression] exponential slowdown in undefined behavior sanitizer for streaming

2017-09-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81929 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Sep 22 19:00:03 2017 New Revision: 253108 URL: https://gcc.gnu.org/viewcvs?rev=253108=gcc=rev Log: PR sanitizer/81929 * tree.c (struct replace_placeholders_t): Add

[Bug middle-end/35691] Missed (a == 0) && (b == 0) into (a|(typeof(a)(b)) == 0 when the types don't match

2017-09-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35691 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Fri Sep 22 18:56:23 2017 New Revision: 253107 URL: https://gcc.gnu.org/viewcvs?rev=253107=gcc=rev Log: PR middle-end/35691 * match.pd: Simplify x == -1 & y == -1 into (x

[Bug sanitizer/81929] [7/8 Regression] exponential slowdown in undefined behavior sanitizer for streaming

2017-09-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81929 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Fri Sep 22 18:55:21 2017 New Revision: 253106 URL: https://gcc.gnu.org/viewcvs?rev=253106=gcc=rev Log: PR sanitizer/81929 * tree.c (struct replace_placeholders_t): Add

[Bug bootstrap/82300] Bootstrapping gcc-8 does not work on darwin

2017-09-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82300 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/82300] New: Bootstrapping gcc-8 does not work on darwin

2017-09-22 Thread physiker at toast2 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82300 Bug ID: 82300 Summary: Bootstrapping gcc-8 does not work on darwin Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug lto/82172] Destruction of basic_string in basic_stringbuf::overflow with _GLIBCXX_USE_CXX11_ABI=0, -flto, and C++17 mode results in invalid delete

2017-09-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82172 --- Comment #14 from Jonathan Wakely --- I have no idea what PREVAILING_DEF_IRONLY means, but a web search found https://sourceware.org/bugzilla/show_bug.cgi?id=12370 -- I can't tell if that's relevant.

[Bug c++/82299] New: -Wuseless-cast errors on typed enums used in member data initializers in c++1z

2017-09-22 Thread matt at godbolt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82299 Bug ID: 82299 Summary: -Wuseless-cast errors on typed enums used in member data initializers in c++1z Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/82289] [8 Regression] ICE at -O3 on x86_64-linux-gnu: in vect_get_num_copies, at tree-vectorizer.h:1093

2017-09-22 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82289 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/82289] [8 Regression] ICE at -O3 on x86_64-linux-gnu: in vect_get_num_copies, at tree-vectorizer.h:1093

2017-09-22 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82289 --- Comment #3 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Fri Sep 22 17:04:51 2017 New Revision: 253103 URL: https://gcc.gnu.org/viewcvs?rev=253103=gcc=rev Log: PR82289: Computing peeling costs for irrelevant drs This PR

[Bug c/81854] weak alias of an incompatible symbol accepted

2017-09-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81854 --- Comment #12 from Martin Sebor --- Author: msebor Date: Fri Sep 22 16:30:35 2017 New Revision: 253100 URL: https://gcc.gnu.org/viewcvs?rev=253100=gcc=rev Log: Fix testsuite fallout from r252976. gcc/testsuite/ChangeLog: PR c/81854

[Bug target/82298] New: x86 BMI: no peephole for BZHI

2017-09-22 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82298 Bug ID: 82298 Summary: x86 BMI: no peephole for BZHI Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3

[Bug c++/65579] [C++11] gcc requires definition of a static constexpr member even though it is not odr-used

2017-09-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65579 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/65579] [C++11] gcc requires definition of a static constexpr member even though it is not odr-used

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

[Bug ipa/82278] [8 regression] gcc.dg/lto/chkp-ctor-merge fail

2017-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82278 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org ---

[Bug lto/82172] Destruction of basic_string in basic_stringbuf::overflow with _GLIBCXX_USE_CXX11_ABI=0, -flto, and C++17 mode results in invalid delete

2017-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82172 Martin Liška changed: What|Removed |Added CC||hubicka at ucw dot cz --- Comment #13

[Bug lto/82172] Destruction of basic_string in basic_stringbuf::overflow with _GLIBCXX_USE_CXX11_ABI=0, -flto, and C++17 mode results in invalid delete

2017-09-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82172 --- Comment #12 from Jonathan Wakely --- N.B. this bug has been latent for years. The reason people are only seeing it now is that usually the "extern template class std::basic_string" explicit instantiation declarations prevent this symbol

[Bug c/82296] Warn for code removal due to "code never accesses array out of bounds" assumption

2017-09-22 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82296 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org ---

[Bug c/82296] Warn for code removal due to "code never accesses array out of bounds" assumption

2017-09-22 Thread lundril at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82296 --- Comment #3 from Ingo --- Just to be sure: On a real machine this code is certainly not "undefined behavior", because gMyUnion.numbers[ARRAYSIZE] aliases gMyUnion.dummy[ARRAYSIZE] and gMyUnion.dummy[ARRAYSIZE] is a valid memory location. So

[Bug lto/82172] Destruction of basic_string in basic_stringbuf::overflow with _GLIBCXX_USE_CXX11_ABI=0, -flto, and C++17 mode results in invalid delete

2017-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82172 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org ---

[Bug c/82296] Warn for code removal due to "code never accesses array out of bounds" assumption

2017-09-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82296 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug sanitizer/77631] no symbols in backtrace shown by ASan when debug info is split

2017-09-22 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77631 --- Comment #17 from Ian Lance Taylor --- Tamar: Thanks for letting me know. I just committed a patch that should fix that problem.

[Bug sanitizer/77631] no symbols in backtrace shown by ASan when debug info is split

2017-09-22 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77631 --- Comment #16 from ian at gcc dot gnu.org --- Author: ian Date: Fri Sep 22 13:38:10 2017 New Revision: 253095 URL: https://gcc.gnu.org/viewcvs?rev=253095=gcc=rev Log: PR sanitizer/77631 * configure.ac: Check for lstat and

[Bug c++/82297] Link error when templated inherited constructor has default arguments

2017-09-22 Thread joel.falcou at lri dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82297 --- Comment #4 from joel falcou --- Created attachment 42227 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42227=edit repro

[Bug c++/81860] [7/8 Regression] Call to undefined inline function involving inheriting constructors

2017-09-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81860 Jonathan Wakely changed: What|Removed |Added Keywords|wrong-code |link-failure --- Comment #4 from

[Bug tree-optimization/82285] [6/7/8 Regression] Optimizing error when using enumeration

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82285 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Component|c

[Bug c/82285] [6/7/8 Regression] Optimizing error when using enumeration

2017-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82285 --- Comment #2 from Martin Liška --- Simplified test-case: $ cat ~/Programming/testcases/pr82285.c #define MAX (16) enum tst { first = 0, second = 1 }; int main (void) { enum tst data[MAX]; for (unsigned i = 0; i < MAX; i++)

[Bug c++/81860] [7/8 Regression] Call to undefined inline function involving inheriting constructors

2017-09-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81860 Jonathan Wakely changed: What|Removed |Added CC||joel.falcou at lri dot fr --- Comment

[Bug c++/82297] Link error when templated inherited constructor has default arguments

2017-09-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82297 Jonathan Wakely changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/82297] Link error when templated inherited constructor has default arguments

2017-09-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82297 --- Comment #2 from Jonathan Wakely --- This is a dup of an existing bug, use -fno-new-inheriting-ctors as a workaround.

[Bug c++/65579] [C++11] gcc requires definition of a static constexpr member even though it is not odr-used

2017-09-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65579 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot com ---

[Bug c++/82297] Link error when templated inherited constructor has default arguments

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82297 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/82297] New: Link error when templated inherited constructor has default arguments

2017-09-22 Thread joel.falcou at lri dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82297 Bug ID: 82297 Summary: Link error when templated inherited constructor has default arguments Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal

[Bug c/82296] Wrong code with optimization -O2

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

[Bug c/82296] New: Wrong code with optimization -O2

2017-09-22 Thread lundril at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82296 Bug ID: 82296 Summary: Wrong code with optimization -O2 Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/82291] [7 Regression] wrong code at -O3 on x86_64-linux-gnu

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82291 Richard Biener changed: What|Removed |Added Known to work||8.0 Target Milestone|8.0

[Bug tree-optimization/82291] [8 Regression] wrong code at -O3 on x86_64-linux-gnu

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82291 --- Comment #4 from Richard Biener --- Author: rguenth Date: Fri Sep 22 12:00:55 2017 New Revision: 253093 URL: https://gcc.gnu.org/viewcvs?rev=253093=gcc=rev Log: 2017-09-22 Richard Biener PR

[Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968 --- Comment #22 from Richard Biener --- Testcase (takes a bit too long / time for the testsuite): #define F(i) int F ## i () { return i; } #define FS(x) F(x ## 0) F(x ## 1) F(x ## 2) F(x ## 3) F(x ## 4) F(x ## 5) F(x ## 6) F(x ## 7) F(x ## 8)

[Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968 --- Comment #21 from Richard Biener --- Created attachment 42225 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42225=edit patch to really remove discarded sections The attached removes discarded sections and thus should avoid one class

[Bug tree-optimization/82289] [8 Regression] ICE at -O3 on x86_64-linux-gnu: in vect_get_num_copies, at tree-vectorizer.h:1093

2017-09-22 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82289 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/82282] PRE cannot blindly fold integer-to-pointer/pointer-to-integer round-trips

2017-09-22 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82282 --- Comment #5 from rguenther at suse dot de --- On Fri, 22 Sep 2017, nunoplopes at sapo dot pt wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82282 > > --- Comment #4 from Nuno Lopes --- > There are two major transformations going on:

[Bug tree-optimization/82282] PRE cannot blindly fold integer-to-pointer/pointer-to-integer round-trips

2017-09-22 Thread nunoplopes at sapo dot pt
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82282 --- Comment #4 from Nuno Lopes --- There are two major transformations going on: if (u != v) { v = u; } => v = u (with v, u integers) and: glb = (int*)(uinptr_t)foo) => glb = foo Doing both triggers the end-to-end

[Bug sanitizer/77631] no symbols in backtrace shown by ASan when debug info is split

2017-09-22 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77631 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org ---

[Bug middle-end/82286] Wrong array subscript is above array bounds

2017-09-22 Thread hermantenbrugge at home dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82286 --- Comment #3 from Herman ten Brugge --- If I put: if (p_input_matrix->nof_rows > MAX_MATRIX_SIZE || p_input_matrix->nof_cols > MAX_MATRIX_SIZE) return; at the start of my function I still get the warning. I removed some assert statement

[Bug target/82274] __builtin_mul_overflow fails to detect overflow for int64_t when compiled with -m32

2017-09-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82274 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/82282] PRE cannot blindly fold integer-to-pointer/pointer-to-integer round-trips

2017-09-22 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82282 --- Comment #3 from rguenther at suse dot de --- On Fri, 22 Sep 2017, nunoplopes at sapo dot pt wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82282 > > --- Comment #2 from Nuno Lopes --- > This is different from PR82177. That bug is

[Bug tree-optimization/82291] [8 Regression] wrong code at -O3 on x86_64-linux-gnu

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82291 --- Comment #3 from Richard Biener --- Odd bisection result, it seems to be a latent issue in if-conversion which doesn't handle false predicates correctly as it simply skips predicating writes in that case.

[Bug tree-optimization/82282] PRE cannot blindly fold integer-to-pointer/pointer-to-integer round-trips

2017-09-22 Thread nunoplopes at sapo dot pt
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82282 --- Comment #2 from Nuno Lopes --- This is different from PR82177. That bug is in AA, this one is not. See the C source: uintptr_t u = (uintptr_t) (x + 1); uintptr_t v = (uintptr_t) y; // if b1 true, then b2 must be true as well int b1

[Bug c++/82295] New: Two errors produced with private/protected deleted methods

2017-09-22 Thread denis.campredon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82295 Bug ID: 82295 Summary: Two errors produced with private/protected deleted methods Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c/82285] [6/7/8 Regression] Optimizing error when using enumeration

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

[Bug middle-end/82286] Wrong array subscript is above array bounds

2017-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82286 Martin Liška changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|marxin at gcc dot

[Bug c++/82294] Array of objects with constexpr constructors initialized from space-inefficient memory image

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82294 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #1

[Bug tree-optimization/82291] [8 Regression] wrong code at -O3 on x86_64-linux-gnu

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82291 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Version|unknown

[Bug rtl-optimization/82290] [8 Regression] ICE at -O2 on x86_64-linux-gnu: verify_flow_info failed

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82290 Richard Biener changed: What|Removed |Added Version|unknown |8.0 Target Milestone|---

[Bug go/82284] [7 Regression] go -version segfaults on big endian architectures

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82284 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/82282] PRE cannot blindly fold integer-to-pointer/pointer-to-integer round-trips

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82282 Richard Biener changed: What|Removed |Added Depends on||82177 --- Comment #1 from Richard

[Bug fortran/52832] [F03] ASSOCIATE construct with proc-pointer selector is rejected

2017-09-22 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52832 --- Comment #6 from Paul Thomas --- Author: pault Date: Fri Sep 22 08:38:31 2017 New Revision: 253091 URL: https://gcc.gnu.org/viewcvs?rev=253091=gcc=rev Log: 2017-09-22 Paul Thomas PR fortran/52832 *

[Bug c++/82294] New: Array of objects with constexpr constructors initialized from space-inefficient memory image

2017-09-22 Thread headch at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82294 Bug ID: 82294 Summary: Array of objects with constexpr constructors initialized from space-inefficient memory image Product: gcc Version: 7.2.0 Status: UNCONFIRMED

[Bug middle-end/82286] Wrong array subscript is above array bounds

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

[Bug target/82281] Bulldozer/Zen tuning: uses XMM for single 64-bit integer AND, even with a simple mask

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82281 Richard Biener changed: What|Removed |Added Target||x86_64-*-*

[Bug c++/82293] [8 Regression] ICE in nonlambda_method_basetype at gcc/cp/lambda.c:886

2017-09-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82293 Richard Biener changed: What|Removed |Added Version|unknown |8.0 Target Milestone|---

[Bug c++/82288] Defining a type in a parameter type of a lambda calling an undefined function results in a Segfault

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

[Bug tree-optimization/82289] [8 Regression] ICE at -O3 on x86_64-linux-gnu: in vect_get_num_copies, at tree-vectorizer.h:1093

2017-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82289 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug rtl-optimization/82290] [8 Regression] ICE at -O2 on x86_64-linux-gnu: verify_flow_info failed

2017-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82290 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug tree-optimization/82291] [8 Regression] wrong code at -O3 on x86_64-linux-gnu

2017-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82291 Martin Liška changed: What|Removed |Added Keywords||wrong-code

[Bug c++/82293] New: [8 Regression] ICE in nonlambda_method_basetype at gcc/cp/lambda.c:886

2017-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82293 Bug ID: 82293 Summary: [8 Regression] ICE in nonlambda_method_basetype at gcc/cp/lambda.c:886 Product: gcc Version: unknown Status: UNCONFIRMED Keywords:

[Bug libfortran/82292] [8 Regression] bootstrap fails in libgfortran on powerpc64le-linux-gnu

2017-09-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82292 Andrew Pinski changed: What|Removed |Added Keywords||build Component|bootstrap

[Bug bootstrap/82292] [8 Regression] bootstrap fails in libgfortran on powerpc64le-linux-gnu

2017-09-22 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82292 --- Comment #3 from Matthias Klose --- trying, however this is changed behavior compared to the gcc-7-branch.

[Bug bootstrap/82292] [8 Regression] bootstrap fails in libgfortran on powerpc64le-linux-gnu

2017-09-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82292 --- Comment #2 from Andrew Pinski --- Try also adding: --disable-libquadmath-support

[Bug bootstrap/82292] [8 Regression] bootstrap fails in libgfortran on powerpc64le-linux-gnu

2017-09-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82292 --- Comment #1 from Andrew Pinski --- >--disable-libquadmath That is most likely the cause.

[Bug bootstrap/82292] New: [8 Regression] bootstrap fails in libgfortran on powerpc64le-linux-gnu

2017-09-22 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82292 Bug ID: 82292 Summary: [8 Regression] bootstrap fails in libgfortran on powerpc64le-linux-gnu Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal