On 06/12/2011 15:29, Robert Dewar wrote:
On 12/6/2011 9:16 AM, David Brown wrote:
I would say it's better to have false positives in cases like this, than
false negatives, because there are easy ways to remove the false
positives.
My view is that for compiler warnings, you want to ba
On 06/12/2011 16:27, Robert Dewar wrote:
On 12/6/2011 10:18 AM, David Brown wrote:
Unfortunately, there are no such tools available that compare with gcc
and its warnings.
It's surprising this is true of C, it's certainly not true of Ada,
where CodePeer can do a much better job tha
; program, obviously). The most
commonly used commercial static analysis tool is Gimpel's "PC-Lint" for
Windows or "FlexeLint" for Linux (and other systems).
I'll try to remember not to use the term generically.
mvh.,
David
On Tue, 2011-12-06 at 16:40 +0100, David Brown wrote:
> On 06/12/2011 16:27, Robert Dewar wrote:
> > On 12/6/2011 10:18 AM, David Brown wrote:
> >
> >> Unfortunately, there are no such tools available that compare with gcc
> >> and its warnings.
> >
...
>
On 06/12/2011 20:33, Jeff Law wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/06/11 12:21, Ian Lance Taylor wrote:
While using the optimizers to improve the quality of uninitialized
warnings does have some benefits, those benefits are outweighed by
the drawbacks. We need to complete
On 07/12/11 19:05, Jeff Law wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/07/11 01:19, David Brown wrote:
Would it be possible then to have switches for different levels,
such as is done with the strict aliasing warnings?
Well, there's two obvious levels... Not sure if th
flag_ira_loop_pressure = 1;
The rs6000 port should allow this option to be overridden. It would
be better to post an explicit, tested patch to the gcc-patches
mailinglist.
The cost model is a separate issue that also should be corrected to
not inhibit this transformation.
Thanks, David
On 28/12/2011 07:48, R A wrote:
i'm an amateur programmer that just started learning C. i like most
of the features, specially the c preprocessor that it comes packed
with. it's an extremely portable way of implementing metaprogramming
in C.
though i've always thought it lacked a single feature
this spring. If this idea were that
simple, and that good, it would already be implemented. As you gain
experience and knowledge with C (and possibly C++), you will quickly
find that a preprocessor like you describe is neither necessary nor
desirable.
mvh.,
David
-
On 29/12/2011 00:08, R A wrote:
And if you want portable pre-processing or code generation, use
something that generates the code rather than inventing tools and
features that don't exist, nor will ever exist. It is also quite
common to use scripts in languages like perl or python to generate
t
On 29/12/11 22:05, R A wrote:
The gcc developers, and everyone else involved in the development
of C as a language, are perhaps not superhuman - but I suspect
their combined knowledge, experience and programming ability
outweighs yours.
given. but do you have a consensus of the community that
On 31/12/11 10:44, R A wrote:
alright, here's another example why eval is a good idea:
#define A 17 #define B 153 #define N1
((A + B)/2) /* intended was (17 + 153)/2 */
#undef A #define A 230 #define N2 ((A + B)/2) /*
intended was (230 + 153)/2 */
prin
I'm working on a GCC plugin which performs static analysis of Python
extension code [1]
In various places I need access to a VAR_DECL for various globals from C
code, many of which potentially aren't used directly within the
compilation unit. For example, I may need to reference this global:
e
seen at:
http://gcc-python-plugin.readthedocs.org/en/latest/index.html
The project's homepage is:
https://fedorahosted.org/gcc-python-plugin/
The plugin and checker are Free Software, licensed under the GPLv3 or
later. Thanks to Red Hat for funding their development, and to David
Narvae
On Wed, 2011-06-22 at 08:19 +0200, Jakub Jelinek wrote:
> Hi!
>
> On Tue, Jun 21, 2011 at 07:52:27PM -0400, David Malcolm wrote:
> > I'm not yet familiar with the details of the gcc GC, but it appears that
> > GTY() annotations are preprocessed to generate traversal c
On Thu, 2012-01-19 at 14:06 +0100, Alberto Lozano Alelu wrote:
> Hello.
>
> Thanks for your fast response.
>
> With expand_location I get struct expanded_location which has these fields:
> type = struct {
> const char *file;
> int line;
> int column;
> unsigned char sysp;
> }
>
>
g the "-fwrapv" flag or "int8_t char
sum_A_B(void) __attribute__((optimize("wrapv")));" on the specific function.
mvh.,
David
---
With best regards, Konstantin
On Thu, Jan 26, 2012 at 3:04 PM, Jakub Jelinek wrote:
On Thu, Jan 26, 2012 at 02:27:45PM +0400, Ko
On 27/01/2012 10:02, Richard Guenther wrote:
On Thu, Jan 26, 2012 at 4:58 PM, David Brown wrote:
On 26/01/2012 12:53, Konstantin Vladimirov wrote:
Hi,
If I know what I am doing, and my code itself guarantees, that there
will be no overflows and UB here, can I switch off this signed char to
On 27/01/2012 10:56, Richard Guenther wrote:
On Fri, Jan 27, 2012 at 10:40 AM, David Brown wrote:
On 27/01/2012 10:02, Richard Guenther wrote:
On Thu, Jan 26, 2012 at 4:58 PM, David Brown
wrote:
On 26/01/2012 12:53, Konstantin Vladimirov wrote:
Hi,
If I know what I am doing, and my
.
Until gcc gets a feature allowing it to whack the programmer on the back
of the head with Knuth's "The Art of Computer Programming" for writing
such stupid code that relies on the behaviour of volatile "a = b = 0;",
then a warning seems like a good idea.
mvh.,
Dav
On 30/01/2012 23:59, Zoltán Kócsi wrote:
David Brown wrote:
Until gcc gets a feature allowing it to whack the programmer on the back
of the head with Knuth's "The Art of Computer Programming" for writing
such stupid code that relies on the behaviour of volatile "a = b =
From: Michael Matz
Date: Wed, 1 Feb 2012 18:41:05 +0100 (CET)
> One problem is that it's not a new problem, GCC emitted similar code since
> about forever, and still they turned up only now (well, probably because
> ia64 is dead, but sparc64 should have similar problems).
Indeed, on sparc64 i
s are necessarily subject to the bug. There may be
another mechanism preventing concurrent access to the bitfield and
spinlock/atomic, or the bitfield is modified from a single cpu, or is
not used. But all of them need to be reviewed of course.
david
On 05/02/12 17:29, Alexandre Almeida wrote:
What do you think about making enum types have only the size needed
for the number of constants held? If an enum type has 256 constants
or less, for example, it needs only one byte. If it has between 257
and 65536 constants, in the other hand, it needs
gcc-python-plugin is a plugin for GCC 4.6 onwards which embeds the
CPython interpreter within GCC, allowing you to write new compiler
warnings in Python, generate code visualizations, etc.
It ships with "gcc-with-cpychecker", which implements static analysis
passes for GCC aimed at finding bugs in
I was building gcc-4.4.1 on an i686-linux-gnu slackware-12.2 box with
the default optimization flags. I'd last built/installed 4.4.0. The
current build dies at:
libtool: compile: /home/ronis/objdir/./gcc/xgcc -shared-libgcc
-B/home/ronis/objdir/./gcc -nostdinc++
-L/home/ronis/objdir/i686-pc-li
On Tue, Jul 28, 2009 at 10:44 AM, Tim Crook wrote:
> Thanks David.
>
> I thought -mmininal-toc might have been a better workaround as well :-) .
>
> Is there a Bugzilla number for this issue?
I believe this was GCC Bugzilla Bug 24779. It partially was fixed in
GCC 4.1, but not fu
From: Eric Botcazou
Date: Wed, 5 Aug 2009 17:59:01 +0200
>> I believe that I could legitimately approve that patch myself (it's
>> pretty trivial and I didn't author it), but I'd prefer to get approval
>> from one of the SPARC maintainers. Here's your chance:
>>
>> http://gcc.gnu.org/ml/gcc
Toon,
Graphite uses PPL, not PolyLib. PPL should be installed and the
polylib include path will be avoided.
David
On Mon, Aug 17, 2009 at 3:39 PM, Toon Moene wrote:
> As is pointed out in this config.log:
>
> In file included from conftest.c:12:
> /usr/include/cloog/cloog.h:
OFTC is rejecting all connections from me as well.
David
On Wed, Aug 19, 2009 at 8:33 AM, Ramana Radhakrishnan wrote:
> On Wed, Aug 19, 2009 at 1:27 PM, Diego Novillo wrote:
>> I haven't been able to connect to #gcc today. Is anyone else having
>> trouble connecting?
ey are only
lightly tested, but they could be a starting point.
I will dig them out and post them this weekend.
David Daney.
--host=powerpc-apple-darwin8
--target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5370)
Apple Computer, Inc. version cctools-622.9~2, GNU assembler version 1.38
Fang
David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/
I am pleased to announce that the GCC Steering Committee has
appointed Joseph Myers as GCC driver reviewer.
Please join me in congratulating Joseph on his new role.
Joseph, please update your listing in the MAINTAINERS file.
Happy hacking!
David
On Thu, Sep 10, 2009 at 6:06 PM, Kaveh R. GHAZI wrote:
> Please download, compile and run "make check" for this release and post
> your results as well your target triplet and the versions of your
> compiler, gmp and mpfr. All platform results are welcome, but I am
> especially interested in GCC'
Hello,
I'm rewriting std::rotate in the C++ standard library: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41351
. The other contributors suggest I register as a contributor and check
in my changes, and in particular submit a copyright assignment form.
May I have that, and any other necessary
I am pleased to announce that the GCC Steering Committee has
accepted the Lattice Mico32 port for inclusion in GCC. The initial
patch needs approval from a GCC GWP maintainer before it may be committed.
Happy hacking!
David
ng to help with experimentation.
Thanks, David
t; ST2CMP looks like). Note that the JCL has the filenames
>>> truncated to 8 characters, listed twice, uppercased, and '-'
>>> and '_' converted to '@'.
Paul,
Why are you not making use of z/OS Unis System Services? GNU Make and
other GNU tools are available and already built for z/OS.
David
GCC!
Please join me in congratulating Diego, Rafael, Richi, and Cary
on their new roles. Please update your listings in the MAINTAINERS file.
Happy hacking!
David
few examples of patches
(correctness, coding standards) and knowledge about version control
repositories before giving write access.
Thanks, David
e time and cycles it would be nice too.
MPC-0.8 build fails on AIX due to libtool. The changes to libtool
between MPC-0.7 and MPC-0.8 rely on Bash-specific features. Manually
editing libtool to use Bash allowed the build to succeed.
David
On Sun, Nov 8, 2009 at 1:22 AM, Kaveh R. Ghazi wrote:
>> From: "David Edelsohn"
>>
>> MPC-0.8 build fails on AIX due to libtool. The changes to libtool
>> between MPC-0.7 and MPC-0.8 rely on Bash-specific features. Manually
>> editing libtool to use B
On Tue, Nov 10, 2009 at 1:16 AM, Kaveh R. GHAZI wrote:
> So IIUC, David is setting SHELL=/path/to/bash first, then running
> configure, then getting an error. This happens because configure tests
> that bash understands +=, but libtool is run with (presumably) /bin/sh and
> doesn&
elease noted here:
>
> http://gcc.gnu.org/ml/gcc/2009-09/msg00203.html
powerpc-ibm-aix5.3.0.0
gcc-4.3.4
gmp-4.3.1
mpfr-2.4.1
mpc-0.8
===
All 57 tests passed
=======
David
On Thu, Nov 12, 2009 at 10:00 AM, Kaveh R. Ghazi wrote:
> And do we want to update aix5.2 to aix5.3 in our platforms list?
AIX should be updated to 5.3 or 6.1.
David
o be able to apply more
high-level loop transformations and want it to be more effective with
better tuning, please help implement the optimizations.
Thanks, David
t is done in the
delay slot of the call instruction, which would otherwise be a nop.
David Daney
k this would depend on the target architecture and instruction
set: CISC vs RISC, many registers vs few registers, etc. I do not
believe that GCC intentionally is trying to optimize for either, but I
do not think there is a single, right answer.
David
A change on November 23 is causing every C++ testcase to fail on AIX
because of _ZNSsD1Ev not being exported. c++filt reports the symbol
corresponds to
std::basic_string, std::allocator
>::~basic_string [in-charge]()
David
work around the problem. Just reloading the page
works as well.
I don't know what it would take to put an expiration date on those pages
that are updated monthly so that the reload wouldn't be necessary.
David Daney
Jamie Lokier wrote:
Uwe Kleine-König wrote:
Use the new unreachable() macro instead of for(;;);
*(int *)0 = 0;
/* Avoid "noreturn function does return" */
- for (;;);
+ unreachable();
Will GCC-4.5 remove ("optimise away") the *(int *)0 = 0 because it
knows the branch o
ctures start adding funky tables that get generated by
the inline asm (as in x86), __builtin_trap() becomes less useful.
David Daney
from / agreement of the
current maintainers.
Happy Holidays,
David
fanqifei wrote:
2010/1/13 Bingfeng Mei :
Your instruction is likely too specific to be picked up by GCC.
You may use an intrinisc for it.
Bingfeng
but insv is a standard pattern name.
the semantics of expression x= (x&0xFF00) | ((i<<16)&0x00FF);
is exactly what insv can do.
I all trie
not an assembler. It tries to optimize programs,
not read programmers' minds. If the person invoking the compiler does
not deny the resource to the compiler, it will try to use it when
profitable, which is what it should do.
David
I am pleased to announce that the GCC Steering Committee has
appointed Eric Weddington as AVR co-maintainer.
Please join me in congratulating Eric on his new role.
Eric, please update your listing in the MAINTAINERS file.
Happy hacking!
David
GCC 4.5 or later.
Please join me in congratulating and thanking Ian and the Go
language developers. Please update your listing in the MAINTAINERS file.
Happy hacking!
David
with Jason's suggestion, it is probably the right
choice.
David Daney
There is one g++ LTO test case (g++.lto/20090303) that fails on sparc,
it compiles the intermediate objects with -fPIC but the final
compilation creates an executable.
The problem is that when LTO re-instantiates the options for the
individual builds, the proper ASM specs of the target are not
ex
Ever since your changes installed on March 12th, I've been getting
fixincludes testsuite failures of the form below.
I also notice that none of these changes added ChangeLog entries, and
furthermore the SVN commit messages were extremely terse so it was
hard to diagnose the intent or reasoning be
From: Richard Henderson
Date: Tue, 16 Mar 2010 11:31:44 -0700
> On 03/12/2010 09:33 PM, David Miller wrote:
>> I couldn't figure out immediately how to fix this as the
>> way LTO does spec overriding and such looked non-trivial.
>
> It would not be a bad thing, I
From: Richard Henderson
Date: Tue, 16 Mar 2010 12:53:47 -0700
> On 03/16/2010 12:28 PM, David Miller wrote:
>> It's not the assemblers fault.
>>
>> We're using %hi() and expecting the assembler to emit a
>> PC relative relcation just bec
You said you would fix this several nights ago, but I still
haven't seen any changes to fixincludes since then.
When will you get around to fixing these regressions you
introduced?
Thank you.
ignment on file. When Jeremie Salvucci is
employed by CEA, his work will be covered by the existing assignment
for CEA.
Once he has an assignment in place, a number of people can sponsor him
for SVN write access. I can sponsor him.
David
2010/3/30 Basile Starynkevitch :
> Hello
>
> (sorr
I am pleased to announce that the GCC Steering Committee has
appointed Diego Novillo as Plugins Reviewer.
Please join me in congratulating Diego on his new role.
Please update your listing in the MAINTAINERS file.
Happy hacking!
David
I am pleased to announce that the GCC Steering Committee has
appointed Ulrich Weigand as co-maintainer of the Cell SPU port.
Please join me in congratulating Uli on his new role.
Uli, please update your listing in the MAINTAINERS file.
Happy hacking!
David
n the employer disclaimer
> form?
As you said, it depends on the disposition of your work. If your
company owns all of your programming work, especially if you do any
work on GCC using company equipment, even if not part of your official
duties, you need an employer disclaimer.
David
n why rely on it? The rhetoric is disconnected from
the actions.
David
embler and
linker.
David Daney
cal Discontents,
and trying to accommodate all of them would surly be determental to GCC.
I think that some potential contributors are discouraged from
contributing because they have been frightened away (by the Vocal
Discontents mentioned above) before they can get started.
David Daney
The perspective commercial LTD seeks for new members
If you possess 3 free hours every week, a small experience in computers and
free phone to which we can call you, you have possibility to start work with
us and have more than 2000 US dollars
If you are interested in our proposition
ted to GCC until it contains an FSF copyright
notice. Before it is committed it is your code, do whatever you want.
David Daney
=11764
Still accepts-invalid with g++-4.3.2.
compiles with out errors in g++. The result is as if f is declared with
F f;
This is the case with the stock/latest GCC in Debian GNU/Linux x86_64
(v.4.1.2) and in Cygwin (v.3.4.4).
Is this the intended behavior?
No. :)
Fang
David Fang
hacking!
David
t; Makefiles to generate LTO information, the extra flag won't matter to
> them.
IBM XLC whole program IPA mode defaults to hybrid files. One explicitly
specified -qipa=noobject to avoid emitting standard object files. Hybrid by
default follows the rule of least surprise.
David
MAIL PROTECTED], but haven't received
> any reply then, either.
>
> Is there any other contact we should use to find out what is happening?
The FSF is transitioning to a new copyright clerk and have a backlog of
assignments to work through.
David
promoted to libcpp reviewer.
Please join me in congratulating Diego, Ian, Richi, Richard,
Jeff, Jason, Bernd, Daniel, Zdenek, and Tom. Please update your listings
in the MAINTAINERS file.
Happy hacking!
David
rent configuration.
I configure using --with-mpfr=
David
On Mon, Oct 27, 2008 at 8:22 AM, Joseph S. Myers
<[EMAIL PROTECTED]> wrote:
> On Sun, 26 Oct 2008, David Edelsohn wrote:
>
>> Graphite's CLooG and PPL libraries use libgmpxx. Because cc1 is not linked
>> by g++, this effectively requires that libgmpxx must be a sha
GCC, another set of rules
applies.
The answer to your question depends on how you use GCC and mix it with
you "program," which is not clear in your message.
David
th works
but it searches for build directories not present on the install system.
David
On Thu, Nov 6, 2008 at 8:57 AM, Thomas Schwinge <[EMAIL PROTECTED]> wrote:
> Being one of GNU Hurd upstream, I'd offer to fill that position.
I have forwarded this nomination to the GCC Steering Committee.
David
ary and spec file with the new
compiler is reliable.
David
built -- all stages. libgomp currently is not designed
to be run in the build tree without the extra flags used by the testsuite.
You can test -ftree-parallelize-loops building GCC with an installed version
of GCC, but not as a three-stage bootstrap.
David
On Wed, Nov 19, 2008 at 1:47 PM, Andrew Pinski <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 19, 2008 at 10:40 AM, David Edelsohn <[EMAIL PROTECTED]> wrote:
>> You can test -ftree-parallelize-loops building GCC with an installed version
>> of GCC, but not as a three-stage bo
ove it at the next stage 1, at least it will stop causing problems.
>
> Thoughts?
It currently is broken on many platforms. Why not remove it now? What is
the purpose of keeping a pass that does not work correctly and developers
cannot use?
David
Geert Uytterhoeven wrote:
On Fri, 21 Nov 2008, Alan Cox wrote:
On Thu, 20 Nov 2008 17:26:36 -0800
David Daney <[EMAIL PROTECTED]> wrote:
MIPS: Make BUG() __noreturn.
Often we do things like put BUG() in the default clause of a case
statement. Since it was not declared __noreturn, this
his without
introducing additional runtime cost.
As I said in the other part of the thread, We are working on a GCC patch
that adds a new built-in function '__builtin_noreturn()', that you could
substitute for 'for(;;);' that emits no instructions in this case.
David Daney
CC that
already does something "similar" in say one of the optimisation passes
so i can get a look at how to get started on this?
Fang
David Fang
Computer Systems Laboratory
Electrical & Computer Engineering
Cornell University
http://www.csl.cornell.edu/~fang/
-- (2400 baud? Netscape 3.0?? lynx??? No problem!)
/gcc-patches/2008-12/msg00033.html
David Daney
I am pleased to announce that the GCC Steering Committee has
appointed Thomas Schwinge as GCC maintainer for GNU Hurd.
Please join me in congratulating Thomas on his new role.
Thomas, please update your listing in the MAINTAINERS file.
Happy hacking!
David
Zhang Le wrote:
On 10:33 Mon 01 Dec , David Daney wrote:
Zhang Le wrote:
BASE_DRIVER_SELF_SPECS \
+LINUX_DRIVER_SELF_SPECS \
" %{!EB:%{!EL:%(endian_spec)}}" \
" %{!mabi=*: -mabi=n32}"
You are missing a comma there between BASE_DRIVER_SELF_SPECS and
LINUX_DRIVER_SEL
press on with it.
The main point of this message is to try to avoid duplication of effort.
Thanks,
David Daney
Richard Sandiford wrote:
Hi David,
David Daney <[EMAIL PROTECTED]> writes:
Richard and others,
I have a (still broken) patch that tries to fix the fallout from the
change in semantics of the __sync_nand faimily of builtins that occurred
recently on the trunk.
If someone else is w
xplow.c:250
I see the same information in the AIX logs. The failure only just
appeared yesterday,
likely due to a change on Wednesday.
Jack, please copy me on the PR.
Thanks, David
tions from the C library?
Thanks in advance.
--
David Livshin
http://www.dalsoft.com
Ian Lance Taylor wrote:
David Livshin <[EMAIL PROTECTED]> writes:
What functions from the GNU's C standard library ( libc ) are thread
safe? Of a particular interest are transcendental functions ( like
exp', 'sin' etc. ) - are they thread safe?
Are there a
er, seems like a
waste if none of our code ever uses it.
David
Hi Seongbae
This would reduce the stack memory, but I'd lose the advantage of all of those
register windows. I'd like to still have the fast register windows, and if I
could avoid the mflat the callee wouldn't need to save all those registers and
consume stack space f
On Tue, Jan 6, 2009 at 12:37 AM, Kaveh R. GHAZI wrote:
> Sorry I missed this back when it was originally posted, and the other SC
> members likely did also. I'll try and get you going.
The request was forwarded to the GCC SC.
David
1001 - 1100 of 2732 matches
Mail list logo