Sulabh Nangalia <[EMAIL PROTECTED]> writes:
> 5 < 10 ? a = 5 : a = 7; is giving error
> 15 < 10 ? a = 5 : a = 7; is not giving any error
>
> why?
Because of a bug in gcc. It's been fixed in 4.0, though.
--
Falk
I'm trying to find the best way to minimize the problem via options or
other ways. I already use "-fpermissive" and this eases it a bit.
Suggestions?
First of all, it's not polite to send things twice just because nobody
answered you.
Second, people on this listcould have as well ignored
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paolo Bonzini wrote:
> This is just a heads up that GCC has switched so that the toplevel
> coordinates the bootstrapping.
[...]
> Let me know if I broke something.
I used to be able to do:
cd $BUILD_DIR/$TARGET/libjava/testsuite
make -k check
I used to be able to do:
cd $BUILD_DIR/$TARGET/libjava/testsuite
make -k check
to run only the libjava testsuite.
When I try the same under "stage3-$TARGET/libjava/testsuite"
now, it fails to find the appropriate "gcj". The full error
log is appended at the end of this message.
This is
Hello, Laurent!
Hi, we lost just one disk during transportation.
If you know someone who has a spare X GB SCSI disk available for
donation, please contact me. Otherwise I'll just buy one :) .
Over here (Germany, Munich) there is an old but it was running
for just some days SCSI Raid system o
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paolo Bonzini wrote:
>>I used to be able to do:
>>
>> cd $BUILD_DIR/$TARGET/libjava/testsuite
>> make -k check
>>
>>to run only the libjava testsuite.
>>
>>When I try the same under "stage3-$TARGET/libjava/testsuite"
>>now, it fails to find the appropr
Olly Betts <[EMAIL PROTECTED]> writes:
> But note that Gmane (http://gmane.org) is run entirely on Free Software,
> and doesn't provide any non-Free Software downloads so you could
> presumably add a search box for that without political worries. (This
> may also be true for some of the other mai
Jakub Jelinek wrote:
On Wed, Dec 14, 2005 at 04:34:17PM -0600, Joel Sherrill <[EMAIL PROTECTED]>
wrote:
My fresh check out on the head build using the gcc shipped with
Fedora Core 4 has failed for the past couple of days with this error:
A day and half.
Is this a known failure?
Yes, j
Given a pointer to type T - when can we assume that the data pointed to is
naturally aligned (aligned on the size of the type T)?
The vectorizer currently works under the assumption that all data is
naturally aligned. At least one place where this may result in generation
of wrong code by t
On 12/15/05, Dorit Naishlos <[EMAIL PROTECTED]> wrote:
> So, in short - when can we assume that pointer types have the minimum
> alignment required by their underlying type?
I think the C standard always guarantees this. Of course with packed
structs or malicious users this is not always true bu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Per Abrahamsen wrote:
>
> Actually, I wonder if it really makes sense for the GCC project to
> spend part of their limited resources on maintaining their own mail
> archives, when specialized free as in FSF services like gmane exist?
Yes it does. If
Yes it does. If nothing else, the archives are used to
provide canonical URLs for referring to messages.
What might not be clear is the need to run a search
engine on the sourceware server, especially if it
puts an awful load on the server at times and especially
when "foo bar site:gcc.gnu.org"
On Thu, Dec 15, 2005 at 10:02:24AM +0100, Paolo Bonzini wrote:
>
> >I used to be able to do:
> >
> > cd $BUILD_DIR/$TARGET/libjava/testsuite
> > make -k check
> >
> >to run only the libjava testsuite.
> >
> >When I try the same under "stage3-$TARGET/libjava/testsuite"
> >now, it fails to find the
Dear all,
I would like to have a brief chat in order to understand (roughly) the
way gcc deals with optimization and language-independent function's
representation. I read already some documents (not the gcc internal doc)
and am aware of GENERIC, GIMPLE, tree SSA but I am not confident on
se
Hi,
i thought, maybe it interests you. I have done some benchmarking to compare
different gcc releases. Therefore, i have written a bash based benchmarksuite
which compiles and benches mostly C-benchmarks.
Benchmark environment:
The benchmarks are running on i686-pc-linux-gnu (gentoo based) sy
In previous versions of GCC before yesterday, "make all" used to do a
normal build
but now I am getting a full bootstrap which is not what I wanted as I
was just testing
objective-C and libobjc changes and nothing else.
Is this is deliberate change or just a mistake?
Thanks,
Andrew Pinski
Andrew Pinski wrote:
> Is this is deliberate change or just a mistake?
I'm pretty sure is deliberate and --disable-bootstrap is the config you
need.
Paolo.
Andrew Pinski <[EMAIL PROTECTED]> wrote:
> In previous versions of GCC before yesterday, "make all" used to do a
> normal build
> but now I am getting a full bootstrap which is not what I wanted as I
> was just testing
> objective-C and libobjc changes and nothing else.
>
> Is this is deliberate
On Thu, 2005-12-15 at 19:01 +0100, Giovanni Bajo wrote:
> Andrew Pinski <[EMAIL PROTECTED]> wrote:
>
> > In previous versions of GCC before yesterday, "make all" used to do a
> > normal build
> > but now I am getting a full bootstrap which is not what I wanted as I
> > was just testing
> > objecti
Thomas Lavergne <[EMAIL PROTECTED]> wrote:
> *) is GIMPLE truely front-end independent (no nore specific hacks)?
Yes, mostly. There are some so-called "lang-hooks" to ask some additional
information to the frontend, but it's mainly about the type system (eg:
there is a langhook to ask the fronten
After the change over to top level bootstrap, it is harder to tell what
stage
the bootstrap is on.
We get now:
/Users/pinskia/src/gcc/libobjc/trunk/objdir/./prev-gcc/xgcc
but before we had got:
/Users/pinskia/src/gcc/libobjc/trunk/objdir/gcc/stage1/xgcc
Is there any way to fix this so that it i
On Thu, Dec 15, 2005 at 01:26:07PM -0500, Andrew Pinski wrote:
> After the change over to top level bootstrap, it is harder to tell what
> stage
> the bootstrap is on.
> We get now:
> /Users/pinskia/src/gcc/libobjc/trunk/objdir/./prev-gcc/xgcc
>
> but before we had got:
> /Users/pinskia/src/gcc/l
[ this is for debugging purposes - once libgcc moves to its own
directory, we can change this ]
And how about the plans to move the C frontend to its own directory ?
[ grumpy lesser-frontend maintainer ]
--
Toon Moene - e-mail: [EMAIL PROTECTED] - phone: +31 346 214290
Saturnushof 14, 3738 XG
Andrija Radičević wrote:
> I'm trying to port gcc and binutils to a new target and I hoped to find
> a brief procedure on that matter on the net, but was unsuccessful. OK,
> the GCC internals is quite a resourceful document and one can learn a
> lot by examining the source tree, but It would be ver
> Re: GCC mailing list archive search omits results after May 2005
I have been following this thread of discussion. I am a little puzzled. Google
and Gmail are both free but they are not "free" software according to the FSF
definition. But does it matter? We still use them for work. Gmane is co
I just came to think of contrib/warn_summary... how does that filter
out different stages warnings since this change?
--
Cheers,
/ChJ
I see that this patch has already been submitted and accepted, so I'll
just basically state my agreement.
On Wed, Dec 14, 2005 at 11:28:06PM +0100, Paul Thomas wrote:
> For what it is worth, I applaud your effort - I think that the gfortran
> middle-end should be made completely consistent with t
Will L (sent by Nabble.com) wrote:
>> Re: GCC mailing list archive search omits results after May 2005
>
> I have been following this thread of discussion. I am a little puzzled.
It shows! Your post is based on a misunderstanding of what "free" means in
this context. Perhaps things will be cl
On Thu, Dec 15, 2005 at 08:20:39PM -, Dave Korn wrote:
> It shows! Your post is based on a misunderstanding of what "free" means in
> this context. Perhaps things will be clearer if you read the explanation of
> what the FSF means by "free" at
In return it shows that you didn't read the me
Janne,
Well, it's not like gfortran is any better documented. At least with
gcc middle-end, there is a much larger amount of people familiar with
it who can concievably help.
I would agree with that. However, getting acquainted with one level of
undocumented complexity is one thing but two
How can I rebuild stage 1 compiler with the system compiler? I used
to be able to do
# cd gcc
# make unstage1
# make restage1
But now ./prev-gcc/xgcc is used to build stage 1 compiler, not the
system compiler.
H.J.
; > too.)
>
I am enclosing 2 patches:
1. contrib/gcc_update creates gcc/REVISION with branch name and
revision number.
2. If gcc/REVISION exists, it will be used in gcc/version.c.
With those 2 patches, I got
[EMAIL PROTECTED] gcc]$ ./xgcc --version
xgcc (GCC) 4.1.0 (gcc-4_1-branch revisio
doing the following
$(srcdir)/configure --prefix=${HOME}/libobjc.trunk
--enable-languages=c,objc
make all
make -k check
make install
And it fails while doing a "make install":
gcc -I/Users/pinskia/src/gcc/libobjc/trunk/libcpp -I.
-I/Users/pinskia/src/gcc/libobjc/trunk/libcpp/../include -I./.
Snapshot gcc-4.0-20051215 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20051215/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 4.0 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches
In m68k.md we have:
;; Speed up pushing a single byte but leaving four bytes of space.
(define_peephole
[(set (mem:QI (pre_dec:SI (reg:SI SP_REG)))
(match_operand:QI 1 "general_operand" "dami"))
(set (reg:SI SP_REG) (minus:SI (reg:SI SP_REG) (const_int 2)))]
The (const_int 2) looks
SION with branch name and
revision number.
2. If gcc/REVISION exists, it will be used in gcc/version.c.
With those 2 patches, I got
[EMAIL PROTECTED] gcc]$ ./xgcc --version
xgcc (GCC) 4.1.0 (gcc-4_1-branch revision 108596) 20051215 (prerelease)
I like this, but what if you also did an svn status
1. contrib/gcc_update creates gcc/REVISION with branch name and
> >revision number.
> >2. If gcc/REVISION exists, it will be used in gcc/version.c.
> >
> >With those 2 patches, I got
> >
> >[EMAIL PROTECTED] gcc]$ ./xgcc --version
> >xgcc (GCC) 4.1.0 (gcc-4_1-br
I confirm the Ada bootstrap failure on x86-linux, I opened:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25436
With a backtrace and various print suggested by Steven and
last known working revision.
Laurent
On Thu, 2005-12-15 at 07:36 -0600, Joel Sherrill wrote:
> Jakub Jelinek wrote:
> > On We
d like it
too.)
I am enclosing 2 patches:
1. contrib/gcc_update creates gcc/REVISION with branch name and
revision number.
2. If gcc/REVISION exists, it will be used in gcc/version.c.
With those 2 patches, I got
[EMAIL PROTECTED] gcc]$ ./xgcc --version
xgcc (GCC) 4.1.0 (gcc-4_1-branch revision 108
On Thu, Dec 15, 2005 at 03:00:10PM -0800, David Daney wrote:
> I like this, but what if you also did an svn status to see if there were
> any modifications WRT the branch/revision and then add either 'clean' or
> 'modified' to the information.
>
> So you would get (gcc-4_1-branch revision 108596
Daniel Jacobowitz wrote:
On Thu, Dec 15, 2005 at 03:00:10PM -0800, David Daney wrote:
I like this, but what if you also did an svn status to see if there were
any modifications WRT the branch/revision and then add either 'clean' or
'modified' to the information.
So you would get (gcc-4_1-bra
> I just came to think of contrib/warn_summary... how does that filter
> out different stages warnings since this change?
> Cheers,
> /ChJ
It doesn't work anymore, I'll fix it eventually.
--
Kaveh R. Ghazi [EMAIL PROTECTED]
Hi,
i forgot to post the best cflags for each gcc-version and benchmark.
Here are the results:
gcc-3.3.6:
nbench: -s -static -O3 -march=athlon-xp -fomit-frame-pointer -pipe
-fforce-addr -fsched-spec-load -fmove-all-movables -ffast-math -ftracer
-funroll-loops -funroll-all-loops -mfpmath=sse -mo
On Thu, Dec 15, 2005 at 04:09:41PM -0800, David Daney wrote:
> Daniel Jacobowitz wrote:
> >On Thu, Dec 15, 2005 at 03:00:10PM -0800, David Daney wrote:
> >
> >>I like this, but what if you also did an svn status to see if there were
> >>any modifications WRT the branch/revision and then add either
H. J. Lu wrote:
On Thu, Dec 15, 2005 at 04:09:41PM -0800, David Daney wrote:
Daniel Jacobowitz wrote:
On Thu, Dec 15, 2005 at 03:00:10PM -0800, David Daney wrote:
I like this, but what if you also did an svn status to see if there were
any modifications WRT the branch/revision and then add
On Thu, Dec 15, 2005 at 06:03:25PM -0800, David Daney wrote:
> H. J. Lu wrote:
> >On Thu, Dec 15, 2005 at 04:09:41PM -0800, David Daney wrote:
> >
> >>Daniel Jacobowitz wrote:
> >>
> >>>On Thu, Dec 15, 2005 at 03:00:10PM -0800, David Daney wrote:
> >>>
> >>>
> I like this, but what if you also
Paul Brook <[EMAIL PROTECTED]> writes:
> In m68k.md we have:
>
> ;; Speed up pushing a single byte but leaving four bytes of space.
>
> (define_peephole
> [(set (mem:QI (pre_dec:SI (reg:SI SP_REG)))
> (match_operand:QI 1 "general_operand" "dami"))
>(set (reg:SI SP_REG) (minus:SI (reg
On Friday 16 December 2005 02:35, Andreas Schwab wrote:
> Paul Brook <[EMAIL PROTECTED]> writes:
> > In m68k.md we have:
> >
> > ;; Speed up pushing a single byte but leaving four bytes of space.
> >
> > (define_peephole
> > [(set (mem:QI (pre_dec:SI (reg:SI SP_REG)))
> > (match_operand:Q
Trying to see if a bug was fixed (and an approved patch by me was still
needed), I
noticed that BOOT_CFLAGS was being ignored for profiled_bootstrap.
Thanks,
Andrew Pinski
> I like this, but what if you also did an svn status to see if there
> were any modifications WRT the branch/revision and then add either
> 'clean' or 'modified' to the information.
I think this is a good idea (and don't mind the idea of `svn status'
being run from gcc_update to do so), but I won
On Fri, Dec 16, 2005 at 03:58:05PM +1100, Ben Elliston wrote:
> > I like this, but what if you also did an svn status to see if there
> > were any modifications WRT the branch/revision and then add either
> > 'clean' or 'modified' to the information.
>
> I think this is a good idea (and don't mind
51 matches
Mail list logo