use library call instead of
relying on HAVE_cmpstr[n]si, (except short strings). A better solution
would be to implement something like movmem pattern (which is aware of
value ranges, alignment, etc.) but for comparison patterns. I could try
to write at least some prototype for this (if no one else has already
started working on it).
--
Regards,
Mikhail Maltsev
non-ABI-compliant
memory allocators which only guarantee 8-byte alignment, but
char *bar()
{
char *data = __builtin_malloc(64);
return data + ((unsigned long)data) % 8;
}
does get optimized to
bar:
.LFB1:
.cfi_startproc
movl$64, %edi
jmp malloc
.cfi_endproc
depend on your version of GDB, it's settings, etc.
There are similar issues on CentOS 6 in this test report
https://gcc.gnu.org/ml/gcc-testresults/2015-03/msg03335.html (though
it's i686).
BTW, this failure also reproduces for me on current trunk.
--
Regards,
Mikhail Maltsev
rom build
to build). In contrast, manifest contains only the list of failures,
i.e. it is more diff-friendly.
3. Address sanitizer prints process ID in failure message. I replace it
by "[PID]", so it does not change across builds.
By the way, what is the policy of test results mailing list? I actually
run nightly builds of GCC trunk and could post them if that makes sense.
(though it's plain old x86_64-unknown-linux-gnu multilib; I build and
test C, C++, LTO, Fortran, Objective C and Go).
--
Regards,
Mikhail Maltsev
t; where semantics does not
imply negative values?
5. In general: which is better: to support consistency with surrounding
code or to use the new conventions? Particularly, the rule about
declaring variables at the place of first use (in a function where all
other variables are declared in the beginning)?
P.S. Sorry in advance for continuing a bikeshed discussion :).
--
Regards,
Mikhail Maltsev
':
/home/jenkins/workspace/build-gcc-trunk/src/lto-plugin/lto-plugin.c:930:16:
warning: implicit declaration of function 'asprintf'
[-Wimplicit-function-declaration]
t = hi ? asprintf (&objname, "%s@0x%x%08x", file->name, lo, hi)
This change seems somewhat related:
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=223589
--
Regards,
Mikhail Maltsev
ng tramp3d compilation, get_time is called 13172693 times.
Thoughts?
--
Regards,
Mikhail Maltsev
ng
locally, then user A will get a conflict, if he tries to pull (same result as
with "git push -f").
--
Regards,
Mikhail Maltsev
this change (i.e. make a list of C++ files with
.c
extension, fix build scripts, run some tests), if it is acceptable.
--
Regards,
Mikhail Maltsev
s on trunk and active development
(feature) branches.
--
Regards,
Mikhail Maltsev
red' of your 'pass_data'
structure. Then 'loops_for_fn' should work.
'selfassign.c' is a good example of a plugin which creates an optimization pass
(and 'dumb_plugin.c' is a good minimal example).
--
Regards,
Mikhail Maltsev
g/onlinedocs/gccint/Source-Tree.html and
gcc/Makefile.in in more detail.
Finally, note that GCC has some means of test coverage analysis: you can
configure/build it with "--disable-bootstrap --enable-coverage", run the tests
and then use gcov.
--
Regards,
Mikhail Maltsev
. Likewise, for libstdc++ benchmark.
--
Regards,
Mikhail Maltsev
Apache
Vary: Accept-Encoding
403 Forbidden
Forbidden
You don't have permission to access /ftp/
on this server.
Apache Server at gcc.gnu.org Port 80
Just in case, my IP is 185.6.245.180.
--
Regards,
Mikhail Maltsev
ch can occur in GCC
diagnostics (which are worth keeping in mind when designing the XML diagnostics
format):
https://github.com/miyuki-chan/gcc-xml-diagn/tree/master/examples
Any advices about other test cases which are worth taking into account and the
format itself?
--
Regards,
Mikhail Maltsev
easyhack&list_id=135581&resolution=---
--
Regards,
Mikhail Maltsev
s, like
contrib/lvimrc. Settings for emacs are available here:
https://gcc.gnu.org/wiki/FormattingCodeForGCC
> Should I star looking at the "easy hacks" ?
Yes, probably it's a good point to start with.
--
Regards,
Mikhail Maltsev
||
Grep 'set_fixit_hint' in the source code to see an example of it's usage.
Good luck!
P.S. I also CC'd this message to one of major contributors to GCC diagnostics
module, maybe he could add something.
--
Regards,
Mikhail Maltsev
ement stuff,
// so we'll just use a fixed-size stack
You actually don't need to use any complex memory management stuff. GCC
provides a wrapper for malloc called 'xmalloc'. It works like normal
malloc, but aborts in case of allocation failure.
--
Regards,
Mikhail Maltsev
.
What do you think about refactoring iterators in GCC 7?
--
Regards,
Mikhail Maltsev
se a range idiom like in D.
>
Could you please elaborate on that?
>
> Ciao,
> Michael.
>
--
Regards,
Mikhail Maltsev
tyle comments (//), which C-family
frontends already understand.
>
> Also note my suggestion that all GIMPLE sources should be valid C as well it
> would be unfortunate to lose the option to torture unit tests.
>
I wonder how will this work with SSA form?
--
Regards,
Mikhail Maltsev
t; source. I might be wrong!
Some of the C++ Core Guidelines checks are already implemented in clang-tidy:
http://reviews.llvm.org/diffusion/L/browse/clang-tools-extra/trunk/clang-tidy/cppcoreguidelines/
--
Regards,
Mikhail Maltsev
es/2015-11/msg01773.html
--
Regards,
Mikhail Maltsev
ldn't this also go to the wiki?
--
Mikhail Maltsev
27; option.
--
Mikhail Maltsev
r-rt (~ libgcc), for libc++ (~ libstdc++).
All utilities (~ libiberty) live in the LLVM repo (include/llvm/ADT,
include/llvm/Support, lib/Support). Other projects, like LLDB, are checked out
into a subdirectory, and are always built from the combined tree.
--
Regards,
Mikhail Maltsev
m/blog/archives/499
>
> and do not miss the comment by Joel Brobecker about what AdaCore uses
> (internally?).
>
>
And probably this talk is also somewhat relevant (Cauldron 2013 - DejaGNU BOF):
https://www.youtube.com/watch?v=rjm-n9EgxiE
--
Mikhail Maltsev
l non-relevant lines omitted)
31.01.2015 14:58 4 a
31.01.2015 14:58 4 B
Renaming does work:
Cygwin:
$ mv ./a ./A
$ ls
A B
Native:
>rename a A
>dir
(...)
31.01.2015 14:58 4 A
31.01.2015 14:58 4 B
--
Regards,
Mikhail Maltsev
this problem
does not occur, but in general it's better not to rely on this.
--
Regards,
Mikhail Maltsev
(Dehydra perhaps, or a
dedicated plugin, or Ctags? Or turn this patch into a proper plugin?
Maybe create a symbols database and identify dependencies to break?)."
--
Regards,
Mikhail Maltsev
x27;t mean removing something
from testsuite, but rather adding a separate Makefile, not dependent on
DejaGNU). Any thoughts on this?
--
Regards,
Mikhail Maltsev
s
linear combinations of induction variables and constants) - no if's, no
while's with non-trivial exit conditions.
So, I think this idea is, unfortunately, not very realistic in terms of
required efforts.
P.S. I'm new in GCC community, but I hope that in general terms my
description is close to reality. Please correct me, if something is wrong.
--
Regards,
Mikhail Maltsev
evaluation.
* Custom instrumentation of source code (user or framework-specific
fortification or performance profiling).
Any thoughts on this? Is such API useful for GCC?
--
Regards,
Mikhail Maltsev
UGIN_PRE_GENERICIZE) and
searches for such casts.
--
Regards,
Mikhail Maltsev
ages. It is an HTML file with several
js-scripts, which allow to sort the list by columns mentioned
above (title, last edit date and author). I hope it will help working
on wiki.
When I get some more free time, I'll also add a list of broken links.
--
Regards,
Mikhail Maltsev
The type char, the signed and unsigned integer types, and the
floating types are collectively called the basic types. Even if the
implementation defines two or more basic types to have the same
representation, they are nevertheless different types. (6.2.5)
Thus, the call of f() invokes undefined behavior.
--
Regards,
Mikhail Maltsev
x (well, Iceweasel actually) handle it correctly. SSL certificate
is OK.
Though it's strange. Why not "301 Moved Permanently"?...
--
Regards,
Mikhail Maltsev
though
> running that for each backport by hand would get a little old.
>
IIRC, SVN can dump the whole repository and import it again. So, if it's
really desired, it's possible to rename the files "in the past" without
loosing the history by filtering the dump (but git mirror must be
rebuilt in this case).
--
Regards,
Mikhail Maltsev
eneral marshalling routines
gcc/ggc* - marshalling routines, which use code generated by gengtype;
used for precompiled headers
I'm asking for advice on correct categorization, missing stuff, etc.
--
Regards,
Mikhail Maltsev
gt; Just do it.
Hmm, indeed...
> Sent a patch for gccint.texi or create a webpage in the wiki
> to draft it or just draft it in plain-text and send it to the mailing
> list.
Started with the latter. By the way, what is the policy concerning
getting write access to the wiki?
Regards,
Mikhail Maltsev
ut the testsuite which is run when I
run "make" passes without failures.
--
Regards,
Mikhail Maltsev
diff --git a/.gitignore b/.gitignore
index 09559f8..a34acf4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,6 +34,6 @@ docs/_build
# Logfiles generated during the selftest suite:
*.c.cpy
rs of EditorGroup get
deleted periodically)?
--
Regards,
Mikhail Maltsev
;> Excellent; thanks.
>
> Hello.
>
> I've just done that, periodically built LCOV can be found here:
>
> http://gcc.opensuse.org/gcc-lcov/
>
>>
>> For your periodic builds, please can you add "jit" to the enabled
>> languages (it will also need --enable-host-shared).
>
> Done that and will be seen in next build. I do it every weekend.
>
>>
>> Would be nice to add libiberty and libcpp to this, but maybe that needs
>> extra work?
>
> Yep, it's currently done for gcc subfolder. Can be done in the future.
>
> Martin
>
>>
>> Dave
>>
>
--
Regards,
Mikhail Maltsev
Hi. Yes, bug maintenance is appreciated. See this message and replies
to it: https://gcc.gnu.org/ml/gcc/2016-04/msg00258.html .
I'm not sure that there is a documented policy, but I might be wrong.
--
Regards,
Mikhail Maltsev
rit a new class from the
lang_hooks class in the frontend and override any of its virtual methods.
--
Regards,
Mikhail Maltsev
46 matches
Mail list logo