[Bug plugins/80514] New: --enable-plugin and config/gcc-plugin.m4

2017-04-25 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80514 Bug ID: 80514 Summary: --enable-plugin and config/gcc-plugin.m4 Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: plugins

[Bug rtl-optimization/80500] [7/8 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn)

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80500 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 07:27:01 2017 New Revision: 247126 URL: https://gcc.gnu.org/viewcvs?rev=247126&root=gcc&view=rev Log: PR rtl-optimization/80500 * loop-unroll.c (combine_var_cop

[Bug rtl-optimization/80500] [7/8 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn)

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80500 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 07:27:47 2017 New Revision: 247127 URL: https://gcc.gnu.org/viewcvs?rev=247127&root=gcc&view=rev Log: PR rtl-optimization/80500 * loop-unroll.c (combine_var_cop

[Bug rtl-optimization/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 07:28:43 2017 New Revision: 247128 URL: https://gcc.gnu.org/viewcvs?rev=247128&root=gcc&view=rev Log: PR rtl-optimization/80501 * combine.c (make_compound_oper

[Bug rtl-optimization/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 07:29:21 2017 New Revision: 247129 URL: https://gcc.gnu.org/viewcvs?rev=247129&root=gcc&view=rev Log: PR rtl-optimization/80501 * combine.c (make_compound_oper

[Bug target/80080] S390: Isses with emitted cs-instructions for __atomic builtins.

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80080 --- Comment #9 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 07:37:50 2017 New Revision: 247132 URL: https://gcc.gnu.org/viewcvs?rev=247132&root=gcc&view=rev Log: S/390: PR80080: Optimize atomic patterns. The attached patch optimize

[Bug c/80515] New: __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 Bug ID: 80515 Summary: __attribute__ ((__noreturn__)) false alarm for 'main' Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/79895] ICE in extract_constrain_insn, at recog.c:2213

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79895 --- Comment #2 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 07:41:41 2017 New Revision: 247133 URL: https://gcc.gnu.org/viewcvs?rev=247133&root=gcc&view=rev Log: S/390: PR79895: Fix TImode constant handling The P constraint letter

[Bug target/80464] [7/8 regression] S/390: ICE failed to split vector move

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80464 --- Comment #2 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 07:43:49 2017 New Revision: 247134 URL: https://gcc.gnu.org/viewcvs?rev=247134&root=gcc&view=rev Log: S/390: PR80464: Split MEM->GPR vector moves We do this already for TI

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 --- Comment #3 from rguenther at suse dot de --- On Mon, 24 Apr 2017, sgk at troutmask dot apl.washington.edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 > > --- Comment #2 from Steve Kargl --- > On Mon, Apr 24, 2017 at 11:05:0

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #9 from Georg-Johann Lay --- (In reply to Uroš Bizjak from comment #8) > Happens in fre3 pass. That's not the whole story. With -fdisable-tree-fre3 the code is still wrong. I need at least: -fdisable-tree-fre3 -fdisable-tree-pre

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 --- Comment #2 from Marc Glisse --- The implicit "return 0;" is only in C++ IIRC. I vaguely remember discussions advertising the use of noreturn on main to indicate that the compiler does not need to emit the cleanup/exit code for global variabl

[Bug bootstrap/80509] ICE in cc1 during selftests

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

[Bug tree-optimization/80511] [8 Regression] gcc.dg/Wstrict-overflow-18.c

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80511 Richard Biener changed: What|Removed |Added Keywords||xfail Target Milestone|---

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Jakub Jelinek changed: What|Removed |Added Attachment #41259|0 |1 is obsolete|

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 --- Comment #3 from Markus Trippelsdorf --- (In reply to Marc Glisse from comment #2) > The implicit "return 0;" is only in C++ IIRC. No, C99 also has an implicit return 0;.

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Jakub Jelinek changed: What|Removed |Added Attachment #41261|0 |1 is obsolete|

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #11 from Richard Biener --- Ugh. Another thing is that the tree aliasing machinery tells us that the two copies of 'reg' do not alias because they are "distinct" VAR_DECLs.

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #12 from Uroš Bizjak --- (In reply to Richard Biener from comment #10) > But I really wonder if it is ok to omit constraints from the asm marking > the register variable as changed. The register is not changed in the asm, please note

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #13 from rguenther at suse dot de --- On Tue, 25 Apr 2017, ubizjak at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 > > --- Comment #12 from Uroš Bizjak --- > (In reply to Richard Biener from comment #10

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #14 from Uroš Bizjak --- (In reply to rguent...@suse.de from comment #13) > On Tue, 25 Apr 2017, ubizjak at gmail dot com wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 > > > > --- Comment #12 from Uroš Bizjak ---

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 --- Comment #6 from rguenther at suse dot de --- On Tue, 25 Apr 2017, trippels at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 > > Markus Trippelsdorf changed: > >What|Removed

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Jakub Jelinek changed: What|Removed |Added Attachment #41262|0 |1 is obsolete|

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread paul.hua.gm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 Paul Hua changed: What|Removed |Added CC||paul.hua.gm at gmail dot com --- Comment #7 f

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #35 from Jakub Jelinek --- Created attachment 41264 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41264&action=edit gcc7-pr77728-aarch64.patch Similarly adjusted AArch64 patch. In the earlier AArch64 patch, warning_alignment d

[Bug tree-optimization/79201] missed optimization: sinking doesn't handle calls, swap PRE and sinking

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79201 --- Comment #2 from Richard Biener --- Author: rguenth Date: Tue Apr 25 09:26:37 2017 New Revision: 247159 URL: https://gcc.gnu.org/viewcvs?rev=247159&root=gcc&view=rev Log: 2017-04-25 Richard Biener PR tree-optimization/79201

[Bug tree-optimization/79201] missed optimization: sinking doesn't handle calls, swap PRE and sinking

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79201 --- Comment #3 from Richard Biener --- Ok, so sinking now handles calls but the testcase still isn't fixed because PRE interferes (testsuite disables PRE). Still mine.

[Bug rtl-optimization/80474] ipa-cp wrongly adding LO(symbol) twice

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80474 --- Comment #3 from Richard Biener --- How to configure a cross? --target=mips-o32 isn't valid. For the reduced testcase what are we looking for?

[Bug bootstrap/79814] pass-instances.def:36:14: error: ‘*.gcc::pass_manager::pass_warn_unused_result_1’ is used uninitialized in this function

2017-04-25 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79814 Andreas Schwab changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug c++/80516] New: No error for bad type-specifier-seq in template parameter

2017-04-25 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80516 Bug ID: 80516 Summary: No error for bad type-specifier-seq in template parameter Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Prio

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 Richard Biener changed: What|Removed |Added Status|WAITING |ASSIGNED Blocks|

[Bug bootstrap/79814] pass-instances.def:36:14: error: ‘*.gcc::pass_manager::pass_warn_unused_result_1’ is used uninitialized in this function

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79814 Richard Biener changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c++/78010] --Wsuggest-override reports a redundant warning on a 'final' method

2017-04-25 Thread arnaud02 at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010 Arnaud Desitter changed: What|Removed |Added CC||arnaud02 at users dot sourceforge.

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 --- Comment #10 from Richard Biener --- Author: rguenth Date: Tue Apr 25 10:07:58 2017 New Revision: 247171 URL: https://gcc.gnu.org/viewcvs?rev=247171&root=gcc&view=rev Log: 2017-04-25 Richard Biener PR middle-end/80509 * pa

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/79814] pass-instances.def:36:14: error: ‘*.gcc::pass_manager::pass_warn_unused_result_1’ is used uninitialized in this function

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79814 Bug 79814 depends on bug 80509, which changed state. Bug 80509 Summary: ICE in cc1 during selftests https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 What|Removed |Added

[Bug rtl-optimization/80501] [6 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8 Regression] Wrong|[6 Regression] Wrong code

[Bug target/80080] S390: Isses with emitted cs-instructions for __atomic builtins.

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80080 --- Comment #10 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 11:11:48 2017 New Revision: 247189 URL: https://gcc.gnu.org/viewcvs?rev=247189&root=gcc&view=rev Log: S/390: PR80080: Optimize atomic patterns. The attached patch optimiz

[Bug rtl-optimization/80500] [7/8 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn)

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

[Bug target/79895] ICE in extract_constrain_insn, at recog.c:2213

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79895 --- Comment #3 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 11:15:44 2017 New Revision: 247190 URL: https://gcc.gnu.org/viewcvs?rev=247190&root=gcc&view=rev Log: S/390: PR79895: Fix TImode constant handling The P constraint letter

[Bug target/80464] [7/8 regression] S/390: ICE failed to split vector move

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80464 --- Comment #3 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 11:18:52 2017 New Revision: 247191 URL: https://gcc.gnu.org/viewcvs?rev=247191&root=gcc&view=rev Log: S/390: PR80464: Split MEM->GPR vector moves We do this already for TI

[Bug c++/80516] No error for bad type-specifier-seq in template parameter

2017-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80516 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIR

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #15 from Richard Biener --- Author: rguenth Date: Tue Apr 25 12:15:44 2017 New Revision: 247208 URL: https://gcc.gnu.org/viewcvs?rev=247208&root=gcc&view=rev Log: 2017-04-25 Richard Biener PR tree-optimization/80492

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug c++/78010] --Wsuggest-override reports a redundant warning on a 'final' method

2017-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIR

[Bug ada/78845] Inverse (Real_Matrix) result has wrong bounds

2017-04-25 Thread charlet at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78845 --- Comment #4 from Arnaud Charlet --- Author: charlet Date: Tue Apr 25 12:44:16 2017 New Revision: 247214 URL: https://gcc.gnu.org/viewcvs?rev=247214&root=gcc&view=rev Log: PR ada/78845 * a-ngcoar.adb, a-ngrear.adb (Inverse): c

[Bug ada/78845] Inverse (Real_Matrix) result has wrong bounds

2017-04-25 Thread charlet at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78845 Arnaud Charlet changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/80177] wrong fixit hint for misspelled static_assert: __cpp_static_assert

2017-04-25 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80177 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Tue Apr 25 13:34:50 2017 New Revision: 247233 URL: https://gcc.gnu.org/viewcvs?rev=247233&root=gcc&view=rev Log: Fix spelling suggestions for reserved words (PR c++/80177) gcc/cp/Chan

[Bug c++/80177] wrong fixit hint for misspelled static_assert: __cpp_static_assert

2017-04-25 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80177 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-25 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 --- Comment #11 from Steve Kargl --- On Tue, Apr 25, 2017 at 10:08:30AM +, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 > > --- Comment #10 from Richard Biener --- > Author: rguenth > Date: Tue Apr

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #36 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 13:52:33 2017 New Revision: 247239 URL: https://gcc.gnu.org/viewcvs?rev=247239&root=gcc&view=rev Log: PR target/77728 * config/aarch64/aarch64.c (struct aarch6

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #37 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 13:56:10 2017 New Revision: 247241 URL: https://gcc.gnu.org/viewcvs?rev=247241&root=gcc&view=rev Log: PR target/77728 * config/aarch64/aarch64.c (struct aarch6

[Bug target/80517] New: [missed optimization] constant propagation through Intel intrinsics

2017-04-25 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80517 Bug ID: 80517 Summary: [missed optimization] constant propagation through Intel intrinsics Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/80474] ipa-cp wrongly adding LO(symbol) twice

2017-04-25 Thread jan.smets at nokia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80474 --- Comment #4 from Jan Smets --- For the reduced testcase : $ mips64-linux-gnuabi64-gcc --version mips64-linux-gnuabi64-gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406 mips64-linux-gnuabi64-gcc -O2 -fno-reorder-blocks -march=mips2 -fno-inline-sm

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 --- Comment #4 from Paul Eggert --- > main() has an implicit return 0. That's irrelevant to the purpose of the warning. The warning is there to catch the common typo of a function containing a return statement even though it is declared 'noretur

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 --- Comment #5 from Markus Trippelsdorf --- (In reply to Paul Eggert from comment #4) > > main() has an implicit return 0. > > That's irrelevant to the purpose of the warning. The warning is there to > catch the common typo of a function contain

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #9 from Marek Polacek --- I've got a fix for Comment 7. (In reply to Dmitry Babokin from comment #8) > I also see crashes reporting problems with ^ operator. Please provide a complete testcase, I've been unable to reproduce another

[Bug tree-optimization/80218] [6 Regression] tree-call-cdce does not update block frequencies

2017-04-25 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80218 --- Comment #6 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Tue Apr 25 15:02:23 2017 New Revision: 247247 URL: https://gcc.gnu.org/viewcvs?rev=247247&root=gcc&view=rev Log: PR80218: Call CDCE fails to update the block profile tr

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #39 from Jakub Jelinek --- It is an ABI change, so I think it is highly undesirable to backport. It is enough that people will have to rebuild many packages built by GCC 7 prereleases, if it is backported, they would have to rebuild

[Bug target/80482] [7/8 Regression] vec_mul produces compilation error if 1 of its parms is const or volatile

2017-04-25 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80482 --- Comment #5 from seurer at gcc dot gnu.org --- Author: seurer Date: Tue Apr 25 15:22:40 2017 New Revision: 247250 URL: https://gcc.gnu.org/viewcvs?rev=247250&root=gcc&view=rev Log: [PATCH, rs6000] pr80482 Relax vector builtin parameter checks

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 --- Comment #6 from Paul Eggert --- > main always return according to the standard No, the C standard does not require 'main' to return. It's perfectly acceptable for 'main' to never return, and many programs are written that way. > what you ar

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #40 from Richard Earnshaw --- (In reply to Jakub Jelinek from comment #39) > It is an ABI change, so I think it is highly undesirable to backport. It is > enough that people will have to rebuild many packages built by GCC 7 > prerele

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 Markus Trippelsdorf changed: What|Removed |Added Status|RESOLVED|NEW Last reconfirmed|

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #41 from Jakub Jelinek --- That is true, but we've got only a single bugreport about this since the 5.2 release (21 months), so it doesn't trigger that often. For static data members the ABI is self-consistent, for some template type

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #42 from Jakub Jelinek --- Oh, and we surely need to document this in gcc-7/changes.html, and I'd think we should make sure to also document the earlier ARM ABI change in gcc-5/changes.html for GCC 5.2 when it has changed and document

[Bug target/80517] [missed optimization] constant propagation through Intel intrinsics

2017-04-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80517 --- Comment #1 from Marc Glisse --- Several of those intrinsics are implemented using vector extensions and constant propagation works fine on those. What seems to be missing here is constant folding of the very specific __builtin_ia32_pmovmskb12

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

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

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 --- Comment #9 from Markus Trippelsdorf --- But for C++: [[noreturn]] int main() { while(true) ; } is warning free in clang++ and icpc.

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #43 from Richard Earnshaw --- Hmm, so how about just inserting the warning in the broken compilers?

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #44 from Jakub Jelinek --- Works for me. That would mean roughly applying the two patches, but instead of doing else if (res < 0) do if (res) (and something similar for aarch64).

[Bug target/80482] [7/8 Regression] vec_mul produces compilation error if 1 of its parms is const or volatile

2017-04-25 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80482 --- Comment #6 from seurer at gcc dot gnu.org --- Author: seurer Date: Tue Apr 25 16:16:13 2017 New Revision: 247256 URL: https://gcc.gnu.org/viewcvs?rev=247256&root=gcc&view=rev Log: [PATCH, rs6000] pr80482 Relax vector builtin parameter checks

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #10 from Marek Polacek --- Author: mpolacek Date: Tue Apr 25 16:39:57 2017 New Revision: 247257 URL: https://gcc.gnu.org/viewcvs?rev=247257&root=gcc&view=rev Log: PR sanitizer/80349 * fold-const.c (fold_binary_loc) :

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #45 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 16:46:34 2017 New Revision: 247258 URL: https://gcc.gnu.org/viewcvs?rev=247258&root=gcc&view=rev Log: PR target/77728 * config/arm/arm.c: Include gimple.h.

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #46 from Jakub Jelinek --- Author: jakub Date: Tue Apr 25 16:47:32 2017 New Revision: 247259 URL: https://gcc.gnu.org/viewcvs?rev=247259&root=gcc&view=rev Log: PR target/77728 * config/arm/arm.c: Include gimple.h.

[Bug target/77728] [5/6 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Jakub Jelinek changed: What|Removed |Added Summary|[5/6/7/8 Regression]|[5/6 Regression] |Misc

[Bug target/80482] [7/8 Regression] vec_mul produces compilation error if 1 of its parms is const or volatile

2017-04-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80482 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/77728] [5/6 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread yyc1992 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #48 from Yichao Yu --- Thanks for fixing this. I didn't follow all the comments since I'm not familiar with the C++ ABI so just to make sure I understand what's happening is it that the bug is caused by a inconsistency in C++ ABI for

[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

2017-04-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515 --- Comment #10 from Markus Trippelsdorf --- See also https://cplusplus.github.io/EWG/ewg-active.html#162

[Bug c++/80518] New: -Wsuggest-override does not warn about missing override on destructor

2017-04-25 Thread arnaud02 at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80518 Bug ID: 80518 Summary: -Wsuggest-override does not warn about missing override on destructor Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #11 from Marek Polacek --- Author: mpolacek Date: Tue Apr 25 17:02:27 2017 New Revision: 247260 URL: https://gcc.gnu.org/viewcvs?rev=247260&root=gcc&view=rev Log: PR sanitizer/80349 * fold-const.c (fold_binary_loc) :

[Bug target/77728] [5/6 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #49 from rguenther at suse dot de --- On April 25, 2017 5:20:29 PM GMT+02:00, "jakub at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 > >--- Comment #39 from Jakub Jelinek --- >It is an ABI change, so I

[Bug bootstrap/80486] spurious -Walloc-size-larger-than and -Wstringop-overflow in dominance.c during profiledbootstrap

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80486 --- Comment #2 from Martin Sebor --- Author: msebor Date: Tue Apr 25 17:18:39 2017 New Revision: 247261 URL: https://gcc.gnu.org/viewcvs?rev=247261&root=gcc&view=rev Log: PR bootstrap/80486 - spurious -Walloc-size-larger-than and -Wstringop-over

[Bug bootstrap/80486] spurious -Walloc-size-larger-than and -Wstringop-overflow in dominance.c during profiledbootstrap

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80486 Martin Sebor changed: What|Removed |Added Keywords||patch Status|UNCONFIRMED

[Bug bootstrap/80486] spurious -Walloc-size-larger-than and -Wstringop-overflow in dominance.c during profiledbootstrap

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80486 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/77728] [5/6 Regression] Miscompilation multiple vector iteration on ARM

2017-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #50 from Jonathan Wakely --- (In reply to ktkachov from comment #3) > Started with r225465. > Something to do with alignment. > I wonder if it's related to PR69841 ? Seems to be the same. Maybe PR 80149 too?

[Bug c++/80518] -Wsuggest-override does not warn about missing override on destructor

2017-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80518 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from Jonatha

[Bug c++/78010] --Wsuggest-override reports a redundant warning on a 'final' method

2017-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010 --- Comment #2 from Jonathan Wakely --- https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rh-override says that virtual functions should use exactly one of virtual, override or final. Which agrees with the suggestion to

[Bug tree-optimization/80497] ICE at -O1 and above on valid code on x86_64-linux-gnu in "tree_to_uhwi"

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80497 --- Comment #3 from Martin Sebor --- Author: msebor Date: Tue Apr 25 17:40:58 2017 New Revision: 247262 URL: https://gcc.gnu.org/viewcvs?rev=247262&root=gcc&view=rev Log: PR tree-optimization/80497 - ICE at -O1 and above on valid code on x86_64-

[Bug target/70799] STV pass does not convert DImode shifts

2017-04-25 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70799 --- Comment #10 from uros at gcc dot gnu.org --- Author: uros Date: Tue Apr 25 17:45:22 2017 New Revision: 247263 URL: https://gcc.gnu.org/viewcvs?rev=247263&root=gcc&view=rev Log: PR target/70799 * config/i386/i386.c (dimode_scal

[Bug tree-optimization/79824] [7 Regression] Failure to peel for gaps leads to read beyond mapped memory

2017-04-25 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79824 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED Resolutio

[Bug target/70799] STV pass does not convert DImode shifts

2017-04-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70799 Uroš Bizjak changed: What|Removed |Added Target||x86 Status|ASSIGNED

[Bug tree-optimization/80497] ICE at -O1 and above on valid code on x86_64-linux-gnu in "tree_to_uhwi"

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80497 --- Comment #4 from Martin Sebor --- Author: msebor Date: Tue Apr 25 17:58:32 2017 New Revision: 247264 URL: https://gcc.gnu.org/viewcvs?rev=247264&root=gcc&view=rev Log: PR tree-optimization/80497 - ICE at -O1 and above on valid code on x86_64-

[Bug tree-optimization/80497] ICE at -O1 and above on valid code on x86_64-linux-gnu in "tree_to_uhwi"

2017-04-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80497 Martin Sebor changed: What|Removed |Added Keywords||patch Status|ASSIGNED

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-25 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #12 from Dmitry Babokin --- int var; long a; long foo() { int i = !(1 & 808U ^ 1 & var) >> 0; long l = 0 % ((a & 1) != (3053241240409UL & 1)); return i+l; }

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #13 from Marek Polacek --- Thanks, reproduced, will look into it.

[Bug c++/80518] -Wsuggest-override does not warn about missing override on destructor

2017-04-25 Thread arnaud02 at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80518 --- Comment #2 from Arnaud Desitter --- Interesting. Shame that there is no rationale. I suppose that "-Wsuggest-override=2" could warn about "override" missing for destructor.

  1   2   >