gcc-4.3-20070622 is now available

2007-06-22 Thread gccadmin
Snapshot gcc-4.3-20070622 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.3-20070622/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.3 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Re: m68k bootstrap problem

2007-06-22 Thread Kenneth Zadeck
Roman Zippel wrote: > Hi, > > On Fri, 22 Jun 2007, Kenneth Zadeck wrote: > > >>> Index: gcc/gcc/reg-stack.c >>> === >>> --- gcc.orig/gcc/reg-stack.c >>> +++ gcc/gcc/reg-stack.c >>> @@ -2316,6 +2316,12 @@ subst_stack_regs (rtx insn,

Re: [M16C] : 20 bit data access

2007-06-22 Thread DJ Delorie
> By default all the constant variables will be stored in the far memory > ('.frodata' section) and will be accessed using "LDE" instruction. The > non-initialized non-constant variables will be stored in near memory > ('.nbss' section) and will be accessed using "MOV" instructions. The > initiali

Re: m68k bootstrap problem

2007-06-22 Thread Roman Zippel
Hi, On Fri, 22 Jun 2007, Kenneth Zadeck wrote: > > Index: gcc/gcc/reg-stack.c > > === > > --- gcc.orig/gcc/reg-stack.c > > +++ gcc/gcc/reg-stack.c > > @@ -2316,6 +2316,12 @@ subst_stack_regs (rtx insn, stack regsta > >if (NOTE_P

Re: Type-punning

2007-06-22 Thread Sergei Organov
Chris Lattner <[EMAIL PROTECTED]> writes: > On Jun 22, 2007, at 1:41 AM, Sergei Organov wrote: > >> Herman Geza <[EMAIL PROTECTED]> writes: >> >> [...] >> >>> What is the correct way to do this: >>> >>> void setNaN(float &v) { >>> reinterpret_cast(v) = 0x7f81; >>> } >>> >>> without a type-

Dataflow issues in the MIPS backend.

2007-06-22 Thread David Daney
As noted in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32437#c5 > I'm not surprised that converting it to an unspec_volatile stops > us from deleting the instruction, but that wasn't really my concern. > > As I said earlier, several other ports use top-level unspecs (rather than > unspec_volatil

Re: Type-punning

2007-06-22 Thread Silvius Rus
Sergei Organov wrote: Herman Geza <[EMAIL PROTECTED]> writes: [...] What is the correct way to do this: void setNaN(float &v) { reinterpret_cast(v) = 0x7f81; } without a type-prunning warning? I cannot use the union trick here Why? Won't the following work? void setNaN

Re: Type-punning

2007-06-22 Thread Chris Lattner
On Jun 22, 2007, at 1:41 AM, Sergei Organov wrote: Herman Geza <[EMAIL PROTECTED]> writes: [...] What is the correct way to do this: void setNaN(float &v) { reinterpret_cast(v) = 0x7f81; } without a type-prunning warning? I cannot use the union trick here Why? Won't the foll

Re: m68k bootstrap problem

2007-06-22 Thread Kenneth Zadeck
Roman Zippel wrote: > Hi, > > On Wed, 20 Jun 2007, I wrote: > > >> Index: gcc/df-problems.c >> === >> --- gcc/df-problems.c(revision 125811) >> +++ gcc/df-problems.c(working copy) >> @@ -1574,7 +1574,7 @@ >>/* Ca

Extending RTL expansion and CG with a new operation

2007-06-22 Thread Thomas Bernard
Hello I am extending the backend of GCC 4.1 with a new operation which maps directly from a keyword in the language. So far I extended the frontend and middleend in order to handle this new keyword. I managed to generate the GIMPLE form and a valid CFG and a RTL object for this keyword. Basic

Re: Gcc trees

2007-06-22 Thread Eddy Pronk
Revital1 Eres wrote: I work with Gcc trees to modify c++ original code and dont find and i need documentation about trees because the web isnt enought information. Where are docs about gcc trees and macros to access it? In GCC wiki you may find useful links: http://gcc.gnu.org/wiki (like G

Re: [M16C] : 20 bit data access

2007-06-22 Thread Naveen H.S.
Hi DJ, >> From the above, I think I like this plan: Please ignore my earlier post on this topic. We have modified the proposed solution to incorporate your suggestions. We would be glad if you could verify it again. By default all the constant variables will be stored in the far memory ('.frodat

Re: Type-punning

2007-06-22 Thread Sergei Organov
Herman Geza <[EMAIL PROTECTED]> writes: [...] > What is the correct way to do this: > > void setNaN(float &v) { > reinterpret_cast(v) = 0x7f81; > } > > without a type-prunning warning? I cannot use the union trick here Why? Won't the following work? void setNaN(float &v) { union {