[Bug c++/98441] [11 Regression] member function pointer incorrectly parsed as having trailing return type

2020-12-29 Thread daniel.santos at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98441 --- Comment #6 from Daniel Santos --- (In reply to Jonathan Wakely from comment #5) > That's why you're asked to provide the output of 'gcc -v' by the > instructions at https://gcc.gnu.org/bugs/ (because we can't guess that your > 10.2.0 is

[Bug c++/98441] [11 Regression] member function pointer incorrectly parsed as having trailing return type

2020-12-29 Thread daniel.santos at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98441 --- Comment #4 from Daniel Santos --- Created attachment 49850 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49850=edit Gentoo gcc 10.2.0-r2 patches (In reply to Jonathan Wakely from comment #3) > (In reply to Daniel Santos from comment

[Bug c++/98441] member function pointer incorrectly parsed as having trailing return type

2020-12-24 Thread daniel.santos at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98441 --- Comment #1 from Daniel Santos --- Also, I build gcc with: -O42 -ffast-math -ffuzzy-dice -felide-function-bodies -pipe-clogged but that shouldn't make a difference.

[Bug c++/98441] New: member function pointer incorrectly parsed as having trailing return type

2020-12-24 Thread daniel.santos at pobox dot com via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- When declaring pointer to a member function pointer using atuo& as the function's return type, we get a bad parse: st

[Bug go/68931] gccgo fails to build using MUSL libc

2020-10-17 Thread daniel.santos at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68931 --- Comment #5 from Daniel Santos --- Created attachment 49393 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49393=edit Patch for musl compatibility The root problem is that musl defines off64_t and loff_t as preprocessor macros. These

[Bug go/68931] gccgo fails to build using MUSL libc

2020-10-17 Thread daniel.santos at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68931 Daniel Santos changed: What|Removed |Added CC||daniel.santos at pobox dot com

[Bug lto/93772] ICE in cgraph.c with lto when symbol not defined

2020-02-16 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93772 --- Comment #2 from Daniel Santos --- (In reply to Andrew Pinski from comment #1) > See https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction on how to reduce > the sources down to something which you might be able to share with us. Hello

[Bug lto/93772] New: ICE in cgraph.c with lto when symbol not defined

2020-02-16 Thread daniel.santos at pobox dot com
: lto Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com CC: marxin at gcc dot gnu.org Target Milestone: --- I'm getting an ICE when I try to link while a symbol is used but not defined. Unfortunately, the project is closed source

[Bug target/88617] ICE in ix86_compute_frame_layout, at config/i386/i386.c:11238 since r248029

2019-08-27 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88617 --- Comment #3 from Daniel Santos --- (In reply to Martin Liška from comment #2) > @Daniel: Can you please take a look? My apologies for missing this one! I'll take a look.

[Bug go/68931] gccgo fails to build using MUSL libc

2019-04-24 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68931 Daniel Santos changed: What|Removed |Added CC||daniel.santos at pobox dot com

[Bug translation/90163] untranslated placeholder in warn_once_call_ms2sysv_xlogues

2019-04-19 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90163 --- Comment #2 from Daniel Santos --- Yes, this is mine. Does this only become untranslatable when feature is "static call chains"? iiuc, static call chains are only used with nested functions (a GNU C extension) and closure functions -- is

[Bug driver/81519] Enhancement: Add --help=target-distcc or similar to dump clean, optimal CFLAGS without using -march=native

2018-12-01 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81519 --- Comment #11 from Daniel Santos --- (In reply to Eric Gallager from comment #9) > (In reply to Daniel Santos from comment #7) > > (In reply to Martin Liška from comment #4) > > > Ok, so I've briefly investigated source code and providing such

[Bug target/71958] x86_64-w64-mingw32, ICE when '-mx32' is used

2018-11-23 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71958 --- Comment #8 from Daniel Santos --- Thank you!

[Bug target/71958] x86_64-w64-mingw32, ICE when '-mx32' is used

2018-11-23 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71958 --- Comment #6 from Daniel Santos --- (In reply to Martin Liška from comment #5) > Dansan: Can you please update Known to work? Hi Martin, I don't have bugzilla admin access. I'm actually missing my gcc git repo due to a faulty backup when i

[Bug target/87928] [7/8/9 Regression] ICE in ix86_compute_frame_layout, at config/i386/i386.c:11161 since r228607

2018-11-18 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87928 --- Comment #10 from Daniel Santos --- (In reply to Uroš Bizjak from comment #9) > Fixed everywhere. Thank you Uros, great work! It's an easy mistake to assume that you're "on one system/ABI or another" and forget about function-level

[Bug libgcc/86290] New: Go cross build fails, "with libgcc_s.so.1 [...] not found"

2018-06-23 Thread daniel.santos at pobox dot com
ty: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- Host: x86_64-pc-linux-gnu Target: mipsel-unknown-linux-gnu Created attachment 44313 --> https:

[Bug target/85994] Comparison failure in 64-bit libgcc *_{sav,res}ms64*.o on Solaris/x86

2018-06-22 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85994 --- Comment #11 from Daniel Santos --- Thank you Rainer!

[Bug libgcc/85621] savms/resms have executable stack (lack GNU-stack marking)

2018-05-02 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85621 Daniel Santos changed: What|Removed |Added CC||daniel.santos at pobox dot com

[Bug debug/83917] [8 Regression] with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace

2018-02-28 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83917 --- Comment #9 from Daniel Santos --- You are AWESOME!! :)

[Bug debug/83917] [8 Regression] with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace

2018-02-25 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83917 --- Comment #5 from Daniel Santos --- (In reply to Jakub Jelinek from comment #4) > Patch posted: http://gcc.gnu.org/ml/gcc-patches/2018-02/msg01294.html My apologies on dropping the ball here and thanks for picking it up! :)

[Bug debug/83917] [8 Regression] with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace

2018-01-20 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83917 --- Comment #3 from Daniel Santos --- (In reply to Richard Biener from comment #1) > Testcase would be nice. *sigh* Yes, I've seen that there are tests that run gdb through expect, I haven't learned how to use that yet. (In reply to Jakub

[Bug debug/83917] New: [8 Regression] with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace

2018-01-17 Thread daniel.santos at pobox dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- Target: x86-64-*-* Here is an example. 0x7bc8fd8e 465

[Bug tree-optimization/83784] New: Missed optimization with bitfield

2018-01-10 Thread daniel.santos at pobox dot com
: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- Created attachment 43095 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43095=edit test case The layout of bitfie

[Bug c/83117] [8 Regression] FAIL: gcc.target/x86_64/abi/ms-sysv/ms-sysv.c (test for excess errors)

2017-11-27 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83117 Daniel Santos changed: What|Removed |Added CC||daniel.santos at pobox dot com

[Bug target/82827] [8 regression] i386/pr82002-2a.c fail

2017-11-03 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82827 Daniel Santos changed: What|Removed |Added CC||daniel.santos at pobox dot com

[Bug tree-optimization/82485] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13232

2017-10-30 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82485 --- Comment #4 from Daniel Santos --- Can you please mark this as a duplicate of pr82002? I have a fix submitted. Thanks!

[Bug target/82712] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:11383

2017-10-30 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82712 --- Comment #1 from Daniel Santos --- Could you please close this as a duplicate of pr82002? I've got a (full) fix submitted now. Thanks.

[Bug target/82002] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13233

2017-10-28 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82002 --- Comment #6 from Daniel Santos --- Was about to submit a patch set for this that added this nifty mechanism to track a scratch register for pro/epilogue use and automatically (re)use it when you call choose_baseaddr. Then I realized that I

[Bug target/82268] [8 regression] i386/pr82196-1.c fail

2017-10-20 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82268 Daniel Santos changed: What|Removed |Added CC||daniel.santos at pobox dot com

[Bug tree-optimization/82485] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13232

2017-10-10 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82485 Daniel Santos changed: What|Removed |Added CC||daniel.santos at pobox dot com

[Bug c/47781] warnings from custom printf format specifiers

2017-09-30 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47781 --- Comment #19 from Daniel Santos --- (In reply to Martin Sebor from comment #18) > The Linux kernel also has a bunch of printf format extensions that GCC > doesn't know anything about: >

[Bug target/82196] -mcall-ms2sysv-xlogues stubs sometimes use wrong MOV instruction

2017-09-17 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82196 Daniel Santos changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=

2017-09-16 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 --- Comment #17 from Daniel Santos --- Thanks for all your work on this Martin. I've put a script up on my github account (https://github.com/daniel-santos/distccflags), updated the Gentoo Distcc instructions and sent distcc a mail to notify

[Bug target/82196] -mcall-ms2sysv-xlogues stubs sometimes use wrong MOV instruction

2017-09-13 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82196 --- Comment #1 from Daniel Santos --- Created attachment 42163 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42163=edit proposed fix minus tests

[Bug target/82196] New: -mcall-ms2sysv-xlogues stubs sometimes use wrong MOV instruction

2017-09-12 Thread daniel.santos at pobox dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- Target: x86_64-*-* The test for rather we use movaps or vmovaps is in libgcc/config/i386/i386-asm.h and tests the cpp

[Bug target/82002] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13233

2017-09-10 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82002 --- Comment #5 from Daniel Santos --- (In reply to Daniel Santos from comment #4) > The alternative that I can see is to modify choose_baseaddr so that it can > init and utilize an auxiliary register (like r11). I guess this would be called a

[Bug target/82002] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13233

2017-09-10 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82002 --- Comment #4 from Daniel Santos --- Created attachment 42147 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42147=edit incomplete patch set with test (In reply to Jakub Jelinek from comment #3) > Of course there is none. Which is why

[Bug target/82169] New: Dynamically determine best strategy for -mcall-ms2sysv-xlogues

2017-09-10 Thread daniel.santos at pobox dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- Target: x86-64-*-* The new -mcall-ms2sysv-xlogues is nice but it would be ideal for its use to be determined automatically

[Bug target/82002] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13233

2017-08-30 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82002 --- Comment #2 from Daniel Santos --- Another problem when we throw in an ms to sysv call: $ cat /home/daniel/proj/sys/gcc/git/gcc/testsuite/gcc.target/i386/pr82002-2a.c /* { dg-do compile { target lp64 } } */ /* { dg-options "-Ofast

[Bug driver/81519] Enhancement: Add --help=target-distcc or similar to dump clean, optimal CFLAGS without using -march=native

2017-08-29 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81519 --- Comment #7 from Daniel Santos --- (In reply to Martin Liška from comment #4) > Ok, so I've briefly investigated source code and providing such information > is definitely not a simple task :/ > > I would recommend to fix PR39851 and then

[Bug target/82002] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13233

2017-08-29 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82002 --- Comment #1 from Daniel Santos --- (In reply to Martin Liška from comment #0) > Starting from r251321 we ICE on: > > $ cat stack-check.ii > void a (char *); > void > b () > { > char c[100]; > c[1099511627776] = 'b'; > a (c); >

[Bug driver/81519] Enhancement: Add --help=target-distcc or similar to dump clean, optimal CFLAGS without using -march=native

2017-08-25 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81519 --- Comment #6 from Daniel Santos --- (In reply to Martin Liška from comment #4) > Ok, so I've briefly investigated source code and providing such information > is definitely not a simple task :/ Sorry for my late response and thanks for

[Bug target/81850] [mingw/cygwin] -mabi=sysv ignored

2017-08-23 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81850 Daniel Santos changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/81850] [mingw/cygwin] -mabi=sysv ignored

2017-08-18 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81850 --- Comment #1 from Daniel Santos --- I have a patch that I've tested and will be submitting it shortly (I can't change the assigned to field yet).

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-08-07 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #63 from Daniel Santos --- Created attachment 41943 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41943=edit test patch for uncaught exception in generator (In reply to Dominique d'Humieres from comment #62) > Created

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-07-31 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #61 from Daniel Santos --- (In reply to Dominique d'Humieres from comment #60) > At revision r250610 I still see > > WARNING: Could not generate > /opt/gcc/build_w/gcc/testsuite/gcc/ms-sysv/ms-sysv-generated.h Thank you for the

[Bug target/25967] Add attribute naked for x86

2017-07-31 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25967 --- Comment #19 from Daniel Santos --- (In reply to Uroš Bizjak from comment #18) > Implemented for gcc 8. Awesome! There are actually a number of times over the years that I've wished this were implemented, thanks! :)

[Bug target/25967] Add attribute naked for x86

2017-07-28 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25967 --- Comment #12 from Daniel Santos --- For those interested in a work-around, you can define an __attribute__((used)) function and then within that function use inline assembly to declare your real function. This can get messy depending upon

[Bug driver/81519] Enhancement: Add --help=target-distcc or similar to dump clean, optimal CFLAGS without using -march=native

2017-07-25 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81519 --- Comment #3 from Daniel Santos --- (In reply to Martin Liška from comment #1) > I can take a look later for GCC 8.0. Thank you Martin! I still don't understand enough of gcc to be able to do this in any reasonable time frame and I've only

[Bug other/39851] gcc -Q --help=target does not list extensions selected by -march=

2017-07-22 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39851 Daniel Santos changed: What|Removed |Added CC||daniel.santos at pobox dot com

[Bug driver/81519] New: Enhancement: Add --help=target-distcc or similar to dump clean, optimal CFLAGS without using -march=native

2017-07-22 Thread daniel.santos at pobox dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- To be clear, there is a working solution and that is to run a command such as this: gcc

[Bug target/80969] [8 Regression] ICE in ix86_expand_prologue, at config/i386/i386.c:14606

2017-07-19 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80969 --- Comment #4 from Daniel Santos --- Created attachment 41794 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41794=edit proposed fix (still needs cleanup and tests) This still needs cleanup and tests as well as some explanations, but it

[Bug target/80969] [8 Regression] ICE in ix86_expand_prologue, at config/i386/i386.c:14606

2017-07-02 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80969 --- Comment #3 from Daniel Santos --- Thank you for the report Martin. I apologize for my slow start on this, I've been a bit under the weather. So when I wrote the code for using aligned SSE saves with realigned (non-DRAP) stack pointer and

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-26 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #56 from Daniel Santos --- (In reply to r...@cebitec.uni-bielefeld.de from comment #55) > > --- Comment #54 from Daniel Santos --- > > Created attachment 41627 [details] > > -->

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-25 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 Daniel Santos changed: What|Removed |Added Attachment #41605|0 |1 is obsolete|

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-24 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #53 from Daniel Santos --- (In reply to r...@cebitec.uni-bielefeld.de from comment #52) > Unfortunately, the patch doesn't work, apart from the > > +# define PCREL "@GETPCREL" > > -> @GOTPCREL typo ;-) Ah hah! That would explain

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-21 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #50 from Daniel Santos --- Created attachment 41605 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41605=edit darwin fixup (on top of v6) (In reply to r...@cebitec.uni-bielefeld.de from comment #49) > > No worries at all:

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-19 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #48 from Daniel Santos --- Created attachment 41588 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41588=edit proposed fix v6 2/2 (libgcc) The only thing this changes from your patches is some macro names and testing

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-19 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 Daniel Santos changed: What|Removed |Added Attachment #41533|0 |1 is obsolete|

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-13 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 Daniel Santos changed: What|Removed |Added Attachment #41544|proposed fix v5 addendum|proposed fix v5 addendum

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-12 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 Daniel Santos changed: What|Removed |Added Attachment #41543|0 |1 is obsolete|

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-12 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #38 from Daniel Santos --- Created attachment 41543 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41543=edit proposed fix v5 addendum (only partially tested) I've only run check on RUNTESTFLAGS="ms-sysv.exp" so far and I have

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-12 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #37 from Daniel Santos --- (In reply to Daniel Santos from comment #36) > tutor! :) This is assembly with cpp, so the gas .macro could be replaced > with a cpp macro, but is that acceptable considering that it would result in >

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-12 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #36 from Daniel Santos --- Thank you for all of your work on this. The .cfi directives shouldn't be *too* critical -- I've barely scratched the surface of learning DWARF and, iirc, the last time I stepped through these stubs in gdb

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-10 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 Daniel Santos changed: What|Removed |Added Attachment #41532|0 |1 is obsolete|

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-10 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 Daniel Santos changed: What|Removed |Added Attachment #41486|0 |1 is obsolete|

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-09 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #29 from Daniel Santos --- (In reply to r...@cebitec.uni-bielefeld.de from comment #28) > As I've said before, the parallelization of ms-sysv.exp runs may be a > bonus, but is certainly separate from this PR and thus should be split

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-07 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #26 from Daniel Santos --- Created attachment 41490 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41490=edit proposed fix v3 part 5 I'm currently running a few jobs to try to measure the difference in load average and running

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-07 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #25 from Daniel Santos --- Created attachment 41489 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41489=edit proposed fix v3 part 4

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-07 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #24 from Daniel Santos --- Created attachment 41488 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41488=edit proposed fix v3 part 3

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-07 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #23 from Daniel Santos --- Created attachment 41487 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41487=edit proposed fix v3 part 2

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-07 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 Daniel Santos changed: What|Removed |Added Attachment #41397|0 |1 is obsolete|

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-06-01 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #21 from Daniel Santos --- (In reply to r...@cebitec.uni-bielefeld.de from comment #20) > > failures, but if you call dg-runtest, you are using gcc's hack-daptation of > > parallelization. However, your patch doesn't remove *my*

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-05-28 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #18 from Daniel Santos --- I intended to respond to your comments from 6 days ago sooner, but better late than never! Again, sorry for the delay (In reply to r...@cebitec.uni-bielefeld.de from comment #14) > You need to make

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-05-26 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #17 from Daniel Santos --- (In reply to Rainer Orth from comment #15) > Created attachment 41404 [details] > Switch ms-sysv to more regular dg functions You may be surprised to learn how many faulty assumptions you may have about

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-05-25 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #16 from Daniel Santos --- Sorry for my delayed response. I'm working on adding extended tests triggered by an environment variable (because I needed to better validate somebody else's changes to my -mcall-ms2sysv-xlogues feature

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-05-21 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #12 from Daniel Santos --- Created attachment 41398 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41398=edit proposed fix v2 part 2 Formatting, comments and other aesthetic changes.

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-05-21 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 Daniel Santos changed: What|Removed |Added Attachment #41396|0 |1 is obsolete|

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-05-21 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 Daniel Santos changed: What|Removed |Added Attachment #41386|0 |1 is obsolete|

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-05-20 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #9 from Daniel Santos --- Thank you again for the assistance. (In reply to r...@cebitec.uni-bielefeld.de from comment #8) > Daniel, > > > Would you be so kind as to test this on Solaris for me please? I don't have > > access to a

[Bug target/78962] i386: Missed optimization: unaligned SSE movs with force_align_arg_pointer

2017-05-19 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78962 Daniel Santos changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-05-18 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #7 from Daniel Santos --- (In reply to r...@cebitec.uni-bielefeld.de from comment #3) > > Well, this was my introduction to DejaGnu and the test harness. I found > > that > > none of these support doing a build when there is more

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-05-18 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #6 from Daniel Santos --- Created attachment 41386 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41386=edit proposed fix Rainer, Would you be so kind as to test this on Solaris for me please? I don't have access to a

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-05-18 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #5 from Daniel Santos --- OK, I think I've got these fixed but I need to rerun my tests now. Somebody else discovered another flaw that caused the test to break with -j1 (when parallelization wasn't being used). I hate that I've

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-05-15 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #2 from Daniel Santos --- Actually, I just realized that it won't help to move do_test.S into ms-sysv.c as inline asm because each test still needs a unique ms-sysv-generated.h header that's generated by the output of gen.cc.

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-05-15 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #1 from Daniel Santos --- (In reply to Rainer Orth from comment #0) > It seems to me that ms-sysv.exp is seriously misguided in trying to do all > its compilations manually instead of using > dg-test/dg-runtest/gcc_target_compile >

[Bug middle-end/80735] New: IPA: SRA inhibits constant propagation of structs across multiple function calls

2017-05-13 Thread daniel.santos at pobox dot com
Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com CC: mjambor at suse dot cz Target Milestone: --- Created attachment 41350 --> https://gcc.gnu.org/bugzi

[Bug testsuite/79867] [cygwin] LD_LIBRARY_PATH ignored, contaminating (nearly?) all test results

2017-03-07 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79867 --- Comment #1 from Daniel Santos --- Minor correction: LD_LIBRARY_PATH is used to resolve lib names when dlopen() is called, but not for load-time linking. There are also a few other complications on Cygwin. DLLs (including libgcc) are stored

[Bug testsuite/79867] New: [cygwin] LD_LIBRARY_PATH ignored, contaminating (nearly?) all test results

2017-03-04 Thread daniel.santos at pobox dot com
: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- Running the testsuite resulted in 15,308 instances of the error message "cyggfortran-4.dll: cannot open shared o

[Bug bootstrap/79771] [7 Regression] in-tree zlib breaks build

2017-03-03 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79771 --- Comment #3 from Daniel Santos --- I'm guessing that either they didn't test on Cygwin or they tested on a pre-release version or I have some local/environmental issue, although my environment was just recently generated. Upstream is at

[Bug regression/79771] New: in-tree zlib breaks build

2017-02-28 Thread daniel.santos at pobox dot com
Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- Built from the head on Windows 7 using cywgin64. Configured with: /home/daniel/proj/sys/gcc/work0/configure --host=x86_64-pc-cygwin --build=x86_64-pc-cygwin --target=x86_64-pc-cygwin

[Bug rtl-optimization/78962] New: i386: Missed optimization: unaligned SSE movs with force_align_arg_pointer

2016-12-31 Thread daniel.santos at pobox dot com
: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- void b (void); /* Normal System V function. */ __attribute__((ms_abi, force_align_arg_pointer)) void a (void

[Bug c/61939] warn when __attribute__((aligned(x))) is ignored

2016-10-19 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61939 --- Comment #2 from Daniel Santos --- (In reply to Vedran Miletic from comment #1) > #include > #include > float f(std::vector& A, std::vector& B) > { > __builtin_assume_aligned(A.data(), 64); > __builtin_assume_aligned(B.data(), 64); >

[Bug target/54829] bad optimization: sub followed by cmp w/ zero (x86 & ARM)

2016-08-11 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54829 Daniel Santos changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/68507] New: attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly

2015-11-23 Thread daniel.santos at pobox dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- Created attachment 36814 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36814=edit simple test case When a funct

[Bug target/68507] attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly

2015-11-23 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68507 --- Comment #3 from Daniel Santos --- (In reply to Andrew Pinski from comment #2) > I think there is an ABI difference with respect of xmm6-16 between sysv ABI > and windows ABIs. Can you provide why you think this is not a bug? Ehem, uh no. I

[Bug c/68507] attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly

2015-11-23 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68507 --- Comment #1 from Daniel Santos --- Correction: xmm6-15, I can't type today. And here is the output on gcc 4.9.3: $ objdump -dSr test_case.o test_case.o: file format elf64-x86-64 Disassembly of section .text: : 0:

[Bug target/68507] attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly

2015-11-23 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68507 --- Comment #4 from Daniel Santos --- According to § 3.2.1 "Registers and the Stack Frame" of the System V Application Binary Interface for AMD64 Registers %rbp, %rbx and %r12 through %r15 “belong” to the calling function and the called

[Bug target/68507] attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly

2015-11-23 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68507 Daniel Santos changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/54829] bad optimization: sub followed by cmp w/ zero (x86 ARM)

2015-02-14 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54829 --- Comment #9 from Daniel Santos daniel.santos at pobox dot com --- I appologize for my late response. (In reply to Richard Earnshaw from comment #8) Unfortunately, computers don't to infinite precision arithmetic by default. That would

  1   2   >