compiler output conflict

2014-05-25 Thread John
#gcc chatroom too. John T http://www.mozilla.org Firefox browser, Thunderbird email, Seamonkey all-in-one, Sunbird calendar and more. Free open-source software for Windows, Linux, Mac OS and other systems

Known regression ? gcc-4.0.0-20050312 FPE's on C++

2005-03-18 Thread John Vickers
iling templatey C++ than 3.4.3, but the compiled code performance is sometimes better, sometimes worse. It's a bit hard to tell, since our big testcases currently ICE with FPE's on gcc-4.0. Regards, John.

Re: Copyright question: libgcc GPL exceptions

2005-03-21 Thread John Marshall
...) Possibly this is one of those North American dialect things, but to this (non-American) English speaker this canonical form appears to contain a typo. "[...] when not linked into a combined executable", surely? John

[gnu.org #232556] GNU Mirror: SWITCHmirror replaces Swiss SunSITE

2005-05-10 Thread John Sullivan
1520 CH-8001 Zurich, Switzerland Fax: +41 44 268 1568 End of forwarded message -- John Sullivan Program Administrator| Phone: (617)542-5942 51 Franklin Street, 5th Fl. | Fax: (617)542-2652 Boston, MA 02110-1301 USA| GPG: AE8600B6

Multi-Kulturell = Multi-Kriminell

2005-05-15 Thread John . Ramsell
Lese selbst: http://www.npd.de/npd_info/meldungen/2005/m0105-19.html

Cross compiler libgcc.a with -mthumb-interwork

2005-06-21 Thread John Carter
GET='-Os -mthumb -mthumb-interwork' but no success. Please, what is the magic handshake to do this? I been around this track sooo many times, in soo many different ways, I'm getting tired of my own tail! (One of the other routes I tried was building --target=thumb-elf, but gas

options for compiling C using C++ compiler

2005-12-12 Thread John R
I'm working on a project where I post-process AST (.tu) output from gcc using the -fdump-translation-unit option. Problem is the C compiler does not generate useful AST data. So I actually run the preprocessed source again thru g++ to get AST data. This works fine unless there are constructs n

options for compiling C using C++ compiler [trying 1 more time]

2005-12-14 Thread John R
I'm working on a project where I post-process AST (.tu) output from gcc using the -fdump-translation-unit option. Problem is the C compiler does not generate useful AST data. So I actually run the preprocessed source again thru g++ to get AST data. This works fine unless there are constructs n

GCC 3.x and -fvtable-thunks

2005-12-22 Thread John Daniels
Hi, It appears GCC 3.x no longer supports the -fvtable-thunks option. Is gcc 3.x using thunks by default for its vtable format? Also, can the _G_USING_THUNKS macro no longer used to determine if thunks are being used? Thanks, John

successful bootstrap

2006-01-07 Thread John Sonnenschein
u-as --with-as=/opt/GNU/bin/as --with-gnu-ld --with-ld=/opt/GNU/bin/ld --prefix=/opt/GNU --enable-languages=c,c++ --disable-nls --enable-shared Thread model: posix gcc version 3.4.5 Cheers! -john -- PGP public key availiable on wwwkeys.pgp.net

Re: GCC association with the FSF

2021-04-07 Thread John Darrington
On Wed, Apr 07, 2021 at 11:15:14AM -0400, David Malcolm via Gcc wrote: > It reflects the same message that has been sent to new GNU > maintainers > for the decades. The GNU structure and organization document > (https://www.gnu.org/gnu/gnu-structure.en.html) is basically a

Re: GCC association with the FSF

2021-04-07 Thread John Darrington
On Wed, Apr 07, 2021 at 06:34:12PM -0400, David Malcolm wrote: > > What you're describing sounds like a dictatorship to me. > > I cannot see how you reach that conclusion. Having one guy at the top from whom all power flows. Power does not "flow" fro

Re: GCC association with the FSF

2021-04-08 Thread John Darrington
On Thu, Apr 08, 2021 at 07:56:14AM -0400, Richard Kenner wrote: > Having one guy at the top from whom all power flows. > > Power does not "flow" from RMS. Since you have used a political analogy: > I think it is more akin to a constitutional monarchy. I think i

Re: GCC association with the FSF

2021-04-08 Thread John Darrington
On Thu, Apr 08, 2021 at 10:54:25AM -0400, David Malcolm wrote: I think it's important to distinguish between the figurative and literal here. No one is literally calling for anyone's head. Nobody has explicitly done so. However in the last 2 or 3 years there has been a

Re: GCC association with the FSF

2021-04-08 Thread John Darrington
On Thu, Apr 08, 2021 at 09:35:23PM -0400, David Malcolm wrote: > RMS was the first person to be involved in GNU and GCC.  Others > became > involved later (under his leadership).  Their contribution was and > continues to be welcome.  They are also free to stop contributin

Re: GCC association with the FSF

2021-04-09 Thread John Darrington
On Fri, Apr 09, 2021 at 07:01:07PM +0200, David Brown wrote: Different opinions are fine. Bringing national or international politics into the discussion (presumably meant to be as an insult) is not fine. This is not a political discussion - please stop trying to make it

Re: GCC association with the FSF

2021-04-10 Thread John Darrington
On Sat, Apr 10, 2021 at 01:50:42PM +0100, Bronek Kozicki via Gcc wrote: I would very much prefer if a person who openly expressed opinions, and also openly exercised behaviours, which I consider abhorrent, was *not* associated with the GCC project. It does not matter to me

Re: GCC association with the FSF

2021-04-11 Thread John Darrington
On Sun, Apr 11, 2021 at 12:30:41AM +0200, Gerald Pfeifer wrote: There are a number of people arguing here who have contributed little to nothing to GCC, whose names even did not trigger memories - unlike David M. or Jonathan, for example, or Nathan or Alexandre. For myself, I hav

Re: GCC association with the FSF

2021-04-11 Thread John Darrington
On Sun, Apr 11, 2021 at 09:30:48AM -0400, Richard Kenner via Gcc wrote: > > When it comes to deciding the direction of a project like GCC - technical > > and otherwise - in my mind it primarily should be those actually involved > > and contributing. > > GNU follows the

Chat about a possible working agreement with gcc.gnu.org

2021-04-11 Thread John Hamlin
Hey there,  I wanted to contact you about how we can work together linkbuilding.  Would you be open to the idea?  - John

Re: GCC association with the FSF

2021-04-12 Thread John Darrington
41;344;0cOn Sun, Apr 11, 2021 at 07:30:13PM -0300, Adhemerval Zanella via Gcc wrote: And there was no hate (at least not from my side) only *disappointment* that you used your status to do it even though most of senior developers and maintainers said explicitly you shouldn’t do it. I

Re: [cfe-dev] RFC: Support x86 interrupt and exception handlers

2015-09-21 Thread John Criswell
o see if it is worth adding complexity to the compiler. Regards, John Criswell -- John Criswell Assistant Professor Department of Computer Science, University of Rochester http://www.cs.rochester.edu/u/criswell

Re: [cfe-dev] RFC: Support x86 interrupt and exception handlers

2015-09-21 Thread John Criswell
On 9/21/15 4:45 PM, H.J. Lu wrote: On Mon, Sep 21, 2015 at 11:52 AM, John Criswell wrote: On 9/21/15 12:27 PM, H.J. Lu via cfe-dev wrote: On Thu, Sep 17, 2015 at 12:26 PM, H.J. Lu wrote: On Tue, Sep 15, 2015 at 1:11 PM, H.J. Lu wrote: To implement interrupt and exception handlers for x86

Re: Removing "Severity" from New Bug form

2015-12-08 Thread John Marino
ubmitting the PR gets to set the severity field, it should be dropped. If anybody sets the severity, it should be the people *doing* the triage or the person to whom the PR is eventually assigned. John

Re: Using associativity for optimization

2014-12-02 Thread John Vickers
ation, or known to be executed a million times per invocation. John. On 02/12/14 10:23, Richard Biener wrote: > On Tue, Dec 2, 2014 at 12:11 AM, shmeel gutl > wrote: >> While testing my implementation of passing arguments in >> registers, I noticed that gcc 4.7 creates instructi

Re: Rename C files to .c in GCC source

2015-01-31 Thread John Marino
stion to go rename everything consistently and accurately. Sorry about butting in, but I thought that my recent experience with this might be relevant to the topic. John

Re: is it time to mass change from .c to .cc in gcc/ ?

2015-04-15 Thread John Marino
r-intuitive and confusing. I also think this should be fixed properly, and ripping off the band-aid seems reasonable to me. Regards, John

gcc 8.3 estimated release date?

2019-02-07 Thread John Marino
Hi Guys, I guess back in July, the release of 8.3 was expected by the end of 2018. Now it's February. Is the next release of the 8 series imminent? if not, any idea when it might come? Thanks, John

Re: Re: [GSoC'19, libgomp work-stealing] Task parallelism runtime

2019-07-13 Thread John Pinkerton
unsubscribe On Mon, Jun 24, 2019, at 3:55 PM, 김규래 wrote: > Hi, > I'm not very familiar with the gomp plugin system. > However, looking at 'GOMP_PLUGIN_target_task_completion' seem like > tasks have to go in and out of the runtime. > In that case, is it right that the tasks have to know from which

Indirect memory addresses vs. lra

2019-08-04 Thread John Darrington
I'm trying to write a back-end for an architecture (s12z - the ISA you can download from [1]). This arch accepts indirect memory addresses. That is to say, those of the form (mem (mem (...))) and although my TARGET_LEGITIMATE_ADDRESS function returns true for such addresses, LRA insists on

Re: Indirect memory addresses vs. lra

2019-08-09 Thread John Darrington
On Thu, Aug 08, 2019 at 01:57:41PM -0600, Jeff Law wrote: Yea, it's certainly designed with the more mainstream architectures in mind. THe double-indirect case that's being talked about here is well out of the mainstream and not a feature of anything LRA has targetted to date.

Re: Indirect memory addresses vs. lra

2019-08-09 Thread John Darrington
On Fri, Aug 09, 2019 at 01:34:36PM -0400, Vladimir Makarov wrote: If you provide LRA dump for such test (it is better to use -fira-verbose=15 to output full RA info into stderr), I probably could say more. I've attached such a dump (generated from gcc/testsuite/gcc.c-torture/

Re: Indirect memory addresses vs. lra

2019-08-09 Thread John Darrington
On Fri, Aug 09, 2019 at 09:16:44AM -0500, Segher Boessenkool wrote: Is your code in some branch in our git? No. But it could be pushed there if people think it would be appropriate to do so, and if I'm given the permissions to do so. Or in some other public git? It's in my rep

Re: Indirect memory addresses vs. lra

2019-08-11 Thread John Darrington
On Sat, Aug 10, 2019 at 11:12:18AM -0500, Segher Boessenkool wrote: Hi! On Sat, Aug 10, 2019 at 08:05:53AM +0200, John Darrington wrote: > Choosing alt 5 in insn 14: (0) m (1) m {*movsi} >14: [r40:PSI+0x20]=[r41:PSI] > Inserting insn relo

Re: Indirect memory addresses vs. lra

2019-08-15 Thread John Darrington
On Thu, Aug 15, 2019 at 12:29:13PM -0400, Vladimir Makarov wrote: Thank you for providing the sources.?? It helped me to understand what is going on.?? So the test crashes on /home/jmd/Source/GCC2/gcc/testsuite/gcc.c-torture/compile/pr53410-2.c: In function ???f1???: /

Re: Indirect memory addresses vs. lra

2019-08-15 Thread John Darrington
On Thu, Aug 15, 2019 at 06:38:30PM +0200, Richard Biener wrote: Couldn't we spill the frame pointer? Basically we should be able to compute the first address into a reg, spill that, do the second (both could require the frame pointer), spill the frame pointer, reload the first computed

Special Memory Constraint [was Re: Indirect memory addresses vs. lra]

2019-08-16 Thread John Darrington
On Thu, Aug 15, 2019 at 02:23:45PM -0400, Vladimir Makarov wrote: > I tried this solution earlier. But unfortunately it makes things worse. What happens is it libgcc cannot > even be built -- ICEs occur on a memory from address reg insn such as: > (insn 117 2981 3697 5 (set (mem

Re: Special Memory Constraint [was Re: Indirect memory addresses vs. lra]

2019-08-19 Thread John Darrington
On Fri, Aug 16, 2019 at 10:50:13AM -0400, Vladimir Makarov wrote: No I meant something like that (define_special_memory_constraint "a" ...) (define_predicate "my_special_predicate" ... { if (lra_in_progress_p) return REG_P (o

Re: Special Memory Constraint [was Re: Indirect memory addresses vs. lra]

2019-08-19 Thread John Darrington
On Mon, Aug 19, 2019 at 10:07:11AM -0500, Segher Boessenkool wrote: > ? As I remember there were a few other ideas from Richard Biener and > Segher Boessenkool.? I also proposed to add a new address register which > will be always a fixed stack memory slot at the end. Unfortunatel

Re: Special Memory Constraint [was Re: Indirect memory addresses vs. lra]

2019-08-20 Thread John Darrington
On Tue, Aug 20, 2019 at 08:56:39AM +0200, Richard Biener wrote: > Most of these suggestions involve adding some sort of virtual registers > So I hacked the machine description to add two new registers Z1 and Z2 > with the same mode as X and Y. > > Obviously the assembler b

How to insert a new function in plugin?

2019-08-22 Thread John Reed
Hi, I want to insert a new function `test_fn` in plugin and call it in `main`, but got `undefined reference to `test_fn’ in `ld`. Can someone please give any help? Thanks. Here is the example code, //== plugin.c #include "gcc-plugin.h" #include "plugin-version.h" #include "

New Payment Request

2019-10-09 Thread Ellis John
Hi You can get a new payment in your personal account. You have to manage it right away or it will be removed. Go HERE To Confirm Your Payment Info Is Correct.   Registered email: g...@gnu.org User ID: UEMG6C1SHB Enjoy & please let me know if all is well. Thanks! Jeff   E Marketer 202

Re: timeouts/malloc failures in ada tests?

2017-07-07 Thread John Marino
e new patch has been in use for months, I was still thinking it caused the test failures. Thanks for piping up, Eric! :) John P.S. I'll post the dragonfly-specific unwind patch to the patches mail list later today. It's been tested internally for weeks.

Make minmax detection more flexible in tree-ssa-phiopt.c

2011-02-23 Thread Lu, John
); */ gimple assign = last_and_only_stmt (middle_bb); tree lhs, op0, op1, bound; I was wondering if anyone could give me guidance on how to add flexibility to minmax detection in order to handle this case. Thanks, John Lu

clz pattern

2011-06-29 Thread Lu, John
ld a compiler successfully with this pattern, but I can't find any C source that will utilize this pattern. I was wondering how GCC utilizes these patterns (and others like it), which have a functionality that does not straightforwardly map to any C operator. Thanks, John Lu

Re: [Dwarf-Discuss] RFC: DWARF Extensions for Separate Debug Info Files ("Fission")

2011-09-23 Thread John DelSignore
n the Sun and HP platforms. I seem to recall one of the sore spots for us on Dawrin was getting good address information for certain DWARF location operations, like DW_OP_addr. Fortran was a particularly messy because some compilers didn't supply a linkage name attribute, so the debugge

Re: Volatile qualification on pointer and data

2011-09-24 Thread John Regehr
tanding is that accessing an unqualified object through a qualified pointer is well-defined and that the usual qualifier rules apply to that access. David, is your "can't make sense" backed up by a standard? There is no "lying to the compiler", there is only conforming and non-conforming code. John

Re: Volatile qualification on pointer and data

2011-09-24 Thread John Regehr
and has confusing, underspecified semantics. If you want to force a load or store, an explicit function call is a clearer way to do it. John

Trouble installing gfortran

2012-01-09 Thread John Harper
ib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o /tmp/gf/lib/gcc/i686-pc-linux-gnu/4.6.2/crtbegin.o -L/tmp/gf/lib/gcc/i686-pc-linux-gnu/4.6.2 -L/tmp/gf/lib/gcc/i686-pc-linux-gnu/4.6.2/../../.. /tmp/ccGzx8Uk.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /t

Re: [lambda] Segmentation fault in simple lambda program

2009-08-03 Thread John Freeman
ate syntax. The whole point of argument deduction was terseness. It doesn't have to be implemented using templates, so I don't equate it with templates. - John

Re: [lambda] Segmentation fault in simple lambda program

2009-08-03 Thread John Freeman
exciting. The main thing I failed to add was dependent type support, so I want to check this out. (I need to register a new ssh key) - John

Re: [lambda] Segmentation fault in simple lambda program

2009-08-04 Thread John Freeman
constrained, but not to disallow any correct uses. The constraints /will/ expose improper uses of the standard library. - John

Re: [lambda] Segmentation fault in simple lambda program

2009-08-04 Thread John Freeman
Jason Merrill wrote: On 08/04/2009 09:35 AM, John Freeman wrote: In my opinion, lambdas are not intended as just a shortcut to writing a function object class. This is why our proposal did not require that lambdas be implemented as classes; it is simply one implementation. (Awaiting word to

Re: [lambda] Segmentation fault in simple lambda program

2009-08-04 Thread John Freeman
Jason Merrill wrote: On 08/04/2009 10:17 AM, John Freeman wrote: Reiterating, to allow more freedom in implementation, we can just say it "behaves as" a template, rather than "is" a template. I don't see the difference. As long as they work the same, the compiler

Re: [lambda] Segmentation fault in simple lambda program

2009-08-04 Thread John Freeman
. I can't recall exactly where or why, but it was what led to me have two calls to finish_struct. - John

Re: [lambda] Segmentation fault in simple lambda program

2009-08-04 Thread John Freeman
John Freeman wrote: +/* relayout again -- to allow for implicit + * parameters to have been added to the capture if it was a + * 'default capture' -- note that this would not be necessary if + * the stack-pointer variant was implemented -- since the layout +

Re: [lambda] Segmentation fault in simple lambda program

2009-08-06 Thread John Freeman
people won't be able to effectively use lambdas until these features are added. - John

Minor problem messaging C++ wrappers in Objective-C with gcc4.2

2009-09-08 Thread John Holdsworth
#x27;t quite get to where the change (probably quite a small one) would need to be made. Perhaps even, this is already fixed... Can anybody help? John Holdsworth objcpp.johnholdsworth.com On 8 Apr 2009, at 14:34, David Ayers wrote: Am Samstag, den 21.03.2009, 11:59 +0100 schrieb John Holdswor

Bus error gcc compiler for any for ( x in array ) inside Objective-C++ template

2009-10-15 Thread John Holdsworth
for ( NSString *key in keys ) { } } }; I've not been able to build with a more recent gcc so I can't tell if it is still present but figure I'd better let you guys know. Thanks, John H. http://objcpp.johnholdsworth.com On 8 Sep 2009, at 21:30, John Holdsworth

Re: Why does GCC Preprocessor NOT support such macro?

2009-10-23 Thread John Graham
. if somewhere before it was: #define ACE_HAS_NONSTATIC_OBJECT_MANAGER and not: #define ACE_HAS_NONSTATIC_OBJECT_MANAGER 1 (for example) I'm not sure if there's a way to test for a macro being null, but if you change your previous declarations to defining it so something instead of nothing, everything should be dandy. John G

copyright assignment

2009-11-22 Thread John Nowak
Hello. I would like to get the necessary forms for copyright assignment to GCC for future work on GNAT. I was told this is the way to kick off the process. Thanks for the help. - John Nowak

detailed comparison of generated code size for GCC and other compilers

2009-12-14 Thread John Regehr
See here: http://embed.cs.utah.edu/embarrassing/ There is a lot of data there. Please excuse bugs and other problems. Feedback would be appreciated. John Regehr

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-14 Thread John Regehr
n functions (lots of 5 vs 2 bytes) seem to be that gcc-head uses frame pointers and the other compiler doesn't. Clearly for a fair comparison these settings should be the same. I wanted to avoid playing flag games and go with -Os (or nearest equivalent) for all compilers. Maybe that isn't right. John Regehr

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-14 Thread John Regehr
iable, but realistically if GCC catches most cases (which it almost certainly will) the ones that slip past won't be too much of a problem. No doubt there are plenty more improvements to make but hopefully this is a good start. John Regehr

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-14 Thread John Regehr
less sensible code, the other containing functions that can be automatically categorized as bogus. Thanks, John Regehr Actually, I think they're very interesting - especially if they are valid code, and one compiler optimizes them away, but the other doesn't. You may have heard

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-14 Thread John Regehr
seems like a dangerous practice. Yes, it looks like icc does this. But so does gcc, see below. There is no "add" in the generated code. John Regehr [reg...@babel ~]$ cat undef.c int foo (int x) { int y; return x+y; } [reg...@babel ~]$ current-gcc -O3 -S -o - undef.c -fomi

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-14 Thread John Regehr
violations of this. Several times I've thought about cross-testing various compilers and versions of compilers for consistency of warnings. But I never managed to convince myself that developers would care enough to make it worth the trouble. John

Re: detailed comparison of generated code size for GCC and other compilers

2009-12-15 Thread John Regehr
Also, we're not running LTO in any compiler and we removed all "static" declarations from the code to keep compilers from making closed-world assumptions. John Regehr

updated code size comparison

2009-12-15 Thread John Regehr
+ code. Thanks, John Regehr

Re: updated code size comparison

2009-12-16 Thread John Regehr
functions where one compiler generates bigger code than another? Those are the pages that are supposed to contain useful information. You're right, the aggregated results are not useful other than to get a broad overview. John Regehr

Re: updated code size comparison

2009-12-17 Thread John Regehr
wrong... John

Re: updated code size comparison

2009-12-17 Thread John Regehr
el in addition to Linux. It doesn't seem at all clear that it's productive to separate these out. If people are really hating volatile and think it leads to unfair results, I'll probably just #define away volatile next time. John

updated code size comparison

2010-01-20 Thread John Regehr
Hi folks, I've posted an updated code size comparison between LLVM, GCC, and others here: http://embed.cs.utah.edu/embarrassing/ New in this version: - much larger collection of harvested functions: more than 360,000 - bug fixes and UI improvements - added the x86 Open64 compiler John

expression statements, volatiles, and C vs. C++

2010-03-05 Thread John Regehr
tensive testing, but there do exist compiler families (such as those from IAR and Intel) where the C compiler loads from x and the C++ compiler does not. Thanks, John Regehr

Re: expression statements, volatiles, and C vs. C++

2010-03-06 Thread John Regehr
. Well they're broken anyway since widely-used C++ compilers are choosing to not read the variable under these circumstances. The obvious solution is "don't do that" but there's plenty of code doing this out there, and plenty of developers who need re-educating. John

LIM/Alias Analysis performance issue

2010-04-16 Thread Lu, John
i_7 = i_21 + 1; if (i_7 <= 255) goto ; else goto ; : goto ; On my port, this causes a large performance degradation, and I suspect the cause is ultimately in the alias analysis pass. I was wondering if there is a way to configure GCC to avoid this issue. Thanks, John Lu

Re: Transforms on SSA form

2008-12-04 Thread John Freeman
question is that there is no C equivalent of a phi node. You simply drop it. Hope this helps, John

Re: register int variable being written to/read from stack

2009-01-24 Thread John Regehr
olatile to win since register doesn't actually mean anything (in the standard, at least). John Regehr On Tue, 20 Jan 2009, Ian Lance Taylor wrote: baver writes: A sample code listing is at the bottom of the email, as well as the lines we've added to opcodes/mips-opc.c for our

Re: Split Stacks proposal

2009-02-27 Thread John Regehr
This effort is relevant: http://research.microsoft.com/en-us/um/people/jcondit/capriccio-sosp-2003.pdf John Regehr

Re: bitwise dataflow

2009-03-06 Thread John Regehr
urce-level analysis in CIL and so is not quite analogous to what you propose. However, it should give you some ideas about what kind of results you can expect at the RTL level. Our experience was that the bitwise domain is not that powerful. On the other hand, it converges quickly compared to interva

Re: Syntactic sugar to access arrays and hashes in Objective-C

2009-03-21 Thread John Holdsworth
setValue:(id)anObject; - (id)operatorSubscriptObject:(id)key setValue:(id)anObject; I know, it sounds like one step on the way to operator overloading Best Regards & Thanks for your work, John Holdsworth

Fwd: Objective-C and C99 strict aliasing

2009-04-08 Thread John Engelhart
I've long wondered how GCC deals with C99 strict aliasing rules when compiling Objective-C code.  There's no language spec for Objective-C, other than the written prose description of the language that Apple provides (which, until recently, has been virtually unmodified since it's NeXT origins), so

Re: Syntactic sugar to access arrays and hashes in Objective-C

2009-04-09 Thread John Holdsworth
27;m not sure its saved me any time in reality but it was an interesting digression and hopefully it will be useful to somebody :) objcpp.h Description: Binary data Cheers, John Holdsworth On 8 Apr 2009, at 14:34, David Ayers wrote: Am Samstag, den 21.03.2009, 11:59 +0100 schrieb John

Re: Fwd: Objective-C and C99 strict aliasing

2009-04-09 Thread John Engelhart
On Wed, Apr 8, 2009 at 5:42 PM, Ian Lance Taylor wrote: > John Engelhart writes: > >> Objective-C defines 'c_common_get_alias_set' as its language specific >> alias set manager.  c_common_get_alias_set() seems(?) to only >> implement C's strict aliasing rul

dwarf, step over

2010-07-10 Thread John Smith
Hi, Im working on a C source level debugger. The debug info available in elf format. How could be 'step over' implemented? The problem is at 'Point1', anyway I can wait for the next source line (reading it from the .debug_line table). Thanks ... if (a == 1) x = 1; //Point1 else if (a == 2) x

some integer undefined behaviors in gcc

2010-08-03 Thread John Regehr
rands, and examples of offending values. Let me know if more detail is needed or if it would be better for me to file all 71 bug reports. Thanks, John Regehr <../../gcc/alias.c, (1896:25)> : Op: +, Reason : Signed Addition Overflow, BINARY OPERATION: left (int32): -2147483647 r

Re: some integer undefined behaviors in gcc

2010-08-04 Thread John Regehr
I think the messages are clear enough. You should probably wait a few days to let people comment and/or fix, and then file PRs. 1 per file seems to be the right granularity. Thanks Eric, that's what I'll do. John

Re: some integer undefined behaviors in gcc

2010-08-08 Thread John Regehr
anything new has popped up. John Regehr

Is Ada 2005 Issue AI-0157 implemented correctly in GCC 4.6.0?

2010-10-28 Thread John Marino
r settings, so I would expect AI-0157 to not be in effect. Am I wrong? Regards, John

Re: Is Ada 2005 Issue AI-0157 implemented correctly in GCC 4.6.0?

2010-10-28 Thread John Marino
ile with GCC 4.6.0. This version was released with GNAT GPL 2010 recently, rather than separately, so I'm afraid that I'll need to wait until around July 2011 before the next release! :( Maybe a patch for gprbuild_gpl_2010 can be made available? Regards, John On 28/10/2010 15:47, R

Re: concurrence.h compiler error on head

2010-12-01 Thread John Tytgat
st-gcc/b-gcc1-arm/arm-rtems4.11/libstdc++-v3/include/ext/concurrence.h:313:5: > > error: __gnu_cxx::__scoped_lock::~__scoped_lock() causes a section type > conflict This is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46667 and caused by Jan Hubicka's change r167085. John. -- John Tytgat, in his comfy chair at home john.tyt...@aaug.net

Re: [Ada, or FC5?] Storage_Error stack overflow (or erroneous memory access)|

2006-04-20 Thread John Parkes
This is caused by EXEC SHIELD, new to FC5, preventing execution of trampolines out of the stack. You can turn it off via: echo 0 > /proc/sys/kernel/exec-shield HTH, John Parkes

Making *-netbsd-* to mean ELF not a.out for all CPUs

2021-06-11 Thread John Ericson
bmit, I figured I should ask about the openness to such a change. Thanks, John [1]: I hope it's OK to email both lists at once like this; this is a question about a change that I think only makes sense if both projects approve. [2] Nixpkgs, https://github.com/nixos/nixpkgs/ [3]: https:

Optional machine prefix for programs in for -B dirs, matching Clang

2021-08-04 Thread John Ericson
e prefixed. Per [1], Clang does in fact look up prefixed exes against -B across the board. Making GCC look up exes that same way seems like a fine solution too. What do you all think? John [1]: https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-b-prefix

Re: Optional machine prefix for programs in for -B dirs, matching Clang

2021-08-04 Thread John Ericson
On Wed, Aug 4, 2021, at 3:32 AM, Jonathan Wakely via Gcc wrote: > > Doesn't GCC automatically look for those commands in the --prefix directory > that you configure GCC with? Or is that only for native compilers? > It will search only if --with-*=... was not passed, and it will never prefix the

Re: Optional machine prefix for programs in for -B dirs, match ing Clang

2021-08-04 Thread John Ericson
--- i.e. at most 1 target-disambiguating method is used at a time. I now have some patches for this change I suppose I could also submit. Cheers, John

Re: Optional machine prefix for programs in for -B dirs, match ing Clang

2021-08-05 Thread John Ericson
On Thu, Aug 5, 2021, at 8:30 AM, Michael Matz wrote: > Hello, > > On Wed, 4 Aug 2021, John Ericson wrote: > > > On Wed, Aug 4, 2021, at 10:48 AM, Michael Matz wrote: > > > ... the 'as' and 'ld' executables should be simply found within the >

website correction

2005-02-13 Thread Noah John
Apologies if this is the wrong place to send this, but the bottom of the page said send comments here. The link to Apple's website on the page "http://gcc.gnu.org/install/specific.html#powerpc-*-darwin*" needs to be updated. It reads: "http://developer.apple.com/tools/compilers.html" The new corr

TYPO - http://gcc.gnu.org/gcc-4.8/changes.html

2013-03-25 Thread John Franklin
"cpmpilation" probably meant "compilation"

Re: [Regression] d96ac6f2: time: Revert ALWAYS_USE_PERSISTENT_CLOCK compile time optimizaitons

2013-06-03 Thread John Stultz
On 06/01/2013 11:45 AM, Jens Taprogge wrote: On Sat, Jun 01, 2013 at 05:37:05PM +0200, Jens Taprogge wrote: On Fri, May 31, 2013 at 05:16:49PM -0700, John Stultz wrote: On 05/31/2013 04:42 PM, Jens Taprogge wrote: On Fri, May 31, 2013 at 02:14:47PM -0700, John Stultz wrote: Ok. None of this

  1   2   3   >