On 12/21/2014 02:38 AM, Bruce Korb wrote:
> Shouldn't the configure step have made config.h?
It's probably because you are building in srcdir. That is not
supported.
Andrew.
On 23/12/14 21:54, Bruce Korb wrote:
> On 12/23/14 09:07, Aldy Hernandez wrote:
>> Andrew Haley writes:
>>
>>> On 12/21/2014 02:38 AM, Bruce Korb wrote:
>>>> Shouldn't the configure step have made config.h?
>>>
>>> It's probabl
On 26/12/14 20:32, Matt Godbolt wrote:
> I'm investigating ways to have single-threaded writers write to memory
> areas which are then (very infrequently) read from another thread for
> monitoring purposes. Things like "number of units of work done".
>
> I initially modeled this with relaxed atom
On 26/12/14 22:49, Matt Godbolt wrote:
> On Fri, Dec 26, 2014 at 4:26 PM, Andrew Haley wrote:
>> On 26/12/14 20:32, Matt Godbolt wrote:
>>> Is there a reason why (in principal) the volatile increment can't be
>>> made into a single add? Clang and ICC both emit th
On 27/12/14 16:02, paul_kon...@dell.com wrote:
>
>> On Dec 26, 2014, at 6:19 PM, Andrew Haley wrote:
>>
>> On 26/12/14 22:49, Matt Godbolt wrote:
>>> On Fri, Dec 26, 2014 at 4:26 PM, Andrew Haley wrote:
>>>> On 26/12/14 20:32, Matt Godbolt wrote:
>
On 27/12/14 00:02, Matt Godbolt wrote:
> On Fri, Dec 26, 2014 at 5:19 PM, Andrew Haley wrote:
>> On 26/12/14 22:49, Matt Godbolt wrote:
>>> On Fri, Dec 26, 2014 at 4:26 PM, Andrew Haley wrote:
>
>>> Thanks. I realise I was unclear in my original email. I'm
On 27/12/14 18:04, Matt Godbolt wrote:
> On Sat, Dec 27, 2014 at 11:57 AM, Andrew Haley wrote:
>> if you don't need an atomic access, why do you care that it uses a
>> read-modify-write instruction instead of three instructions? Is it
>> faster? Have you measured it?
Android native GCC can't support LTO because of a lack of support for
dlopen() in the C library. How should we patch the configury to disable
LTO by default?
Thanks,
Andrew.
On 01/09/2015 10:33 AM, Richard Biener wrote:
> On Thu, Jan 8, 2015 at 11:12 AM, Andrew Haley wrote:
>> Android native GCC can't support LTO because of a lack of support for
>> dlopen() in the C library. How should we patch the configury to disable
>> LTO by defaul
On 01/09/2015 12:30 PM, Richard Biener wrote:
> Does --disable-lto-plugin work?
Over to you, Cyd.
Andrew.
On 06/02/15 08:00, Hans-Peter Nilsson wrote:
> On Thu, 8 Jan 2015, Andrew Haley wrote:
>> Android native GCC can't support LTO because of a lack of support for
>> dlopen() in the C library. How should we patch the configury to disable
>> LTO by default?
>
> Doesn
On 02/06/2015 10:18 AM, Hans-Peter Nilsson wrote:
> On Fri, 6 Feb 2015, Andrew Haley wrote:
>> On 06/02/15 08:00, Hans-Peter Nilsson wrote:
>>> On Thu, 8 Jan 2015, Andrew Haley wrote:
>>>> Android native GCC can't support LTO because of a lack of support for
&
On 02/06/2015 11:05 AM, Cyd Haselton wrote:
> Technically not a bug, but a limitation of either fakechroot ported to
> Android, Android's severely stripped libc, or a combination of the two.
I think it's a bug. libfakechroot presents a version of dlopen() on
the assumption that the libc it's fro
On 02/06/2015 04:11 PM, Cyd Haselton wrote:
> On Fri, Feb 6, 2015 at 5:34 AM, Andrew Haley wrote:
>> On 02/06/2015 11:05 AM, Cyd Haselton wrote:
>>> Technically not a bug, but a limitation of either fakechroot ported to
>>> Android, Android's severely stripped l
On 11/02/15 00:41, Cyd Haselton wrote:
>
>>
>> I'd rather leave it on-list for future reference. The best thing
>> would be for libfakechroot to be linked against libdl: that way, when
>> dlopen() was called the link would be correctly satisfied. If that
>> isn't possible (if dlopen() doesn't wo
On 02/11/2015 10:00 AM, Cyd Haselton wrote:
>
>
> On February 11, 2015 2:36:59 AM CST, Andrew Haley wrote:
>> On 11/02/15 00:41, Cyd Haselton wrote:
>>>
>>>>
>>>> I'd rather leave it on-list for future reference. The best thing
>>>
On 02/12/2015 04:16 PM, Rich Felker wrote:
> On Thu, Feb 12, 2015 at 05:11:45PM +0100, Jakub Jelinek wrote:
>> On Thu, Feb 12, 2015 at 11:09:59AM -0500, Rich Felker wrote:
>>>
>>> This usage is supposed to be deprecated. Why isn't libgomp using
>>> TLSDESC/gnu2 model?
>>
>> Because it is significan
On 12/02/15 23:27, Rich Felker wrote:
> On Thu, Feb 12, 2015 at 06:23:12PM +0000, Andrew Haley wrote:
>> On 02/12/2015 04:16 PM, Rich Felker wrote:
>>> On Thu, Feb 12, 2015 at 05:11:45PM +0100, Jakub Jelinek wrote:
>>>> On Thu, Feb 12, 2015 at 11:09:59AM -0500, Rich
On 13/02/15 22:40, Cyd Haselton wrote:
> Somehow these calls are passed to libc by the wrapper including the dlopen()
> call...which fails because it should be passed to libdl on android.
>
> How the wrapper points to libc I have no idea. Why the wrapper around dlopen
> doesn't pick up 0n the
On 02/13/2015 10:23 PM, Rich Felker wrote:
> It seems misguided to try to save 0.5% of a 500ms startup time by
> choosing a hackish TLS model
No. I don't want a hackish TLS model. I want the bug fixed so that
the correct dynamic TLS model is fast if there is static TLS space
available, and autom
[off-topic for gcc; redirect to gcc-help]
On 15/02/15 22:00, Niklaus wrote:
> I'm trying to do a live update of a function without killing or
> stopping the program. This is a single threaded application which runs
> something similar to the below code. Maximum time is spent in the
> while(1)
On 18/02/15 19:21, Jeff Prothero wrote:
> BTW, I'd also be curious to know what is regarded as engineering
> best practice for writing a value to address zero when this is
> architecturally required by the hardware platform at hand.
> Obviously one can do various things to obscure the process
> su
On 02/20/2015 11:06 AM, Florian Weimer wrote:
> On 02/19/2015 09:56 PM, Sandra Loosemore wrote:
>> H, Passing the additional option in user code would be one thing,
>> but what about library code? E.g., using memcpy (either explicitly or
>> implicitly for a structure copy)?
>
> The memcpy pr
On 02/24/2015 12:14 PM, Richard Biener wrote:
> These concerns are correct. Btw, as an answer to Steve - within
> -funsafe-math-optimizations FMA_EXPR basically can be either
> fused or not fused (but yes, bad as to Josephs concern).
> So you could guard the pattern by flag_unsafe_math_optimizatio
On 04/02/2015 09:26 AM, Florian Weimer wrote:
> On 03/23/2015 07:41 PM, Florian Weimer wrote:
>
>> Ah, I should have looked at what max_align_t actually meant. With these
>> semantics, the name is a bit confusing. I agree that requiring 64 byte
>> alignment from malloc does not make much sense.
On 04/02/2015 09:46 AM, Florian Weimer wrote:
> On 04/02/2015 10:40 AM, Andrew Haley wrote:
>
>> So, max_align_t is an object type, and therefore malloc returns a
>> pointer suitable for max_align_t.
>
> Then the GCC definition of max_align_t is incorrect, it should be
On 04/02/2015 12:43 PM, Florian Weimer wrote:
>
> But it is dubious to require that, say, strdup ("example") returns a
> pointer which is 16-byte-aligned, too.
>
> What is missing, it seems to me, is the qualification that for the
> pointer returned by malloc, the alignment requirements only of t
On 11/04/15 04:08, Kumar Aditya wrote:
> I am new user of Linux. I have RHEL 6.0 installed and want to run C++
> on my system but I do not know how.
yum install gcc-c++.
Andrew.
On 16/04/15 06:12, Mikhail Maltsev wrote:
> So, I want to create a similar page in GCC's internal docs, but I don't
> know what should be included (i.e. did I miss something important, or
> did I include something obsolete), so I ask for some assistance.
The real challenge here is not generating t
On 04/16/2015 02:22 PM, Manuel López-Ibáñez wrote:
> On 16/04/15 10:04, Andrew Haley wrote:
>> On 16/04/15 06:12, Mikhail Maltsev wrote:
>>> So, I want to create a similar page in GCC's internal docs, but I don't
>>> know what should be included (i.e. did I m
On 05/19/2015 04:14 PM, mark maule wrote:
> Thanks again Martin. I started going down that road yesterday, and got
> lost in the forest of options. What I was looking for was some option
> that would tell me what was being done with dgHandle specifically. I
> played around with -fopt-info-al
On 05/20/2015 01:04 PM, mark maule wrote:
> Is this one of those areas where if
> there's a bug in the code all bets are off and your mileage may vary?
Yes. Do not access beyond the end of an array: daemons may fly out
of your nose. [1]
Andrew.
[1]
https://groups.google.com/forum/?hl=en#!msg/
On 05/20/2015 04:46 PM, Will Deacon wrote:
> I'm not sure... you'd require the compiler to perform static analysis of
> loops to determine the state of the machine when they exit (if they exit!)
> in order to show whether or not a dependency is carried to subsequent
> operations. If it can't prove
> pointers in disguise and hence be in fact only 1-aligned. I.e. there's
> nothing in your small example program from which GCC can infer that those
> two global pointers are in fact 2-aligned.
So all you'd actually have to say is
void f1(void)
{
*i; *j;
__builtin_
On 10/08/2018 07:38 PM, Paul Koning wrote:
>
>
>> On Oct 8, 2018, at 1:29 PM, Andrew Haley wrote:
>>
>> On 10/08/2018 06:20 PM, Michael Matz wrote:
>>> Only if you somewhere visibly add accesses to *i and *j. Without them you
>>> only have the "
feature that absolutely requires user documentation.
I don't agree. Sometimes vectorization is critical. It would be nice
to have a warning which would fire if vectorization failed. That would
surely help the OP.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
int limit_tmp = i * 5;
for (int i = start * 5; i < limit_tmp; i += 5) {
foo(i);
}
If you answered "Yes, GCC should be allowed to do this", would you
want a warning? And how many such warnings might there be in a typical
program?
--
Andrew Haley
Java Platform Lead Engineer
Red Hat
On 3/21/19 8:53 AM, Moritz Strübe wrote:
> Hey.
>
> Am 20.03.2019 um 18:36 schrieb Andrew Haley:
>> On 3/20/19 2:08 PM, Moritz Strübe wrote:
>>> Ok, I played around a bit. Interestingly, if I set
>>> -fsanitize=udefined and -fsanitize-undefined-trap-on-error the
undefined behaviour commonplace among C programmers?
There's nothing in the standard to justify it: any expression which contains
UB is undefined.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
On 3/22/19 10:20 AM, Allan Sandfeld Jensen wrote:
> On Freitag, 22. März 2019 11:02:39 CET Andrew Haley wrote:
>> On 3/21/19 10:19 PM, Allan Sandfeld Jensen wrote:
>>> From having fixed UBSAN warnings, I have seen many cases where undefined
>>> behavior was performed, b
t this until next
> weekend.
>
> In the meantime, comments are still welcome :-)
Did you look at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83100
This was the change that caused this behaviour.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
Is there some kind of magic TLS optimization that
> can happen for certain variables on aarch64? I'm trying
> to understand how it could know the offset like
> it appears to do in the code.
https://www.fsfla.org/~lxoliva/writeups/TLS/paper-lk2006.pdf
--
Andrew Haley
Java P
GCC as a builtin. It's fast, simple, and
widely used. These days you might use variable-length arrays instead,
which are at least portable.
Is there some problem that you want to solve?
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
On 12/9/19 5:03 PM, Nicholas Krause wrote:
>> https://gcc.gnu.org/projects/cxx-status.html#cxx11
> I'm asking of what support exists in the gcc codebase itself not for other
> projects using gcc.
That is what you got.
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red H
On 23/01/17 15:26, Joshua Kinard wrote:
> I am not sure what this lone store-doubleword instruction is exactly doing,
> nor
> can I locate where in the gcc MIPS code it is being generated from.
It's a stack probe, making sure that there is enough stack space. Its
only purpose is to provide a SE
On 23/01/17 16:11, Joshua Kinard wrote:
> So now the question is why stack-probing kills this machine on generic MIPS
> code that its smaller cousin is seemingly unaffected by. I do know that IP27
> has a different set of memory initialization routines in the MIPS code, so is
> it possible that, a
On 22/02/17 05:52, R0b0t1 wrote:
> I have found GCJ to be one of the best methods for bootstrapping
> OpenJDK. No other method of adding support for new architectures that
> does not involve working closely with OpenJDK upstream is known to me.
That doesn't matter any more because OpenJDK has full
On 28/02/17 06:38, Eyal Itkin wrote:
> However, in signed integers, the logical meaning of any relation check
> is only the theoretical meaning of the order relation between the
> numbers in the group Z. Meaning that in a purely theoretical manner "a
> + b < c" is a relation order that is equivalen
+, but if you really want to do this kind
of thing, use -fno-strict-aliasing.
See also
http://www.microhowto.info/howto/calculate_an_internet_protocol_checksum_in_c.html
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
static uint32_t calc_16bit_checksum_part(uint8_t* buf, int len,
uint32_t ret) {
struct ui16{
uint16_t d;
};
ui16 *ptr = (ui16*)buf;
There's no need for any of this messing about with pointer casts, as has
been explained.
--
Andrew Haley
Java Platform Lead E
ble sections? Is there any way to avoid this?
> Any ideas?
On ARM, PC-relative loads have a fairly short range. So:
float d() {
return 3.141592653589;
}
d:
ldr s0, .LC0
ret
.align 2
.LC0:
.word 1078530011
--
Andrew Haley
Java Platform Lead Engine
ould abandon the eternal drive for more
and more optimizations, back off, and concentrate on simplicity and
robustness at the expens of ultimate code quality. Should we? It
would take courage, and there will be an eternal pressume to improve
code. And, of course, we'd risk someone forking GC
27;t know who done it.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
On 18/09/17 10:48, Florian Weimer wrote:
> Is this a property of the char type, or would other types work as well,
> for example, double or long double?
It has to be a character type, I believe.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EA
_1;
[100.00%]:
_1 = m_2(D) * 4711;
message = _1;
__atomic_thread_fence (3);
ready = 1;
return;
}
It looks like a bug in the lowering pass.
;; __atomic_thread_fence (3);
is lowered to
(nil)
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
ed-with all non-atomic
and relaxed atomic loads from the same locations made in thread B
after F.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
On 19/10/17 14:04, Sebastian Huber wrote:
> On 19/10/17 14:18, Andrew Haley wrote:
>> On 19/10/17 13:10, Jonathan Wakely wrote:
>>> There are no atomic operations on atomic objects here, so the fence
>>> doesn't synchronize with anything.
>> Really? This se
d thereafter. How is LD supposed to
> associate the section containing the initializer with the symbol of
> object being initialized, without disordering?
>
> Any help will be appreciated.
Have you read
https://www.fsfla.org/~lxoliva/writeups/TLS/RFC-TLSDESC-x86.txt
?
--
Andrew H
On 03/12/17 10:50, Jakub Jelinek wrote:
> On Sat, Dec 02, 2017 at 05:00:23PM +0000, Andrew Haley wrote:
>> On 02/12/17 14:04, Liu Hao wrote:
>>>
>>> 0) What is the magical `@tpoff` suffix supposed to do? The `@ntpoff` and
>>> `@dtpoff` things are documented in
I don't seem to have write access to bugs in GCC Bugzilla. I'm pretty
sure I used to have it. Who do I contact? Thanks.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
On 10/01/18 14:33, Jakub Jelinek wrote:
> On Wed, Jan 10, 2018 at 02:30:39PM +0000, Andrew Haley wrote:
>> I don't seem to have write access to bugs in GCC Bugzilla. I'm pretty
>> sure I used to have it. Who do I contact? Thanks.
>
> You need to use the @gc
t of main, the
effect is equivalent to a return with operand 0 (see also 18.3).
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
On 04/25/2018 02:56 PM, Jason Merrill wrote:
> The warning by default seems sufficient to me.
Yes. We've been bitten by this a few times, with mysterious crashes.
I'm not sure it even makes sense only to be a warning, but I guess
that's up to the C++ TC.
--
Andrew Haley
On 04/25/2018 03:04 PM, Jonathan Wakely wrote:
> On 25/04/18 14:59 +0100, Andrew Haley wrote:
>> On 04/25/2018 02:56 PM, Jason Merrill wrote:
>>> The warning by default seems sufficient to me.
>>
>> Yes. We've been bitten by this a few times, with mysterious cra
On 07/05/18 18:08, Indu Bhagat wrote:
[Trying to get some feedback. I earlier posted on gcc-help a week ago]
In tree.def -
/* Minimum and maximum values. When used with floating point, if both
operands are zeros, or if either operand is NaN, then it is unspecified
which of the two oper
tion after initialization but with
> volatile it does not.
That's what should happen on x86.
> So I think it might not provide the same guarantees.
I think it does.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
rmal
number.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
On 07/01/2018 03:19 PM, Mahmood Naderan via gcc wrote:
> Is there any builtin function in C which prints the virtual address
> of functions including the main? I see __builtin_return_address()
> but that returns the “return address”.
#include
int main() {
printf("%p\n", m
a pointer to T to a pointer to
some union type, magic will happen. It won't work, unless the object
stored in the memory at that address was stored as the union type.
Do not lie to the compiler or it will get its revenge.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https
On 02/14/2011 05:50 PM, Ian Lance Taylor wrote:
nayanalekha sugandanee writes:
I have already install gcc 4.3 version.I need to install gcc 2.95.3
for a research on Polis IDE and Ptolami.Please let me know how can I
remove gcc 4.3 and install gcc 2.95.3.
This question is not appropriate for
On 04/01/2011 10:05 AM, Kai Tietz wrote:
> I would like to update boehm-gc in gcc's tree to more recent version
> (7.2 - alpha 5). It has shown now that we wait for x64 windows
> support of boehm-gc more then one year. This blocks the waiting
> patches for libjava support for this target and some
Our web pages say
"Verbatim copying and distribution of this entire article is permitted in any
medium, provided this notice is preserved."
but does "Verbatim" allow people to translate and redistribute the pages?
Andrew.
On 04/05/11 17:12, GM wrote:
> I'm willing to translate publication located at http://gcc.gnu.org/java/
> to the Belorussian language (my mother tongue). What I'm asking for is
> your written permission, so you don't mind after I'll post the
> translation to my blog. The translation is intended
On 06/05/11 02:24, David Daney wrote:
> This happens because the libgcc unwinder cannot find unwinding
> information for the PC at the point of the SIGSEGV.
>
> However, we know that usually when we end up with a PC of zero, it is
> because we called through a NULL function pointer. In this ca
On 05/09/2011 03:28 PM, Ralf Baechle wrote:
> On Mon, Feb 21, 2011 at 07:45:41PM +, Richard Sandiford wrote:
>
>> David Daney writes:
>>> Background:
>>>
>>> Current MIPS 32-bit ABIs (both o32 and n32) are restricted to 2GB of
>>> user virtual memory space. This is due the way MIPS32 memory
On 17/05/11 19:16, Sean Robert McGuffee wrote:
> Hi,
> Has anyone compiled netbeans with gcj?
> If so, can you please post your method?
I don't think so.
I'm sure gcj could compile Netbeans, but I am not at all sure that
the Classpath library that gcj uses has everything Netbeans needs.
Definite
On 23/05/11 19:35, Richard Sandiford wrote:
> According to:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47110
>
> mips-openbsd does not build in 4.6. I haven't seen any activity
> on this port for years. Would anyone object to its deprecation?
I'm going to forward this to openbsd. Ple
On 05/24/2011 10:40 AM, Andrew Haley wrote:
> On 23/05/11 19:35, Richard Sandiford wrote:
>> According to:
>>
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47110
>>
>> mips-openbsd does not build in 4.6. I haven't seen any activity
>> on this
On 08/07/11 18:31, Jie Liu wrote:
> This is the second report after “GCJ Porting for RTEMS Status
> Report”[1]. During this time, I am
> --- Focusing on running the testsuite and fix encountered problem
> --- Submitting patches to related community
>
> In details, I have got the testsuite result
On 08/04/2011 01:19 AM, Hans-Peter Nilsson wrote:
> To make sure, it'd be nice if someone could perhaps grep an
> entire GNU/Linux-or-other distribution including the kernel for
> uses of asm-declared *local* registers that don't directly feed
> into asms and not being the stack-pointer? Or can w
On 08/04/2011 10:52 AM, Richard Guenther wrote:
> On Thu, Aug 4, 2011 at 11:50 AM, Andrew Haley wrote:
>> On 08/04/2011 01:19 AM, Hans-Peter Nilsson wrote:
>>
>>> To make sure, it'd be nice if someone could perhaps grep an
>>> entire GNU/Linux-or-other
On 08/04/2011 12:19 PM, Richard Guenther wrote:
> On Thu, Aug 4, 2011 at 1:10 PM, Andrew Haley wrote:
>> On 08/04/2011 10:52 AM, Richard Guenther wrote:
>>> On Thu, Aug 4, 2011 at 11:50 AM, Andrew Haley wrote:
>>>> On 08/04/2011 01:19 AM, Hans-Peter Nilsson wrote:
concept, but it's fugly.
So, suggestions welcome. Is there a nice way to detect a signal frame?
Andrew.
2011-08-25 Andrew Haley
* config/arm/unwind-arm.h (_Unwind_IsSignalFrame): New.
(_Unwind_GetIPInfo): Use _Unwind_IsSignalFrame.
* config/arm/unwind
On 08/25/2011 05:57 PM, David Daney wrote:
> On 08/25/2011 05:26 AM, Andrew Haley wrote:
>> Throwing an exception through a segfault handler doesn't always work
>> on ARM: the attached example fails on current gcc trunk.
>>
>> panda-9:~ $ g++ segv.cc -fnon-call-exce
On 08/29/2011 06:13 PM, Daniel Jacobowitz wrote:
> On Mon, Aug 29, 2011 at 11:18 AM, Ken Werner wrote:
>> On 08/25/2011 02:26 PM, Andrew Haley wrote:
>>>
>>> Throwing an exception through a segfault handler doesn't always work
>>> on ARM: the at
On 09/16/2011 11:30 AM, pankajsejwal wrote:
>
> I have build gcc and imported it on eclipse and started to debug it from main
> but after a few steps it stops and sends "malloc.c" not found error and asks
> to give a source path to it.
> I believe the problem is because of the arguments that it req
On 09/19/2011 06:59 PM, Jon Grant wrote:
>
> I noticed that when compiling C files with GCC and using the -Werror
> option, I see this additional output:
>
> cc1.exe: warnings being treated as errors
> ./src/main.c: In function 'main':
> ./src/main.c:41:15: error: unused variable 'hello'
>
> Is
On 09/26/2011 05:11 PM, Ian Lance Taylor wrote:
> Andrew Haley writes:
>
>> On 09/19/2011 06:59 PM, Jon Grant wrote:
>>
>>>
>>> I noticed that when compiling C files with GCC and using the -Werror
>>> option, I see this additional output:
>
On 10/04/2011 08:08 AM, Iain Buclaw wrote:
> I've have received news from Walter Bright that the license of the D
> frontend has been assigned to the FSF. As the current maintainer of
> GDC, I would like to get this moved forward, starting with getting the
> ball rolling. What would need to be don
On 10/11/2011 11:51 AM, Paolo Carlini wrote:
> sorry if I just need more sleep, but I'm pretty sure to have seen 'make
> check-c++' running the C++ testsuite *twice*. Seriously, many times over
> the last month or two, never before. Does this make sense to anybody?
> What could I do to debug it
On 10/20/2011 12:56 PM, Basile Starynkevitch wrote:
> So, I am trying to add finalized objects in Ggc not for MELT (it does not
> need them, and it already has some finalization tricks which I could use
> when some GCC begins to use C++ objects), but for general use
For what general use? Surely y
On 10/27/2011 02:15 AM, Paul Brook wrote:
So, suggestions welcome. Is there a nice way to detect a signal frame?
>
> That just makes me ask why are you're trying to detect a signal frame in the
> first place?
Because I need backtrace() to work when called from a signal handler.
>>> Libunw
On 10/27/2011 12:53 PM, Paul Brook wrote:
>> On 10/27/2011 02:15 AM, Paul Brook wrote:
>> So, suggestions welcome. Is there a nice way to detect a signal
>> frame?
>>>
>>> That just makes me ask why are you're trying to detect a signal frame in
>>> the first place?
>>
>> Because I need bac
On 11/01/2011 01:52 PM, Torvald Riegel wrote:
> Yes, we think so. Transactional Memory (TM) is a very easy-to-use
> synchronization mechanism, which does not burden the programmer with
> having to consider issues such as deadlocks or having to rely on
> conventions regarding which locks cover which
On 11/15/2011 06:07 AM, James Hirschorn wrote:
> I have noticed that the builtin gamma function is very accurate and
> extremely fast. Can someone tell me where to find the source code for the
> implementation?
Probably sysdeps/ieee754/dbl-64/e_lgamma_r.c
> gdb skips over the call to the builtin
On 11/21/2011 04:13 AM, Jeff Law wrote:
> This is (arguably) a glibc issue. I'm still investigating.
>
> Attached you'll find the hack from the gcc46 srpms we're using to work
> around the problem right now.
Why is isspace() marked throw, anyway?
Andrew.
On Fri, Dec 2, 2011 at 5:46 AM, wrote:
> >
> > ...
>>> > >> It's never correct to exchange volatile accesses.
>> > >
>> > >That's not true. volatile accesses to different memory locations
>> > >have no special dependence. If it happens that GCC doesn't
>> > >do this kind of things then this is o
On 12/09/2011 03:05 PM, BELBACHIR Selim wrote:
> int main() {
> int x;
> float af;
> ff(&x);
> af = f2(1.0f);
> return *((int *)(&af));
> }
Please try this again, but with a union rather than a pointer
cast. I don't think this code is legal C.
Andrew.
On 12/12/2011 01:48 PM, BELBACHIR Selim wrote:
> Everything seems good when I use a union instead of "*((int *)(&af))".
>
> But I think that "*((int *)(&af))" is a valid syntax to get the
> integer representation of my floating point value (in my test case
> 0x3F80 for 1.0f in IEEE-754). It ma
On 06/07/2011 08:37 PM, Nicola Pero wrote:
> This patch completes the removal of the public part of the
> Traditional Objective-C runtime API from libobjc.
>
> From now on, the only supported API is the "Modern" API. :-)
Nicola, this is causing trouble for Fedora. The Fedora maintainer has
been
301 - 400 of 1072 matches
Mail list logo