[Bug c/39117] missed strict-aliasing warning

2018-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39117 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/39322] Missed aliasing warning

2018-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39322 Bug 39322 depends on bug 39117, which changed state. Bug 39117 Summary: missed strict-aliasing warning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39117 What|Removed |Added -

[Bug c++/86669] New: [5/6/7/8/9 regression] Complete object constructor clone omits length for a c++11 braced initialiser

2018-07-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86669 Bug ID: 86669 Summary: [5/6/7/8/9 regression] Complete object constructor clone omits length for a c++11 braced initialiser Product: gcc Version: 9.0 Status: UNCONFIRMED

[Bug lto/86654] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933

2018-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86654 --- Comment #12 from Richard Biener --- (In reply to Richard Biener from comment #11) > OK, so patch at least regresses > > FAIL: g++.dg/debug/dwarf2/lambda1.C -std=gnu++11 scan-assembler-times > DW_TAG_variable[^.]*.ascii "this.0" 2 > FAIL: g

[Bug c/86668] mixing ansi prototype with K&R definition

2018-07-25 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86668 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/79635] Explain to translators what "asan" means

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79635 --- Comment #5 from Martin Liška --- Author: marxin Date: Wed Jul 25 08:02:53 2018 New Revision: 262959 URL: https://gcc.gnu.org/viewcvs?rev=262959&root=gcc&view=rev Log: Explain asan parameters in params.def (PR sanitizer/79635). 2018-07-25 M

[Bug middle-end/86645] [9 Regression] UBSAN error: tree-cfg.c:7874:26: runtime error: load of value 4293224825, which is not a valid value for type 'dump_flag'

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86645 --- Comment #2 from Martin Liška --- Author: marxin Date: Wed Jul 25 08:04:15 2018 New Revision: 262960 URL: https://gcc.gnu.org/viewcvs?rev=262960&root=gcc&view=rev Log: Limit dump_flag enum values range (PR middle-end/86645). 2018-07-25 Mart

[Bug sanitizer/79635] Explain to translators what "asan" means

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79635 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug objc/80798] Dynamic stack buffer (alloca) overflow in ObjC compiler.

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80798 --- Comment #5 from Martin Liška --- Thanks Max.

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

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 86645, which changed state. Bug 86645 Summary: [9 Regression] UBSAN error: tree-cfg.c:7874:26: runtime error: load of value 4293224825, which is not a valid value for type 'dump_flag' https://gcc.gnu.org/bugzilla/show_bug

[Bug middle-end/86645] [9 Regression] UBSAN error: tree-cfg.c:7874:26: runtime error: load of value 4293224825, which is not a valid value for type 'dump_flag'

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86645 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug gcov-profile/84758] Wrong coverage for quite simple CFG

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84758 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #1 from Martin Liška

[Bug gcov-profile/83813] [GCOV] unsigned char in a union lead to incorrect coverage in gcov

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83813 --- Comment #2 from Martin Liška --- I've got patch candidate for that.

[Bug c++/84589] Failure to diagnose conflicting declaration of struct

2018-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84589 --- Comment #3 from Jonathan Wakely --- *** Bug 86665 has been marked as a duplicate of this bug. ***

[Bug c++/86665] declaration conflicts with target of using declaration already in scope

2018-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86665 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/60330] Licensed an unlicensed file

2018-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60330 --- Comment #2 from Jonathan Wakely --- I think this can just be closed as INVALID.

[Bug other/60330] Licensed an unlicensed file

2018-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60330 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/86661] [9 Regression] g++ ICE:tree check: expected tree that contains ‘decl minimal’ structure, have ‘overload’ in note_name_declared_in_class, at cp/class.c:8288

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86661 Martin Liška changed: What|Removed |Added Last reconfirmed||2018-7-25 CC|

[Bug c++/86663] g++ ICE with -std=c++11: internal compiler error: Segmentation fault

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

[Bug fortran/86667] [7/8/9 Regression] can no longer traverse environment table

2018-07-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86667 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug c++/86669] [6/7/8/9 regression] Complete object constructor clone omits length for a c++11 braced initialiser

2018-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86669 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug target/82005] Early lto debug not implemented on Darwin

2018-07-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82005 --- Comment #43 from Iain Sandoe --- (In reply to Richard Biener from comment #42) > (In reply to Iain Sandoe from comment #40) > > Created attachment 44417 [details] > > Patch series to enable copying of early debug data. < snip> (not ignoring

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

2018-07-25 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 86618, which changed state. Bug 86618 Summary: tree-vect-stmts.c:3340: ubsan error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86618 What|Removed |Added

[Bug gcov-profile/85367] [GCOV] A call to the _subborrow_u64 builtin-function is wrongly marked as executed twice

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85367 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/86618] tree-vect-stmts.c:3340: ubsan error

2018-07-25 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86618 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolutio

[Bug tree-optimization/86644] [9 Regression] UBSAN error: tree-vect-patterns.c:225:17: runtime error: shift exponent 64 is too large for 32-bit type 'int'

2018-07-25 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86644 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolutio

[Bug gcov-profile/85178] [GCOV] for(;;) statement is wrongly marked as not executed when there is a int array in its body in Gcov

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85178 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2018-07-25 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 86644, which changed state. Bug 86644 Summary: [9 Regression] UBSAN error: tree-vect-patterns.c:225:17: runtime error: shift exponent 64 is too large for 32-bit type 'int' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8664

[Bug c/86667] [7/8/9 Regression] can no longer traverse environment table

2018-07-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86667 Dominique d'Humieres changed: What|Removed |Added Component|fortran |c --- Comment #4 from Dominique d

[Bug rtl-optimization/80818] LRA clobbers live hard reg clobbered during rematerialization

2018-07-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80818 Andreas Krebbel changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug lto/86654] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86654 --- Comment #13 from Martin Liška --- Just for record, building Firefox w/ GCC 8.1 w/o LTO produces: VM SIZE FILE SIZE -- -- 0.0% 0 .debug_info 978Mi 48.5% 0.

[Bug libstdc++/86655] std::assoc_legendre should not constrain the value of m

2018-07-25 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86655 --- Comment #2 from Matthias Kretz --- http://eel.is/c++draft/c.math#sf.cmath-1.3 might be the reason why `m <= l` is enforced. But unless I'm confused the footnote on "mathematically defined" tells us it should work: - "(a) if it is explicitly

[Bug fortran/80645] FAIL: gfortran.dg/elemental_subroutine_3.f90 -O1 (test for excess errors)

2018-07-25 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80645 Andreas Schwab changed: What|Removed |Added Target|m68k-*-*, ia64-*-*, |m68k-*-*, ia64-*-*, |

[Bug c/86670] New: unsized static array var is removed but still accessed.

2018-07-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86670 Bug ID: 86670 Summary: unsized static array var is removed but still accessed. Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority

[Bug gcov-profile/85338] [GCOV] Type conversion leads to incorrect coverage in printf

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85338 --- Comment #1 from Martin Liška --- I've got patch candidate for that.

[Bug testsuite/86671] New: Many testsuite failures due to -latomic not found

2018-07-25 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86671 Bug ID: 86671 Summary: Many testsuite failures due to -latomic not found Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug gcov-profile/85350] [GCOV] wrong coverage when using constant variable in struct declaration

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85350 --- Comment #1 from Martin Liška --- I've got patch candidate for that.

[Bug gcov-profile/85372] [GCOV] Wrong coverage with setjmp and longjmp function

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85372 --- Comment #1 from Martin Liška --- I've got patch for that.

[Bug target/82005] Early lto debug not implemented on Darwin

2018-07-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82005 --- Comment #44 from rguenther at suse dot de --- On Wed, 25 Jul 2018, iains at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82005 > > --- Comment #43 from Iain Sandoe --- > (In reply to Richard Biener from comment #42

[Bug lto/86654] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933

2018-07-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86654 --- Comment #14 from rguenther at suse dot de --- On Wed, 25 Jul 2018, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86654 > > --- Comment #13 from Martin Liška --- > Just for record, building Firefox w/ GCC 8

[Bug target/82005] Early lto debug not implemented on Darwin

2018-07-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82005 --- Comment #45 from Iain Sandoe --- (In reply to rguent...@suse.de from comment #44) > On Wed, 25 Jul 2018, iains at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82005 > > > > --- Comment #43 from Iain Sandoe ---

[Bug other/60330] Licensed an unlicensed file

2018-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60330 --- Comment #4 from Jonathan Wakely --- https://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices "You should maintain a proper copyright notice and a license notice in each nontrivial file in the package. (Any file more than ten lines l

[Bug gcov-profile/85351] [GCOV] Wrong coverage with exit() executed in a if statement within a called function

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85351 Martin Liška changed: What|Removed |Added Priority|P3 |P5 Assignee|marxin at gcc dot g

[Bug testsuite/86660] libgomp.c++/for-15.C ICEs with nvptx offloading

2018-07-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660 --- Comment #2 from Jakub Jelinek --- Created attachment 44437 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44437&action=edit gcc9-pr86660.patch Untested patch. Does this fix it?

[Bug testsuite/86660] libgomp.c++/for-15.C ICEs with nvptx offloading

2018-07-25 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660 --- Comment #3 from Tom de Vries --- (In reply to Jakub Jelinek from comment #2) > Created attachment 44437 [details] > gcc9-pr86660.patch > > Untested patch. Does this fix it? I'll try it out.

[Bug c/86670] unsized static array var is removed but still accessed.

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

[Bug gcov-profile/85370] [GCOV] Wrong coverage with the target_clones attribute

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85370 --- Comment #1 from Martin Liška --- I've got patch candidate for that prints following: -:0:Source:pr85370.c -:0:Graph:pr85370.gcno -:0:Data:pr85370.gcda -:0:Runs:1 -:0:Programs:1

[Bug gcov-profile/85337] [GCOV] inconsistent coverage in switch-case statement

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85337 Martin Liška changed: What|Removed |Added Priority|P3 |P5 Status|ASSIGNED

[Bug gcov-profile/85332] [GCOV] wrong coverage with do-while in switch-case statement

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85332 --- Comment #1 from Martin Liška --- I've got patch candidate for that.

[Bug gcov-profile/83505] [GCOV] a pointer assignment before a dead return statment lead to incorrect coverage in gcov

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83505 Martin Liška changed: What|Removed |Added Priority|P3 |P5 Assignee|marxin at gcc dot g

[Bug gcov-profile/83678] [GCOV] a pointer assignment before a break statment lead to incorrect coverage in gcov

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83678 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug gcov-profile/85197] [GCOV] The main function is wrongly marked as executed twice in gcov

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85197 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug gcov-profile/85349] [GCOV] struct varaible definition in while(1) will cause incorrect coverage

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85349 Martin Liška changed: What|Removed |Added Priority|P3 |P5 Status|ASSIGNED

[Bug testsuite/86660] libgomp.c++/for-15.C ICEs with nvptx offloading

2018-07-25 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660 --- Comment #4 from Tom de Vries --- (In reply to Tom de Vries from comment #3) > (In reply to Jakub Jelinek from comment #2) > > Created attachment 44437 [details] > > gcc9-pr86660.patch > > > > Untested patch. Does this fix it? > > I'll try

[Bug gcov-profile/85276] [GCOV] A comparative statement with '=', '&&' , '||', and '==' operators is wrongly marked as executed twice in gcov

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85276 Martin Liška changed: What|Removed |Added Priority|P3 |P5 Status|ASSIGNED

[Bug gcov-profile/85217] [GCOV] A no side effect statement between a break statement and a continue statement will lead to incorrect code coverage in gcov

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85217 --- Comment #2 from Martin Liška --- I've got patch candidate for that.

[Bug gcov-profile/85201] [GCOV] A statement with two && operators and a comma operator in the for loop body is wrongly marked in gcov

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85201 Martin Liška changed: What|Removed |Added Priority|P3 |P5 Status|ASSIGNED

[Bug testsuite/86660] libgomp.c++/for-15.C ICEs with nvptx offloading

2018-07-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660 --- Comment #5 from Jakub Jelinek --- So a nvptx backend bug? Does ptxas require only decimal constants and not hexadecimal, or require 64-bit load from something that needs to be initialized with 64-bit initializer rather than series of bytes, s

[Bug gcov-profile/85336] [GCOV] wrong coverage for builtin functions and "||" logic operators in return statement

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85336 Martin Liška changed: What|Removed |Added Priority|P3 |P4 Status|ASSIGNED

[Bug testsuite/86660] libgomp.c++/for-15.C ICEs with nvptx offloading

2018-07-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660 --- Comment #6 from Jakub Jelinek --- LLSDA labels are for EH support, this testcase doesn't really use exceptions in any way, but it isn't compiled with -fno-exceptions; but that is the case of most of the C++ tests in libgomp (I see only 6 Open

[Bug c++/86672] New: Facing issue with gcc-4.9.0 while using with llvm-6.0.1

2018-07-25 Thread abinaya.manikandan at wipro dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86672 Bug ID: 86672 Summary: Facing issue with gcc-4.9.0 while using with llvm-6.0.1 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priori

[Bug ada/86659] [9 regression] gnat.dg/sso/q[23].adb FAIL

2018-07-25 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86659 --- Comment #1 from ro at CeBiTec dot Uni-Bielefeld.DE --- A reghunt now identified this patch as the culprit: 2018-07-24 Richard Biener * match.pd: Add BIT_FIELD_REF canonicalizations. Comparing the assembler output, I find --- /v

[Bug c++/86672] Facing issue with gcc-4.9.0 while using with llvm-6.0.1

2018-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86672 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug lto/86654] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933

2018-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86654 --- Comment #15 from Richard Biener --- Author: rguenth Date: Wed Jul 25 12:10:13 2018 New Revision: 262965 URL: https://gcc.gnu.org/viewcvs?rev=262965&root=gcc&view=rev Log: 2018-07-25 Richard Biener PR debug/86654 * dwarf2o

[Bug target/86673] New: inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 Bug ID: 86673 Summary: inline asm sometimes ignores 'register asm("reg")' declarations Product: gcc Version: 8.1.1 Status: UNCONFIRMED Severity: normal

[Bug target/86651] [8/9 Regression] lto-wrapper.exe: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument

2018-07-25 Thread jwjagersma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86651 --- Comment #4 from jwjagersma at gmail dot com --- Created attachment 44439 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44439&action=edit Proposed patch I cloned the fix that was applied to cygwin/mingw targets in SVN r259347. There did

[Bug lto/86654] [9 Regression] ICE in gen_member_die, at dwarf2out.c:24933

2018-07-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86654 --- Comment #16 from Martin Liška --- (In reply to Martin Liška from comment #13) > Just for record, building Firefox w/ GCC 8.1 w/o LTO produces: > > VM SIZE FILE SIZE > -- --

[Bug testsuite/86660] libgomp.c++/for-15.C ICEs with nvptx offloading

2018-07-25 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660 --- Comment #7 from Tom de Vries --- (In reply to Jakub Jelinek from comment #6) > LLSDA labels are for EH support, this testcase doesn't really use exceptions > in any way, but it isn't compiled with -fno-exceptions; but that is the case > of mo

[Bug target/86673] inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 --- Comment #1 from Arnd Bergmann --- Further inspection shows that this happens for the cases where the input argument to the inline asm is a compile-time constant, but not for those that are variables.

[Bug target/86651] [8/9 Regression] lto-wrapper.exe: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument

2018-07-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86651 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/86673] inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 Arnd Bergmann changed: What|Removed |Added CC||mkuvyrkov at gcc dot gnu.org --- Comment

[Bug target/86651] [8/9 Regression] lto-wrapper.exe: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument

2018-07-25 Thread jwjagersma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86651 --- Comment #6 from jwjagersma at gmail dot com --- (In reply to Richard Biener from comment #5) After building a more complex program with the above patch (applied to gcc 8.1.0 release sources), this ICE appears during linking: lto1.exe: intern

[Bug c/86667] [7/8/9 Regression] can no longer traverse environment table

2018-07-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86667 --- Comment #5 from Dominique d'Humieres --- The test works as expected if I replace *ep=*ep++; with *ep++; in the C file.

[Bug target/86673] [8/9 regression] inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 Ramana Radhakrishnan changed: What|Removed |Added Target||arm-none-linux-gnueabi ,

[Bug target/86673] [8/9 regression] inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 --- Comment #4 from Andreas Schwab --- Why are you using empty constraints when a register is required?

[Bug c/86667] [7/8/9 Regression] can no longer traverse environment table

2018-07-25 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86667 Andreas Schwab changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/86673] [8/9 regression] inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 --- Comment #5 from Arnd Bergmann --- (In reply to Andreas Schwab from comment #4) > Why are you using empty constraints when a register is required? creduce did that, it had no effect on the result. The original source looks like: #define __ge

[Bug target/86651] [8/9 Regression] lto-wrapper.exe: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument

2018-07-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86651 --- Comment #7 from rguenther at suse dot de --- On Wed, 25 Jul 2018, jwjagersma at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86651 > > --- Comment #6 from jwjagersma at gmail dot com --- > (In reply to Richard Biener

[Bug fortran/86599] Problems building libgfortran from 7.2.0 on HP-UX 11.31/PA

2018-07-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86599 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/86672] Facing issue with gcc-4.9.0 while using with llvm-6.0.1

2018-07-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86672 --- Comment #2 from Jonathan Wakely --- What possible reason could you have to use gcc-4.9.0 instead of gcc-4.9.4? Anyway this seems to be a duplicate of PR 66426 which is fixed in gcc-5

[Bug fortran/86599] Problems building libgfortran from 7.2.0 on HP-UX 11.31/PA

2018-07-25 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86599 --- Comment #7 from The Written Word --- (In reply to Dominique d'Humieres from comment #6) > This looks like a target issue. Have you ever build gcc on HP-UX 11.31/PA? Definitely a target issue. With some patches I can build gcc 4.x on 11.31/P

[Bug pch/86674] New: -W(no)-error=invalid-pch does not affect incorrect language warning

2018-07-25 Thread jwyatt at feralinteractive dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86674 Bug ID: 86674 Summary: -W(no)-error=invalid-pch does not affect incorrect language warning Product: gcc Version: 8.1.1 Status: UNCONFIRMED Severity: normal

[Bug target/86673] [8/9 regression] inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 --- Comment #6 from Thomas Preud'homme --- The following simpler testcase also shows the problem: void fn1() { register const int h asm("r2") = 1; __asm__(".ifnc %0,r2; .err; .endif\n\t" "bl __put_user_4" :: "r"(h)); }

[Bug target/86673] [8/9 regression] inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 --- Comment #7 from Thomas Preud'homme --- (In reply to Thomas Preud'homme from comment #6) > The following simpler testcase also shows the problem: > > void fn1() { > register const int h asm("r2") = 1; > __asm__(".ifnc %0,r2; .err; .endif\

[Bug target/86673] [8/9 regression] inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 --- Comment #8 from Thomas Preud'homme --- (In reply to Thomas Preud'homme from comment #7) > (In reply to Thomas Preud'homme from comment #6) > > The following simpler testcase also shows the problem: > > > > void fn1() { > > register const i

[Bug target/86673] [8/9 regression] inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 --- Comment #9 from Arnd Bergmann --- Reproduced on arm64 and x86 as well, see x86 version: void fn1() { register const int h asm("edx") = 1; __asm__(".ifnc %0,edx; .err; .endif" :: "r"(h)); }

[Bug target/86673] [8/9 regression] inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comm

[Bug testsuite/86660] libgomp.c++/for-15.C ICEs with nvptx offloading

2018-07-25 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660 --- Comment #8 from Tom de Vries --- (In reply to Tom de Vries from comment #7) > (In reply to Jakub Jelinek from comment #6) > > LLSDA labels are for EH support, this testcase doesn't really use exceptions > > in any way, but it isn't compiled w

[Bug testsuite/86660] libgomp.c++/for-15.C ICEs with nvptx offloading

2018-07-25 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660 --- Comment #9 from cesar at gcc dot gnu.org --- (In reply to Tom de Vries from comment #8) > Hmm, for me that minimizes to: > ... > extern "C" void abort (); > > #pragma omp declare target > int results[2000]; > #pragma omp end declare target >

[Bug debug/86675] New: C++ lambdas are not debugable with -std=c++17 (or above) and -Og

2018-07-25 Thread bernd.amend at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86675 Bug ID: 86675 Summary: C++ lambdas are not debugable with -std=c++17 (or above) and -Og Product: gcc Version: 8.1.1 Status: UNCONFIRMED Severity: normal

[Bug debug/86675] C++ lambdas are not debugable with -std=c++17 (or above) and -Og

2018-07-25 Thread bernd.amend at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86675 --- Comment #1 from Bernd Amend --- Created attachment 1 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=1&action=edit Script to test the compiler with different command line args

[Bug testsuite/86660] libgomp.c++/for-15.C ICEs with nvptx offloading

2018-07-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660 --- Comment #10 from Jakub Jelinek --- Indeed, lowering ignores map clauses for declare target to global vars, but it can do that only if always is not present. Will have a look.

[Bug c/86670] unsized static array var is removed but still accessed.

2018-07-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86670 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/19315] document undocumented extension that allows code where variable is not emitted in the asm

2018-07-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19315 Andrew Pinski changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #6

[Bug target/86651] [8/9 Regression] lto-wrapper.exe: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument

2018-07-25 Thread jwjagersma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86651 --- Comment #8 from jwjagersma at gmail dot com --- (In reply to rguent...@suse.de from comment #7) > There are latent bugs that now affect darwin, mingw and djgpp (after your > patch) by default when compiling with -g0 and linking with -g > (whic

[Bug target/86673] [8/9 regression] inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 --- Comment #11 from Arnd Bergmann --- I have checked all instances of 'register const' or 'const register' in the current linux kernel (4.18-rc), and we never assign a constant expression to any of them, so I guess none of them are affected: ar

[Bug c/19315] document undocumented extension that allows code where variable is not emitted in the asm

2018-07-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19315 --- Comment #7 from Iain Sandoe --- IMHO (as you say in c#3) this is "surprising behaviour" * if there's any case you'd want it - then maybe you should have to ask for it. (so if it's intentional it should be behind some flag?) * it ought

[Bug target/86673] [8/9 regression] inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 --- Comment #12 from Andreas Schwab --- arch/h8300/kernel/sim-console.c:register const int fd __asm__("er0") = 1; /* stdout */

[Bug target/86651] [8/9 Regression] lto-wrapper.exe: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument

2018-07-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86651 --- Comment #9 from rguenther at suse dot de --- On July 25, 2018 5:21:38 PM GMT+02:00, jwjagersma at gmail dot com wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86651 > >--- Comment #8 from jwjagersma at gmail dot com --- >(In reply to r

[Bug target/86673] [8/9 regression] inline asm sometimes ignores 'register asm("reg")' declarations

2018-07-25 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673 --- Comment #13 from Arnd Bergmann --- (In reply to Andreas Schwab from comment #12) > arch/h8300/kernel/sim-console.c: register const int fd __asm__("er0") = > 1; I found that too, and then noticed it is already fixed in linux-next: http

  1   2   >