Re: RFC: objc_msgSend efficiency patch

2005-02-21 Thread Mark Mitchell
REF, and then modify the OBJ_TYPE_REF documentation to indicate that. -- Mark Mitchell CodeSourcery, LLC [EMAIL PROTECTED] (916) 791-8304

Re: C++ PATCH:

2005-02-23 Thread Mark Mitchell
ou that, than to waste everyone's time pretending I've not come to a conclusion. Even then, I'm always willing to be persuaded otherwise -- but the way to do that is to write a well-reasoned description of why I'm wrong that convinces others. If lots of other people think differently, that's a suggestion I should rethink my position. -- Mark Mitchell CodeSourcery, LLC [EMAIL PROTECTED] (916) 791-8304

Re: C++ PATCH:

2005-02-23 Thread Mark Mitchell
eem to do some kind of majority-rules thing. That's exactly what happened with respect to making G++ compile with a C++ compiler; enough other people seemed convinced that it was worthwhile that I re-thought. That occurred through the passage of time and lots of conversation, not through an argument with you. -- Mark Mitchell CodeSourcery, LLC [EMAIL PROTECTED] (916) 791-8304

Re: Suggestion: Different exit code for ICE

2005-02-24 Thread Mark Mitchell
that, using and detecting a different error code for an ICE is an excellent idea. I definitely agree. I think that would be great. -- Mark Mitchell CodeSourcery, LLC [EMAIL PROTECTED] (916) 791-8304

Quick 4.0 status update

2005-02-24 Thread Mark Mitchell
ifornia". I've received a lot of good proposals for 4.1, and am working on ordering them as best I can. I'll be posting that information later today -- before I create the branch. FYI, -- Mark Mitchell CodeSourcery, LLC [EMAIL PROTECTED] (916) 791-8304

Mainline frozen

2005-02-25 Thread Mark Mitchell
As of now please refrain from further checkins to the mainline, until I post a message announcing that the 4.0 branch has been created. I'll post a message re. 4.1 as soon as the branch has been made. -- Mark Mitchell CodeSourcery, LLC [EMAIL PROTECTED] (916) 791-8304

Re: -Ttext with -mthumb causes relocation truncated to fit

2005-02-25 Thread Mark Mitchell
n ELF toolchain; use a linker script instead. I did fix at least one bug, such that -Ttext does something useful with ELF toolchains, if your linker script it set up to use it. I think the ARM BPABI script may be the only one set up that way, though. -- Mark Mitchell CodeSourcery, LLC [

GCC 4.0 Branch

2005-02-25 Thread Mark Mitchell
se don't try to do anything with that until I give the thumbs-up. -- Mark Mitchell CodeSourcery, LLC [EMAIL PROTECTED] (916) 791-8304

GCC 4.1 Projects

2005-02-25 Thread Mark Mitchell
tried to put these projects early; we don't want to stuff to miss two release cycles. For 4.1, I'm going to try (again) to keep to the six-month schedule in our development plan. So, Stage 1 will end April 25th, Stage 2 will end June 25th (or a little later, given Ottawa), etc. -- Mark Mitchell CodeSourcery, LLC [EMAIL PROTECTED] (916) 791-8304

Re: -Ttext with -mthumb causes relocation truncated to fit

2005-02-25 Thread Mark Mitchell
/scripttempl/armbpabi.sc. Search for SEGMENT_START, in particular. This is an expression you can use in a linker script that will honor the -T flags. I've been meaning to add that support to the elf.sc linker script (used on GNU/Linux, for example), but I've never gotten around to it

Re: GCC 4.1 Projects

2005-02-25 Thread Mark Mitchell
Nathan Sidwell wrote: Mark Mitchell wrote: I have posted the GCC 4.1 project submissions I received here: http://gcc.gnu.org/wiki/GCC%204.1%20Projects You've not included the completion of gcc_assertification, did you miss that email, or did you not think it necessary to add it as a spe

Thank you!

2013-11-15 Thread Mark Mitchell
ntributed, and I'd like to thank all of you; your contributions and your community gave me the opportunity to have a ton of fun. Thank you, -- Mark Mitchell

Re: __builtin_expect for indirect function calls

2008-01-04 Thread Mark Mitchell
like: sizeof(__builtin_expect(1, 1)) will change its value. And, the current prototype is documented in the manual. What do people think? Do we have the leeway to change this? Or should we add __builtin_expect2? Or add an -fno-polymorphic-builtin-expect? Or...? Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: __builtin_expect for indirect function calls

2008-01-06 Thread Mark Mitchell
sible. I can't think of a way in which it changes current behavior, unless you call __builtin_expect with a long long, and that's probably not going to do what you expect right now anyhow. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: Changes in C++ FE regarding pedwarns to be errors are harmful

2008-01-09 Thread Mark Mitchell
s no sane C++ programmer would do at this point, but we want to support for legacy C++ code. I don't see any a priori problem with changing to match the C front end. We could of course change some of the pedwarns into errors if we really think they ought to be errors. Or, some of them could b

Release Management

2008-01-10 Thread Mark Mitchell
d Richard all agreed to help out in this way. Please join me in thanking and congratulating our new co-RMs! -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: Changes in C++ FE regarding pedwarns to be errors are harmful

2008-01-11 Thread Mark Mitchell
Joe Buck wrote: > Mark Mitchell wrote: >>> I don't see any a priori problem with changing to match the C front end. >>> We could of course change some of the pedwarns into errors if we really >>> think they ought to be errors. Or, some of them could be ordin

Re: How to stop gcc from not calling noinline functions

2008-02-06 Thread Mark Mitchell
g() { f(); } A valid GNU C compiler cannot eliminate the call to "f", as long as the call itself is reachable. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: may_alias attribute and type identity (PR c++/34935)

2008-02-06 Thread Mark Mitchell
ions in future, if we add mangling support for attributes. But, yes, if we need to mangle these types, we need to have a mangling for attributes. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: may_alias attribute and type identity (PR c++/34935)

2008-02-07 Thread Mark Mitchell
nt conversion between them. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: bootstrap broken on mingw

2008-02-18 Thread Mark Mitchell
ems. Or, is it the case that the patch to use abs_srcdir means that no matter what Texinfo you have, it's not going to work on MinGW? -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Mark Mitchell
save whatever AltiVec registers its using? Is that what you're suggesting? Daniel, perhaps you can put a full proposal on the table so that we can try to get consensus on thsi? Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Mark Mitchell
erPC ELF ABI group decides what to do with them. It's certainly good to minimize the number of times we introduce ABI changes, so waiting for a definitive plan makes sense. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Mark Mitchell
're doing and what impact it might have on the various stakeholders. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Mark Mitchell
David Edelsohn wrote: Mark Mitchell writes: Mark> However, if I understand correct, some users have probably been Mark> implicitly using those options because they were using "-mcpu=970", or Mark> otherwise specifying an AltiVec CPU. It seems desirable in the abstract M

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Mark Mitchell
o you agree? Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: Double constructors in C++?

2008-02-18 Thread Mark Mitchell
of the patches have introduced additional thunks of some kind. Actually giving both names to the same entry point would avoid the ABI problems, and thus be non-controversial. (The ABI explicitly endorses multiple entry points as a solution.) -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 33

Re: Double constructors in C++?

2008-02-18 Thread Mark Mitchell
fully enforced that on all platforms, and if the copies aren't all in the same COMDAT group, then, indeed, I can imagine that you could end up with one of the constructors coming from one place, and one from another -- which might be unfortunate. -- Mark Mitchell CodeSourcery [EMAIL PROT

Re: GCC 4.3 branch created, 4.4 opens for stage1

2008-02-19 Thread Mark Mitchell
release branch unless you are also patching all later branches. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: RFC: GCC 4.4 criteria - add Fortran as primary language?

2008-02-21 Thread Mark Mitchell
t how good of a language Fortran is, or how solid the Fortran front-end is; it's just a comment about usage of GCC. That said, I think that the RMs do -- and should -- pay attention to Fortran. I just think that the statement that only C and C++ regressions are release-critical is importan

Re: PR35401 and PR30572 are gcc 4.3.0 release blockers on darwin

2008-02-29 Thread Mark Mitchell
bout what status Darwin might have in the future; if there's active maintenance -- as, it looks like, there may very well be, given that we have a volunteer for the position -- then that might well reactivate Darwin, even for later 4.3.x releases. Thanks, -- Mark Mitchell CodeSourcery [EMA

Re: PR35401 and PR30572 are gcc 4.3.0 release blockers on darwin

2008-02-29 Thread Mark Mitchell
ug in the use of install-leaf. I didn't mean to imply otherwise. My statement was simply that Darwin-only problems are not in and of themselves release-blockers for 4.3.0. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: [PATCH][4.3] Deprecate -ftrapv

2008-02-29 Thread Mark Mitchell
block removing libcall notes by it). Why doesn't it work? Can it be made to work relatively easily? Do we need functionality like this for Ada or Java? Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: [PATCH][4.3] Deprecate -ftrapv

2008-02-29 Thread Mark Mitchell
you've withdrawn the deprecation request, so maybe this is something of a moot point now? I certainly agree that we shouldn't let a non-working feature stand in the way of improvements in 4.4. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: [PATCH][4.3] Deprecate -ftrapv

2008-02-29 Thread Mark Mitchell
eliminating them before gimplification would be a false negative, so less of a problem. Since this feature is designed to crash your program when it has a bug, crashing your program somewhat less often doesn't make the feature useless; just less useful. -- Mark Mitchell CodeSourcery [

Re: PR35401 and PR30572 are gcc 4.3.0 release blockers on darwin

2008-02-29 Thread Mark Mitchell
when the problems that it causes for darwin are solved)? I think it's important, since, IIUC, it improves our ability to test on all platforms. But, I certainly encourage you to figure out why it breaks Darwin and work out how to fix it! -- Mark Mitchell CodeSourcery [EMAIL PROTECTED]

Re: PR35401 and PR30572 are gcc 4.3.0 release blockers on darwin

2008-03-02 Thread Mark Mitchell
ayout than the eventual installation), making the driver depend on shared libraries created during the build is certainly going to be tricky. In particular, on most platforms LD_LIBRARY_PATH (or equivalent) will have to be set just so whenever xgcc is run. -- Mark Mitchell CodeSourcery [EMAIL

Re: [PATCH][4.3] Deprecate -ftrapv

2008-03-02 Thread Mark Mitchell
tions using those codes -- but after gimplification these tree codes are no longer used. 3. Plumb the new operations through the TREE-SSA optimizers, add support for generating the checks during expand for those trapping operations that make it to that point, and disable the insertion of check

Re: Possible GCC 4.3 driver regression caused by your patch

2008-03-12 Thread Mark Mitchell
chance yet, but I will try to figure out what's going on soon.) Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: gcc-4.1-20080303 is now available

2008-03-16 Thread Mark Mitchell
e a checkout on the branch from whatever point they prefer. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: [RFC] GCC caret diagnostics

2008-03-16 Thread Mark Mitchell
re!" not "Gee, how frustrating, that sometimes works, but often just lies to me." I wouldn't object to having the functionality in the compiler as an option (but off by default), until we fix the accuracy, though. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: gcc-4.1-20080303 is now available

2008-03-17 Thread Mark Mitchell
release be made aggressively obvious. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: gcc-4.1-20080303 is now available

2008-03-17 Thread Mark Mitchell
have an update release have a new and different license, with which you might not be familiar. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: C++ FE question: When is CLASSTYPE_VBASECLASSES valid?

2008-03-19 Thread Mark Mitchell
CLASSTYPE_VBASECLASSES is valid? No; if the class is presently being defined, that will not be set. However, it should be safe to check that for a complete class when !processing_template_decl. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: GCC 4.3 license in manual still under GPLv2

2008-03-26 Thread Mark Mitchell
page? What would be the adverse consequences of just replacing our gpl.texi with the FSF GPLv3 version? -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: GCC 4.3 license in manual still under GPLv2

2008-03-26 Thread Mark Mitchell
For something as big and complex as GCC, info/HTML/PDF all seem like better media. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: GCC 4.3 license in manual still under GPLv2

2008-03-26 Thread Mark Mitchell
'd hate to lose them. Well, would anyone like to volunteer to update our manual, then? I think that this is a critical defect in the current sourcebase; do we have a PR open? If not, I can file one. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: vtrelocs: large/modular C++ app speedup ...

2008-04-02 Thread Mark Mitchell
an issue; you're not concerned about putting a new application into the field on an old OS, but rather about rolling out a new device with kernel, applications, and all. So, I think we want both options here. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: US-CERT Vulnerability Note VU#162289

2008-04-07 Thread Mark Mitchell
(buf + len < buf) return 1; return 0; } If you know of a non-GCC compiler that optimizes away the test (so that the function always returns 0), please post here, and let me know the name, version number, command-line options, etc. you used to demonstrate that. Thanks, -- Mark Mitchel

Re: US-CERT Vulnerability Note VU#162289

2008-04-07 Thread Mark Mitchell
ew to something like: "Some compilers (including, at least, GCC, PathScale, and xlc) optimize away incorrectly coded checks for overflow. Applications containing these incorrectly coded checks may be vulnerable if compiled with these compilers." ? -- Mark Mitchell CodeSourcery [E

Re: US-CERT Vulnerability Note VU#162289

2008-04-07 Thread Mark Mitchell
Mark Mitchell wrote: "Some compilers (including, at least, GCC, PathScale, and xlc) optimize away incorrectly coded checks for overflow. Applications containing these incorrectly coded checks may be vulnerable if compiled with these compilers." I've now been told that th

Re: US-CERT Vulnerability Note VU#162289

2008-04-07 Thread Mark Mitchell
ocusing on GCC exclusively is misleading. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: US-CERT Vulnerability Note VU#162289

2008-04-07 Thread Mark Mitchell
Mark Mitchell wrote: I've been told that Intel's ICC compiler also does this optimization: ICC 10.0 and earlier releases perform the same optimization, but not on straight-line code, such as the testcase. ICC performs the transformation inside loops. Thanks, -- Mark Mitchell Co

Re: US-CERT Vulnerability Note VU#162289

2008-04-07 Thread Mark Mitchell
Mark Mitchell wrote: I've been told that Intel's ICC compiler also does this optimization: Apparently, IAR's Atmel AVR compiler does this optimization as well. That CPU has 16-bit addresses, so the tester changed the test case to use "1 << 14" instead of &qu

Re: US-CERT Vulnerability Note VU#162289

2008-04-08 Thread Mark Mitchell
has to know that the value of len is non-negative in order to do the optimization. Using an "unsigned int len" parameter should also give it that information, but the version I had was designed to closely resemble the case shown to my by CERT, which used a signed variable. Th

Re: US-CERT Vulnerability Note VU#162289

2008-04-08 Thread Mark Mitchell
Mark Mitchell wrote: Mark Mitchell wrote: I've been told that Intel's ICC compiler also does this optimization: Apparently, IAR's Atmel AVR compiler does this optimization as well. That CPU has 16-bit addresses, so the tester changed the test case to use "1 <&l

Re: US-CERT Vulnerability Note VU#162289

2008-04-08 Thread Mark Mitchell
n 1; return 0; } which is what the person who emailed me about MSVC tested. I did include the optimization flags they used in that email; they appeared in a comment in the MSVC output. I don't know what those flags mean, though; I'm not an expert on MSVC usage. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: improving auto increment expressions detection across basic blocks.

2008-04-08 Thread Mark Mitchell
to do a post-increment -- but is there anything especially clever out there? Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: RFC: A new meta intrinsic header file for x86 intrinsics

2008-04-08 Thread Mark Mitchell
kes it easy for people to move code from icc to GCC. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: GCC 4.3.0 compilation error

2008-04-08 Thread Mark Mitchell
_MAX #endif to host-linux.c. Or some autoconf check that determines whether SSIZE_MAX is available and defines it if it is not, based on the size of size_t. Or something. (I don't know Linux well enough to how consistent these things are across targets.) Thanks, -- Mark Mitchell

Re: RFC: A new meta intrinsic header file for x86 intrinsics

2008-04-08 Thread Mark Mitchell
H.J. Lu wrote: Icc and gcc will use the same filename. The question is what filename to use. Oh, OK. If we get to pick, then, yes, I think is nice. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: RFC: named address space support

2008-04-09 Thread Mark Mitchell
finding out that we have to change them in ways that are not backwards compatible. And, I'd like to know what our C maintainers make of the proposal overall; if they see language issues, then we might want to resolve those with WG14. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: US-CERT Vulnerability Note VU#162289

2008-04-11 Thread Mark Mitchell
Robert C. Seacord wrote: Gerald, There was a report (forwarded by Mark Mitchell) of Microsoft Visual C++ 2005 performing that optimization (the resultant object code was shown). Have you verified that this report was false? both chad and i have tested this with various options on Visual C

Re: US-CERT Vulnerability Note VU#162289

2008-04-22 Thread Mark Mitchell
er compilers that do the same optimization. Why is the status for compilers from Microsoft, Intel, IBM, etc. listed as "Unknown" instead of "Vulnerable"? -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: US-CERT Vulnerability Note VU#162289

2008-04-24 Thread Mark Mitchell
g degree to which vitally important software is built with GCC. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: US-CERT Vulnerability Note VU#162289

2008-04-24 Thread Mark Mitchell
e completed that investigation? I can appreciate the desire for an independent investigation, but given the data we have already provided, it should be a pretty simple matter to verify this. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: US-CERT Vulnerability Note VU#162289

2008-04-25 Thread Mark Mitchell
ata for those people. But, it should be made clear that switching from GCC to icc (or whatever) is not a solution, since many of those compilers also do the optimization. (Never mind the risks that making a major change to your build environment entails...) -- Mark Mitchell CodeSourcery [EMAIL

Re: dg-skip-if on powerpc when multiple cpu cflags specified

2008-04-27 Thread Mark Mitchell
CPU with AltiVec support, or something. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

4.3.1 Status Report (2008-04-17)

2008-04-27 Thread Mark Mitchell
Status == The GCC 4.3 branch is open for commits under normal release branch rules. GCC 4.3.1 is scheduled for 2008-05-05. As we have not yet built 4.3.1-rc1, we will slip that date. As shown below, there are 2 P1s on the 4.3 branch, so we are not yet ready to build RC1. One of the P1s

Re: dg-skip-if on powerpc when multiple cpu cflags specified

2008-04-28 Thread Mark Mitchell
Probably not. Though, I suppose: #if !defined(__PPC405__) asm("haha here is a 405 insn"); #else /* The real test goes here. */ #endif might... -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: IRA for GCC 4.4

2008-04-29 Thread Mark Mitchell
like the wrong way to go. Vladimir, if you feel that Peter's code cannot be used directly in IRA, would you please explain why not? It does seem like it would be easier for everyone if we could leverage what has already been done. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED]

Re: GCC 4.1 snapshots

2008-05-28 Thread Mark Mitchell
pshot-only-if-something-changed, that seems fine too -- but from the FSF point of view 4.1 is now dormant. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: [whopr] Design/implementation alternatives for the driver and WPA

2008-06-04 Thread Mark Mitchell
ow to start the discussion. == Repackaging == Under this proposal, WPA repackages its input files. FWIW, I'd suggest going this way. I agree that this is probably the way to go in the long term, and avoiding the throw-away stage seems beneficial. -- Mark Mitchell CodeSourcery [EMAIL PROTE

Re: [lto] Streaming out language-specific DECL/TYPEs

2008-06-04 Thread Mark Mitchell
cific DECLs and TYPEs after gimplification should be for generating debug information. And if that's already been done, then you shouldn't need it at all. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: [tuples] API documentation

2008-06-13 Thread Mark Mitchell
like a good idea to me. I agree. And, I think in the source code is the right answer, even over the long term. For one thing, one often needs to know what the API *was* for some old version of GCC. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: C++ warnings vs. errors

2008-06-13 Thread Mark Mitchell
to finish this project, that would be very much appreciated. We don't want this to be a case where we improved the infrastructure of the compiler -- but made the user experience worse. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

GCC 4.3.2 Status Report (2008-06-13)

2008-06-13 Thread Mark Mitchell
=== http://gcc.gnu.org/ml/gcc/2008-06/msg00155.html The next report for the 4.3 branch will be sent by Joseph. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: C++ warnings vs. errors

2008-06-15 Thread Mark Mitchell
Jonathan -- Thanks for pushing this forward! -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713 On Jun 15, 2008, at 7:06 PM, "Jonathan Wakely" <[EMAIL PROTECTED]> wrote: 2008/6/13 Mark Mitchell: Jonathan Wakely wrote: Hi Volker, thanks for picking th

Re: C++ warnings vs. errors

2008-06-18 Thread Mark Mitchell
, DTRT implies not, but should tf_error be changed to tf_warning? I think "DTRT" here means "do what whoever wrote this code thinks the standard should say" not "do what the standard says". Please make these permerrors. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: C++ warnings vs. errors

2008-06-19 Thread Mark Mitchell
Jonathan Wakely wrote: 2008/6/18 Mark Mitchell: * I don't think the pedwarn in joust() in cp/call.c should be a permerror, is this a GNU extension? if (warn) { pedwarn ("\ ISO C++ says that these are ambiguous, even \ though the worst conversion for th

Re: C++ warnings vs. errors

2008-06-20 Thread Mark Mitchell
Jonathan Wakely wrote: Thanks for the review, here's another patch ... Shall I commit this? Yes, please. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: Should we remove java from the default bootstrap languages?

2008-06-25 Thread Mark Mitchell
that after-the-fact auto-testing can delivery much of the same value. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: Should we remove java from the default bootstrap languages?

2008-06-26 Thread Mark Mitchell
articularly if that isn't yielding results -- then we revert? To be clear, I have no special decision-making power here. I'm hoping we can build a consensus to move in this direction, but it has to be a consensus decision. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

RFC: Bug in specs processing

2008-07-22 Thread Mark Mitchell
if the user said "-ofoo.o", and that was missing, we'd delete "foo.o" which we should not. (There is already some code involving have_o_argbuf_index which looks like it may mishandle things like "gcc -c -x c -- -o", but that's another matter.) This idea of going back and looking at argbuf is, therefore, broken by design. I don't see a way to really make %W make sense, in this context. Ideas? -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: Recent warning regression in libstdc++-v3/libsupc++

2008-07-23 Thread Mark Mitchell
then the caller must *add* code to catch the exceptions thrown by callees and raise std::unexpected. So, you want to work bottom-up, putting "throw()" on the leaf functions, and then on callers that call only "throw()" functions and so forth. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: Recent warning regression in libstdc++-v3/libsupc++

2008-07-23 Thread Mark Mitchell
a future project; it only affects other C++ library implementations, and we don't care so much about that. Does that help? -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: RFC: Bug in specs processing

2008-07-24 Thread Mark Mitchell
" spelling, and -- if necessary -- to collapse the spelling for the output. If there really are tools that require "-ofoo.o" this will improve the user experience, since presently saying "-o foo.o" will not work on such platforms. (Because that's true, I doubt

Re: Merging tuples branch into mainline today

2008-07-25 Thread Mark Mitchell
y checkins that are already in flight. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: Merging tuples branch into mainline today

2008-07-25 Thread Mark Mitchell
H.J. Lu wrote: Mainline is currently broken on a few platforms: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36907 I think we should fix it first before another big merge. Diego, what do you think? -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: Merging tuples branch into mainline today

2008-07-25 Thread Mark Mitchell
Diego Novillo wrote: In terms of regressions versus mainline, the only regressions introduced by tuples wrt mainline are the matrix-reorg pass that still has not been converted. Why not fix that before merging, then? Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385

Re: Merging tuples branch into mainline today

2008-07-25 Thread Mark Mitchell
ld be committed to fixing this pass ASAP after it's checked in; waiting until late August to fix it seems bad. Is there someone else who can commit to working on it as a high priority after the main tuples checkin? -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: Merging tuples branch into mainline today

2008-07-25 Thread Mark Mitchell
Steven Bosscher wrote: If this pass is effectively unmaintained, why not just remove it? Unmaintained passes that are not enabled at any optimization level are usually broken anyway. That's an option, too; the question is whether it has any value. I don't know. -- Mar

Re: Merging tuples branch into mainline today

2008-07-25 Thread Mark Mitchell
nk we should be dismissive of "benchmark toy" passes if they actually improve benchmarks significantly. We don't have to like it, but we should accept that people are going to benchmark GCC against its proprietary competition, and that having good benchmark results matters. Thanks,

Re: Merging tuples branch into mainline today

2008-07-25 Thread Mark Mitchell
with this? Diego, I think that given Aldy's offer, we can remove this as an issue. Go ahead with the merge, if you're ready. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: lto gimple types and debug info

2008-07-25 Thread Mark Mitchell
to only be a problem for AIX at this point, so that may not be that much of a problem. This is the approach I would suggest. Dump out the debug info for types before you throw away all the information, and then leave it aside. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: lto gimple types and debug info

2008-07-27 Thread Mark Mitchell
te value for the symbol at link time. I'm curious what we do with SRA at the moment. This is the same sort of problem; do we have any solutions at present? -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: lto gimple types and debug info

2008-07-27 Thread Mark Mitchell
ld be better than modifying the debugger to make assumptions about magic variable names. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

Re: lto gimple types and debug info

2008-07-27 Thread Mark Mitchell
hat's what everyone is talking about, I think. "Emit" here may also mean "cache in memory some place", rather than "write to a file". It could mean, for example, fill in the data structures we already use for types in dwarf2out.c early, and then throw away th

Re: RFC: Adding non-PIC executable support to MIPS

2008-07-27 Thread Mark Mitchell
ot;could I stick a random data byte there and have it affect the function". For example, for a Thumb function whose ISA address is "0x0001", I would consider for size purposes that it starts at "0x", since altering that byte at run-time would change the me

Re: lto gimple types and debug info

2008-07-27 Thread Mark Mitchell
non-DWARF debug info. As long as it we design it carefully, there's no reason we should have that limitation. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

<    7   8   9   10   11   12   13   14   15   >