ranges as (int)[0,1] rather
than (_Bool)[0,MAX] ?
Thanks,
Andrew Pinski
#pargma weak
Thanks,
Andrew Pinski
ode?
C or C++, no. Ada on the other hand it will emit it. There are a few
testcases in the Ada testsuite which will emit it.
Thanks,
Andrew Pinski
bad idea and people
who require naked support should be writing an assembly function
wrapper.
Thanks,
Andrew Pinski
On Tue, Oct 4, 2011 at 2:40 PM, David Brown wrote:
> "naked" functions are often useful in embedded systems, and are therefore
> useful (and implemented) on many gcc targets. It would make sense to have
> the attribute available universally in gcc, if that doesn't involve a lot of
> extra work, e
(const_int 0))
> (match_operand:QI 1 "nonimmediate_operand" "%0"))
> (match_operand:QI 2 "general_operand" "cwmi")))
> (clobber (reg:CC RCC))]
> ""
> "addc\\t%0,%f2")
Try adding (use (reg:CC RCC)) to the pattern above.
Thanks,
Andrew Pinski
>
ched COND_EXPR expansion since ages.
I have a patch which I will be submitting next week or so that does
this expansion correctly. In fact I have a few patches which improves
the generation of COND_EXPR in simple cases (in PHI-OPT).
Thanks,
Andrew Pinski
/lib64; then echo _mulsi3 _divsi3 _modsi3; fi`
>
-print-multi-directory is most likely easier to handle than os-directory.
Thanks,
Andrew Pinski
GNUM)
add_to_hard_reg_set (&set_up_by_prologue, Pmode,
PIC_OFFSET_TABLE_REGNUM);
in function.c.
Thanks,
Andrew Pinski
(in particular with std::vector as cl1), but
> there were some exotic pieces of legal code that were broken by this
> extension, so it had to go.
To expand on that
http://gcc.gnu.org/gcc-4.1/changes.html
Says it was an undocumented extension which was depercated in 4.1 and
will be removed in a later version.
Thanks,
Andrew Pinski
I think someone needs to update the requirements part of install.texi
or better yet not require such a new binutils.
Thanks,
Andrew Pinski
t; folks, I'm inclined to revert this piece back to what I had in the v1
> patch, where I provide a tile-specific byteswap.h using
> __builtin_bswapNN(), so our gcc 4.4 will generate good code.
Right now it does not emit good code for MIPS 32/64 R2. Though I have
patches to emit better code for that target.
Thanks,
Andrew Pinski
worse code if the target does not implement the
patterns because the function is not inlined by default. It produces
a call to bswapsi and bswapdi.
Thanks,
Andrew Pinski
8;
if (i.6_18 <= 511)
goto ;
else
goto ;
:
goto ;
Thanks,
Andrew Pinski
On Tue, Dec 6, 2011 at 11:33 AM, Jeff Law wrote:
> In theory we could go ahead and translate into SSA when not optimizing
> which would remove the dependency on -O, at the expense of
> compile-time performance.
We actually already do this ... As there is only SSA expand now.
Thank
nd that decl is
the same decl you created in the target.
Thanks,
Andrew Pinski
this is to ask the back-end what is the cost of doing a shift
and if it is greater than doing an and with a setcc, then we should do
the and/setcc rather than a shift with the and. It is not hard to add
a target hook for this case, I can do it if the AVR folks think it
would be useful.
Thanks,
Andrew Pinski
e-C runtime.
LLVM does not really have a runtime, there is another runtime called
libobjc2 which can be used with LLVM (and it does not include the
traditional runtime anyways).
But really you should not be switching away from GCC for GNUStep.
Thanks,
Andrew Pinski
m-eabi though not arm-linux-eabi) already enable it by
default as it is required by the ABI.
Thanks,
Andrew Pinski
On Tue, Feb 7, 2012 at 9:27 AM, Andi Kleen wrote:
> Richard Guenther writes:
>>
>> You then can do
>>
>> gcc $OPTIONS -flto a.c -o a.o
>> gcc $OPTIONS -flto b.c -o b.o
>> gcc $OPTIONS -ffixed-r9 -ffixed-r10 -flto d.c -o d.o
>> gcc $OPTIONS -ffixed-r9 -ffixed-r10 -flto e.c -o e.o
>> gcc $OPTI
On Sat, Jul 18, 2009 at 12:08 PM, Andrew Haley wrote:
> Don't use uintptr_t, use unsigned int __attribute__((mode(PTR)). This
> is built-in to gcc, not a dependency on the host libc which might not
> be c99..'
Except uintptr_t is required to be provided by a non hosted compiler like GCC.
-- Pins
uild by any other compiler then gcc.
It is provided by GCC even without gstdint.h. See bug 448. Since
__UINTPTR_TYPE__ is provided to be able to use stdint.h :).
Thanks,
Andrew PInski
ding for every line afterwards).
Thanks,
Andrew Pinski
On Mon, Jul 20, 2009 at 8:48 AM, wrote:
> Hello Andrew,
>
> Thanks for your suggestion, but no difference in output.
>
> Question: Did you expect different output too?
Oh the warnings are telling you, your code is undefined.
-- Pinski
PS gcc-h...@gcc.gnu.org is a better mailing list for these t
luding spam) that is not from bugzilla.
So I agree with getting rid of this reference.
Thanks,
Andrew Pinski
On Thu, Jul 23, 2009 at 2:03 PM, Manuel
López-Ibáñez wrote:
> And from gccbug?
I do know of one maintainer to GCC that still uses gccbug. And he
does file good bug reports even with gccbug.
Besides him, we get at maybe 1 bug reported by gccbug every three months.
Thanks,
Andrew Pinski
On Thu, Jul 23, 2009 at 2:10 PM, Manuel
López-Ibáñez wrote:
> But they go to the mailing list or are they tracked by bugzilla? If
> they go to the mailing list, we should probably still remove the
> reference to gccbug, (Not gccbug itself, which can still be used by
> experienced developers).
They
that out. I am thinking of
when storing the pointer in an array and then accessing that pointer.
gcc.dg/20030324-1.c is the testcase where I am running into this bug too.
Thanks,
Andrew Pinski
On Wed, Sep 16, 2009 at 12:19 AM, Dave Korn
wrote:
>
> Good morning all!
>
> Is there some reason that I don't know about (e.g. limiting the load on the
> server) why the revision log views of files in our viewvc setup would be
> heavily truncated?
The issue comes down to the trunk had be acc
/apinski/local-gcc/lib/libgij.11.dylib -compatibility_version 12
-current_version 12.0 -Wl,-single_module
>From the look of it, -Wl,-undefined -Wl,dynamic_lookup was removed
from the link line.
Thanks,
Andrew Pinski
And this was caused by Dave Korn's change on the 2009-09-22.
He added -no-undefined to libgij_la_LDFLAGS which causes libtool to
remove -Wl,-undefined -Wl,dynamic_lookup from the link line.
Thanks,
Andrew Pinski
he same unless you do -fno-default-inline and then the
second version is not marked as inline.
Thanks,
Andrew Pinski
s like the testsuite link line does not record the
optimization level which was used which means there might be a couple
of the "tests" with the same name.
Thanks,
Andrew Pinski
On Wed, Sep 30, 2009 at 9:58 PM, Andrew Pinski wrote:
> One failure without LTO which looks like it was introduced in just
> recently (between revision 152285 and 152343):
> FAIL: g++.dg/eh/crossjump1.C (test for excess errors)
>
> I almost want to say
> 2009-09-30 Diego Novi
page.
Actually the front-end support is implemented but it is just u"foo"
(for UTF-8) and U"foo" (for UTF-16). The library support is not there
though and you just get operator<<(void const*) .
Thanks,
Andrew Pinski
On Sun, Oct 11, 2009 at 10:36 AM, Paolo Carlini
wrote:
> Hi again,
>> To my best knowledge the feature is not implemented at all, thus a bug
>> in the C++0x Support page.
> Following up to my previous message, I figured out a probable reason for
> the mistake: actually we *do* have a patch impleme
es/dead, and possibly create branches/merged.
>
> Multiple directory levels under branches/ confuse git-svn; it thinks "dead"
> is a single branch. I'd rather not expand on that usage.
That seems like a huge bug in git-svn because we already use multiple
directory levels und
he following simple cpp can reproduce the problem.
See bug 36453 <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36453>,
this code is invalid.
Anyways this is offtopic for this mailing list, next time send an
email to gcc-help@ for developing with GCC questions.
Thanks,
Andrew Pinski
, e.g.:
The .exp files should be setting LC_ALL and LANG to 'c'. See bug
14264 which I fixed ...
Hopefully I did not miss one when I did that change almost 5 years ago.
Thanks,
Andrew pinski
hould not allow a
huge change like changing the locus on a statement inside fold.
Thanks,
Andrew Pinski
Sent from my iPhone
On Oct 27, 2009, at 10:13 AM, Rafael Espindola
wrote:
Perhaps this should be an Undocumented option. I don't think you
need a
Var anyway.
Without the Var it fails with
cc1: internal compiler error: in common_handle_option, at opts.c:2108
Then what about adding
Sent from my iPhone
On Oct 30, 2009, at 1:08 AM, Li Feng wrote:
Hi,
I have noticed this wiki:A_guide_to_testcase_reduction
which tells how to reduce a c/c++ testcase with delta.
That's a really good tool to do this reducing job. And for c/c++ the
topformflat tool in the Delta distribution w
und which is what I use to be
able to debug lto1.
Thanks,
Andrew Pinski
On Wed, Nov 4, 2009 at 1:20 PM, Toon Moene wrote:
> You don't happen to recall the bug number ?
It might be related to PR 41735 which I noticed when looking at the
generated assembly and trying to compare 4.5 to 4.4.
Thanks,
Andrew Pinski
ched-by-category.c
> We then added a target in gcc/Makefile.in, as follows:
> sched-by-category.o
You forgot to add sched-by-category.o to the OBJS-common variable in
Makefile.in.
Thanks,
Andrew Pinski
be emitted.
If I change it so that data is read from (instead of just written to),
the trunk warns about this code:
t.c:21:20: warning: array subscript is above array bounds
I changed the last return to be:
return data[2];
Thanks,
Andrew Pinski
ack went in afterwards.
Thanks,
Andrew Pinski
hich causes that variable to be vague linkage)?
Thanks,
Andrew Pinski
le of hours at least.
It was down all of Saturday due to moving the physical machine.
Thanks,
Andrew Pinski
argeting darwin. See PR 41529.
Thanks,
Andrew Pinski
tor is anything else than free!
As there is an strong effort over the years in the GNU community to
conform with standards I would hope somene would correct these.
As long as owner is not used when count is 0, then I don't see an
issue. Note I know libobjc does implement it incorrectly;
rns on re-association which causes a+b to be b+a in your
case. And nothing turns it back for better register allocation.
Thanks,
Andrew Pinski
ation).
Thanks,
Andrew Pinski
is code invalid but
there is an outstanding defect report against the standard that says
they have the global one. This is for agrument dependent namelookup.
Anyways there is an already filed GCC bug about this defect report
against the standard,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2913
Note supplying -ffast-math will have gcc to pull out the division out
of the loop which should speed up your program with some loss of
precision.
Thanks,
Andrew Pinski
e on i686-pc-darwin with GCC 4.0.0 and above. It does
print out -1024 on powerpc-darwin with GCC 3.3 though.
What version of GCC are you using?
Thanks,
Andrew Pinski
How is scratch is generated? Did you do an explicit call to
gen_reg_rtx; if so what is the mode you passed it? Did you call
force_reg; if so what was the mode you passed it?
Thanks,
Andrew Pinski
ould disable vectorization for -fno-strict-aliasing.
It is not an aliasing issue but an alignment issue. Anyways this is
most likely the same as
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43009 .
Thanks,
Andrew Pinski
On Wed, Feb 24, 2010 at 2:43 AM, wrote:
> hi all,
>
> can someone please comment on the example enclosed?
You can only field initialize fields in that class and not in the base class.
Thanks,
Andrew Pinski
home/aj/gcc/trunk/gcc/rtl.def:336: error: expected identifier before ‘const’
From the looks of it, you have a define for CONST as const. This
first error is the reason for the rest of the errors.
Thanks,
Andrew Pinski
o have problems if you try to use
the CONST rtx code.
Thanks,
Andrew Pinski
Sent from my iPhone
On Feb 27, 2010, at 10:17 AM, "Daniel R. Grayson"
wrote:
I wonder whether there is a plan to optimize code such as this:
extern int (const int x);
void () {
(444);
(444);
}
by not pushing the constant argument twice. It seems safe to do s
"DI")
(set_attr "length" "1")])
Which basically means op[0] = unspec:5(op[1], op[2], reg:66); [reg:66]
= unspec:6(op[1], op[2], reg:66)
So when you have two in a row, the second depends on the first as you
have the set of reg:66. The clobber in your original code does not do
that, it says reg 66 cannot be depended on the value across the
instruction.
Thanks,
Andrew Pinski
;register_operand" "r")
(match_operand:DI 2 "register_operand" "r")
(reg:DI 66)] 5))
(set (reg:DI 66)
(unspec:DI [(match_dup 1)
(match_dup 2)
(reg:DI 66)] 6))
]
""
"myInst\\t%0,%1,%2"
[(set_attr "type" "arith")
(set_attr "mode" "DI")
(set_attr "length" "1")])
Thanks,
Andrew Pinski
You define STRICT_ALIGNED to be 1 in i386.h or provide an option to
turn that on/off like the rs6000 target does.
Thanks,
Andrew Pinski
Sent from my iPhone
On Mar 8, 2010, at 7:37 AM, Paweł Sikora wrote:
hi,
during development a cross platform appliacation on x86 workstation
i've en
unsigned integer operand 1 (valid for fixed point mode m) to
floating point mode n and store in operand 0 (which has mode n).
"m" and "n" are replaced with the modes. I cannot remember when half
float support came in though, I thought it was only added on the trunk
or did you backport that support too.
Thanks,
Andrew Pinski
.
Thanks,
Andrew Pinski
ChangeLog:
* MAINTAINERS (spu port): Remove me.
Index: MAINTAINERS
===
--- MAINTAINERS (revision 157742)
+++ MAINTAINERS (working copy)
@@ -95,7 +95,6 @@
sparc port Jakub Jelinek ja
l
passes should become integrated fully and not a plugin at all. This
was the same argument I had the last time about plugin database.
>
> IMHO the nature of the DragonEgg plugin makes it unsuitable for
> inclusion in the FSF gcc source tree, ever.
It belongs with LLVM sources if anywhere.
Thanks,
Andrew Pinski
gt; Linux X86 compiler. With GCC 4.3.1 Linux X86, when I compile:
I just tried the trunk with your two sample testcases and in both
cases T.p is pulled out of the loop.
Thanks,
Andrew Pinski
inux to mingw, plugins work :).
Thanks,
Andrew Pinski
Sent from my iPhone
On Apr 23, 2010, at 10:25 AM, Heinz Riener
wrote:
Dear all,
I'm using the native GCC version[1] of my GNU/Linux distribution. I
wonder whether GCC's optimization behavior is in the following case
correct. Consider the following two programs:
(1)
int test(int n
4.2.2, MPFR version 2.3.0.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Thanks,
Andrew Pinski
t;_CD_java_text_Collator")
>(const_int 16 [0x10])))
>
> ...
>
> (call (mem:QI (symbol_ref:DI ("_Jv_InitClass")
Well the mem has a /u on it so it is being marked as MEM_READONLY_P so
it is valid optimization. Why it is being marked with MEM_READONLY_P,
I don't know.
Thanks,
Andrew Pinski
for internal pass data structures,
this is what most passes do (PRE is a good example of where it stays
away from the GC for internal data structures).
Thanks,
Andrew Pinski
don't really see any issue here. Because to compile GCC you need a
compiler to begin with so compiling MPFR to start is easy, now if MPFR
does not support older GCCs, we might need to rethink this.
Thanks,
Andrew Pinski
ound 20 minutes.
That is a different issue, it comes down to Windows is not tuned for
launching small programs over and over again.
Thanks,
Andrew Pinski
iles for
> some reason. Does anyone remember why?
Yes, so you can just link the files without any LTO at all. That is
you can have the object files act like real object files in the
process of compiling.
Thanks,
Andrew Pinski
ook/Drafts/2006/ashopl.pdf
>
> AIUI, the foreign language support was dropped at some point.
It was still there the last time I looked about 3 years ago. Now
AppleScript would translate the english to french too as it would use
byte code for the keywords really.
Thanks,
Andrew Pinski
the correct idea to go forward and
provided a flag to turn off it if really needed (though I think it is
bad to have two different modes in this case).
Thanks,
Andrew Pinski
__decltype (or decltype in c++0x/g++0x modes)
works in 4.3.0 and above.
Thanks,
Andrew Pinski
std.org/jtc1/sc22/wg21/docs/papers/2007/n2343.pdf ).
typedef is a GCC extension.
Thanks,
Andrew Pinski
afe is available but not used.
Well the reason it is not warning in the -UMACRO case is because jump
threading optimization has happened and removes one of the
if(change_y) condition.
Thanks,
Andrew Pinski
cj).
Thanks,
Andrew Pinski
ly thing left in my mind is having people use bugzilla or
having a way that automatically sets up the keyword patch and the URL
field for the bug reports.
Thanks,
Andrew Pinski
n which is sent
out too, I bet we can add a field to disable the HTML part of the
email.
The whine can be any search in fact we can whine about P1 regressions
if we wanted to :).
Thanks,
Andrew Pinski
executable (-arch i386)
make[3]: *** [jv-convert] Error 1
make[3]: *** Waiting for unfinished jobs
Last known build that worked was revision 141116.
Thanks,
Andrew Pinski
t notthesamesize[sizeof(from) == sizeof(to)?1:-1];
to b;
std::memcpy (&b, &a, sizeof(from));
return b;
}
Thanks,
Andrew Pinski
put the const object in a
read-only section but I could be missing something somewhere.
Thanks,
Andrew Pinski
. Just like libgcc is always built in each stage.
Just add bootstrap=true to libgomp's target_modules and that should
work. I have not tested it though.
Thanks,
Andrew Pinski
On Wed, Nov 19, 2008 at 10:48 AM, David Edelsohn <[EMAIL PROTECTED]> wrote:
> 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-pa
On Sat, Nov 1, 2008 at 7:11 AM, Jack Howarth <[EMAIL PROTECTED]> wrote:
> On Sat, Nov 01, 2008 at 11:14:14AM +, Andrew Haley wrote:
>> Jack Howarth wrote:
>> > On Fri, Oct 31, 2008 at 02:30:25PM -0700, Andrew Pinski wrote:
>> >> I get the following buil
s_runtime should be true for almost all targets anyways as
the emulation works without threads too.
Thanks,
Andrew Pinski
efined C99 but will most
>>> likely become valid C1x.
> Ok now I understand. I assume this behaviour is not triggered often as in C
> it is
> not so common to have an array which is an rvalue.
See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37755 where it
explains what is going on.
Thanks,
Andrew Pinski
On Tue, Dec 16, 2008 at 10:41 AM, Jan Engelhardt wrote:
> Is not this a use of an rvalue array too?:
>printf("%p\n", (struct { char x[20]; }){{"Hello"}}.x);
No, compound literals are always lvalues in C99.
Thanks,
Andrew Pinski
: warning: implicit declaration of function 'undef'
This works on the trunk but fails on the 4.3 branch.
Thanks,
Andrew Pinski
On Thu, Jan 15, 2009 at 12:13 PM, IainS
wrote:
> Hi,
> it seems that there's no "trivial.m" in gcc/testsuite/objc/execute
Hmm, this is only needed if execute.exp is run only I think.
Thanks,
Andrew Pinski
t on
any correct OS :). If you are different results then you need a newer
version of Mac OS X really. The GNU runtime works with both
-m32/-m64, it is only the NeXT runtime which does not always.
Thanks,
Andrew Pinski
On Fri, Jan 16, 2009 at 11:35 AM, Jack Lloyd wrote:
> According to the info docs, the Alpha has __builtin_alpha_rpcc which
> doesn't take any inputs either, and should just call rpcc much as an
> rdtsc intrinsic would, so it may provide a more direct model.
(define_insn "builtin_rpcc"
[(set (ma
On Tue, Feb 3, 2009 at 2:25 PM, Michael Meissner
wrote:
> And bear in mind that x86's with GPUs are not the only platform of interest.
Even x86 with the SPRUS engine is a platform of interest for some
companies (not me but you get the idea).
-- Pinski
o it does not optimize away the if statement.
Thanks,
Andrew Pinski
801 - 900 of 1802 matches
Mail list logo