[Bug target/95637] Read-only data assigned to `.sdata' rather than `.rodata'

2020-06-23 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95637 --- Comment #4 from Maciej W. Rozycki --- Sigh, I keep forgetting we don't have PC-relative memory access machine instructions. We could have had base=x0 encodings allocated for that, which are otherwise of rather limited use. Regardless, I

[Bug target/95637] Read-only data assigned to `.sdata' rather than `.rodata'

2020-06-12 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95637 --- Comment #2 from Maciej W. Rozycki --- I think perhaps using constant pools would be the best of both worlds?

[Bug fortran/95631] Unable to redefine a literal with `-std=legacy'

2020-06-11 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95631 Maciej W. Rozycki changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #5 from

[Bug fortran/17887] g77 generates code that results in segmentation fault

2020-06-11 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17887 Maciej W. Rozycki changed: What|Removed |Added CC||ma...@linux-mips.org --- Comment #5

[Bug target/95637] New: Read-only data assigned to `.sdata' rather than `.rodata'

2020-06-11 Thread ma...@linux-mips.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ma...@linux-mips.org Target Milestone: --- Target: riscv*-*-linux-gnu As observed in PR fortran/95631 read-only data gets assigned to `.sdata' rather than `.rodata', which in turn

[Bug fortran/17887] g77 generates code that results in segmentation fault

2020-06-11 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17887 Maciej W. Rozycki changed: What|Removed |Added CC||deji_aking at yahoo dot ca ---

[Bug fortran/37974] gfortran runtime segmentation fault

2020-06-11 Thread ma...@linux-mips.org
||ma...@linux-mips.org --- Comment #4 from Maciej W. Rozycki --- *** This bug has been marked as a duplicate of bug 17887 ***

[Bug fortran/95631] New: Unable to redefine a literal with `-std=legacy'

2020-06-10 Thread ma...@linux-mips.org
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: ma...@linux-mips.org Target Milestone: --- This is an interesting one. This was mentioned by Eric Korpela here: <http://www.classiccmp.org/pipermail/cctalk/2020-May/053704.html> as a language peculiarity

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

2019-08-22 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78176 --- Comment #35 from Maciej W. Rozycki --- So presumably the actual solution for n32 would be the same as with x32 and SIB, which IIUC cannot rely on hardware wrapping around the address space either.

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

2019-08-22 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78176 --- Comment #34 from Maciej W. Rozycki --- (In reply to mpf from comment #29) > I don't remember the detail of this issue but I believe I was convinced that > it is down to the lack of setting PX appropriately in HW. UX==0, PX==1. The > PX

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

2019-08-21 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78176 --- Comment #27 from Maciej W. Rozycki --- Yes, it is the same problem, the same address calculation occurs here, and the lack of 32-bit address space wraparound is a part of the n32 Linux ABI, which implies support for processors that do not

[Bug target/74563] [6 regression] Classic MIPS16 (non-MIPS16e) function return broken

2018-10-12 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74563 --- Comment #14 from Maciej W. Rozycki --- Matthew is no longer at Imagination/MIPS and has nothing to do with MIPS processors anymore. And me neither. Also I have lost the ability to run GCC regression testing, not at least without getting

[Bug target/85909] New: [MIPS] Inconsistent operand constraints error with complex double inline asm operands and o32 ABI

2018-05-24 Thread ma...@linux-mips.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ma...@linux-mips.org Target Milestone: --- Target: mips*-*-* Created attachment 44179 --> https://gcc.gnu.org/bugzilla/attachment.cgi

[Bug target/74563] [6 regression] Classic MIPS16 (non-MIPS16e) function return broken

2017-05-22 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74563 Maciej W. Rozycki <ma...@linux-mips.org> changed: What|Removed |Added Status|NEW |AS

[Bug target/74563] [6/7 regression] Classic MIPS16 (non-MIPS16e) function return broken

2017-04-13 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74563 --- Comment #6 from Maciej W. Rozycki <ma...@linux-mips.org> --- Created attachment 41199 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41199=edit Possible fix FYI, I think this has been caused by r227385, see how `_internal

[Bug testsuite/79071] Add test case for PR/65618

2017-01-23 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79071 Maciej W. Rozycki <ma...@linux-mips.org> changed: What|Removed |Added CC| |ma...

[Bug target/77300] [MIPS] incorrectly moves instruction containing local GOT16 relocation into a delay slot

2017-01-23 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77300 --- Comment #6 from Maciej W. Rozycki <ma...@linux-mips.org> --- Fixed in binutils now: commit 65060a78866f374e25f4668d12efc783235d19d1 Author: Maciej W. Rozycki <ma...@imgtec.com> Date: Wed Jan 18 18:18:21 2017 + PR gas

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

2016-11-24 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78012 Maciej W. Rozycki <ma...@linux-mips.org> changed: What|Removed |Added Status|UNCONFIRMED |NEW

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

2016-11-23 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78012 Maciej W. Rozycki <ma...@linux-mips.org> changed: What|Removed |Added

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

2016-11-22 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78012 Maciej W. Rozycki <ma...@linux-mips.org> changed: What|Removed |Added CC| |ma...

[Bug rtl-optimization/78325] [7 regression] r235825 causes gcc.target/mips/call-5.c, gcc.target/mips/call-6.c R_MIPS_JALR failures

2016-11-15 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78325 --- Comment #3 from Maciej W. Rozycki <ma...@linux-mips.org> --- I have pushed it through `mips-mti-linux-gnu' regression testing, with the big-endian o32 regular MIPS multilib. It does fix the regressions listed and does not cause any ne

[Bug rtl-optimization/78325] [7 regression] r235825 causes gcc.target/mips/call-5.c, gcc.target/mips/call-6.c R_MIPS_JALR failures

2016-11-11 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78325 --- Comment #1 from Maciej W. Rozycki <ma...@linux-mips.org> --- NB the notes are added by `mips_legitimize_move'.

[Bug rtl-optimization/70890] [7 regression] r235660 miscompiles stage2 compiler on ia64

2016-11-11 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70890 Maciej W. Rozycki <ma...@linux-mips.org> changed: What|Removed |Added CC| |ma...

[Bug rtl-optimization/78325] New: [7 regression] r235825 causes gcc.target/mips/call-5.c, gcc.target/mips/call-6.c R_MIPS_JALR failures

2016-11-11 Thread ma...@linux-mips.org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ma...@linux-mips.org Target Milestone: --- Target: mips-linux-gnu PR rtl-optimization/70890 fix (r235825

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

2016-11-04 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78176 Maciej W. Rozycki <ma...@linux-mips.org> changed: What|Removed |Added CC| |ma...

[Bug target/77300] [MIPS] incorrectly moves instruction containing local GOT16 relocation into a delay slot

2016-09-29 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77300 --- Comment #4 from Maciej W. Rozycki <ma...@linux-mips.org> --- Thanks. I didn't expect -W would be required for non-truncated output, however at this stage it looks anyway like it's GAS which is at fault, because the GOT16 relocation a

[Bug target/77300] [MIPS] incorrectly moves instruction containing local GOT16 relocation into a delay slot

2016-09-29 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77300 Maciej W. Rozycki <ma...@linux-mips.org> changed: What|Removed |Added CC| |ma...

[Bug target/74563] New: [5 regression] Classic MIPS16 (non-MIPS16e) function return broken

2016-08-11 Thread ma...@linux-mips.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ma...@linux-mips.org CC: matthew.fortune at imgtec dot com Target Milestone: --- Target: mips-mti-linux-gnu This is a regression from GCC 5, present

[Bug testsuite/63175] [4.9/5 regression] FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c scan-tree-dump-times slp2 basic block vectorized using SLP 1

2015-02-22 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63175 --- Comment #5 from Maciej W. Rozycki ma...@linux-mips.org --- But the point is not the missing string, but a missed optimisation. Has the optimisation been brought back now? NB I have no way to look into it anymore.

[Bug target/58139] PowerPC volatile VSX register live across call

2014-09-30 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58139 --- Comment #16 from Maciej W. Rozycki ma...@linux-mips.org --- The unwinder issue has been now fixed along PR target/60102, rev. 213596.

[Bug rtl-optimization/60969] [4.9/4.10 Regression] ICE in output_129 in MMXMOV of mode MODE_SF for march=pentium4

2014-09-27 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60969 Maciej W. Rozycki ma...@linux-mips.org changed: What|Removed |Added CC||ma...@linux

[Bug target/61397] [5 regression] FAIL: gcc.target/powerpc/p8vector-ldst.c scan-assembler lxsdx

2014-09-26 Thread ma...@linux-mips.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61397 Maciej W. Rozycki ma...@linux-mips.org changed: What|Removed |Added CC||ma...@linux

[Bug regression/63175] New: [4.9/5 regression] FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c scan-tree-dump-times slp2 basic block vectorized using SLP 1

2014-09-04 Thread ma...@linux-mips.org
Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: regression Assignee: unassigned at gcc dot gnu.org Reporter: ma...@linux-mips.org Host: i686-linux-gnu

[Bug regression/63177] New: Power/Linux no-vfa-vect-depend-2.c and no-vfa-vect-depend-3.c failures

2014-09-04 Thread ma...@linux-mips.org
Priority: P3 Component: regression Assignee: unassigned at gcc dot gnu.org Reporter: ma...@linux-mips.org Host: i686-linux-gnu Target: powerpc-linux-gnu I see these failures in 4.9/trunk Power/Linux testing: FAIL: gcc.dg/vect/no-vfa

[Bug regression/63150] New: [4.9 regression] FAIL: gcc.target/powerpc/pr53199.c scan-assembler-times *

2014-09-02 Thread ma...@linux-mips.org
: normal Priority: P3 Component: regression Assignee: unassigned at gcc dot gnu.org Reporter: ma...@linux-mips.org Target: powerpc-linux-gnu Build: i686-pc-linux-gnu I see these failures in Power/Linux testing with 4.9.1 and also trunk (5.0

[Bug testsuite/62028] New: Power64/Linux: FAIL: gcc.dg/sms-8.c scan-rtl-dump-times sms SMS succeeded 0

2014-08-05 Thread ma...@linux-mips.org
: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: ma...@linux-mips.org CC: ma...@linux-mips.org, revital.eres at linaro dot org Target: powerpc-linux-gnu Created attachment 33252 -- https

[Bug target/58139] PowerPC volatile VSX register live across call

2014-03-26 Thread ma...@linux-mips.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58139 --- Comment #15 from Maciej W. Rozycki ma...@linux-mips.org --- There is no ICE, this is target code in libgcc_s.so.1 calling abort at run time whenever the DWARF2 unwinder is called. Shall I send you binaries? NB SPE GPRs indeed are 64-bit wide

[Bug target/58139] PowerPC volatile VSX register live across call

2014-03-25 Thread ma...@linux-mips.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58139 Maciej W. Rozycki ma...@linux-mips.org changed: What|Removed |Added CC||ma...@linux

[Bug target/59371] [4.8/4.9 Regression] Performance regression in GCC 4.8 and later versions.

2014-01-09 Thread ma...@linux-mips.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59371 --- Comment #10 from Maciej W. Rozycki ma...@linux-mips.org --- (In reply to Jakub Jelinek from comment #9) Jakub, The fix has corrected the evaluation of `i++' however it has regressed the evaluation of `i c'. This is because in the loop `i

[Bug target/59371] [4.8/4.9 Regression] Performance regression in GCC 4.8 and later versions.

2013-12-05 Thread ma...@linux-mips.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59371 --- Comment #8 from Maciej W. Rozycki ma...@linux-mips.org --- Richard, I wasn't aware integer promotions applied here, thanks for pointing it out. New code is therefore correct while old one was not. Unfortunately neither -fwrapv nor -funsafe

[Bug target/59371] [4.8/4.9 Regression] Performance regression in GCC 4.8 and later versions.

2013-12-03 Thread ma...@linux-mips.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59371 Maciej W. Rozycki ma...@linux-mips.org changed: What|Removed |Added CC||ma...@linux

[Bug target/59371] [4.8/4.9 Regression] Performance regression in GCC 4.8 and later versions.

2013-12-03 Thread ma...@linux-mips.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59371 --- Comment #5 from Maciej W. Rozycki ma...@linux-mips.org --- (In reply to Andrew Pinski from comment #4) Well that corrects how i++ is done. Old MIPS assembly code produced was AFAICT correct. The loop termination condition was expressed

[Bug target/53276] New: DWARF-2 line information truncated for MIPS16 thunks

2012-05-08 Thread ma...@linux-mips.org
Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: ma...@linux-mips.org Target: mips-sde-elf, mips-linux-gnu Created attachment 27342 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27342 MIPS16: Fix truncated DWARF-2 line