[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-07-12 Thread timo.teras at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #25 from Timo Teräs --- (In reply to Andrew Pinski from comment #24) > >This works everywhere else, so I wonder if we could have the ada makefile > >check the abi somehow more reliably than pathname? > > Your patch is broken

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-07-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #24 from Andrew Pinski --- >This works everywhere else, so I wonder if we could have the ada makefile >check the abi somehow more reliably than pathname? Your patch is broken anyways because it makes your OS very incompatible with

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-07-12 Thread timo.teras at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #23 from Timo Teräs --- (In reply to Andrew Pinski from comment #22) > (In reply to Timo Teräs from comment #21) > > This caused a regression for non-multilib builds. Now my non-multilib lp64 > > build fails with: > >

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-07-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #22 from Andrew Pinski --- (In reply to Timo Teräs from comment #21) > This caused a regression for non-multilib builds. Now my non-multilib lp64 > build fails with: > a-cfinve.ads:245:04: warning: in instantiation at a-coboho.adb:55

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-07-12 Thread timo.teras at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 Timo Teräs changed: What|Removed |Added CC||timo.teras at iki dot fi --- Comment #21

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-05-12 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #20 from Eric Botcazou --- Author: ebotcazou Date: Fri May 12 15:58:34 2017 New Revision: 247980 URL: https://gcc.gnu.org/viewcvs?rev=247980=gcc=rev Log: * system-linux-arm.ads (Memory_Size): Use Long_Integer'Size

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-05-12 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #19 from Eric Botcazou --- Author: ebotcazou Date: Fri May 12 15:55:46 2017 New Revision: 247979 URL: https://gcc.gnu.org/viewcvs?rev=247979=gcc=rev Log: * system-linux-arm.ads (Memory_Size): Use Long_Integer'Size

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-29 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 Bug 80117 depends on bug 80146, which changed state. Bug 80146 Summary: [7 regression] ICE in copy_to_mode_reg, at explow.c:612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80146 What|Removed |Added

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-29 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-28 Thread schwab at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #17 from Andreas Schwab --- Author: schwab Date: Tue Mar 28 14:22:29 2017 New Revision: 246536 URL: https://gcc.gnu.org/viewcvs?rev=246536=gcc=rev Log: Backport "Support for Ada on aarch64 with -mabi=ilp32" from trunk PR

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #16 from Eric Botcazou --- Feel free to backport it onto the 6 branch.

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-28 Thread schwab at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #15 from Andreas Schwab --- Author: schwab Date: Tue Mar 28 10:29:34 2017 New Revision: 246528 URL: https://gcc.gnu.org/viewcvs?rev=246528=gcc=rev Log: Support for Ada on aarch64 with -mabi=ilp32 PR ada/80117 *

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-22 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 Bug 80117 depends on bug 80146, which changed state. Bug 80146 Summary: ICE in copy_to_mode_reg, at explow.c:612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80146 What|Removed |Added

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 Bug 80117 depends on bug 80146, which changed state. Bug 80146 Summary: ICE in copy_to_mode_reg, at explow.c:612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80146 What|Removed |Added

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #14 from Eric Botcazou --- *** Bug 80146 has been marked as a duplicate of this bug. ***

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #13 from Eric Botcazou --- > So what's a word then? Obviously, UNITS_PER_WORD does not fit. I think that UNITS_PER_WORD is correct for Word_Size, the problem lies more in the definition of Memory_Size and Address: Memory_Size

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-22 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 Bug 80117 depends on bug 80146, which changed state. Bug 80146 Summary: ICE in copy_to_mode_reg, at explow.c:612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80146 What|Removed |Added

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 Bug 80117 depends on bug 80146, which changed state. Bug 80146 Summary: ICE in copy_to_mode_reg, at explow.c:612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80146 What|Removed |Added

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #12 from Eric Botcazou --- *** Bug 80146 has been marked as a duplicate of this bug. ***

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-22 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #11 from Andreas Schwab --- So what's a word then? Obviously, UNITS_PER_WORD does not fit.

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-22 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 Bug 80117 depends on bug 80146, which changed state. Bug 80146 Summary: [7 regression] ICE in copy_to_mode_reg, at explow.c:612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80146 What|Removed |Added

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 Bug 80117 depends on bug 80146, which changed state. Bug 80146 Summary: ICE in copy_to_mode_reg, at explow.c:612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80146 What|Removed |Added

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #10 from Eric Botcazou --- *** Bug 80146 has been marked as a duplicate of this bug. ***

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #9 from Eric Botcazou --- > What is the definition of System.Word_Size anyway? The language RM says (13.7/32): Word_Size The number of bits per word.

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #8 from Eric Botcazou --- > So the real bug is that Standard'Word_Size doesn't follow -mabi. Surely > there should be no need to copy the whole file just to change Word_Size. That's what we do for x32 though, as there is no general

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-21 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 --- Comment #7 from Andreas Schwab --- What is the definition of System.Word_Size anyway?

[Bug ada/80117] Standard'Word_Size is wrong for aarch64 ILP32

2017-03-21 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80117 Andreas Schwab changed: What|Removed |Added Summary|a-cfinve.ads:245:04: