The name here would seem to imply that we *are* mangling the type
name: typeinfo for foo()::S. Which begs the question of why you're
seeing something different for ia64.
Both names are mangled identically (either on IA-32 or IA-64) because they are
supposed to be local to the translation
Hi,
I don't seem to be able to access svn:
# svn ls svn://gcc.gnu.org/svn/gcc
[several (2-3) minutes pass, during which svn is non-interruptable]
svn: Can't connect to host 'gcc.gnu.org': Connection timed out
Ralf
Eric Botcazou wrote:
The name here would seem to imply that we *are* mangling the type
name: typeinfo for foo()::S. Which begs the question of why you're
seeing something different for ia64.
Both names are mangled identically (either on IA-32 or IA-64) because they
are
supposed to be
Joe Buck wrote:
So the amended suggestion is to fix -Wcomment to shut up about continued
comments that don't matter, and also to add the new -f option to switch
the handling of spaces-at-the-end.
I think your proposal, as amended, is the right approach.
I generally don't much like new
This test case is valid, and the results observed are in incorrect; in
other words, yes, there is a bug.
Thanks for confirming.
In general, comparison of type_info objects is supposed to be done by
checking for address equality of the type info strings. On systems
without weak symbols, we
Ralf Corsepius [EMAIL PROTECTED] writes:
Hi,
I don't seem to be able to access svn:
# svn ls svn://gcc.gnu.org/svn/gcc
[several (2-3) minutes pass, during which svn is non-interruptable]
svn: Can't connect to host 'gcc.gnu.org': Connection timed out
I didn't read that it's up again after
On Fri, 2005-10-28 at 08:49 +0200, Andreas Jaeger wrote:
Ralf Corsepius [EMAIL PROTECTED] writes:
Hi,
I don't seem to be able to access svn:
# svn ls svn://gcc.gnu.org/svn/gcc
[several (2-3) minutes pass, during which svn is non-interruptable]
svn: Can't connect to host
Giovanni Bajo wrote:
The section is unneeded and duplicates the first paragraph of SvnBasic.
Please,
make sure to not insert duplicate information in the Wiki, prefer to link. I
have removed the duplicate.
Sorry, I had missed that section when I looked for it.
Thanks,
- Tobi
We've made very good progress during the regression-only period on the
mainline. From 219 regressions on the 10th, we're down to just 149
about two weeks later. Unfortunately, we made most of that progress in
the first week to ten days; we've slowed down over the last week.
There are still 44
Eric Botcazou wrote:
.hidden DW.ref._ZTIZ3foovE1S
.weak DW.ref._ZTIZ3foovE1S#
.section.gnu.linkonce.s.DW.ref._ZTIZ3foovE1S,aws,@progbits
.align 8
.type DW.ref._ZTIZ3foovE1S#, @object
.size DW.ref._ZTIZ3foovE1S#, 8
Yes, that's wrong. I'd expect that to be a front-end bug, but if it
doesn't happen on all platforms, then, maybe it's not?
I think it can happen for all targets that use DW_EH_PE_indirect incoding.
And it happens in Ada too because, like in C++, local exceptions are not
expected to be
Is there a quick way to turn a CVS checkout to SVN, other than making a
patch and applying to a fresh SVN checkout?
By the way, it could be a good thing to tag the SVN repository revision
corresponding to the transition.
Paolo
Eric Botcazou wrote:
I think it can happen for all targets that use DW_EH_PE_indirect incoding.
And it happens in Ada too because, like in C++, local exceptions are not
expected to be visible outside the compilation (translation) unit so they are
not uniquified.
We could uniquify exception
Richard Kenner wrote:
When I do it, it looks like after I log out, something is still running.
Is there something I have to stop?
Yep.
http://gcc.gnu.org/wiki/SSH%20connection%20caching
To create the socket, you need to open a master connection. Just ssh to
gcc.gnu.org using the
Paolo Bonzini [EMAIL PROTECTED] wrote:
Is there a quick way to turn a CVS checkout to SVN, other than making a
patch and applying to a fresh SVN checkout?
I believe cvs diff | patch is the only way, maybe Daniel knows better. Is
there a specific problem with this?
--
Giovanni Bajo
On Oct 28, 2005, Mark Mitchell [EMAIL PROTECTED] wrote:
In general, comparison of type_info objects is supposed to be done by
checking for address equality of the type info strings.
In the situation where we
do not use strcmp, I would not expect to see that bug -- because I would
expect
Note that the open connection has your authentication tokens to the
remote server. If you leave the machine where you started the master
SSH session, you should usually kill it.
I missed that part.
So what's the recommended way to kill it? I added the ssh -M command to my
.login.
On Fri, 2005-10-28 at 12:31 +0200, Giovanni Bajo wrote:
Paolo Bonzini [EMAIL PROTECTED] wrote:
Is there a quick way to turn a CVS checkout to SVN, other than making a
patch and applying to a fresh SVN checkout?
I believe cvs diff | patch is the only way, maybe Daniel knows better. Is
Richard Kenner wrote:
Note that the open connection has your authentication tokens to the
remote server. If you leave the machine where you started the master
SSH session, you should usually kill it.
I missed that part.
So what's the recommended way to kill it? I added the
Daniel Berlin wrote:
In the meanwhile, 1.3.0rc1 of SVN will become available at sometime in
the next hour or so at:
http://lolut.utbm.info/pub/subversion-1.3.0-rc1/
This doesn't seem to build OOTB on Cygwin, possibly (but I'm not an expert
on this side of things) related to libtool
On Fri, 2005-10-28 at 14:13 +0100, Dave Korn wrote:
Daniel Berlin wrote:
In the meanwhile, 1.3.0rc1 of SVN will become available at sometime in
the next hour or so at:
http://lolut.utbm.info/pub/subversion-1.3.0-rc1/
This doesn't seem to build OOTB on Cygwin, possibly (but I'm
Daniel Berlin wrote:
On Fri, 2005-10-28 at 14:13 +0100, Dave Korn wrote:
Daniel Berlin wrote:
In the meanwhile, 1.3.0rc1 of SVN will become available at sometime in
the next hour or so at:
http://lolut.utbm.info/pub/subversion-1.3.0-rc1/
This doesn't seem to build OOTB on
This would be nice, for passive observers of GCC development, like me.
Josh
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Daniel Berlin
Sent: Thursday, October 27, 2005 6:04 PM
To: Joe Buck
Cc: gcc@gcc.gnu.org
Subject: Re: anonymous svn over http?
On Oct 27, 2005, at 3:48 PM, Gabriel Dos Reis wrote:
| // this is a continued comment \
| // but who cares, because this is a comment too
| % gcc -Wall -c foo.C
| foo.C:1:1: warning: multi-line comment
| Perhaps the thing to do is to fix -Wcomment to eliminate the noise,
| so it will be
[ Mark, my emails to gcc-announce are dropped on the floor, can you
forward this there? ]
The new SVN repository is up. I will rescript the cvs sessions in
wwwdocs, and post the final set of wwwdocs changes.
contrib/ scripts have been updated in the new repository
maintainer-scripts/ have as
DJ Delorie [EMAIL PROTECTED] writes:
To compile for the m16c specifically, use m32c-elf-gcc -mcpu=m16c ...
thanks. is that a 4.02 option? i can not find them on my 3.4 gcc man page.
The r8c/m16c/m32c port is new. Currently, it's only in the mainline
CVS sources, and will be officially
I am hacking up an optimization pass that re-writes some calls to
libgcj. Since this pass is only useful if the source is generating
calls to functions in libgcj, I only want to enable it if this is likely
to be the case.
Q: Is there some predicate that can be used in the gate of a tree
where to get the binutils and other stuff you mentioned? are they included in
current CVS?
http://sources.redhat.com/binutils/
http://sources.redhat.com/newlib/
Again, in both cases you'll need to use the CVS version as the m32c
port is still new enough that it hasn't shown up in any official
On Fri, Oct 28, 2005 at 01:30:13AM +0200, Giovanni Bajo wrote:
Mike Stump [EMAIL PROTECTED] wrote:
Uhm, I'm not sure how to explain this without being too pedantic.
Does this
sound clearer?
This tool tracks each individual change (fine-grained) and will never
reapply an already applied
On Fri, 28 Oct 2005, Christopher Faylor wrote:
I just updated the cvs/svn shell on gcc.gnu.org. It now has the ability
to add a v2 key to the system:
ssh gcc.gnu.org 'updatekey' ~/.ssh/id_rsa.pub
This will add the id_rsa.pub to the authorized_keys file on gcc.gnu.org.
It will, of
Alexandre Oliva wrote:
If the strings turn out to be identical and the linker merges them, we
fail...
The linker should not do that. These are not random string literals;
these are the equivalent of the
static char c[12] = ...
--
Mark Mitchell
CodeSourcery, LLC
[EMAIL PROTECTED]
(916)
On Fri, Oct 28, 2005 at 06:01:52PM +0200, Gerald Pfeifer wrote:
On Fri, 28 Oct 2005, Christopher Faylor wrote:
I just updated the cvs/svn shell on gcc.gnu.org. It now has the ability
to add a v2 key to the system:
ssh gcc.gnu.org 'updatekey' ~/.ssh/id_rsa.pub
This will add the
On Fri, Oct 28, 2005 at 08:44:02AM -0700, David Daney wrote:
I am hacking up an optimization pass that re-writes some calls to
libgcj. Since this pass is only useful if the source is generating
calls to functions in libgcj, I only want to enable it if this is likely
to be the case.
Q:
Daniel Berlin wrote:
[ Mark, my emails to gcc-announce are dropped on the floor, can you
forward this there? ]
The new SVN repository is up.
snip
[EMAIL PROTECTED] /gnu/HEAD svn co svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk
Enter passphrase for key
Should I assume that the reason that my attempt to svn co the
repository for the first time is that the repository is massively
overloaded due to everyone on the list hitting it at the same time?
Mine started right away. Checkout proceeding normally.
On http://gcc.gnu.org/wiki/SvnMerge
I changed:
$ svn switch svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4.0-branch
to:
$ svn switch svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch
:-( Took me a while to figure out what was wrong. :-(
The error message is, uhm, well, unfortunate.
If
On Oct 28, 2005, at 9:20 AM, Dave Korn wrote:
snip
[EMAIL PROTECTED] /gnu/HEAD svn co svn+ssh://[EMAIL PROTECTED]/svn/gcc/
trunk
Enter passphrase for key '/home/dk/.ssh/id_rsa':
[ 40 minutes later, no response and still waiting ]
For a list of PRs fixed for 4.0.2:
http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVEDresolution=FIXEDtarget_milestone=4.0.2
Is it possible to have the full summary field displayed? I'd really
prefer just:
BUG-ID SUMMARY
to make it easy to generate a changelog of fixed PRs.
--
For a list of PRs fixed for 4.0.2:
http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVEDresolution=FIXEDtarget_milestone=4.0.2
Is it possible to have the full summary field displayed? I'd really
prefer just:
BUG-ID SUMMARY
to make it easy to generate a changelog of fixed
Mike Stump [EMAIL PROTECTED] wrote:
$ svn switch svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4.0-branch
to:
$ svn switch svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch
:-( Took me a while to figure out what was wrong. :-(
Sorry about that!
--
Giovanni Bajo
I'm forwarding this message from a coworker.
He ran into this regression bug with GCC 4.0.1 (it works correctly in
3.4.1).
The conditional operator expression isn't handling static consts
correctly resulting in linker errors since it is trying to resolve to
statics that were never defined.
I'm forwarding this message from a coworker.
He ran into this regression bug with GCC 4.0.1 (it works correctly in
3.4.1).
The conditional operator expression isn't handling static consts
correctly resulting in linker errors since it is trying to resolve to
statics that were never
On Fri, Oct 28, 2005 at 12:54:38PM -0400, Andrew Pinski wrote:
For a list of PRs fixed for 4.0.2:
http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVEDresolution=FIXEDtarget_milestone=4.0.2
Is it possible to have the full summary field displayed? I'd really
prefer just:
Daniel Berlin [EMAIL PROTECTED] writes:
contrib/ scripts have been updated in the new repository
It appears this happend only on the trunk.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7
On Fri, 2005-10-28 at 19:22 +0200, Andreas Schwab wrote:
Daniel Berlin [EMAIL PROTECTED] writes:
contrib/ scripts have been updated in the new repository
It appears this happend only on the trunk.
Yes.
I will udpate them on branches as well.
Andreas.
Mike Stump wrote:
On Oct 28, 2005, at 9:20 AM, Dave Korn wrote:
snip
[EMAIL PROTECTED] /gnu/HEAD svn co svn+ssh://[EMAIL PROTECTED]/svn/gcc/
trunk
Enter passphrase for key '/home/dk/.ssh/id_rsa':
[ 40 minutes later, no response and still waiting
On Fri, 2005-10-28 at 09:45 -0700, Mike Stump wrote:
On Oct 28, 2005, at 9:20 AM, Dave Korn wrote:
snip
[EMAIL PROTECTED] /gnu/HEAD svn co svn+ssh://[EMAIL PROTECTED]/svn/gcc/
trunk
Enter passphrase for key '/home/dk/.ssh/id_rsa':
[ 40
On Fri, 2005-10-28 at 18:25 +0100, Dave Korn wrote:
Mike Stump wrote:
On Oct 28, 2005, at 9:20 AM, Dave Korn wrote:
snip
[EMAIL PROTECTED] /gnu/HEAD svn co svn+ssh://[EMAIL PROTECTED]/svn/gcc/
trunk
Enter passphrase for key
On Fri, 28 Oct 2005, Daniel Berlin wrote:
contrib/ scripts have been updated in the new repository
I've merged the gcc_update change to 4.0 branch, 3.4 branch and
csl-arm-branch. In so doing, bug 20731 is fixed since the branch name is
no longer hardcoded. I have therefore also applied the
Is there any need for people providing access to non
mainstream/commercial hardware?
I realize mostly everyone working on gcc has access to
an x86 of some form but perhaps not other machines.
I am probably setting up a dec alpha running openvms
shortly and could probably arrange a 32bit sun if
Eric Botcazou wrote:
Note that the type_info object itself (_ZTIZ3foovE1S) is local. What is not
local is the indirect reference to it through DW.ref._ZTIZ3foovE1S. So,
while the 2 DW.ref._ZTIZ3foovE1S symbols are advertised as being identical,
their contents would *not* be identical at
I've setup my svn directory structure according to the wiki
where I've used svn switch ... to remove ada from tree.
mkdir obj41
cd obj41
../trunk/configure --prefix=$HOME/work/41 --enable-languages=c,f95 \
--disable-libmudflap
gmake bootstrap
gmake[3]: Leaving directory
On Fri, 2005-10-28 at 09:40 -0700, Mike Stump wrote:
On http://gcc.gnu.org/wiki/SvnMerge
I changed:
$ svn switch svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4.0-branch
to:
$ svn switch svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch
:-( Took me a while to figure out what was
Brian Makin wrote:
Is there any need for people providing access to non
mainstream/commercial hardware?
There are various services for this that are already available. HP for
instance has the testdrive program
http://www.testdrive.hp.com
You can get free access to various systems here.
For those who want a starting point to mirror the entire repo from, i
have placed an rzip'd (http://rzip.samba.org) copy of the repository in
ftp://gcc.gnu.org/pub/gcc/infrastructure/gccrepo.tar.rz
It is 549 meg and expands to 8.5 gig.
Before someone says wow, just use rzip in subversion,
Tom Tromey wrote:
David == David Daney [EMAIL PROTECTED] writes:
David Q: Is there some predicate that can be used in the gate of a tree
David optimizer to disable the pass if not being called via the java
David front-end?
There is always the ugly approach of a global that defaults to 0 and
On Fri, 2005-10-28 at 15:29 -0400, Daniel Berlin wrote:
For those who want a starting point to mirror the entire repo from, i
have placed an rzip'd (http://rzip.samba.org) copy of the repository in
ftp://gcc.gnu.org/pub/gcc/infrastructure/gccrepo.tar.rz
Finger slipped.
This won't be
On Fri, Oct 28, 2005 at 11:21:42AM -0700, Steve Kargl wrote:
I've setup my svn directory structure according to the wiki
where I've used svn switch ... to remove ada from tree.
mkdir obj41
cd obj41
../trunk/configure --prefix=$HOME/work/41 --enable-languages=c,f95 \
--disable-libmudflap
David == David Daney [EMAIL PROTECTED] writes:
David Yeah, I am kind of new to these tree optimizers, so I thought there
David might be some sort of official way to know these things.
From what I understand, there are currently no language-dependent
passes. (Am I wrong about that?) Having a
I am still working on tarballs of a .svk/local dir for people.
Any reason you're doing a tarball instead of a bootstrap dump?
http://svk.elixus.org/?SVKBootStrap
Paul
On Fri, 2005-10-28 at 22:40 +0100, Paul Brook wrote:
I am still working on tarballs of a .svk/local dir for people.
Any reason you're doing a tarball instead of a bootstrap dump?
http://svk.elixus.org/?SVKBootStrap
Same thing, more or less :)
On 2005-10-28 14:12:26 +0100, Dave Korn wrote:
Dunno what's recommended, but I expect you should be able to come
up with a combination of ps/grep/awk/cut that you could put in a
backtick as an argument to kill -9 in your .logout file, perhaps?
I use lsof. With zsh:
for file in
DJ Delorie [EMAIL PROTECTED] writes:
where to get the binutils and other stuff you mentioned? are they included in
current CVS?
http://sources.redhat.com/binutils/
http://sources.redhat.com/newlib/
Again, in both cases you'll need to use the CVS version as the m32c
port is still new
ok, thanks for your help. now i know what i need to do is to get
latest cvs code from GNU for 'gcc', 'binutils' and 'newlib', then
compile and install them, right?
Right.
after it were done, i will get capabilities of compile/linker from
c++ source to M16C executable on my Linux host
--- Comment #6 from uros at kss-loka dot si 2005-10-28 06:05 ---
(In reply to comment #5)
The realy problem here is that the xor is produced after reload and is really
only done on some x86 targets.
This happens in following peephole2 pattern:
;; Don't move an immediate directly to
--- Comment #4 from mabdallah at unido-ichet dot org 2005-10-28 06:09
---
(In reply to comment #3)
Because if you look in that BUGs audit-trail we have
The error message is
city3s.f:0: internal compiler error: in gfc_assign_data_value, at
fortran/data.c:319
given the
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2005-10-28 06:24
---
Following your way, I download zlib at http://www.zlib.net, gunzip and untar
it at GCC'src directory.
Don't do that, everything should be included in the GCC archive.
What GCC archive do you use and where
There has been a performance drop of approx. 8% in facerec benchmark with at
-O2 optimizatio level, since 2005-10-17 on ppc.
After doing little regression hunt, found following patch causing the drop,
http://gcc.gnu.org/ml/gcc-cvs/2005-10/msg00586.html
As this patch has two parts, one fixes bug
--- Comment #8 from luongductruong at gmail dot com 2005-10-28 08:24
---
(In reply to comment #7)
Following your way, I download zlib at http://www.zlib.net, gunzip and untar
it at GCC'src directory.
Don't do that, everything should be included in the GCC archive.
What GCC
--- Comment #8 from samuel dot thibault at ens-lyon dot org 2005-10-28
08:27 ---
Subject: Re: gcc can't inline functions using setjmp
pinskia at gcc dot gnu dot org, le Fri 28 Oct 2005 01:39:59 -, a écrit :
So this is not a bug.
Yes this is a bug. The docs for setjmp are really
--- Comment #9 from ebotcazou at gcc dot gnu dot org 2005-10-28 08:31
---
I download GCC 4.0.2 from http://gcc.gnu.org. When I untar that source in many
times, It always notices : the directory checksum error. I try another FTP
server, download again but that error doesn't fix.
--- Comment #5 from eedelman at gcc dot gnu dot org 2005-10-28 11:18
---
(In reply to comment #4)
I don't understand what is the exact solution to my problem.
Nobody has said there is a solution at the moment. When Richard Guenther
marked this PR as RESOLVED, DUPLICATE, it didn't
--- Comment #6 from pinskia at gcc dot gnu dot org 2005-10-28 12:04 ---
(In reply to comment #5)
set lang c didn't give me that output. What is your configuration, gdb ,
gfortran version and so on?
Oh, I did a p array since whatis is the same as ptype.
--
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-28 12:06 ---
Can you attach the preprocessed source, also if you run it again do you hit it
still?
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-28 12:10 ---
(In reply to comment #0)
I could revert the change (only second part) with the new patch unless there
is
a reason (which for the moment I'm not able to understand) for removing the
call to
--- Comment #9 from pinskia at gcc dot gnu dot org 2005-10-28 14:18 ---
(In reply to comment #8)
Yes this is a bug. The docs for setjmp are really clear about the fact
automatic variables of the callee might be thrashed, but that doesn't
entail that the callee can't be inlined. Gcc
--- Comment #11 from pinskia at gcc dot gnu dot org 2005-10-28 14:26
---
Subject: Bug 24362
Author: pinskia
Date: Fri Oct 28 14:26:36 2005
New Revision: 105930
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=105930
Log:
2005-10-28 Andrew Pinski [EMAIL PROTECTED]
PR
--- Comment #4 from postmaster at t-hosting dot hu 2005-10-28 14:31 ---
(In reply to comment #3)
Seems fixed in 3.4.5 20050809. Can you try a newer 3.4.5?
It's okay now, but there's a build error. I susoect the code is not for gcc
3.4.5. I got this:
CC='/usr/local/bin/gcc34' mkdep
--- Comment #12 from pinskia at gcc dot gnu dot org 2005-10-28 14:32
---
Subject: Bug 24362
Author: pinskia
Date: Fri Oct 28 14:26:36 2005
New Revision: 105930
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=105930
Log:
2005-10-28 Andrew Pinski [EMAIL PROTECTED]
PR
--- Comment #13 from pinskia at gcc dot gnu dot org 2005-10-28 14:40
---
Subject: Bug 24362
Author: pinskia
Date: Fri Oct 28 14:39:57 2005
New Revision: 105931
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=105931
Log:
2005-10-28 Andrew Pinski [EMAIL PROTECTED]
PR
--- Comment #14 from pinskia at gcc dot gnu dot org 2005-10-28 14:41
---
Fixed. only 4.1 still have issues with this code but that is PR 24365.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #16 from pinskia at gcc dot gnu dot org 2005-10-28 14:50
---
Subject: Bug 23426
Author: pinskia
Date: Fri Oct 28 14:50:53 2005
New Revision: 105934
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=105934
Log:
2005-10-28 Andrew Pinski [EMAIL PROTECTED]
PR
--- Comment #17 from pinskia at gcc dot gnu dot org 2005-10-28 14:57
---
Subject: Bug 23426
Author: pinskia
Date: Fri Oct 28 14:57:30 2005
New Revision: 105936
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=105936
Log:
2005-10-28 Andrew Pinski [EMAIL PROTECTED]
PR
--- Comment #18 from pinskia at gcc dot gnu dot org 2005-10-28 14:57
---
Fixed in 4.0.3.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
int operator-(foo a, foo b) {}
struct bar {
int operator-(foo a, foo b) {}
};
gets you:
~/ootbc/members/src$ g++ foo.cc
foo.cc:1: error: declaration of `operator-' as non-function
foo.cc:1: error: `foo' was not declared in this scope
foo.cc:1: error: `foo' was not declared in this scope
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-28 15:17 ---
Fixed in 4.0.0 and above at least:
t.cc:1: error: declaration of operator- as non-function
t.cc:1: error: foo was not declared in this scope
t.cc:1: error: foo was not declared in this scope
t.cc:4: error:
--- Comment #13 from steven at gcc dot gnu dot org 2005-10-28 15:58 ---
Smaller test case:
// Compile with -O2 -maltivec
//
// Works with GCC 3.3.5 and GCC 4.0.2
// ICEs with GCC 4.1 from today's CVS
#include altivec.h
#define REGLIST
xgcc (GCC) 4.1.0 20051020 (experimental)
can't optimize the following code (from http://thedailywtf.com):
int convertToMinutes(long milliDiff)
{
int negative = 0;
int minutesDiff = -1;
if (milliDiff 0)
{
negative = 1;
milliDiff = -milliDiff; // Make positive (is easier)
}
Attached file shows a fairly new ICE on x86_64. Compile with -g to get
base c++ geometry_info.ii -g
source/geometry_info.cc:354: internal compiler error: in add_AT_specification,
at dwarf2out.c:4966
Please submit a full bug report,
with preprocessed source if appropriate.
See
--- Comment #1 from bangerth at dealii dot org 2005-10-28 16:19 ---
Created an attachment (id=10076)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10076action=view)
Preprocessed sources
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24569
--- Comment #14 from steven at gcc dot gnu dot org 2005-10-28 16:22 ---
More background:
Starting program: /abuild/stevenb/build/gcc/cc1 -O2 -maltivec t.c -da
foo
Analyzing compilation unitPerforming intraprocedural optimizations
Assembling functions:
foo
Breakpoint 8, find_reloads
--- Comment #10 from rguenth at gcc dot gnu dot org 2005-10-28 16:22
---
I'll re-open this issue as we might indeed follow users advice if he declared
the function inline. We only should avoid inlining functions calling setjmp
that are not declared inline. I'll be putting this on my
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org
--- Comment #2 from bangerth at dealii dot org 2005-10-28 16:26 ---
And here's the minimal testcase:
-
template int dim
struct S
{
static const int u = 2 * dim;
static const int p[u];
static int f();
};
template
inline int S3::f () { return 1; }
--- Comment #2 from hubicka at gcc dot gnu dot org 2005-10-28 16:32 ---
I've benchmarked the change reducing maximum number of iterations predicted for
loop with constant bounds to 100 and 10 respectively. 100 makes no actual
change to x86-64 SPEC run, 10 seems to result in small
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Component|debug |c++
Target Milestone|--- |4.1.0
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Known to fail||4.0.3
Summary|[4.1 regression] ICE in |[4.0/4.1
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-28 16:43 ---
Confirmed, I think this was caused by one of Mark's constant value patches (but
I don't know for sure).
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from kcook at gcc dot gnu dot org 2005-10-28 16:44 ---
I'm closing this bug as the subversion-pushed move to viewcvs has made the
problem go away.
http://gcc.gnu.org/viewcvs/branches/gcc-3_4-branch/gcc/configure?view=log
--
kcook at gcc dot gnu dot org changed:
--- Comment #2 from kcook at gcc dot gnu dot org 2005-10-28 16:46 ---
I think we can close this as the subversion push move from cvsweb to viewcvs
seems to have just made it go away.
http://gcc.gnu.org/viewcvs/trunk/gcc/Makefile.in?view=log
--
kcook at gcc dot gnu dot org changed:
1 - 100 of 181 matches
Mail list logo