Re: Is VRP is too conservative to identify boolean value 0 and 1?

2011-09-01 Thread Andrew Pinski
ranges as (int)[0,1] rather than (_Bool)[0,MAX] ? Thanks, Andrew Pinski

Re: [PLUGIN] dlopen and RTLD_NOW

2011-09-05 Thread Andrew Pinski
#pargma weak Thanks, Andrew Pinski

Re: ARRAY_RANGE_REF

2011-09-27 Thread 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

Re: Merging gdc (GNU D Compiler) into gcc

2011-10-04 Thread Andrew Pinski
bad idea and people who require naked support should be writing an assembly function wrapper. Thanks, Andrew Pinski

Re: Merging gdc (GNU D Compiler) into gcc

2011-10-04 Thread 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

Re: Expanding instructions with condition codes inter-deps

2011-10-17 Thread Andrew Pinski
(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 >

Re: Why doesn't GCC generate conditional move for COND_EXPR?

2011-10-24 Thread 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

Re: serious libgcc regression added recently

2011-11-02 Thread Andrew Pinski
/lib64; then echo _mulsi3 _divsi3 _modsi3; fi` > -print-multi-directory is most likely easier to handle than os-directory. Thanks, Andrew Pinski

Re: --enable-werror-always fails function.o for any non-pic target

2011-11-04 Thread Andrew Pinski
GNUM) add_to_hard_reg_set (&set_up_by_prologue, Pmode, PIC_OFFSET_TABLE_REGNUM); in function.c. Thanks, Andrew Pinski

Re: template class with default parameter in template parameter declaration

2011-11-08 Thread 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

Re: transactional-memory branch has been merged into trunk

2011-11-08 Thread 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

Re: [PATCH v2 9/10] Tilera (and Linux asm-generic) support for glibc

2011-11-11 Thread 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

Re: [PATCH v2 9/10] Tilera (and Linux asm-generic) support for glibc

2011-11-11 Thread 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

Re: A case exposing code sink issue

2011-11-23 Thread Andrew Pinski
8; if (i.6_18 <= 511) goto ; else goto ; : goto ; Thanks, Andrew Pinski

Re: Suspicion of regression in uninitialized value detection

2011-12-06 Thread 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

Re: middle end generated builtin functions passing to backend problem

2011-12-08 Thread Andrew Pinski
nd that decl is the same decl you created in the target. Thanks, Andrew Pinski

Re: Ad: Fix PR middle-end/45416, missing opt for (a&(1<

2011-12-11 Thread 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

Re: libobjc: Remove Traditional Objective-C runtime API

2012-01-18 Thread 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

Re: Size of enum‏

2012-02-06 Thread Andrew Pinski
m-eabi though not arm-linux-eabi) already enable it by default as it is required by the ABI. Thanks, Andrew Pinski

Re: lto pseudo-object files and fixed registers

2012-02-07 Thread 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

Re: RFA: libjava seems to miss some files for win32

2009-07-18 Thread Andrew Pinski
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

Re: RFA: libjava seems to miss some files for win32

2009-07-18 Thread Andrew Pinski
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

Re: Pre and post increment

2009-07-20 Thread Andrew Pinski
ding for every line afterwards). Thanks, Andrew Pinski

Re: Pre and post increment

2009-07-20 Thread 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

Re: We shouldn't tell people to send e-mail to gcc-bugs

2009-07-23 Thread Andrew Pinski
luding spam) that is not from bugzilla. So I agree with getting rid of this reference. Thanks, Andrew Pinski

Re: We shouldn't tell people to send e-mail to gcc-bugs

2009-07-23 Thread 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

Re: We shouldn't tell people to send e-mail to gcc-bugs

2009-07-23 Thread 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

Tree aliasing

2009-08-03 Thread Andrew Pinski
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

Re: Truncated history in viewvc

2009-09-16 Thread 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

libjava broken on the trunk on i386-darwin8.11

2009-09-29 Thread Andrew Pinski
/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

Re: libjava broken on the trunk on i386-darwin8.11

2009-09-29 Thread 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

Re: "massive" inline

2009-09-30 Thread Andrew Pinski
he same unless you do -fno-default-inline and then the second version is not marked as inline. Thanks, Andrew Pinski

Re: [LTO] Request for testing: Last merge from trunk before final merge

2009-09-30 Thread 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

Re: [LTO] Request for testing: Last merge from trunk before final merge

2009-09-30 Thread 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

Re: [g++ 4.4] Unicode string literal support?

2009-10-11 Thread Andrew Pinski
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

Re: [g++ 4.4] Unicode string literal support?

2009-10-11 Thread 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

Re: delete dead feature branches?

2009-10-12 Thread Andrew Pinski
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

Re: Why does GCC Preprocessor NOT support such macro?

2009-10-23 Thread Andrew Pinski
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

Re: dg-error vs. i18n?

2009-10-23 Thread 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

Re: RFC: allowing fold to change location of args (PR/41451)

2009-10-26 Thread Andrew Pinski
hould not allow a huge change like changing the locus on a statement inside fold. Thanks, Andrew Pinski

Re: -use-linker-plugin passed to ld

2009-10-27 Thread 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

Re: Reducing fortran testcase with delta.

2009-10-30 Thread Andrew Pinski
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

Re: How to debug lto1 ICE?

2009-11-03 Thread Andrew Pinski
und which is what I use to be able to debug lto1. Thanks, Andrew Pinski

Re: Whole program optimization and functions-only-called-once.

2009-11-04 Thread 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

Re: help on - adding a new pass to gcc

2009-11-10 Thread 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

Re: -Warray-bounds false negative

2009-11-13 Thread 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

Re: BUG: GCC-4.4.x changes the function frame on some functions

2009-11-19 Thread Andrew Pinski
ack went in afterwards. Thanks, Andrew Pinski

Re: Problems compiling Mozilla with GCC 4.5

2009-11-25 Thread Andrew Pinski
hich causes that variable to be vague linkage)? Thanks, Andrew Pinski

Re: GCC server is down?

2009-12-13 Thread Andrew Pinski
le of hours at least. It was down all of Saturday due to moving the physical machine. Thanks, Andrew Pinski

Re: Big regression showing up on darwin

2010-01-01 Thread Andrew Pinski
argeting darwin. See PR 41529. Thanks, Andrew Pinski

Re: ANSI/IEEE POSIX 1003.1 and GCC (+ Other GNU)

2010-01-07 Thread 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;

Re: anti-optimization of _DecimalXX by -ffast-math

2010-01-12 Thread Andrew Pinski
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

Re: Sibcall on recursive functions

2010-01-14 Thread Andrew Pinski
ation). Thanks, Andrew Pinski

Re: Possible bug: Template name lookup & overloaded functions.

2010-01-18 Thread 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

Re: speed of double-precision divide

2010-01-23 Thread Andrew Pinski
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

Re: Why auto variables NOT overlap on stack?

2010-02-06 Thread 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

Re: Simple question/help request on emit_move_insn.

2010-02-16 Thread 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

Re: gcc 4.4.1/linux 64bit: code crashes with -O3, works with -O2

2010-02-22 Thread 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

Re: c++ compile error

2010-02-24 Thread 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

Re: Gcc plugin: error: ‘LAST_AND_UNUSED_RTX_CODE’ undeclared

2010-02-26 Thread 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

Re: Gcc plugin: error: ‘LAST_AND_UNUSED_RTX_CODE’ undeclared

2010-02-27 Thread Andrew Pinski
o have problems if you try to use the CONST rtx code. Thanks, Andrew Pinski

Re: optimizing the pushing of constant parameters to functions

2010-02-27 Thread 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

Re: Definition of an instruction

2010-03-04 Thread Andrew Pinski
"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

Re: Definition of an instruction

2010-03-04 Thread 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

Re: (un)aligned accesses on x86 platform.

2010-03-08 Thread 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

Re: libgcc-arch.ver details

2010-03-17 Thread Andrew Pinski
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

Stepping down as SPU backend maintainer

2010-03-28 Thread 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

Re: dragonegg in FSF gcc?

2010-04-13 Thread Andrew Pinski
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

Re: LIM/Alias Analysis performance issue

2010-04-16 Thread 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

Re: GCC 4.5.0 Released

2010-04-20 Thread Andrew Pinski
inux to mingw, plugins work :). Thanks, Andrew Pinski

Re: O2 and Overflow

2010-04-23 Thread 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

Re: [PATCH]: bump minimum MPFR version, (includes some fortranbits)

2008-10-06 Thread Andrew Pinski
4.2.2, MPFR version 2.3.0. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Thanks, Andrew Pinski

Re: gcc moving memory reference across call

2008-10-10 Thread 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

Re: adding ability to scan few local variables in GGC?

2008-10-12 Thread 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

Re: Antwort: Re: Antwort: Re: [PATCH]: bump minimum MPFR version, (includes some fortranbits)

2008-10-14 Thread 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

Re: Antwort: Re: Antwort: Re: [PATCH]: bump minimum MPFR version, (includes some fortranbits)

2008-10-14 Thread 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

Re: [lto][RFC] Do not emit hybrid object files

2008-10-17 Thread 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

Re: Echte Lokaliserung der Programmbausprache/ Real Localisation of Programming Language

2008-10-17 Thread 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

Re: [lto][RFC] Do not emit hybrid object files

2008-10-17 Thread 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

Re: GCC bug when using typeof

2008-10-20 Thread Andrew Pinski
__decltype (or decltype in c++0x/g++0x modes) works in 4.3.0 and above. Thanks, Andrew Pinski

Re: GCC bug when using typeof

2008-10-20 Thread Andrew Pinski
std.org/jtc1/sc22/wg21/docs/papers/2007/n2343.pdf ). typedef is a GCC extension. Thanks, Andrew Pinski

Re: conditional assigments vs. "may be used uninitialized"

2008-10-22 Thread 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

Re: Stack mangling for anonymous function pointers

2008-10-24 Thread Andrew Pinski
cj). Thanks, Andrew Pinski

Re: Continuous builder up

2008-10-29 Thread 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

Re: Continuous builder up

2008-10-29 Thread 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

Build fails on i386-apple-darwin8.11.1

2008-10-31 Thread 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

Re: bug in GCC or C++ standard ?

2008-11-13 Thread Andrew Pinski
t notthesamesize[sizeof(from) == sizeof(to)?1:-1]; to b; std::memcpy (&b, &a, sizeof(from)); return b; } Thanks, Andrew Pinski

Valid optimization with constant arrays

2008-11-17 Thread Andrew Pinski
put the const object in a read-only section but I could be missing something somewhere. Thanks, Andrew Pinski

Re: bootstrap with -ftree-parallelize-loops

2008-11-19 Thread 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

Re: bootstrap with -ftree-parallelize-loops

2008-11-19 Thread 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

Re: Build fails on i386-apple-darwin8.11.1

2008-11-28 Thread Andrew Pinski
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

Re: TLS on darwin

2008-12-08 Thread Andrew Pinski
s_runtime should be true for almost all targets anyways as the emulation works without threads too. Thanks, Andrew Pinski

Re: no conversion from char[] to char* on function calls under circumstances [was: A bug?]

2008-12-16 Thread 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

Re: no conversion from char[] to char* on function calls under circumstances [was: A bug?]

2008-12-16 Thread 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

Re: Compiler turns off warnings unexpectedly

2008-12-31 Thread Andrew Pinski
: warning: implicit declaration of function 'undef' This works on the trunk but fails on the 4.3 branch. Thanks, Andrew Pinski

Re: missing gcc/testsuite/objc/execute/trivial.m?

2009-01-15 Thread 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

Re: missing gcc/testsuite/objc/execute/trivial.m?

2009-01-15 Thread 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

Re: How to implement "unsigned long long __rdtsc ()" for x86?

2009-01-16 Thread 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

Re: GCC & OpenCL ?

2009-02-03 Thread Andrew Pinski
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

Re: invalid "may be used uninitialized" warning with g++ current

2009-02-04 Thread Andrew Pinski
o it does not optimize away the if statement. Thanks, Andrew Pinski

<    4   5   6   7   8   9   10   11   12   13   >