Hi, all,
With following code:
[CODE]
struct B {
int c;
int d;
};
#define X(a, b, c) \
do\
{\
if (a)\
printf("%d, %d\n", b.c, c);\
else\
printf("%d\n", c);\
}while(0);
[/CODE]
Why
int d = 24;
X(1, b, d);
can be compil
On 2/6/07, Diego Novillo <[EMAIL PROTECTED]> wrote:
Paulo J. Matos wrote on 02/06/07 14:19:
> Why before pass_build_ssa? (version 4.1.1)
>
It depends on the properties your pass requires. If you ask for
PROP_cfg and PROP_gimple_any then you should schedule it after the CFG
has been built, but i
[EMAIL PROTECTED] wrote:
With following code:
[CODE]
struct B {
int c;
int d;
};
#define X(a, b, c) \
do\
{\
if (a)\
printf("%d, %d\n", b.c, c);\
else\
printf("%d\n", c);\
}while(0);
[/CODE]
Why
int d = 24;
X(1, b,
Jan Hubicka <[EMAIL PROTECTED]> writes:
[...]
>> static inline void __attribute__((noreturn)) BUG(void)
>> {
>> __asm__ __volatile__("trap");
>> __builtin_unreached();
>
> This is bit dificult to do in general since it introduces new kind of
> control flow construct. It would be better t
Hello,
I'm planning to do some research on the optimization flags available
for GCC (currently, using 4.1.1). More in particular, we want to see
how we can come up with a set of combinations of flags which allow a
tradeoff between compilation time, execution time and code size (as
with -O
Kenneth Hoste wrote on 02/07/07 08:56:
[1] Almagor et al., Finding effective compilation sequences (LCES'04)
[2] Cooper et al., Optimizing for Reduced Code Space using Genetic
Algorithms (LCTES'99)
[3] Almagor et al., Compilation Order Matters: Exploring the
Structure of the Space of Compila
Hi!
I create test to reproduce issue with cpu2006/454.calculix
See attached. File e_c3d.f contains cutted subroutine from calculix.
tr535.f main entry point of the test. you can use go-script as a
reference how i get these results. find_stall.pl script which find
problem instruction combinations.
Hi,
On 07 Feb 2007, at 15:22, Diego Novillo wrote:
Kenneth Hoste wrote on 02/07/07 08:56:
[1] Almagor et al., Finding effective compilation sequences (LCES'04)
[2] Cooper et al., Optimizing for Reduced Code Space using
Genetic Algorithms (LCTES'99)
[3] Almagor et al., Compilation Order Mat
There appears to be a bug in value-prof.c:visit_hist rev 121554.
This function always returns 0, which causes htab_traverse to exit
early. This means that only the first histogram that appears in cfun-
>value_histograms->entries is ever checked, so verify_histograms
will only indicate an e
> This patch bootstraps and passes make check on x86_64.
Please do not cross-post. Patches should go to gcc-patches@ only.
--
Eric Botcazou
I am new to this list, so please excuse any obvious mistakes. I am
trying to check if two types are equal or one is derived from the
other within the compiler. One of the types is a struct that is
defined under the std namescope. How do I search for a "node" that is
a TYPE_DECL of the structure th
Hi Ian,
sorry to bother again. I reduced the code (attached) that segfaults here
on Core 2 Duo [1]. If I add -fno-split-wide-types the code does not segfault.
That flag comes from your patchset [2].
execute:
# ./cc1 -quiet -m64 -O1 test.c -o test.o
Any ideas?
Regards,
Hanno
[1] http://gcc.gnu
...
>Ah, right... I wonder if we can keep the loop structure in place, even
>after completely unrolling the loop - I mean the 'struct loop' in
>'current_loops' (not the actual CFG), so that the "SLP in loops" would
have
>a chance to at least consider vectorizing this "loop".
Having a "loop" str
Hanno Meyer-Thurow <[EMAIL PROTECTED]> writes:
> Hi Ian,
> sorry to bother again. I reduced the code (attached) that segfaults here
> on Core 2 Duo [1]. If I add -fno-split-wide-types the code does not segfault.
> That flag comes from your patchset [2].
>
> execute:
> # ./cc1 -quiet -m64 -O1 tes
On 07 Feb 2007 13:46:43 -0800
Ian Lance Taylor <[EMAIL PROTECTED]> wrote:
> * lower-subreg.c (resolve_clobber): Handle a subreg of a concatn.
Yes, that is there. I have revision 121690.
Hanno
Snapshot gcc-4.2-20070207 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/4.2-20070207/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 4.2 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches
On Feb 7, 2007, at 1:05 PM, Prabhanjan Kambadur wrote:
I am trying to check if two types are equal
equal, what's that? :-) (That's a joke for the rest of the folks
here. See the CANONICAL types work that Doug did recently for some
of the more recent email threads.)
One of the types is
On Feb 7, 2007, at 1:05 PM, Prabhanjan Kambadur wrote:
I am new to this list, so please excuse any obvious mistakes. I am
trying to check if two types are equal or one is derived from the
other within the compiler. One of the types is a struct that is
defined under the std namescope. How do I sea
Yup, what you answered is indeed what I want
Thanks,
Anju
Hanno Meyer-Thurow <[EMAIL PROTECTED]> writes:
> sorry to bother again. I reduced the code (attached) that segfaults here
> on Core 2 Duo [1]. If I add -fno-split-wide-types the code does not segfault.
> That flag comes from your patchset [2].
>
> execute:
> # ./cc1 -quiet -m64 -O1 test.c -o tes
Hi,
I am working on gcc 4.1.1 and Itanium architecture. I want to modify
the machine description of ia64.md to add some checks before each ld
instruction. the
following is the original define_insn:
(define_insn "*movqi_internal"
[(set (match_operand:QI 0 "destination_operand" "=r
21 matches
Mail list logo