Re: No download link from gcc.gnu.org

2005-07-22 Thread Jonathan Wakely
bhiksha wrote: > I simply cannot find any direct link to a downloadable source/binary > bundle for gcc4 from > gcc.gnu.org. Starting from the home page: "releases", "mirror sites", pick a mirror. Or "GCC 4.0.1 has been released.", where it tells you it is available from the mirror sites, then

How can I create a const rtx other than 0, 1, 2

2005-07-22 Thread Liu Haibin
Hi, There's const0_rtx, const1_rtx and const2_rtx. How can I create a const rtx other than 0, 1, 2? I want to use it in md file, like operand[1] = 111. I know I must use const rtx here. How can I do it? A simple question, but just no idea where to find the answer. Regards, Timothy

Re: How can I create a const rtx other than 0, 1, 2

2005-07-22 Thread Uros Bizjak
Hello! > There's const0_rtx, const1_rtx and const2_rtx. How can I create a > const rtx other than 0, 1, 2? I want to use it in md file, like > operand[1] = 111. > I know I must use const rtx here. How can I do it? A simple question, > but just no idea where to find the answer. operand[1] = GEN_

extension to -fdump-tree-*-raw

2005-07-22 Thread Ebke, Hans-Christian
Hi, wanting to obtain gcc's parse tree I found the -fdump-tree option. Specifically the -fdump-tree-original-raw output contains all of the information I need. When I tried to write a parser for the tree dump I noticed, however that the output might contain ambiguities which can't be resolved an

Re: extension to -fdump-tree-*-raw

2005-07-22 Thread Giovanni Bajo
Ebke, Hans-Christian <[EMAIL PROTECTED]> wrote: > So to resolve that problem I took the gcc 4.0.1 source code and patched > tree.h and tree-dump.c. The patched version introduces two new options for > -fdump-tree: The "parseable" option which produces unambiguous and easier to > parse but otherwis

AW: extension to -fdump-tree-*-raw

2005-07-22 Thread Ebke, Hans-Christian
Hi Giovanni, I have to write this in Outlook, so I don't even try to get the quoting right. Sorry. :-( > -Ursprüngliche Nachricht- > Von: Giovanni Bajo [SMTP:[EMAIL PROTECTED] > Gesendet am: Freitag, 22. Juli 2005 12:27 > An: Ebke, Hans-Christian > Cc: gcc@gcc.gnu.org > Betreff:

Re: extension to -fdump-tree-*-raw

2005-07-22 Thread Giovanni Bajo
Ebke, Hans-Christian <[EMAIL PROTECTED]> wrote: > I have to write this in Outlook, so I don't even try to get the quoting > right. Sorry. :-( http://jump.to/outlook-quotefix > But it would break applications relying on the old format. There is no format either. dump-tree is *very* specific of

Re: extension to -fdump-tree-*-raw

2005-07-22 Thread Gabriel Dos Reis
"Giovanni Bajo" <[EMAIL PROTECTED]> writes: | Ebke, Hans-Christian <[EMAIL PROTECTED]> wrote: | | > I have to write this in Outlook, so I don't even try to get the quoting | > right. Sorry. :-( | | http://jump.to/outlook-quotefix | | > But it would break applications relying on the old format

Help on -Wl option

2005-07-22 Thread steven . gay
Hello My compilation exited with the message : Please read the documentation for ld's --enable-auto-import for details. WHERE CAN I FIND INFORMATION ON THIS OPTION ?!!! I could find anything on gcc or ld or -Wl related pages. Thanks PS : Sorry for shouting I can't believe it's so difficult

Re: Help on -Wl option

2005-07-22 Thread Karel Gardas
On Fri, 22 Jul 2005, [EMAIL PROTECTED] wrote: Hello My compilation exited with the message : Please read the documentation for ld's --enable-auto-import for details. WHERE CAN I FIND INFORMATION ON THIS OPTION ?!!! I could find anything on gcc or ld or -Wl related pages. Thanks PS : Sorr

Re: Help on -Wl option

2005-07-22 Thread Brian Dessent
[EMAIL PROTECTED] wrote: > My compilation exited with the message : > > Please read the documentation for ld's --enable-auto-import for details. > > WHERE CAN I FIND INFORMATION ON THIS OPTION ?!!! > > I could find anything on gcc or ld or -Wl related pages. Did you even try looking in the ld

Re: Function Inlining for FORTRAN

2005-07-22 Thread Michael Matz
Hi, On Wed, 20 Jul 2005, Steven Bosscher wrote: > On Wednesday 20 July 2005 17:22, Paul Brook wrote: > > To implement (b) this needs to be changed to: > > > > - Do everything up until gfc_generate{,_module}_code as normal. > > - Save the results somewhere and repeat for each PU. > > - Identify ca

Can I use SCHED_GROUP_P to make the VLIW bundle in the final pass?

2005-07-22 Thread Ling-hua Tseng
I'm porting the GCC 4.0.x snapshots to a VLIW architecture. Currently, I need to bundle the instructions. I want to use the "%P" (means parallel execution with the next insn) in the output template of (define_insn ...) in the MD, and I want to use the SCHED_GROUP_P to determine whether the next

RE: How can I create a const rtx other than 0, 1, 2

2005-07-22 Thread Meissner, Michael
Use the GEN_INT macro to create an appropriate (const_int ) RTL: operand[1] = GEN_INT (111); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Liu Haibin Sent: Friday, July 22, 2005 3:23 AM To: gcc@gcc.gnu.org Subject: How can I create a const rtx o

warning control project status

2005-07-22 Thread DJ Delorie
http://gcc.gnu.org/wiki/Warning%20Message%20Control Functionality supported: * Control of warnings through OPT_* values passed to warning(). * Display of command line options corresponding to printed warnings through -fdiagnostics-show-option. Warning conversion: # OPT # Z

Minimum target alignment for a datatype

2005-07-22 Thread Chris Lattner
Hi All, I'm trying to determine (in target-independent code) what the *minimum* target alignment of a type is. For example, on darwin, double's are normally 4-byte aligned, but are 8-byte aligned in some cases (e.g. when they are the first element of a struct). TYPE_ALIGN on a double r

Re: Minimum target alignment for a datatype

2005-07-22 Thread Dale Johannesen
On Jul 22, 2005, at 11:07 AM, Chris Lattner wrote: Hi All, I'm trying to determine (in target-independent code) what the *minimum* target alignment of a type is. For example, on darwin, double's are normally 4-byte aligned, but are 8-byte aligned in some cases (e.g. when they are the firs

Re: Minimum target alignment for a datatype

2005-07-22 Thread Chris Lattner
On Jul 22, 2005, at 11:27 AM, Dale Johannesen wrote: On Jul 22, 2005, at 11:07 AM, Chris Lattner wrote: I'm trying to determine (in target-independent code) what the *minimum* target alignment of a type is. For example, on darwin, double's are normally 4-byte aligned, but are 8-byte aligned

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-22 Thread Mark Mitchell
Ross Ridge wrote: Ross Ridge wrote: I don't see how the existance of configure changes the fact the GCC compiler driver exists, DJ Delorie wrote: At the time you're running configure, the gcc driver does *not* exist, but you *do* need to run as and ld to test what features they support,

Re: Minimum target alignment for a datatype

2005-07-22 Thread Mike Stump
On Friday, July 22, 2005, at 11:07 AM, Chris Lattner wrote: I'm trying to determine (in target-independent code) what the *minimum* target alignment of a type is. For example, on darwin, double's are normally 4-byte aligned, but are 8-byte aligned in some cases (e.g. when they are the first el

Re: Minimum target alignment for a datatype

2005-07-22 Thread Chris Lattner
On Jul 22, 2005, at 12:33 PM, Mike Stump wrote: On Friday, July 22, 2005, at 11:07 AM, Chris Lattner wrote: I'm trying to determine (in target-independent code) what the *minimum* target alignment of a type is. For example, on darwin, double's are normally 4-byte aligned, but are 8-byte a

Re: Minimum target alignment for a datatype

2005-07-22 Thread Andrew Pinski
> > I'm having a hard time with the simplicity of your question: > > ? Certainly, I don't expect that to answer your question, but I > > don't understand why. > > The problem I am running into is that the double in this struct is > only 4-byte aligned on darwin: > > struct X { int A; double

Re: Minimum target alignment for a datatype

2005-07-22 Thread Richard Henderson
On Fri, Jul 22, 2005 at 11:30:40AM -0700, Chris Lattner wrote: > Understood. I'm just looking for the minimum type alignment without > user alignment. It appears that this is impossible to get from the > targets, due to the way the targets can override type alignments in > (almost completel

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-22 Thread Ross Ridge
Ross Ridge wrote: >I don't see how the existance of configure changes the fact the GCC >compiler driver exists, DJ Delorie wrote: >At the time you're running configure, the gcc driver does *not* exist, >but you *do* need to run as and ld to test what features they support, >information which is ne

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-22 Thread Mark Mitchell
Ross Ridge wrote: Right. The real solution is to separate libgcc from the rest of the compiler; you should be able to (a) use configure to detect features of your as/ld, (b) build the compiler, (c) install it, and, only then, (d) start building libraries. Sorry, but I don't see the releven

GCC 4.1 Status Report (2005-07-22)

2005-07-22 Thread Mark Mitchell
We have been in Stage 3 for a little while now. I'm sure a few more patches that were proposed in Stage 2 will find their way into 4.1, but we're approximately feature-complete at this point. Thank you for respecting the process. I'm going to make a call for 4.2 features when the 4.1 release br

New Fortran regression

2005-07-22 Thread Thomas Koenig
Compilation of two Fortran test cases now fails with -O3: real_const_1.f and real_const_2.f90. I have submitted this as PR 22619. Apparently, running the Fortran testsuite is something not everybody does before committing patches :-| Thomas

Re: New Fortran regression

2005-07-22 Thread Andrew Pinski
On Jul 22, 2005, at 4:24 PM, Thomas Koenig wrote: Compilation of two Fortran test cases now fails with -O3: real_const_1.f and real_const_2.f90. I have submitted this as PR 22619. Apparently, running the Fortran testsuite is something not everybody does before committing patches :-| Or it i

Re: Minimum target alignment for a datatype

2005-07-22 Thread Chris Lattner
On Jul 22, 2005, at 12:42 PM, Andrew Pinski wrote: struct X { int A; double B; }; This is modified by things like ADJUST_FIELD_ALIGN and ROUND_TYPE_ALIGN. As such, I don't think there is a way to get this alignment in a target-independent way. Does that sound right? You want the alignment

Re: GCC 4.1 Status Report (2005-07-22)

2005-07-22 Thread Andrew Pinski
On Jul 22, 2005, at 4:22 PM, Mark Mitchell wrote: There are 225 regressions open against GCC 4.1. About half of these (119) are not regressions in 4.0, i.e., they are new regressions introduced in the course of 4.1. While it does seem that the regression rate has declined slightly from 4.0, it

Re: GCC 4.1 Status Report (2005-07-22)

2005-07-22 Thread Mark Mitchell
Andrew Pinski wrote: On Jul 22, 2005, at 4:22 PM, Mark Mitchell wrote: There are 225 regressions open against GCC 4.1. About half of these (119) are not regressions in 4.0, i.e., they are new regressions introduced in the course of 4.1. While it does seem that the regression rate has decline

Re: GCC 4.1 Status Report (2005-07-22)

2005-07-22 Thread Andrew Pinski
On Jul 22, 2005, at 5:05 PM, Mark Mitchell wrote: Andrew Pinski wrote: On Jul 22, 2005, at 4:22 PM, Mark Mitchell wrote: There are 225 regressions open against GCC 4.1. About half of these (119) are not regressions in 4.0, i.e., they are new regressions introduced in the course of 4.1. Whil

Re: GCC 4.1 Status Report (2005-07-22)

2005-07-22 Thread Mark Mitchell
Andrew Pinski wrote: On Jul 22, 2005, at 5:05 PM, Mark Mitchell wrote: Andrew Pinski wrote: On Jul 22, 2005, at 4:22 PM, Mark Mitchell wrote: There are 225 regressions open against GCC 4.1. About half of these (119) are not regressions in 4.0, i.e., they are new regressions introduced in

Re: Minimum target alignment for a datatype

2005-07-22 Thread Chris Lattner
On Jul 22, 2005, at 1:14 PM, Richard Henderson wrote: On Fri, Jul 22, 2005 at 11:30:40AM -0700, Chris Lattner wrote: Understood. I'm just looking for the minimum type alignment without user alignment. It appears that this is impossible to get from the targets, due to the way the targets can

Re: GCC 4.1 Status Report (2005-07-22)

2005-07-22 Thread Andrew Pinski
On Jul 22, 2005, at 5:08 PM, Mark Mitchell wrote: Please! (Otherwise, I'm happy to do it myself.) All done. -- Pinski

Re: GCC 4.1 Status Report (2005-07-22)

2005-07-22 Thread Mark Mitchell
Andrew Pinski wrote: On Jul 22, 2005, at 5:08 PM, Mark Mitchell wrote: Please! (Otherwise, I'm happy to do it myself.) All done. Thanks. -- Mark Mitchell CodeSourcery, LLC [EMAIL PROTECTED] (916) 791-8304

Someone broke bootstrap with gfortran, again!

2005-07-22 Thread Steve Kargl
Does this look familiar to anyone? gmake[3]: Entering directory `/usr/home/sgk/gcc/obj41/amd64-unknown-freebsd6.0/libgfortran' /bin/sh ./libtool --mode=compile /usr/home/sgk/gcc/obj41/./gcc/xgcc -B/usr/home/sgk/gcc/obj41/./gcc/ -B/usr/home/sgk/work/41/amd64-unknown-freebsd6.0/bin/ -B/usr/home/

Re: Pointers in comparison expressions

2005-07-22 Thread Geoffrey Keating
Mirco Lorenzoni <[EMAIL PROTECTED]> writes: > Can a pointer appear in a C/C++ relational expression which doesn't test the > equality (or the inequality) of that pointer with respect to another pointer? Yes. > For example, are the comparisons in the following program legal code? No. > /* test

Re: volatile semantics

2005-07-22 Thread Geoffrey Keating
"D. Hugh Redelmeier" <[EMAIL PROTECTED]> writes: > 6.3.2.1: when an object is said to have a particular type, the type is > specified by the lvalue used to designate the object. So the lvalue > having a volatile-qualified type *means* that the object it designates has > a volatile-qualified type

Re: volatile semantics

2005-07-22 Thread Geoffrey Keating
Ian Lance Taylor writes: > Daniel Berlin <[EMAIL PROTECTED]> writes: > > > > In other words, we're asked to agree that the type of an object > > > changes depending on how it is accessed. > > > For the benefit of readers, only the first sentence of this para is > > > the language of the standard

Re: volatile semantics

2005-07-22 Thread Ian Lance Taylor
Geoffrey Keating <[EMAIL PROTECTED]> writes: > > const is inherently a characteristic of the object. It applies at > > definition time. Casting away const in a reference does not change > > the definition. Whether making an assignment through a pointer after > > casting away const is legal depe

Re: Someone broke bootstrap with gfortran, again!

2005-07-22 Thread Jerry DeLisle
Steve Kargl wrote: Does this look familiar to anyone? I was having troubles doing a build after a cvs update. I had to delete everything in the build directory and rerun configure and then it would build ok. Not sure its the same problem you are seeing, but it happened today. I am running o

Re: Someone broke bootstrap with gfortran, again!

2005-07-22 Thread Steve Kargl
On Fri, Jul 22, 2005 at 05:44:44PM -0700, Jerry DeLisle wrote: > Steve Kargl wrote: > >Does this look familiar to anyone? > > > I was having troubles doing a build after a cvs update. I had to delete > everything in the build directory and rerun configure and then it would > build ok. Not sure i

Re: Minimum target alignment for a datatype

2005-07-22 Thread Richard Henderson
On Fri, Jul 22, 2005 at 02:13:12PM -0700, Chris Lattner wrote: > Anyone have any thoughts or opinions? This may have impact on a > number of things, including any pointer alignment analysis. MEM_ALIGN has code to deal with this. There's no reason you can't apply that to TYPE_ALIGN. I suspect

Re: volatile semantics

2005-07-22 Thread Geoff Keating
On 22/07/2005, at 4:33 PM, Ian Lance Taylor wrote: Geoffrey Keating <[EMAIL PROTECTED]> writes: Although I can see that this is how you might think about the semantics of 'const' and 'volatile', I don't think they're an exact match for the model in the standard. In fact, I think you could ex

Re: volatile semantics

2005-07-22 Thread Paul Schlie
> Geoffrey Keating writes: > > int i; - merely means: allocate and treat all references to the object as referencing an unqualified int object, unless re-qualified within a more local scope. > without 'volatile', then this object cannot be modified unknown to the > implementation, even if som

Re: volatile semantics

2005-07-22 Thread Gabriel Dos Reis
Geoff Keating <[EMAIL PROTECTED]> writes: | On 22/07/2005, at 4:33 PM, Ian Lance Taylor wrote: | | > Geoffrey Keating <[EMAIL PROTECTED]> writes: | > | >> Although I can see that this is how you might think about the | >> semantics of 'const' and 'volatile', I don't think they're an exact | >> ma

Problem with getchar method!

2005-07-22 Thread DC A
Hi! I'm completely new at gnu c and I 've a problem with getchar() method. My program is given below. first it asks for a number than it shows the squared output which begins from 1 to that number. But after 24 output it supposed to stop and show a message "Press enter to continue..." and when

Re: Someone broke bootstrap with gfortran, again!

2005-07-22 Thread Steve Kargl
On Fri, Jul 22, 2005 at 04:11:54PM -0700, Steve Kargl wrote: > Does this look familiar to anyone? > > gmake[3]: Entering directory > `/usr/home/sgk/gcc/obj41/amd64-unknown-freebsd6.0/libgfortran' > /bin/sh ./libtool --mode=compile /usr/home/sgk/gcc/obj41/./gcc/xgcc > -B/usr/home/sgk/gcc/obj41/./

Re: Someone broke bootstrap with gfortran, again!

2005-07-22 Thread Andrew Pinski
> > On Fri, Jul 22, 2005 at 04:11:54PM -0700, Steve Kargl wrote: > > Does this look familiar to anyone? > > > > ../../../gcc41/libgfortran/generated/trig_c4.c:67: error: type mismatch > > between an SSA_NAME and its symbol > > while verifying SSA_NAME d$imag_15 in statement > > d$imag_15 = -D.28

Re: volatile semantics

2005-07-22 Thread Ian Lance Taylor
Geoff Keating <[EMAIL PROTECTED]> writes: > This is part of what I meant by saying that your model isn't a match > for the model in the standard. Your model had semantics attached to > the access. Despite evident appearances, I wasn't trying to make an argument from the standard. I was trying t

Re: Problem with getchar method!

2005-07-22 Thread Ian Lance Taylor
"DC A" <[EMAIL PROTECTED]> writes: > Hi! I'm completely new at gnu c and I 've a problem with getchar() > method. This mailing list is for the discussion of development of gcc. It is not for C programming questions. Please find some other mailing list. Thanks. > My program is given below. fir

Re: Someone broke bootstrap with gfortran, again!

2005-07-22 Thread Thomas Koenig
On Fri, Jul 22, 2005 at 10:01:43PM -0700, Steve Kargl wrote: > This is caused by > > 2005-07-21 Richard Henderson <[EMAIL PROTECTED]> Really? I have that in my tree (gcc version 4.1.0 20050722 (experimental)), but don't experience that failure. See my comments on PR 22623.