[Bug target/79912] [7 regression] LRA unable to generate reloads after r245655

2017-03-07 Thread npickito at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79912 --- Comment #9 from Kito Cheng --- Code gen in previous comment is output for riscv32-unknown-linux-gnu-gcc pr52750.c -S ARM got worse code gen too: configure: --target=arm-eabi $ arm-eabi-gcc pr52750.c -S For pr52750.c: $ diff before.arm.s

[Bug c++/79937] [5/6/7 Regression] ICE in replace_placeholders_r

2017-03-07 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79937 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug other/65530] [meta-bug] -mmpx -fcheck-pointer-bounds failures

2017-03-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65530 Bug 65530 depends on bug 67520, which changed state. Bug 67520 Summary: libmpx should abort() instead of exit(255) on bound violation detection https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67520 What|Removed

[Bug other/67520] libmpx should abort() instead of exit(255) on bound violation detection

2017-03-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67520 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/79912] [7 regression] LRA unable to generate reloads after r245655

2017-03-07 Thread npickito at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79912 --- Comment #8 from Kito Cheng --- Hi Matthew: Oh, my fault, I just go another way[1] to fix this issue, but I got worse code gen for both hard-float and soft-float after r245655, before.*.s is generate by gcc with revert r245655, *rv32imafd.s

[Bug middle-end/68270] [MPX] Common pattern for variable sized data clashes with MPX bound checks

2017-03-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68270 Martin Liška changed: What|Removed |Added Known to work||7.0 --- Comment #6 from Martin Liška

[Bug c/79834] c/c-parser.c: make code more i18n-friendly

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79834 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/79912] [7 regression] LRA unable to generate reloads after r245655

2017-03-07 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79912 --- Comment #7 from mpf at gcc dot gnu.org --- The same fix will resolve soft-float as well I think. In the soft-float case I believe it is reasonably logical that preferred_reload_class is wrong as there are no registers in FPR_REGS available at

[Bug c/79938] gcc unnecessarily spills xmm register to stack when inserting vector items

2017-03-07 Thread postmaster at raasu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79938 --- Comment #2 from postmaster at raasu dot org --- (In reply to Richard Biener from comment #1) > The situation is slightly better with GCC 7, only two spill/loads are > remaining. > Possibly BIT_INSERT_EXPR helps here. With gcc 6.2.0 and gcc

[Bug target/69034] ICE: RTL check: expected elt 1 type 'e' or 'u', have 'i' (rtx unspec) in copy_replacements_1, at reload.c:6323 with -fPIC and "X" asm input

2017-03-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69034 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug inline-asm/59155] ICE: in reg_overlap_mentioned_p, at rtlanal.c:1473

2017-03-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59155 --- Comment #8 from Segher Boessenkool --- *** Bug 69034 has been marked as a duplicate of this bug. ***

[Bug middle-end/68270] [MPX] Common pattern for variable sized data clashes with MPX bound checks

2017-03-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68270 --- Comment #5 from Martin Liška --- Author: marxin Date: Tue Mar 7 14:12:52 2017 New Revision: 245951 URL: https://gcc.gnu.org/viewcvs?rev=245951=gcc=rev Log: Use array_at_struct_end_p in tree-chkp.c (PR middle-end/68270). 2017-03-07 Martin

[Bug gcov-profile/79891] Wrong count of line coverage in case of gcov -a

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

[Bug target/79912] [7 regression] LRA unable to generate reloads after r245655

2017-03-07 Thread npickito at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79912 --- Comment #6 from Kito Cheng --- Hi Matthew: Thanks for you feedback, I will disuses with other RISC-V maintainer for the GPR <-> FPR issue, however it's still hang on LRA for pr52750.c when use soft float[1] and work if revert r245655 too, do

[Bug target/79939] [nvptx] gcc hangs in nvptx_assemble_value

2017-03-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79939 --- Comment #1 from Tom de Vries --- With -O2 at .optimized, we have for gomp4: ... main (int argc, char * * argv) { v4si x; int _2; : _2 = MEM[(int *) + 16B]; x ={v} {CLOBBER}; return _2; } ... and for mainline: ... main (int

[Bug target/79939] New: [nvptx] gcc hangs in nvptx_assemble_value

2017-03-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79939 Bug ID: 79939 Summary: [nvptx] gcc hangs in nvptx_assemble_value Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/79347] [7 regression] vect_do_peeling is messing up profile

2017-03-07 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79347 amker at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c/79938] gcc unnecessarily spills xmm register to stack when inserting vector items

2017-03-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79938 --- Comment #1 from Richard Biener --- The situation is slightly better with GCC 7, only two spill/loads are remaining. Possibly BIT_INSERT_EXPR helps here. For the testcase you want to add __attribute__((noinline)) to haddd_epu8 as otherwise

[Bug tree-optimization/66768] address space gets lost on literal pointer

2017-03-07 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66768 amker at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/79912] [7 regression] LRA unable to generate reloads after r245655

2017-03-07 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79912 --- Comment #5 from mpf at gcc dot gnu.org --- I think there are some relatively serious issues in the riscv backend here. What I understand so far: 1) Only floating point modes are allowed in FPRs 2) There is an alternative in the

[Bug c++/79899] ICE in ctor_omit_inherited_parms at gcc/cp/method.c:576 on ARM target

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79899 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/79915] ICE in final_scan_insn, at final.c:2982 (could not split insn) on mips* when compiling libstdc++ with -mlong-calls -mno-abicalls

2017-03-07 Thread jan.smets at nokia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79915 --- Comment #4 from Jan Smets --- Created attachment 40910 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40910=edit testcase pr79951 mips64-linux-gnuabi64-gcc -xc++ pr79951.i -o /dev/null -S -mlong-calls -mno-abicalls

[Bug c++/79896] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:11950 on non-int128 target

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

[Bug middle-end/79915] ICE in final_scan_insn, at final.c:2982 (could not split insn) on mips* when compiling libstdc++ with -mlong-calls -mno-abicalls

2017-03-07 Thread jan.smets at nokia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79915 Jan Smets changed: What|Removed |Added Target|mips|mips64-linux-gnuabi64

[Bug c++/79896] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:11950 on non-int128 target

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79896 Jakub Jelinek changed: What|Removed |Added Keywords|ice-on-invalid-code |error-recovery

[Bug c++/79919] Warning specifies end of method rather than the correct line

2017-03-07 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79919 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/79862] Compilation error while building libstdc++

2017-03-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79862 --- Comment #12 from Jonathan Wakely --- Created attachment 40908 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40908=edit Make atomic depend on _GLIBCXX_USE_C99_STDINT_TR1 Here's a patch for trunk, which I'll commit after GCC 7 is

[Bug libstdc++/79862] Compilation error while building libstdc++

2017-03-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79862 --- Comment #11 from Jonathan Wakely --- (In reply to Sumit from comment #2) > I understand that 4.8.1 is no longer supported. > Actually, our project in current state can't move to any version beyond > 4.8.1 for some maintainability reasons.

[Bug libstdc++/79862] Compilation error while building libstdc++

2017-03-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79862 --- Comment #10 from Jonathan Wakely --- Libstdc++ should handle those types being missing, but it doesn't do so correctly. Try making the inclusion of conditional: --- include/std/future +++ include/std/future @@ -40,7 +40,9 @@ #include

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #7 from Jakub Jelinek --- stack size (kbytes, -s) 65532 is 64M, that should be more than enough. Of course unless darwin pthread_create does something dumb, like using far smaller stack sizes for threads by default. In

[Bug rtl-optimization/66669] FAIL: gcc.dg/loop-8.c

2017-03-07 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 mpf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/79904] ICE in annotate_constant_pool_refs, at config/s390/s390.c:7909

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79904 --- Comment #5 from Jakub Jelinek --- Created attachment 40907 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40907=edit gcc7-pr79904.patch Untested optimization that fixes the original testcase, but doesn't the one without uniform

[Bug target/79473] -mload-store-pairs option is not documented in invoke.texi

2017-03-07 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79473 mpf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/79914] VEC_SELECT bugs in mips patterns

2017-03-07 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79914 mpf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug target/79904] ICE in annotate_constant_pool_refs, at config/s390/s390.c:7909

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79904 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #6 from Dominique d'Humieres --- > Does Darwin have so ridiculously low stack size limits by default, > or is that just some setting you've done? On darwin1(0|6) ulimit gives stack size (kbytes, -s) 65532 and the

[Bug target/78012] -mfpxx produces assembly code using odd FP registers on MIPS

2017-03-07 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78012 mpf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug target/78176] [MIPS] miscompiles ldxc1 with large pointers on 32-bits

2017-03-07 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78176 mpf at gcc dot gnu.org changed: What|Removed |Added Known to work||7.0 Target Milestone|---

[Bug target/78660] [7 Regression] 7.0 bootstrap fail on mips64el-unknow-linux: configure-stage2-target-libgcc' failed

2017-03-07 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78660 mpf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/79938] New: gcc unnecessarily spills xmm register to stack when inserting vector items

2017-03-07 Thread postmaster at raasu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79938 Bug ID: 79938 Summary: gcc unnecessarily spills xmm register to stack when inserting vector items Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity:

[Bug c++/79937] [5/6/7 Regression] ICE in replace_placeholders_r

2017-03-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79937 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug target/79935] DJGPP: misaligned stack in static constructors

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79935 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c/79855] params.def: missing period in PARAM_MAX_STORES_TO_MERGE

2017-03-07 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79855 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/79937] [5/6/7 Regression] ICE in replace_placeholders_r

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

[Bug c/79855] params.def: missing period in PARAM_MAX_STORES_TO_MERGE

2017-03-07 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79855 --- Comment #2 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Mar 7 09:36:44 2017 New Revision: 245948 URL: https://gcc.gnu.org/viewcvs?rev=245948=gcc=rev Log: PR c/79855: add full stop to store merging param descriptions

[Bug libstdc++/79862] Compilation error while building libstdc++

2017-03-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79862 --- Comment #9 from Andrew Pinski --- Looks like the stdint.h is not defining all the needed types ...

[Bug c++/79937] New: ICE in replace_placeholders_r

2017-03-07 Thread g...@arne-mertz.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79937 Bug ID: 79937 Summary: ICE in replace_placeholders_r Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/79862] Compilation error while building libstdc++

2017-03-07 Thread sbansal at ciena dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79862 Sumit changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug target/79912] [7 regression] LRA unable to generate reloads after r245655

2017-03-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79912 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug rtl-optimization/79728] [7 Regression] ICE in setup_pressure_classes, at ira.c:912

2017-03-07 Thread ryxi at stu dot xidian.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79728 --- Comment #5 from Xi Ruoyao --- (In reply to Bernd Schmidt from comment #4) > Actually here's mine from last week: > https://gcc.gnu.org/ml/gcc-patches/2017-03/msg00176.html So please ignore my mumble...

[Bug tree-optimization/79920] Incorrect floating point results when compiling with -O3

2017-03-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79920 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug fortran/79876] [7 Regression] FAIL: libgomp.fortran/strassen.f90 -O execution test on x86_64-apple-darwin16

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876 --- Comment #5 from Jakub Jelinek --- Does Darwin have so ridiculously low stack size limits by default, or is that just some setting you've done?

[Bug fortran/79929] [7 Regression] Bogus Warning: '__builtin_memset': specified size 4294967291 exceeds maximum object size 2147483647

2017-03-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929 Richard Biener changed: What|Removed |Added Keywords||diagnostic CC|

[Bug fortran/79930] Potentially Missed Optimisation for MATMUL / DOT_PRODUCT

2017-03-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79930 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #9

[Bug rtl-optimization/79901] ICE in prepare_cmp_insn, at optabs.c:3904

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79901 --- Comment #5 from Jakub Jelinek --- Fixed on the trunk so far.

[Bug tree-optimization/79934] Vectorization of descending-index loops can produce unnecessary permutes

2017-03-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79934 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/79935] DJGPP: misaligned stack in static constructors

2017-03-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79935 --- Comment #1 from Richard Biener --- Sounds like a bug in the dynamic loader then?

[Bug middle-end/79915] ICE in final_scan_insn, at final.c:2982 on mips when compiling libstdc++ with -mlong-calls

2017-03-07 Thread jan.smets at nokia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79915 --- Comment #2 from Jan Smets --- Reduced test case, only occurs on the vxworks port, not on linux. namespace a { template class c; class d { public: virtual ~d(); }; template class e : d {}; template class c : virtual

[Bug rtl-optimization/79901] ICE in prepare_cmp_insn, at optabs.c:3904

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79901 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Mar 7 08:11:30 2017 New Revision: 245947 URL: https://gcc.gnu.org/viewcvs?rev=245947=gcc=rev Log: PR rtl-optimization/79901 * config/i386/sse.md (*avx512bw_3):

[Bug rtl-optimization/79901] ICE in prepare_cmp_insn, at optabs.c:3904

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79901 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Mar 7 08:04:38 2017 New Revision: 245946 URL: https://gcc.gnu.org/viewcvs?rev=245946=gcc=rev Log: PR rtl-optimization/79901 * expr.c (expand_expr_real_2): For vector

[Bug ipa/79931] ICE in dump_possible_polymorphic_call_targets with -fdump-ipa-all -O2

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

[Bug target/79932] _mm512_packus_epi32 does not compile under -O0

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79932 --- Comment #2 from Jakub Jelinek --- Created attachment 40905 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40905=edit gcc7-pr79932-2.patch Found further 64 intrinsics that weren't available at -O0.

<    1   2