[Bug target/79144] cmpstrnsi optimization breaks glibc

2017-01-19 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79144 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/79801] Disable ira.c:add_store_equivs for some targets?

2017-03-01 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79801 Alan Modra changed: What|Removed |Added Severity|normal |enhancement

[Bug rtl-optimization/79801] New: Disable ira.c:add_store_equivs for some targets?

2017-03-01 Thread amodra at gmail dot com
: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- On powerpc, the equivalences created by add_store_equivs in ira.c seem like they might not be very effective. For reg1 not being assigned a hard reg, they allow lra

[Bug c/77853] -Wimplicit-fallthrough: Fall through comment made ineffective by following comment

2016-10-05 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77853 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/77817] -Wimplicit-fallthrough: cpp directive renders FALLTHRU comment ineffective

2016-10-04 Thread amodra at gmail dot com
||2016-10-04 CC||amodra at gmail dot com Ever confirmed|0 |1 --- Comment #3 from Alan Modra --- Confirmed. See also pr77853

[Bug c/77853] New: -Wimplicit-fallthrough: Fall through comment made ineffective by following comment

2016-10-04 Thread amodra at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- int f (int x) { int ret = 0; switch (x) { case 1: ret++; /* Fall through. */ /* Important

[Bug target/77676] New: powerpc64 and powerpc64le stage2 bootstrap fail

2016-09-21 Thread amodra at gmail dot com
: target Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- Created attachment 39668 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39668=edit testcase The attached testcase taken from rs6000.c output_cbranch shows a wr

[Bug target/77676] powerpc64 and powerpc64le stage2 bootstrap fail

2016-09-21 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77676 --- Comment #3 from Alan Modra --- Bisect points to git commit b9833bfd, svn rev 240298.

[Bug rtl-optimization/72771] [6/7 Regression] powerpc64le ICE with -mcpu=power9

2016-08-17 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72771 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/77324] [7 regression] ICE in push_reload, at reload.c:1350

2016-08-28 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77324 --- Comment #9 from Alan Modra --- Eric, I think the condition should be "!strict" rather than "reload_in_progress". I'm not certain about that, but I think the patch might fail if reload needs to iterate over insns more than once. For

[Bug bootstrap/77324] [7 regression] ICE in push_reload, at reload.c:1350

2016-08-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77324 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #3

[Bug tree-optimization/77743] bogus -Wformat-length sprintf warnings

2016-09-27 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77743 Alan Modra changed: What|Removed |Added Status|WAITING |NEW --- Comment #2 from Alan Modra --- I

[Bug tree-optimization/77743] New: bogus -Wformat-length sprintf warnings

2016-09-26 Thread amodra at gmail dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- Found during build of current binutils. bfd/ihex.c:222:19: error: '%03o' directive writing between 3 and 11 bytes into a region of size 9 [-Werror=format-length=] sprintf

[Bug target/78056] [7 Regression] build failure on Power7

2016-10-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78056 --- Comment #13 from Alan Modra --- Thanks Martin, so it is HAVE_AS_POWER9 being undefined, which then results in TARGET_P9_VECTOR and others being defined to zero. Kelvin's fix of not defining the builtins when no power9 support is available

[Bug target/78056] [7 Regression] build failure on Power7

2016-10-21 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78056 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #10

[Bug rtl-optimization/78325] [7 regression] r235825 causes gcc.target/mips/call-5.c, gcc.target/mips/call-6.c R_MIPS_JALR failures

2016-11-16 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78325 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/78325] [7 regression] r235825 causes gcc.target/mips/call-5.c, gcc.target/mips/call-6.c R_MIPS_JALR failures

2016-11-14 Thread amodra at gmail dot com
||2016-11-14 CC||amodra at gmail dot com Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Ever confirmed|0 |1

[Bug rtl-optimization/78325] [7 regression] r235825 causes gcc.target/mips/call-5.c, gcc.target/mips/call-6.c R_MIPS_JALR failures

2016-11-14 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78325 --- Comment #2 from Alan Modra --- Created attachment 40040 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40040=edit proposed fix This hasn't been bootstrapped yet anywhere, but ought to keep pr70890 fixed and does result in mips

[Bug target/72749] [7 Regression] ICE: verify_flow_info failed (error: wrong amount of branch edges after conditional jump in bb 5) w/ -O2 -fsched2-use-superblocks

2017-01-14 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72749 Alan Modra changed: What|Removed |Added CC|amodra at gcc dot gnu.org | --- Comment #12 from Alan Modra

[Bug target/79066] [7 Regression] non-PIC code generated for powerpc glibc with -fpic

2017-01-12 Thread amodra at gmail dot com
at gcc dot gnu.org |amodra at gmail dot com --- Comment #6 from Alan Modra --- The problem happens in lra-contraints.c:process_address_1. Search for HAVE_lo_sum. A high/lo_sum address is correctly rejected by the rs6000 backend as improper for V4 pic here: *ad.inner

[Bug target/79066] [7 Regression] non-PIC code generated for powerpc glibc with -fpic

2017-01-12 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79066 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #4

[Bug target/72749] [7 Regression] ICE: verify_flow_info failed (error: wrong amount of branch edges after conditional jump in bb 5) w/ -O2 -fsched2-use-superblocks

2017-01-10 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72749 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com

[Bug target/72749] [7 Regression] ICE: verify_flow_info failed (error: wrong amount of branch edges after conditional jump in bb 5) w/ -O2 -fsched2-use-superblocks

2017-01-11 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72749 --- Comment #6 from Alan Modra --- OK, currently testing TARGET_LEGITIMATE_COMBINED_INSN solution. Thanks for the analysis!

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #12

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #17 from Alan Modra --- I see the same sort of invalid rtl sharing errors on powerpc64le with both https://gcc.gnu.org/ml/gcc-patches/2016-11/msg03117.html and https://gcc.gnu.org/ml/gcc-patches/2016-11/msg03116.html applied.

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #14 from Alan Modra --- I meant the last one attached, which I see is the same as the first one. ie. just use copy_rtx and don't worry about extra rtl.

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #18 from Alan Modra --- Ditto for just https://gcc.gnu.org/ml/gcc-patches/2016-11/msg03117.html

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #16 from Alan Modra --- The patch referenced in comment #15 alone, ie. without https://gcc.gnu.org/ml/gcc-patches/2016-11/msg03117.html, results in an --enable-checking=yes,rtl bootstrap failure on powerpc64le-linux.

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #19 from Alan Modra --- Cancel those last three comments. I wasn't actually testing with Jakub's rs6000.c patch. Everything now looks good with Jakub's rs6000.c and simplify-rtx.c patch, plus the rs6000.c insn_is_swappable_p patch

[Bug driver/80044] New: Specifying both -static and -pie insanity

2017-03-14 Thread amodra at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- -static and -pie are incompatible, yet gcc neither warns nor errors on the combination. What's more, gcc's behaviour depends on whether gcc was built with --enable-default-pie

[Bug driver/80044] Specifying both -static and -pie insanity

2017-03-16 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80044 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug driver/80044] Specifying both -static and -pie insanity

2017-03-16 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80044 --- Comment #1 from Alan Modra --- Revising my original comments.. According to the gcc docs -static is supposed to just prevent linking with dynamic libraries. I agree that this is traditional linker behaviour. That means, for example, that

[Bug target/80479] [7/8 Regression] strcmp() produces valgrind errors on ppc64le

2017-04-21 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80479 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #9

[Bug target/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc

2017-04-06 Thread amodra at gmail dot com
de | Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com --- Comment #19 from Alan Modra --- Removing the autoreply email from CCs

[Bug target/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc

2017-04-06 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45053 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/60818] ICE in validate_condition_mode on powerpc*-linux-gnu*

2017-03-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60818 --- Comment #19 from Alan Modra --- Yes, r246294 powerpc64le-linux-gcc -O1 -misel ICEs on the last testcase. An earlier compiler I had laying around, 7.0.0 20160616, does not.

[Bug target/81793] static pie fails on powerpc-linux

2017-08-11 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81793 Alan Modra changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|amodra at gmail dot

[Bug inline-asm/81845] New: asm memory constraints are difficult and not well documented

2017-08-14 Thread amodra at gmail dot com
Priority: P3 Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- gcc doesn't have a simple way to say that a pointer passed to an inline asm is used to address an array. "m" (*p) unfortun

[Bug target/81793] static pie fails on powerpc-linux

2017-08-10 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81793 --- Comment #2 from Alan Modra --- Oh, and you're failing the link due to not having static -lc and -lm installed..

[Bug target/81793] static pie fails on powerpc-linux

2017-08-10 Thread amodra at gmail dot com
||2017-08-11 CC||amodra at gmail dot com Component|other |target Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Ever confirmed|0 |1 --- Comment

[Bug rtl-optimization/81747] [8 Regression] ICE in operator[], at vec.h:749

2017-08-08 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81747 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #3

[Bug rtl-optimization/81747] [8 Regression] ICE in operator[], at vec.h:749

2017-08-08 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81747 --- Comment #5 from Alan Modra --- Segher, the confusion is due to looking at the wrong BRANCH_EDGE occurrence in cse.c

[Bug rtl-optimization/81747] [8 Regression] ICE in operator[], at vec.h:749

2017-08-09 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81747 --- Comment #7 from Alan Modra --- Yeah, I have more or less the same patch about to be bootstrapped.

[Bug rtl-optimization/81747] [8 Regression] ICE in operator[], at vec.h:749

2017-08-09 Thread amodra at gmail dot com
at gcc dot gnu.org |amodra at gmail dot com

[Bug inline-asm/81890] asm memory constraints are difficult and not well documented

2017-08-20 Thread amodra at gmail dot com
|ASSIGNED URL||https://gcc.gnu.org/ml/gcc- ||patches/2017-08/msg01174.ht ||ml Assignee|unassigned at gcc dot gnu.org |amodra at gmail

[Bug inline-asm/81890] New: asm memory constraints are difficult and not well documented

2017-08-18 Thread amodra at gmail dot com
Priority: P3 Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- gcc doesn't have a simple way to say that a pointer passed to an inline asm is used to address an array. "m" (*p) unfortunately

[Bug inline-asm/81890] asm memory constraints are difficult and not well documented

2017-08-18 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81890 Alan Modra changed: What|Removed |Added Keywords||documentation

[Bug rtl-optimization/79286] [7 Regression] ira and lra wrong code at -O2 and -Os on i686-linux

2017-05-15 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79286 Alan Modra changed: What|Removed |Added URL|https://gcc.gnu.org/ml/gcc- |https://gcc.gnu.org/ml/gcc-

[Bug target/81170] New: powerpc*-linux --enable-default-pie chooses incorrect startup files

2017-06-22 Thread amodra at gmail dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- Configuring any powerpc linux target with --enable-default-pie gives a broken compiler that uses crt1.o, crtbegin.o and crtend.o

[Bug target/81170] powerpc*-linux --enable-default-pie chooses incorrect startup files

2017-06-22 Thread amodra at gmail dot com
||2017-06-22 CC||doko at ubuntu dot com, ||wschmidt at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Ever confirmed|0

[Bug tree-optimization/67328] range test rather than single bit test for code testing enum values

2017-06-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67328 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/81193] PowerPC GCC __builtin_cpu_is and __builtin_cpu_supports should warn about old libraries

2017-06-24 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81193 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #3

[Bug target/81193] PowerPC GCC __builtin_cpu_is and __builtin_cpu_supports should warn about old libraries

2017-06-26 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81193 --- Comment #6 from Alan Modra --- > Alternatively, we would need to do two passes. On the first pass resolve all > of the normal functions and data locations, setting the location of ifunc > functions in the TOC to be an error function. The

[Bug target/81170] powerpc*-linux --enable-default-pie chooses incorrect startup files

2017-06-23 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81170 Alan Modra changed: What|Removed |Added Keywords||patch Priority|P3

[Bug rtl-optimization/79801] Disable ira.c:add_store_equivs for some targets?

2017-05-24 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79801 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

2017-09-16 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281 Alan Modra changed: What|Removed |Added Attachment #33503|0 |1 is obsolete|

[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

2017-09-16 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281 --- Comment #8 from Alan Modra --- Created attachment 42187 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42187=edit [RS6000] Address cost Somewhat related, costing constants properly also needs a proper cost to loading from memory.

[Bug target/81996] powerpc __builtin_return_address(0) fails with -fPIC -fstack-protector-all or -fsanitize=address

2017-09-16 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81996 Alan Modra changed: What|Removed |Added Summary|__builtin_return_address(0) |powerpc |does not work

[Bug target/81996] powerpc __builtin_return_address(0) fails with -fPIC -fstack-protector-all or -fsanitize=address

2017-09-21 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81996 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/81996] powerpc __builtin_return_address(0) fails with -fPIC -fstack-protector-all or -fsanitize=address

2017-09-17 Thread amodra at gmail dot com
at gcc dot gnu.org |amodra at gmail dot com

[Bug rtl-optimization/81747] [8 Regression] ICE in operator[], at vec.h:749

2017-08-25 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81747 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/81170] powerpc*-linux --enable-default-pie chooses incorrect startup files

2017-08-29 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81170 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/81295] bootstrap broken on powerpc-linux-gnu with --enable-default-pie

2017-08-29 Thread amodra at gmail dot com
||amodra at gmail dot com Resolution|--- |FIXED Target Milestone|7.3 |7.2 --- Comment #16 from Alan Modra --- Fixed.

[Bug bootstrap/81298] [7 Regression] Bootstrapping trunk fails during stage1-bubble on x86_64-pc-linux-gnu with --enable-maintainer-mode

2017-08-29 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81298 Bug 81298 depends on bug 81295, which changed state. Bug 81295 Summary: bootstrap broken on powerpc-linux-gnu with --enable-default-pie https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81295 What|Removed |Added

[Bug lto/82575] New: [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

2017-10-18 Thread amodra at gmail dot com
: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Summary: [8 Regression] lto debugobj references __gnu_lto_slim

[Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

2017-10-18 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575 --- Comment #3 from Alan Modra --- Patch now bootstrapped and regression tested powerpc64le-linux.

[Bug inline-asm/81890] asm memory constraints are difficult and not well documented

2017-10-18 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81890 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

2017-10-19 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575 --- Comment #5 from Alan Modra --- > --- Comment #4 from Richard Biener --- > Hmm, but those symbols will prevail, enlarging the final symbol table? > Or are weak + hidden symbols removed even for shared libaries? Well, they are still

[Bug lto/82598] New: lto debugobj lacks .note.GNU-stack

2017-10-17 Thread amodra at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Lack of a .note.GNU-stack section results in ld testsuite failures: arm-linuxeabi FAIL: PR ld/12982 hppa-linux FAIL: PR ld/12982 m68k-linux

[Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

2017-10-18 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575 --- Comment #2 from Alan Modra --- Created attachment 42397 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42397=edit proposed patch I hadn't debugged past grepping for "debugobj" when I created the bugzilla. Now that I've looked

[Bug lto/82687] [8 regression] g++.dg/asan/default-options-1.C fails starting with r253914

2017-10-23 Thread amodra at gmail dot com
||2017-10-24 CC||amodra at gmail dot com, ||marxin at gcc dot gnu.org Component|other |lto Ever confirmed|0 |1 --- Comment #1 from Alan

[Bug middle-end/82928] glibc test-tgmath3 ICE on powerpc64le

2017-11-10 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82928 Alan Modra changed: What|Removed |Added Attachment #42571|0 |1 is obsolete|

[Bug tree-optimization/83119] New: segmentation fault due to two_valued_val_range_p passing NULL to to_wide

2017-11-22 Thread amodra at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- Created attachment 42686 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42686=edit preprocessed source dur

[Bug middle-end/82928] New: glibc test-tgmath3 ICE on powerpc64le

2017-11-09 Thread amodra at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- Created attachment 42571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42571=edit somewhat reduced testcase Seen with current glibc "make check", gcc 20171109

[Bug lto/82757] [8 regression] plugin needed to handle lto object

2017-10-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82757 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #2

[Bug lto/82757] [8 regression] r251560 causes: plugin needed to handle lto object

2017-10-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82757 --- Comment #5 from Alan Modra --- Incidentally, the only reason ld.bfd gets past the "plugin needed" warning is that it only warns on a common symbol called __gnu_lto_slim, not an undefined one.. Bump st_name by one for __gnu_lto_ symbols,

[Bug lto/82757] [8 regression] r251560 causes: plugin needed to handle lto object

2017-10-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82757 --- Comment #9 from Alan Modra --- If you start off with "___gnu_lto_", there is code in simple_object_elf.c to handle the extra '_', and now in binutils too. Skipping just one '_' will leave you with a symbol that matches "__gnu_lto_", and

[Bug lto/82757] [8 regression] r251560 causes: plugin needed to handle lto object

2017-10-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82757 --- Comment #7 from Alan Modra --- > Bump st_name by one for __gnu_lto_ Better make that two. Some targets will have an extra '_' prefix.

[Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

2017-10-24 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575 Bug 82575 depends on bug 82687, which changed state. Bug 82687 Summary: [8 regression] g++.dg/asan/default-options-1.C fails starting with r253914 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82687 What|Removed

[Bug lto/82687] [8 regression] g++.dg/asan/default-options-1.C fails starting with r253914

2017-10-24 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82687 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED Blocks|

[Bug libgcc/85532] crtend.o built without --enable-initfini-array has bad .eh_frame

2018-04-27 Thread amodra at gmail dot com
||2018-04-27 Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Ever confirmed|0 |1

[Bug middle-end/85643] New: attribute nonstring fails to squash -Wstringop-truncation warning

2018-05-03 Thread amodra at gmail dot com
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- Created attachment 44063 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44063=edit testcase The attached testcase taken f

[Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

2017-10-19 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575 --- Comment #7 from Alan Modra --- > --- Comment #6 from rguenther at suse dot de --- > OK. I suppose they are properly prevailed by any global symbol of the same > name > as well? Like a weak definition with default visibility? Or is there

[Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

2017-10-19 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/82598] [8 Regression] lto debugobj lacks .note.GNU-stack

2017-10-19 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82598 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/84033] powerpc64le -moptimize-swaps bad code with vec_vbpermq

2018-01-24 Thread amodra at gmail dot com
||2018-01-25 Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Ever confirmed|0 |1 --- Comment #1 from Alan Modra --- Created attachment 43236 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43236=edit proposed pa

[Bug target/84033] New: powerpc64le -moptimize-swaps bad code with vec_vbpermq

2018-01-24 Thread amodra at gmail dot com
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: amodra at gmail dot com Target Milestone: --- Created attachment 43235 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43235=edit testcase The attached testcase fails on ppc64le with -O2 -mcpu=pow

[Bug target/84033] powerpc64le -moptimize-swaps bad code with vec_vbpermq

2018-01-28 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84033 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/84300] ICE in dwarf2cfi on ppc64le with -fsplit-stack -fno-omit-frame-pointer

2018-02-08 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84300 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/84300] ICE in dwarf2cfi on ppc64le with -fsplit-stack -fno-omit-frame-pointer

2018-02-08 Thread amodra at gmail dot com
at gcc dot gnu.org |amodra at gmail dot com --- Comment #2 from Alan Modra --- Testing what should be an obvious fix.

[Bug other/82368] [8 regression] with r253275 several new test cases in libbacktrace fail

2018-02-13 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82368 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #10

[Bug debug/84300] ICE in dwarf2cfi on ppc64le with -fsplit-stack -fno-omit-frame-pointer

2018-02-09 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84300 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/57717] error: unrecognizable insn compiling ./strtod_l.c from glibc on powerpc-gnuspe

2017-12-27 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug demangler/81682] Timeout in demangler

2018-02-26 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81682 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #2

[Bug target/72802] powerpc64le: -mcpu=power9 emits lxssp instruction with offset that isn't a multiple of 4

2018-07-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72802 --- Comment #12 from Alan Modra --- gcc.c-torture/compile/pr72802.c failed for me (likely with -mcpu=power9) with the version of gcc I happened to have at the time I developed the patch in #c5. I'm not sure now whether it was to demonstrate the

[Bug target/84033] powerpc64le -moptimize-swaps bad code with vec_vbpermq

2018-03-28 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84033 --- Comment #8 from Alan Modra --- Hi Breno, the first gcc-8 has not yet been released (current aim is for a release mid April), nor has there been a release from the gcc-7 or gcc-6 branches containing this bug fix. I missed out on gcc-7.3 by a

[Bug target/83707] g++.dg/eh/simd-3.C fails on power7 -m32

2018-03-28 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83707 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85075] powerpc: ICE in iszero testcase

2018-03-28 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85075 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/84762] GCC for PowerPC32 violates the SysV ABI spec for small struct returns

2018-03-29 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84762 Alan Modra changed: What|Removed |Added CC||tamar.christina at arm dot com --- Comment

[Bug target/88614] ICE: output_operand: invalid %z value

2018-12-27 Thread amodra at gmail dot com
||2018-12-27 CC|amodra at gcc dot gnu.org | Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Ever confirmed|0 |1

<    2   3   4   5   6   7   8   9   >