[Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490 --- Comment #8 from Jakub Jelinek --- (In reply to Bernd Edlinger from comment #5) > Adding zero bytes after each string constant makes no sense IMHO, > since the linker will merge the constants, and so aligning the > constants with .zero does pr

[Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section

2019-02-25 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490 --- Comment #7 from Bernd Edlinger --- (In reply to Alan Modra from comment #6) > The zero bytes are added by the -fsection-anchors code. They used to align > the next object. Now, the number of zero bytes is wrong (in cases where we > used to

[Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1

2019-02-25 Thread pkubaj at anongoth dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494 --- Comment #4 from Piotr Kubaj --- Sorry, that was for a build with GCC 6. A build with GCC 4.2.1 is done with the following. Configure: /usr/bin/env CC="cc" CPP="cpp" CXX="c++" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing " CPPFLAG

[Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1

2019-02-25 Thread pkubaj at anongoth dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494 --- Comment #3 from Piotr Kubaj --- Make is executed with: /usr/bin/env PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work XDG_CONFIG_HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work HOME=/us

[Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1

2019-02-25 Thread pkubaj at anongoth dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494 --- Comment #2 from Piotr Kubaj --- I compile from FreeBSD ports tree (just change the port's Makefile not to use external (newer) GCC, but the in-base 4.2.1), so it adds some environment variables. /usr/bin/env CC="g cc6" CPP="cpp6" CXX="g++6"

[Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails

2019-02-25 Thread pkubaj at anongoth dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535 Piotr Kubaj changed: What|Removed |Added CC||pkubaj at anongoth dot pl --- Comment #13

[Bug rtl-optimization/80791] [8/9 regression] test case gcc.dg/sms-1.c fail2 starting with r247885

2019-02-25 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80791 --- Comment #22 from Kewen Lin --- As the discussion above, on Power any IV should have an extend (sign/zero) if its width is less than the GPR width (POINTER_SIZE equivalent here). Although we don't model this precisely on Power, in most cases i

[Bug c/80409] Document that va_arg(ap, void*) can be used to consume any pointer argument

2019-02-25 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80409 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c/80409] Document that va_arg(ap, void*) can be used to consume any pointer argument

2019-02-25 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80409 --- Comment #5 from sandra at gcc dot gnu.org --- Author: sandra Date: Tue Feb 26 02:33:26 2019 New Revision: 269203 URL: https://gcc.gnu.org/viewcvs?rev=269203&root=gcc&view=rev Log: 2019-02-25 Sandra Loosemore PR c/80409 gc

[Bug rtl-optimization/89487] [8/9 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7993

2019-02-25 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89487 bin cheng changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |amker at gcc dot gnu.org --- Comment

[Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section

2019-02-25 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490 Alan Modra changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug target/89502] Error: can't encode segment `%fs' with 32-bit address

2019-02-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89502 --- Comment #2 from H.J. Lu --- (In reply to H.J. Lu from comment #1) > > Ever better, we can use UNSPEC_TP to handle it: > > movl%fs:24, %ecx > This is how TCB is accessed in glibc.

[Bug c++/88987] [9 Regression] ICE: unexpected expression '(bool)sm' of kind implicit_conv_expr

2019-02-25 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88987 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/89502] Error: can't encode segment `%fs' with 32-bit address

2019-02-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89502 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ada/81956] [7/8/9 regression] calling a null procedure is not skipped

2019-02-25 Thread demoonlit at panathenaia dot halfmoon.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81956 --- Comment #3 from yuta tomino --- I'm trying gcc-8.3. This is probably fixed in 8.x. Thanks.

[Bug target/89502] New: Error: can't encode segment `%fs' with 32-bit address

2019-02-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89502 Bug ID: 89502 Summary: Error: can't encode segment `%fs' with 32-bit address Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug libstdc++/64132] [7/8/9 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test

2019-02-25 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132 John David Anglin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/89450] RFC: Strengthen -fstrict-enums

2019-02-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450 --- Comment #10 from Marc Glisse --- I still think some __attribute__((exhaustive)) on an enum definition would be useful for this sort of thing.

[Bug c/89495] [9 Regression] gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int'

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89495 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 89495, which changed state. Bug 89495 Summary: [9 Regression] gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int' https://gcc.gnu.org/bugzilla/show_

[Bug libstdc++/89461] FAIL: experimental/net/timer/waitable/cons.cc

2019-02-25 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461 --- Comment #3 from dave.anglin at bell dot net --- On 2019-02-23 2:34 p.m., redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461 > > --- Comment #2 from Jonathan Wakely --- > Oops, that should be: > > --- a/libstdc

[Bug c/89495] [9 Regression] gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int'

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89495 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Mon Feb 25 23:43:51 2019 New Revision: 269198 URL: https://gcc.gnu.org/viewcvs?rev=269198&root=gcc&view=rev Log: PR c/89495 * c-format.c (maybe_read_dollar_number): Comput

[Bug tree-optimization/18501] [7/8/9 Regression] Missing 'used uninitialized' warning (CCP)

2019-02-25 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501 Jeffrey A. Law changed: What|Removed |Added CC||torvalds@linux-foundation.o

[Bug middle-end/89501] Odd lack of warning about missing initialization

2019-02-25 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2019-02-25 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 89501, which changed state. Bug 89501 Summary: Odd lack of warning about missing initialization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501 What|Removed |Added ---

[Bug middle-end/89501] Odd lack of warning about missing initialization

2019-02-25 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501 --- Comment #3 from Jeffrey A. Law --- Yup. It's the same as 18501. We meet UNDEFINED and [0,0] resulting in [0,0] and nothing ever causes reevaluation of the PHI. Things are working as "expected". My approach from 2005 would almost certa

[Bug middle-end/89501] Odd lack of warning about missing initialization

2019-02-25 Thread torva...@linux-foundation.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501 --- Comment #2 from Linus Torvalds --- (In reply to Andrew Pinski from comment #1) > I think it comes down to the same issue as PR 18501. Very possibly the same issue in just a different guise. NOTE! I have in the meantime verified that yes, it

[Bug libquadmath/89459] Incorrect rounding for fma in some cases

2019-02-25 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89459 --- Comment #3 from joseph at codesourcery dot com --- GCC 8 branched off mainline in April 2018, long before that merge; it's necessary to test mainline (that will become GCC 9 and later), not any existing release, to see if that merge fixed t

[Bug middle-end/89501] Odd lack of warning about missing initialization

2019-02-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501 --- Comment #1 from Andrew Pinski --- I think it comes down to the same issue as PR 18501.

[Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section

2019-02-25 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490 Alan Modra changed: What|Removed |Added Priority|P1 |P3 Status|NEW

[Bug c/77754] [7/8/9 Regression] internal compiler error : tree code 'call_expr' is not supported in LTO streams

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77754 --- Comment #14 from Jakub Jelinek --- Author: jakub Date: Mon Feb 25 22:58:45 2019 New Revision: 269197 URL: https://gcc.gnu.org/viewcvs?rev=269197&root=gcc&view=rev Log: PR c/77754 * gcc.c-torture/compile/pr77754-1.c: New test.

[Bug c/89501] New: Odd lack of warning about missing initialization

2019-02-25 Thread torva...@linux-foundation.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501 Bug ID: 89501 Summary: Odd lack of warning about missing initialization Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/84779] [7/8/9 Regression] Compiling gfortran.fortran-torture/execute/entry_4.f90 with -O1 or -Os and -fdefault-integer-8 gives an ICE

2019-02-25 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84779 --- Comment #6 from Harald Anlauf --- Adding the option -fno-tree-sra to -O1 (or -Os for the original case) makes the ICE go away for me.

[Bug c++/89450] RFC: Strengthen -fstrict-enums

2019-02-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450 --- Comment #9 from Martin Liška --- (In reply to Andrew Pinski from comment #8) > (In reply to Martin Liška from comment #7) > > in switch statements, we have a huge patch: > > https://build.opensuse.org/package/view_file/network:chromium/chromi

[Bug fortran/89492] [9 Regression] Endless compilation of an invalid TRANSFER after r269177

2019-02-25 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492 --- Comment #4 from Harald Anlauf --- Patch with slightly extended testcase posted here: https://gcc.gnu.org/ml/fortran/2019-02/msg00218.html

[Bug tree-optimization/89500] [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89500 --- Comment #4 from Jakub Jelinek --- Created attachment 45819 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45819&action=edit gcc9-pr89500.patch Untested fix.

[Bug tree-optimization/89500] [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89500 --- Comment #3 from Jakub Jelinek --- The simplest fix might be: --- gcc/tree-ssa-strlen.c.jj2019-01-18 00:33:19.466003372 +0100 +++ gcc/tree-ssa-strlen.c 2019-02-25 21:59:18.743419101 +0100 @@ -1302,6 +1302,7 @@ handle_builtin_strlen (

[Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'

2019-02-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496 --- Comment #3 from Thomas Koenig --- This test case also segfaults with a non-instrumeted compiler: program main call sub(10, *10, 20) stop 1 10 continue end program main

[Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1

2019-02-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'

2019-02-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496 --- Comment #2 from Thomas Koenig --- This looks pretty obvious to me, at least looking at the -fdump-fortran-original dump. I will try to come up with a test case. Would it be possible to check that this also fixes the nullpointer offset acces

[Bug c++/89450] RFC: Strengthen -fstrict-enums

2019-02-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450 --- Comment #8 from Andrew Pinski --- (In reply to Martin Liška from comment #7) > in switch statements, we have a huge patch: > https://build.opensuse.org/package/view_file/network:chromium/chromium-beta/ > chromium-non-void-return.patch?expand=

[Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section

2019-02-25 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490 --- Comment #5 from Bernd Edlinger --- The patch should probably work, and a powerpc cross fixes the test case. At least bootstrap and reg-test on x86_64-pc-linux-gnu is fine, but that proves not too much. When I look at the merge-all-constants-

[Bug debug/89498] [8/9 Regression] ICE in AT_loc_list, at dwarf2out.c:4871

2019-02-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89498 Andrew Pinski changed: What|Removed |Added Component|c |debug Target Milestone|---

[Bug tree-optimization/89500] [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89500 --- Comment #2 from Jakub Jelinek --- Even better testcase without any UB in it: typedef __SIZE_TYPE__ size_t; extern size_t strlen (const char *); extern size_t strnlen (const char *, size_t); extern void bar (char *); void foo (int *a) { ch

[Bug fortran/89492] [9 Regression] Endless compilation of an invalid TRANSFER after r269177

2019-02-25 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492 --- Comment #3 from Harald Anlauf --- I found another issue for uses of transfer('',['']), so here's an updated version with a clearer error message: Index: gcc/fortran/check.c ===

[Bug tree-optimization/89500] [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89500 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug c++/71446] Incorrect overload resolution when using designated initializers

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446 --- Comment #6 from Jakub Jelinek --- GCC 4.7 through 7.x emit: sorry, unimplemented: non-trivial designated initializers not supported here (and 4.6 and earlier didn't support C++11 enough to grok it). That said, you're right, the skipping is im

[Bug c++/71446] Incorrect overload resolution when using designated initializers

2019-02-25 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446 --- Comment #5 from Harald van Dijk --- (In reply to Jakub Jelinek from comment #3) > Well, before C++2a it is an extension, so outside of the C++ standard, and > GCC has been implementing it as not allowing to skip any fields. Not exactly. Outs

[Bug fortran/89492] [9 Regression] Endless compilation of an invalid TRANSFER after r269177

2019-02-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492 --- Comment #2 from Dominique d'Humieres --- > Can you please verify that your testcases work? With the patch I get pr34202_red.f90:8:54: 8 |write(*,*) transfer(transfer([1],[bug4()]),[1],size[1]) |

[Bug c/89500] New: [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653

2019-02-25 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89500 Bug ID: 89500 Summary: [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653 Product: gcc Version: 9.0 Status: UNCONFIRMED

[Bug c/89499] New: [7/8/9 Regression] ICE in expand_UNIQUE, at internal-fn.c:2605

2019-02-25 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89499 Bug ID: 89499 Summary: [7/8/9 Regression] ICE in expand_UNIQUE, at internal-fn.c:2605 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal P

[Bug c/89498] New: [8/9 Regression] ICE in AT_loc_list, at dwarf2out.c:4871

2019-02-25 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89498 Bug ID: 89498 Summary: [8/9 Regression] ICE in AT_loc_list, at dwarf2out.c:4871 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug fortran/89492] [9 Regression] Endless compilation of an invalid TRANSFER after r269177

2019-02-25 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #1 from

[Bug c++/67650] undef reference with -fdevirtualize

2019-02-25 Thread vincent.lextrait at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67650 --- Comment #33 from Vincent --- Still in gcc 8.3.0.

[Bug target/89339] sse-movmskb-1.c fails for PPC Big Endian

2019-02-25 Thread pc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89339 pc at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/89338] sse-cvtss2si-[12].c fails on PPC Big Endian

2019-02-25 Thread pc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89338 pc at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/89338] sse-cvtss2si-[12].c fails on PPC Big Endian

2019-02-25 Thread pc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89338 --- Comment #2 from pc at gcc dot gnu.org --- Author: pc Date: Mon Feb 25 19:36:05 2019 New Revision: 269195 URL: https://gcc.gnu.org/viewcvs?rev=269195&root=gcc&view=rev Log: [rs6000] PR89338, PR89339: Fix compat vector intrinsics for BE and 32-

[Bug target/89339] sse-movmskb-1.c fails for PPC Big Endian

2019-02-25 Thread pc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89339 --- Comment #2 from pc at gcc dot gnu.org --- Author: pc Date: Mon Feb 25 19:36:05 2019 New Revision: 269195 URL: https://gcc.gnu.org/viewcvs?rev=269195&root=gcc&view=rev Log: [rs6000] PR89338, PR89339: Fix compat vector intrinsics for BE and 32-

[Bug lto/89497] [8.2 regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-25 Thread darkkirb at darkkirb dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 --- Comment #1 from darkkirb at darkkirb dot de --- (In reply to darkkirb from comment #0) > Full offending command line: > x86_64-pc-linux-gnu-gcc -m32 -L../cgi-bin -L../cups -L../filter -L../ppdc > [...] This happens for both 32 bit and 64 bit

[Bug lto/89497] New: [8.2 regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-25 Thread darkkirb at darkkirb dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 Bug ID: 89497 Summary: [8.2 regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled Product: gcc Version: 8.3.0 Status: UNCONFIRMED

[Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'

2019-02-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/70644] Warn about implicit conversion of 'this' to pointer to virtual base class during construction

2019-02-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70644 --- Comment #2 from Eric Gallager --- (In reply to Jonathan Wakely from comment #0) > (Reduced from PR 58822) > > struct Base { Base(int) { } }; > > int foo(Base*) { return 0; } > > struct X : virtual Base { > X() : Base(foo(this)) { } > };

[Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable

2019-02-25 Thread a.drobyshev at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501 --- Comment #19 from Andrey Drobyshev --- (In reply to Martin Liška from comment #17) > > 2. What should we do with sections like .data.rel.ro, .data.rel.ro.local? > > They suffer from this bug too, but it's not that easy to put globals there, >

[Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable

2019-02-25 Thread a.drobyshev at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501 --- Comment #18 from Andrey Drobyshev --- (In reply to Martin Liška from comment #16) > Created attachment 45797 [details] > Patch candidate > > Patch candidate where I made some refactoring and come up with tests. > Works fine on x86_64, on ppc

[Bug target/88530] [8/9 Regression] AArch64 Unsupported options passed to assemblers when it doesn't need to.

2019-02-25 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88530 --- Comment #3 from Tamar Christina --- Author: tnfchris Date: Mon Feb 25 17:57:01 2019 New Revision: 269193 URL: https://gcc.gnu.org/viewcvs?rev=269193&root=gcc&view=rev Log: AArch64: Fix command line options canonicalization version #2. (PR ta

[Bug fortran/43210] Initializer of huge static arrays should be improved

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43210 --- Comment #9 from Jakub Jelinek --- Created attachment 45818 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45818&action=edit gcc9-pr43210.patch Like this (untested so far).

[Bug fortran/43210] Initializer of huge static arrays should be improved

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43210 --- Comment #8 from Jakub Jelinek --- Well, I'm not convinced the #c0 transformation should be done by default, but what should and can be done is instead of emitting {42, 42, 42, , 42}; emit like the C or C++ FEs emit {[1..100] = 42} whi

[Bug fortran/43210] Initializer of huge static arrays should be improved

2019-02-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43210 --- Comment #7 from Dominique d'Humieres --- > This is definitely an area where improvement would be quite helpful - > our performance there is abysmal. Compiling the test on my laptop takes less than 3s!

[Bug c/77754] [7/8/9 Regression] internal compiler error : tree code 'call_expr' is not supported in LTO streams

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77754 --- Comment #13 from Jakub Jelinek --- Created attachment 45817 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45817&action=edit gcc9-pr77754.patch Seems all the ICEs went away with r266271 aka PR87229 fix. I'll test these tests for the t

[Bug fortran/43210] Initializer of huge static arrays should be improved

2019-02-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43210 Thomas Koenig changed: What|Removed |Added Status|RESOLVED|NEW CC|

[Bug target/86019] [8/9 Regression] Unref implementation using atomic_thread_fence generates worse code on x86-64 in gcc 8.1 than 7.3

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86019 --- Comment #5 from Jakub Jelinek --- This used to be handled by peephole2, but that can't do anything with multiple basic blocks and (insn 12 11 13 3 (set (mem/v:BLK (scratch:DI) [0 A8]) (unspec:BLK [ (mem/v:BLK (scratch

[Bug fortran/43210] Initializer of huge static arrays should be improved

2019-02-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43210 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

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

2019-02-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/31392] [meta-bug] gfortran problems with initialization

2019-02-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31392 Bug 31392 depends on bug 70149, which changed state. Bug 70149 Summary: [F08] Character pointer initialization causes ICE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149 What|Removed |Added --

[Bug fortran/68241] [meta-bug] [F03] Deferred-length character

2019-02-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68241 Bug 68241 depends on bug 70149, which changed state. Bug 70149 Summary: [F08] Character pointer initialization causes ICE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149 What|Removed |Added --

[Bug c++/89480] internal compiler error: in unify, at cp/pt.c:22160 with the template argument force conversio

2019-02-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89480 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/89101] [Aarch64] vfmaq_laneq_f32 generates unnecessary dup instrcutions

2019-02-25 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101 Richard Earnshaw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/71544] gfortran compiler optimization bug when dealing with c-style pointers

2019-02-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71544 Dominique d'Humieres changed: What|Removed |Added CC||relliott at umn dot edu --- Comme

[Bug fortran/71412] [F03] iso_c_bindings and optimization interaction bug

2019-02-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71412 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/88256] [7/8/9 Regression] ICE: Segmentation fault (in make_ssa_name_fn), C++ FE missing DECL_EXPRs

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88256 Jakub Jelinek changed: What|Removed |Added CC||gs...@t-online.de --- Comment #7 from Ja

[Bug c++/89439] [7/8/9 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:268

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89439 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/71935] [7/8/9 Regression] ICE is_c_interoperable(): gfc_simplify_expr failed

2019-02-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71935 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Sever

[Bug c++/89495] [9 Regression] gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int'

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89495 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug fortran/89282] Garbage arithmetics results in fortran with -O3 and overloaded operators

2019-02-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89282 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/89282] Garbage arithmetics results in fortran with -O3 and overloaded operators

2019-02-25 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89282 --- Comment #6 from dominiq at gcc dot gnu.org --- Author: dominiq Date: Mon Feb 25 15:19:45 2019 New Revision: 269190 URL: https://gcc.gnu.org/viewcvs?rev=269190&root=gcc&view=rev Log: 2019-02-25 Dominique d'Humieres PR fortran/89282

[Bug rtl-optimization/89487] [8/9 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7993

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89487 Jakub Jelinek changed: What|Removed |Added CC||amker at gcc dot gnu.org --- Comment #3

[Bug rtl-optimization/86096] [8/9 Regression] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 0)

2019-02-25 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86096 --- Comment #5 from Alexander Monakov --- Author: amonakov Date: Mon Feb 25 15:14:39 2019 New Revision: 269189 URL: https://gcc.gnu.org/viewcvs?rev=269189&root=gcc&view=rev Log: df-scan: fix use of mw_order in df_mw_compare (PR 86096) P

[Bug c++/89481] constexpr function allows writing one active union member and reading another

2019-02-25 Thread mickey.veksler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89481 --- Comment #3 from Michael Veksler --- Thanks for looking into it. With the fix, does it behave the same way for: - runtime evaluation of all_zeros() - compile time evaluation such as std::integral_constant::value; Currently (trunk 20190223

[Bug c++/71446] Incorrect overload resolution when using designated initializers

2019-02-25 Thread roman.perepelitsa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446 --- Comment #4 from Roman Perepelitsa --- Please take a look at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446#c1. This code compiles. Given that it contains `{.value = 0}`, one would reasonably expect that it creates an instance of a struct

[Bug c++/89285] [8 Regression] ICE after casting the this pointer in the constructor in C++17 mode

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285 Jakub Jelinek changed: What|Removed |Added Known to work||9.0 Summary|[8/9 Regression]

[Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285 --- Comment #18 from Jakub Jelinek --- Author: jakub Date: Mon Feb 25 15:01:01 2019 New Revision: 269188 URL: https://gcc.gnu.org/viewcvs?rev=269188&root=gcc&view=rev Log: PR c++/89285 * g++.dg/cpp1y/constexpr-89285-2.C: New test

[Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'

2019-02-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496 Dominique d'Humieres changed: What|Removed |Added Keywords||ice-on-valid-code Prior

[Bug c++/71446] Incorrect overload resolution when using designated initializers

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'

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

[Bug fortran/89496] New: [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'

2019-02-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496 Bug ID: 89496 Summary: [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist' Product: gcc

[Bug c++/89495] gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int'

2019-02-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89495 Martin Liška changed: What|Removed |Added CC||msebor at gcc dot gnu.org Known to w

[Bug c++/89495] New: gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int'

2019-02-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89495 Bug ID: 89495 Summary: gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int' Product: gcc Ve

[Bug bootstrap/89494] New: Bootstrap error when using GCC 4.2.1

2019-02-25 Thread pkubaj at anongoth dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494 Bug ID: 89494 Summary: Bootstrap error when using GCC 4.2.1 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap

[Bug tree-optimization/89489] [9 Regression] ICE in gimple_duplicate_bb, at tree-cfg.c:6257

2019-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89489 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target Milest

  1   2   >