[Bug fortran/46539] libquadmath: Add -static-libquadmath

2020-02-01 Thread andrew at blamsoft dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46539 Andrew B changed: What|Removed |Added CC||andrew at blamsoft dot com --- Comment #6 fro

[Bug tree-optimization/93540] Attributes pure and const not working with aggregate return types, even trivial ones

2020-02-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93540 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Component|c

[Bug c/93540] New: Attributes pure and const not working with aggregate return types, even trivial ones

2020-02-01 Thread pskocik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93540 Bug ID: 93540 Summary: Attributes pure and const not working with aggregate return types, even trivial ones Product: gcc Version: 9.2.0 Status: UNCONFIRMED Seve

[Bug tree-optimization/93539] New: memmove over self with result of string function not eliminated

2020-02-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93539 Bug ID: 93539 Summary: memmove over self with result of string function not eliminated Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/93538] equality of address of first member to address to enclosing object not folded

2020-02-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93538 --- Comment #2 from Martin Sebor --- A better (well-defined) test case involves memmove: $ cat a.c && gcc -O2 -S -Wall -fdump-tree-optimized=/dev/stdout -o/dev/stdout a.c struct A { char a[3]; }; void f (struct A *a) { void *p = a; void *q

[Bug tree-optimization/93538] equality of address of first member to address to enclosing object not folded

2020-02-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93538 --- Comment #1 from Martin Sebor --- (I noticed this while testing my fix for bug 93519.) Here's a (strictly undefined) test case involving memcpy where the lack of folding it prevents the call from being eliminated (it is ultimately eliminated

[Bug tree-optimization/93538] New: equality of address of first member to address to enclosing object not folded

2020-02-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93538 Bug ID: 93538 Summary: equality of address of first member to address to enclosing object not folded Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: no

[Bug c/93537] gcc 9.2 takes a Segmentation Violation when attached file is compiled

2020-02-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93537 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRME

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-01 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #130 from dave.anglin at bell dot net --- On 2020-02-01 5:12 p.m., peter.bisroev at groundlabs dot com wrote: > At this point I have noticed that the objdump could not be executed while > running tests. Adding binutils-2.32 that I have

[Bug fortran/93365] KIND inquiry and zero-sized array generates wrong code

2020-02-01 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93365 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Status|RESOLVED

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-01 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #129 from Peter Bisroev --- (In reply to dave.anglin from comment #127) > On 2020-01-25 9:16 p.m., peter.bisroev at groundlabs dot com wrote: > > As can be seen above, stage1 binaries are just under 9 times the size of > > final > >

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-01 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #128 from Peter Bisroev --- (In reply to dave.anglin from comment #125) > On 2020-01-25 7:59 p.m., peter.bisroev at groundlabs dot com wrote: > > Please let me know what you would like me to try next. > Let's look at testsuite log in

[Bug c/93537] New: gcc 9.2 takes a Segmentation Violation when compiled file

2020-02-01 Thread bob.huemmer at sas dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93537 Bug ID: 93537 Summary: gcc 9.2 takes a Segmentation Violation when compiled file Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Prio

[Bug middle-end/93195] -fpatchable-function-entries : __patchable_function_entries should consider comdat groups

2020-02-01 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93195 --- Comment #1 from Fangrui Song --- This is similar to --gc-sections (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93536) but a bit different. The only reasonable fix I can think of is to place __patchable_function_entries in the same section g

[Bug middle-end/93536] -fpatchable-function-entries doesn't work with --gc-sections

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

[Bug middle-end/93536] New: -fpatchable-function-entries doesn't work with --gc-sections

2020-02-01 Thread hjl.tools at gmail dot com
__patchable_function_entries .align 8 .quad .LPFE2 .section.text._start .LPFE2: nop .LFB3: ret .cfi_endproc .LFE3: .size _start, .-_start .ident "GCC: (GNU) 10.0.1 20200201 (experimental)" .section

[Bug middle-end/93197] -fpatchable-function-entries : __patchable_function_entries does not survive under --gc-sections

2020-02-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93197 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED URL|

[Bug target/93492] Broken code with -fpatchable-function-entry and -fcf-protection=full

2020-02-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 --- Comment #10 from H.J. Lu --- (In reply to H.J. Lu from comment #9) > > > (A more concerning issue is that __patchable_function_entries can be > > stripped by -Wl,--gc-sections , as the bug I linked above describes) > > I opened: > > https:

[Bug rtl-optimization/91333] [9/10 Regression] suboptimal register allocation for inline asm

2020-02-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91333 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #

[Bug c++/91218] internal compiler error: Segmentation fault compiling concepts and constraints

2020-02-01 Thread ragobria at msu dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91218 Brian Rago changed: What|Removed |Added CC||ragobria at msu dot edu --- Comment #2 from

[Bug target/93535] New: slow float/double simple constant folding with -Ofast

2020-02-01 Thread hehaochen at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93535 Bug ID: 93535 Summary: slow float/double simple constant folding with -Ofast Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug libgomp/92844] [10 regression] libgomp.fortran/use_device_ptr-optional-2.f90 fails after r279004

2020-02-01 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92844 --- Comment #2 from Tobias Burnus --- (In reply to Tobias Burnus from comment #1) > I think that is or could be a duplicate of PR 92305 PR92305 has been fixed. Can you re-check whether the issue of this PR still occurs? At least when trying it

[Bug target/93492] Broken code with -fpatchable-function-entry and -fcf-protection=full

2020-02-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 --- Comment #9 from H.J. Lu --- (In reply to Fangrui Song from comment #7) > > Is -fasynchronous-unwind-tables compatible with -fpatchable-function-entry? > > Apparently the Linux kernel does not care about it. To make it usable in > userspace,

[Bug target/93492] Broken code with -fpatchable-function-entry and -fcf-protection=full

2020-02-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 H.J. Lu changed: What|Removed |Added Attachment #47760|0 |1 is obsolete|

[Bug target/91824] unnecessary sign-extension after _mm_movemask_epi8 or __builtin_popcount

2020-02-01 Thread vanyacpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91824 --- Comment #7 from Ivan Sorokin --- (In reply to Jakub Jelinek from comment #6) > Fixed. Thank you!

[Bug c++/93534] New: Overloading of Variadic function templates are not be ambiguous

2020-02-01 Thread merukun1125 at docomo dot ne.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93534 Bug ID: 93534 Summary: Overloading of Variadic function templates are not be ambiguous Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug target/93533] [10 Regression] ICE due to popcounthi2 expansion with -march=z196 since r10-3720

2020-02-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93533 --- Comment #2 from Jakub Jelinek --- Created attachment 47761 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47761&action=edit gcc10-pr93533.patch Full untested patch.

[Bug target/93533] [10 Regression] ICE due to popcounthi2 expansion with -march=z196 since r10-3720

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

[Bug target/93533] New: [10 Regression] ICE due to popcounthi2 expansion with -march=z196 since r10-3720

2020-02-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93533 Bug ID: 93533 Summary: [10 Regression] ICE due to popcounthi2 expansion with -march=z196 since r10-3720 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug fortran/92305] [10 regression] libgomp.fortran/use_device_addr-1.f90 fails starting with r277606

2020-02-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92305 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/92305] [10 regression] libgomp.fortran/use_device_addr-1.f90 fails starting with r277606

2020-02-01 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92305 --- Comment #19 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:add31061ec23e07fdf749dc335308efc81151a3d commit r10-6393-gadd31061ec23e07fdf749dc335308efc81151a3d Author: Jakub Jelinek Date: S