[Bug middle-end/88575] New: gcc got confused by different comparison operators

2018-12-22 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88575 Bug ID: 88575 Summary: gcc got confused by different comparison operators Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/88576] -fno-math-errno causes GCC to consider that malloc does not set errno

2018-12-22 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 --- Comment #2 from Aurelien Jarno --- (In reply to Andrew Pinski from comment #1) > IIRC malloc setting errno also non standard. According to POSIX: The malloc() function shall fail if: [ENOMEM] [CX] [Option Start]

[Bug fortran/88169] Rejects USE rename of namelist group

2018-12-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88169 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/88577] New: misleading error message with template and auto return type

2018-12-22 Thread denis.campredon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88577 Bug ID: 88577 Summary: misleading error message with template and auto return type Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/88578] New: Static C++ objects with flexible array members overlap when initializes are non-const

2018-12-22 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88578 Bug ID: 88578 Summary: Static C++ objects with flexible array members overlap when initializes are non-const Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug c/88576] -fno-math-errno causes GCC to consider that malloc does not set errno

2018-12-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 --- Comment #4 from Andrew Pinski --- PR 42944

[Bug fortran/85798] ICE in get_array_index, at fortran/data.c:69

2018-12-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85798 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Dec 22 19:37:06 2018 New Revision: 267356 URL: https://gcc.gnu.org/viewcvs?rev=267356=gcc=rev Log: 2018-12-22 Steven G . Kargl PR fortran/85798 * decl.c

[Bug c/88576] -fno-math-errno causes GCC to consider that malloc does not set errno

2018-12-22 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #6

[Bug fortran/88169] Rejects USE rename of namelist group

2018-12-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88169 --- Comment #13 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Dec 22 17:26:12 2018 New Revision: 267351 URL: https://gcc.gnu.org/viewcvs?rev=267351=gcc=rev Log: 2018-12-21 Steven G. Kargl PR fortran/88169 *

[Bug c/88576] New: -fno-math-errno causes GCC to consider that malloc does not set errno

2018-12-22 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 Bug ID: 88576 Summary: -fno-math-errno causes GCC to consider that malloc does not set errno Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/64883] FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess errors) on x86_64-apple-darwin10

2018-12-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64883 --- Comment #59 from Iain Sandoe --- Author: iains Date: Sat Dec 22 17:50:45 2018 New Revision: 267352 URL: https://gcc.gnu.org/viewcvs?rev=267352=gcc=rev Log: Backport fix for PR libstdc++/64883. Backport from mainline

[Bug fortran/88169] Rejects USE rename of namelist group

2018-12-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88169 --- Comment #14 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Dec 22 17:53:00 2018 New Revision: 267353 URL: https://gcc.gnu.org/viewcvs?rev=267353=gcc=rev Log: 2018-12-21 Steven G. Kargl PR fortran/88169 *

[Bug c/88576] -fno-math-errno causes GCC to consider that malloc does not set errno

2018-12-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 --- Comment #1 from Andrew Pinski --- IIRC malloc setting errno also non standard.

[Bug fortran/88169] Rejects USE rename of namelist group

2018-12-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88169 --- Comment #15 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Dec 22 18:09:19 2018 New Revision: 267354 URL: https://gcc.gnu.org/viewcvs?rev=267354=gcc=rev Log: 2018-12-21 Steven G. Kargl PR fortran/88169 *

[Bug c/88576] -fno-math-errno causes GCC to consider that malloc does not set errno

2018-12-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 --- Comment #3 from Andrew Pinski --- (In reply to Aurelien Jarno from comment #2) > (In reply to Andrew Pinski from comment #1) > > IIRC malloc setting errno also non standard. > > According to POSIX: > > The malloc() function shall fail

[Bug fortran/70149] [F08] Character pointer initialization causes ICE

2018-12-22 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149 --- Comment #12 from Paul Thomas --- (In reply to Andreas Schwab from comment #9) > This generates wrong code on powerpc64, either the initializer or the size > of _F.myptr_mod_MOD_number_string is wrong. > > .globl

[Bug fortran/77703] [7/8/9 Regression] ICE on assignment to pointer function

2018-12-22 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77703 --- Comment #8 from Paul Thomas --- (In reply to Paul Thomas from comment #7) > Created attachment 44907 [details] > Patch for the PR > > This does the job. I am working on something else right now and will come > back to this in a week or so.

[Bug fortran/85544] [7/8/9 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385

2018-12-22 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85544 --- Comment #10 from Harald Anlauf --- (In reply to Thomas Koenig from comment #8) > * trans-expr.c (gfc_conv_power_op): Handle cases of 1**integer, > (2|4|8|16) ** integer and (-1) ** integer. Handling positive powers of 2 should

[Bug fortran/85544] [7/8/9 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385

2018-12-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85544 --- Comment #11 from Thomas Koenig --- Author: tkoenig Date: Sat Dec 22 19:19:14 2018 New Revision: 267355 URL: https://gcc.gnu.org/viewcvs?rev=267355=gcc=rev Log: 2018-12-22 Thomas Koenig Backport from trunk PR

[Bug c/88576] -fno-math-errno causes GCC to consider that malloc does not set errno

2018-12-22 Thread zackw at panix dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 Zack Weinberg changed: What|Removed |Added CC||zackw at panix dot com --- Comment #5

[Bug c/88576] -fno-math-errno causes GCC to consider that malloc does not set errno

2018-12-22 Thread aurelien at aurel32 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 --- Comment #7 from Aurelien Jarno --- (In reply to Zack Weinberg from comment #5) > The C standard doesn't say malloc _will_ set errno on failure, but it also Well at least POSIX says: Otherwise, it shall return a null pointer and set errno

[Bug fortran/85798] ICE in get_array_index, at fortran/data.c:69

2018-12-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85798 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Dec 22 19:54:18 2018 New Revision: 267357 URL: https://gcc.gnu.org/viewcvs?rev=267357=gcc=rev Log: 2018-12-22 Steven G . Kargl PR fortran/85798 * decl.c

[Bug fortran/85544] [7/8/9 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385

2018-12-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85544 --- Comment #12 from Thomas Koenig --- (In reply to Harald Anlauf from comment #10) > Handling positive powers of 2 should be straightforward: > > The condition is sth. like > > if (v > 1 && (v & (v-1) == 0)) > > and the exponent is

[Bug fortran/85544] [7/8/9 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385

2018-12-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85544 --- Comment #8 from Thomas Koenig --- Author: tkoenig Date: Sat Dec 22 14:14:44 2018 New Revision: 267347 URL: https://gcc.gnu.org/viewcvs?rev=267347=gcc=rev Log: 2018-12-22 Thomas Koenig PR fortran/85544 * frontend-passes.c

[Bug fortran/85544] [7/8/9 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385

2018-12-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85544 --- Comment #9 from Thomas Koenig --- Author: tkoenig Date: Sat Dec 22 14:21:01 2018 New Revision: 267348 URL: https://gcc.gnu.org/viewcvs?rev=267348=gcc=rev Log: 2018-12-22 Thomas Koenig Backport from trunk PR fortran/85544 *

[Bug fortran/88328] ICE in resolve_tag_format, at fortran/io.c:1641

2018-12-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88328 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 23 05:18:27 2018 New Revision: 267367 URL: https://gcc.gnu.org/viewcvs?rev=267367=gcc=rev Log: 2018-12-22 Steven G. Kargl PR fortran/88328 * io.c

[Bug fortran/88328] ICE in resolve_tag_format, at fortran/io.c:1641

2018-12-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88328 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/88580] New: Parameter pack expansion fails (variadic constructor template inside a variadic class template)

2018-12-22 Thread philodej at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88580 Bug ID: 88580 Summary: Parameter pack expansion fails (variadic constructor template inside a variadic class template) Product: gcc Version: unknown Status: UNCONFIRMED

[Bug fortran/85544] [7/8/9 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385

2018-12-22 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85544 --- Comment #13 from Harald Anlauf --- (In reply to Thomas Koenig from comment #12) > (In reply to Harald Anlauf from comment #10) > > > Handling positive powers of 2 should be straightforward: > > > > The condition is sth. like > > > > if

[Bug c/88576] -fno-math-errno causes GCC to consider that malloc does not set errno

2018-12-22 Thread zackw at panix dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 Zack Weinberg changed: What|Removed |Added CC||rguenther at suse dot de --- Comment #8

[Bug fortran/85544] [7/8/9 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385

2018-12-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85544 --- Comment #14 from Thomas Koenig --- Author: tkoenig Date: Sat Dec 22 20:16:22 2018 New Revision: 267360 URL: https://gcc.gnu.org/viewcvs?rev=267360=gcc=rev Log: 2018-12-22 Thomas Koenig Backport from trunk PR

[Bug fortran/85544] [7/8/9 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385

2018-12-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85544 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/88579] Calculating power of powers of two

2018-12-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88579 Thomas Koenig changed: What|Removed |Added CC||anlauf at gmx dot de Target

[Bug c/88576] -fno-math-errno causes GCC to consider that malloc does not set errno

2018-12-22 Thread zackw at panix dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 --- Comment #9 from Zack Weinberg --- ... whoops, hit send a little too early. AFAICT, the relevant code is call_may_clobber_ref_p_1 in tree-ssa-alias.c; I would say that the uses of flag_errno_math under the cases BUILT_IN_MALLOC,

[Bug fortran/88579] New: Calculatiing power of powers of two

2018-12-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88579 Bug ID: 88579 Summary: Calculatiing power of powers of two Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component:

[Bug fortran/88579] Calculating power of powers of two

2018-12-22 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88579 --- Comment #1 from Harald Anlauf --- OK, here's my proof-of-concept patch (not cleaned up): Index: gcc/fortran/trans-expr.c === --- gcc/fortran/trans-expr.c(revision 267353)

[Bug middle-end/88576] -fno-math-errno causes GCC to consider that malloc does not set errno

2018-12-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code

[Bug fortran/85798] ICE in get_array_index, at fortran/data.c:69

2018-12-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85798 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Dec 22 23:23:02 2018 New Revision: 267362 URL: https://gcc.gnu.org/viewcvs?rev=267362=gcc=rev Log: 2018-12-22 Steven G . Kargl PR fortran/85798 * decl.c

[Bug fortran/85798] ICE in get_array_index, at fortran/data.c:69

2018-12-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85798 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Status|NEW