me parameter must only
be less than 100.0 hours.
gcc/ada/Changelog:
2023-10-15 Simon Wright
PR ada/111813
* gcc/ada/libgnat/a-calfor.adb (Value (2)): Allow values of parameter
Elapsed_Time greater than or equal to 24 hours, by doing the
hour calculations in Natural rather
error reported
FSF copyright assignment RT:1016382
—S
> On 16 Oct 2023, at 14:32, Simon Wright wrote:
>
> The description of the second Value function (returning Duration) (ARM
> 9.6.1(87)
> doesn't place any limitation on the Elapsed_Time parameter's value, beyond
>
e example code built successfully on the
case-sensitive volumes.
Setting GNAT_FILE_NAME_CASE_SENSITIVE successfully overrode the choices made by
the
new code.
gcc/ada/Changelog:
2023-10-29 Simon Wright
PR ada/111909
* gcc/ada/adaint.c
(__gnat_get_file_names_case_sensitive): Remove the
FS, APFS-case-sensitive,
>> HFS, HFS-case-sensitive; the example code built successfully on the
>> case-sensitive volumes.
>> Setting GNAT_FILE_NAME_CASE_SENSITIVE successfully overrode the choices made
>> by the
>> new code.
>>
>> gcc/ada/Changelog:
>>
>> that in that case the result is implementation-defined).
>>
>> The current implementation of Value raises Constraint_Error if the
>> Elapsed_Time
>> parameter is greater than or equal to 24 hours.
>>
>> This patch removes the restriction, so that
On 6 Nov 2023, at 08:36, Arnaud Charlet wrote:
>
>>> So without changing fundamentally the model, you can't decide dynamically
>>> for the whole
>>> system. Making the choice based on the current directory is pretty random,
>>> since the current
>>> directory isn't well defined at program's sta
On 11 Nov 2023, at 18:10, Iain Sandoe wrote:
>
>> On 11 Nov 2023, at 07:47, Simon Wright wrote:
>>
>> On 6 Nov 2023, at 08:36, Arnaud Charlet wrote:
>>>
>>>>> So without changing fundamentally the model, you can't decide dynamically
>>
se, True)
with Convention => C;
function Get_File_Names_Case_Sensitive return C_Boolean
with
Import,
Convention => C,
External_Name => "__gnat_get_file_names_case_sensitive";
begin
Ada.Text_IO.Put_Line ("GNAT thinks file names are " &
On 17 Nov 2023, at 08:37, Arnaud Charlet wrote:
>
>> Also, should the test code below (between %%%) be included in the
>> testsuite?
>
> It would be good but tests shouldn't output anything, they should be self
> testing,
> and you will need to deal with making the test portable to all targets.
>>> Please simplify the above to (untested):
>>>
>>> #elif defined (__APPLE__)
>>> /* By default, macOS volumes are case-insensitive, iOS
>>> volumes are case-sensitive. */
>>> #if TARGET_OS_MAC/* macOS, in older SDK. */
>>>file_names_case_sensitive_cache = 0;
>>> #e
>
>> Apple’s naming is definitely confusing in this area!
>>
>> In current SDKs, TARGET_OS_MAC means code is being generated for a Mac OS X
>> variant,
>> which covers OSX, IOS, Watch … ; to determine which kind of device, you have
>> to check the
>> specific define for that device - OSX corr
On 21 Nov 2023, at 11:22, Iain Sandoe wrote:
>
> Hello Simon, Arno,
>
>> On 17 Nov 2023, at 13:43, Simon Wright wrote:
>>
>>>
>>>> Apple’s naming is definitely confusing in this area!
>>>>
>>>> In current SDKs, TARGET
a build for iOS.
* gcc/ada/adaint.c
(__gnat_get_file_names_case_sensitive): Split out the __APPLE__
check and remove the checks for __arm__, __arm64__.
For Apple, file names are by default case-insensitive unless
TARGET_OS_IOS is set.
Signed-off-by: Simon Wright
---
gcc/ada/adaint.c | 14 +++---
1 file
had to include unistd.h for the first patch in this
>>>> thread; clearly not!
>>>>
>>>> What I hope will be the final version:
>>>
>>> OK here.
>>
>> also OK here, thanks
>
> I think this fixes https://gcc.gnu.org
> On 22 Nov 2023, at 15:13, Simon Wright wrote:
>
>
>
>> On 22 Nov 2023, at 15:03, Iain Sandoe wrote:
>>
>>
>>
>>> On 22 Nov 2023, at 14:48, Iain Sandoe wrote:
>>>
>>>
>>>
>>>> On 22 Nov 2023, at 1
RTS with finalization and one
without.
gcc/ada/Changelog:
2015-11-11 Simon Wright
PR ada/66205
* bindgen.adb (Gen_Adafinal): if Configurable_Run_Time_On_Target is
true, generate a null body.
(Gen_Main): if Configurable_Run_Time_On_Target is true, then
- don
On 11 Nov 2015, at 19:43, Simon Wright wrote:
> This situation arises, for example, with an embedded RTS that incorporates the
> Ada 2012 generalized container iterators.
I should add, this PR is the “other half” of PR ada/66242, which is fixed in
GCC 6; so
please can it be review
ct file (null.o) was built for newer macOS version (12.2)
than being linked (12.0)
I propose the following patch, which works fine for me (darwin 21.3.0).
gcc/ChangeLog:
2022-06-02 Simon Wright
PR target/104871
* config/darwin-dr
ith gcc gives e.g.
ld: warning: object file (null.o) was built for newer macOS version (12.2)
than being linked (12.0)
I propose the following patch, which works fine for me (darwin 21.3.0).
gcc/ChangeLog:
2022-06-02 Simon Wright
PR target/104871
*
c gives e.g.
ld: warning: object file (null.o) was built for newer macOS version (12.2)
than being linked (12.0)
I propose the following patch, which works fine for me (darwin 21.3.0).
gcc/ChangeLog:
2022-06-02 Simon Wright
PR target/104871
* config
On 11 Jun 2022, at 11:37, Iain Sandoe wrote:
>
> Hi Simon,
>
> thanks for the patch.
>
>> On 11 Jun 2022, at 10:17, Simon Wright wrote:
>>
>> (resent with correct address for Iain)
>>
>> This is the same sort of problem as in PR80204: at prese
e the (static) libgcc, and thus supplies the
required exception unwinders.
Bootstrapped on Darwin 16.6.0 and on Debian Jessie.
A question: I've checked for x86_64-apple-darwin*, is this OK or
should it be more restrictive?
Changelog:
2017-06-09 Simon Wright
PR ta
Ping
If OK, can it be applied please?
(patch applies cleanly to current sources)
> On 27 May 2017, at 16:58, Simon Wright wrote:
>
> The GNAT reference manual says in 11.6 Wide_Text_IO
> <https://gcc.gnu.org/onlinedocs/gnat_rm/Wide_005fText_005fIO.html>,
>
> "Th
On 28 Jun 2017, at 18:40, Jeff Law wrote:
>
> On 06/09/2017 07:57 AM, Simon Wright wrote:
>> 2017-06-09 Simon Wright
>>
>>PR target/80556
>>* configure.ac (stage1_ldflags): For Darwin, include -lSystem.
>> (poststage1_ldfla
On 7 Mar 2017, at 16:20, Simon Wright wrote:
>
> On 19 Dec 2015, at 22:05, Simon Wright wrote:
>>
>> On 12 Nov 2015, at 10:02, Arnaud Charlet wrote:
>>>
>>>>> This situation arises, for example, with an embedded RTS that
>>>>> incorp
:
2015–6-14 Simon Wright
pr66242.diff
Description: Binary data
n and one
without.
The patch applies with no offset to the trunk.
gcc/ada/Changelog:
2015-6-15 Simon Wright
PR ada/66205
* bindgen.adb (Gen_Adafinal): if Configurable_Run_Time_On_Target is
true, generate a null body.
(Gen_Main): if Configurable_Run_Time_On_Target
rate on
Darwin x86_64) results in failure (EINVAL).
This patch provides the required length explicitly from the socket's family.
Tested by rebuilding the compiler with --disable-bootstrap and re-running the
reproducer.
gcc/ada/Changelog:
2019-03-04 Simon Wright
PR ada/
On 4 Mar 2019, at 19:48, Simon Wright wrote:
> With GCC9, GNAT.Sockets includes support for IPv6. Sockaddr is an
> Unchecked_Union, which now includes IPv6 fields, bringing the total possible
> size to 28 bytes. The code in Bind_Socket currently calculates the length of
> the str
Arno,
OK.
--S
> On 5 Mar 2019, at 20:38, Arnaud Charlet wrote:
>
> Simon,
>
> Thanks for the patch.
> We already have a fix pending for that in our tree that we will merge.
>
> Arno
>
>> On 4 Mar 2019, at 20:48, Simon Wright wrote:
>>
>> With
Ping?
> On 5 Mar 2019, at 20:43, Simon Wright wrote:
>
> Arno,
>
> OK.
>
> --S
>
>> On 5 Mar 2019, at 20:38, Arnaud Charlet wrote:
>>
>> Simon,
>>
>> Thanks for the patch.
>> We already have a fix pending for that in our tree tha
Thanks, Pierre-Marie: it'd be a shame if 9.1 couldn't handle IPv4.
--S
> On 20 Mar 2019, at 13:31, Pierre-Marie de Rodat wrote:
>
> Hello Simon,
>
> On 3/19/19 5:02 PM, Simon Wright wrote:
>> Ping?
>
> Sorry for the delay! Thank you for the notice; I’ll
2016-05-31 Simon Wright
PR ada/71358
* g-comlin.adb: bump copyright year.
(Display_Section_Help): don't deference Config.Switches if
it's null.
(Getopt): likewise.
g-comlin.adb.diff
Description: Binary data
On 29 Jun 2017, at 21:41, Simon Wright wrote:
>
> On 28 Jun 2017, at 18:40, Jeff Law wrote:
>>
>> On 06/09/2017 07:57 AM, Simon Wright wrote:
>>> 2017-06-09 Simon Wright
>>>
>>> PR target/80556
>>> * confi
10.12.0
This patch does the same.
gcc/Changelog:
2017-09-01 Simon Wright
PR target/80204
* config/darwin-driver.c (darwin_find_version_from_kernel): eliminate
calculation of the
minor version, always output as 0.
80204-darwin-driver.c.diff
Description: Binary data
10.12.0
This patch does the same.
gcc/Changelog:
2017-09-01 Simon Wright
PR target/80204
* config/darwin-driver.c (darwin_find_version_from_kernel): eliminate
calculation of the
minor version, always output as 0.
80204-darwin-driver.c.diff
Description: Binary data
(Apologies if this is a duplicate: Mac Mail vs the list's requirement for plain
text)
On 4 Sep 2017, at 07:09, Jeff Law wrote:
>
> On 09/01/2017 04:05 PM, Simon Wright wrote:
>> In gcc/config/darwin-driver.c, darwin_find_version_from_kernel() assumes
>> that the mino
On 1 Sep 2017, at 23:05, Simon Wright wrote:
>
> 2017-09-01 Simon Wright
>
> PR target/80204
> * config/darwin-driver.c (darwin_find_version_from_kernel): eliminate
> calculation of the
> minor version, always output as 0.
Like this?
Do you
Fri 26 May 2017 15:44:52 BST
=== gnat Summary ===
# of expected passes2569
# of expected failures 24
# of unsupported tests 7
/Volumes/Miscellaneous/tmp/gcc-7.1.0-build/gcc/gnatmake version 7.1.0
gcc/ada/Changelog:
2017-05-27 Simon Wright
gt; a
>> problem.
>>
>> The same applies to Ada.Numerics.Complex_Real_Arrays.Inverse (ARM
>> G.3.2(140)).
>
> Updated patch OK as well.
>
>> 2016-12-21 Simon Wright > <mailto:si...@pushface.org>>
>>
>> PR ada/78845
>>
On 18 Sep 2017, at 21:09, Iain Sandoe wrote:
>
> Hi Simon,
>
>> On 29 Jun 2017, at 21:41, Simon Wright wrote:
>>
>> On 28 Jun 2017, at 18:40, Jeff Law wrote:
>>>
>>> On 06/09/2017 07:57 AM, Simon Wright wrote:
>>>>
On 19 Dec 2015, at 22:05, Simon Wright wrote:
>
> On 12 Nov 2015, at 10:02, Arnaud Charlet wrote:
>>
>>>> This situation arises, for example, with an embedded RTS that
>>>> incorporates the
>>>> Ada 2012 generalized container iterators.
>>&
) always starts at 1.
Of course, many users would always use ranges starting at 1 and wouldn't see a
problem.
2016-12-17 Simon Wright
PR ada/78845
* a-ngrear.adb (Inverse): call Unit_Matrix with First_1 set to
A'First(2)
and vice versa.
a-ngrear.adb.diff
Description: Binary data
On 12 Nov 2015, at 10:02, Arnaud Charlet wrote:
>
>>> This situation arises, for example, with an embedded RTS that
>>> incorporates the
>>> Ada 2012 generalized container iterators.
>>
>> I should add, this PR is the ???other half??? of PR ada/66242, which is fixed
>> in GCC 6; so please can it
On 8 Feb 2010, at 14:18, Arnaud Charlet wrote:
>> OK, second try.
>>
>> Tested on gcc version 4.5.0 20100207 (experimental) [trunk revision 156574]
>> (GCC).
>>
>> 2010-02-07 Simon Wright
>>
>> PR ada/42978
>> * mlib-utl.adb (
d value.
(Max_Length_Needed): New, computed using the number of elements
in the traceback plus the load address, if the executable is PIE.
(Result): New String of the required length (which will be an
overestimate).
2024-11-13 Simon Wright
gcc/ada/Changelog:
PR target/117538
ecutable is PIE.
(Result): New String of the required length (which will be an
overestimate).
2024-11-24 Simon Wright
gcc/ada/Changelog:
PR target/117538
* libgnat/s-trasym.adb: Returns the traceback, with the program load
address if applicable.
---
diff --git a/gcc/ada/libgnat/s-trasy
I wish to retract this version of the patch and request that the first version
(posted on 22/11/2024) be considered instead.
> On 24 Nov 2024, at 11:23, Simon Wright wrote:
>
> If s-trasym.adb (System.Traceback.Symbolic, used as a renaming by
> GNAT.Traceback.Symbolic) is given
f the patch is considerably simplified, as requested.
Bootstrapped and regtested (ada onlyj) on x86_64-apple-darwin.
* gcc/ada/libgnat/s-trasym.adb: Returns the traceback in the required
form, using __gnat_get_executable_load_address to get the address
(or null, if not present).
2024-12-17 Simon W
>> (or null, if not present).
>>
>> 2024-12-17 Simon Wright
>>
>> gcc/ada/Changelog:
>>
>> PR target/117538
>> * libgnat/s-trasym.adb: Returns the traceback, with the program load address
>> if available.
>
> This is OK, thanks. Do you want me to apply it?
Yes, thank you.
>
> --
> Eric Botcazou
>
>
address. (A symbolic traceback would
be even better, but that would be a different and more difficult project).
What should I do to get this change pushed?
> On 13 Nov 2024, at 17:15, Simon Wright wrote:
>
> If s-trasym.adb (System.Traceback.Symbolic, used as a re
51 matches
Mail list logo