Re: Multiple FUNCTION_DECLS for __cxa_begin_catch

2006-11-30 Thread Andrew Pinski
On Thu, 2006-11-30 at 16:08 +1100, Brendon Costa wrote: > Hi again, > Is it safe to assume in the C++ front end that two functions declared in > such a manner will always share the same implementation in which case it > is kind-of like a "using" statement? The C++ front-end is broken and needs t

Implicit type conversion check

2006-11-30 Thread Pierre Chatelier
Hello, I am sorry if it is some usual request, but I could not find recent information about that, neither in the mailing list nor in the FAQ. Is there any plan to enforce warnings about implicit type conversion ? the -W option implies some checks about _comparison_ between signed and unsig

Re: Implicit type conversion check

2006-11-30 Thread Andrew Pinski
On Thu, 2006-11-30 at 11:47 +0100, Pierre Chatelier wrote: > Hello, > > I am sorry if it is some usual request, but I could not find recent > information about that, neither in the mailing list nor in the FAQ. Yes it is in the mailing list. In fact this is just being worked on in the last coupl

Re: Implicit type conversion check

2006-11-30 Thread Andreas Schwab
Pierre Chatelier <[EMAIL PROTECTED]> writes: > Is there any plan to enforce warnings about implicit type conversion ? See . Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fin

Re: Implicit type conversion check

2006-11-30 Thread Manuel López-Ibáñez
On 30/11/06, Pierre Chatelier <[EMAIL PROTECTED]> wrote: Hello, I am sorry if it is some usual request, but I could not find recent information about that, neither in the mailing list nor in the FAQ. Is there any plan to enforce warnings about implicit type conversion ? I am happy to inform y

Re: Implicit type conversion check

2006-11-30 Thread Manuel López-Ibáñez
On 30/11/06, Andreas Schwab <[EMAIL PROTECTED]> wrote: Pierre Chatelier <[EMAIL PROTECTED]> writes: > Is there any plan to enforce warnings about implicit type conversion ? See . Andreas. Just to clarify things. That is the 'development page' that is, where

Re: strict aliasing warning

2006-11-30 Thread Andrew Haley
Joel Sherrill writes: > Silvius Rus wrote: > > > > I wrote some code (not released yet) that improves the accuracy of > > -Wstrict-aliasing using tree-ssa-alias information. The primary idea > > was to tell the programmer "go fix the types of variables x and y at > > lines ..." when -fstr

Re: strict aliasing warning

2006-11-30 Thread Joel Sherrill
Andrew Haley wrote: Joel Sherrill writes: > Silvius Rus wrote: > > > > I wrote some code (not released yet) that improves the accuracy of > > -Wstrict-aliasing using tree-ssa-alias information. The primary idea > > was to tell the programmer "go fix the types of variables x and y at > >

Re: Bootstrap broken on x86_64 on the trunk in libgfortran?

2006-11-30 Thread Matt Fago
>> ../../../trunk/libgfortran/mk-kinds-h.sh: Unknown type >> grep '^#' < kinds.h > kinds.inc >> /bin/sh: kinds.h: No such file or directory >> make[2]: *** [kinds.inc] Error 1 >> make[2]: Leaving directory >> `/home/daney/gccsvn/native-trunk/x86_64-unknown-linux-gnu/libgfortran' >> make[1]: *** [

libffi compilation failure on Solaris 10?

2006-11-30 Thread Paolo Bonzini
This bug, documented in the installation instructions: "GCC 3.3 triggers a bug in version 5.0 Alpha 03/27/98 of the Sun assembler, which causes a bootstrap failure when linking the 64-bit shared version of libgcc. A typical error message is: ld: fatal: relocation error: R_SPARC_32: file

how to test multiple warnings?

2006-11-30 Thread Manuel López-Ibáñez
Hi, PR19978 reports that some overflow warnings are emitted multiple times. Like for example, test.c:6: warning: integer overflow in expression test.c:6: warning: integer overflow in expression test.c:6: warning: integer overflow in expression The current testsuite will match any number of thos

Re: libffi compilation failure on Solaris 10?

2006-11-30 Thread Eric Botcazou
> This bug, documented in the installation instructions: > [...] > apparently can also be triggered by libffi on Solaris 10. See > http://www.mail-archive.com/g-wrap-dev@nongnu.org/msg00045.html and > http://mail.python.org/pipermail/python-bugs-list/2006-July/034400.html > for build logs. I'm a

About changing the tree structure in pragmas

2006-11-30 Thread Ferad Zyulkyarov
Hi, I am trying to implement a pragma that will change the tree structure of the program. Although I looked at some basic tutorials about implementing front-ends for gcc and looked at the implementation of the currently available pragmas I am not well recognized with the gcc's interface for manip

Re: Multiple FUNCTION_DECLS for __cxa_begin_catch

2006-11-30 Thread Brendon Costa
Andrew Pinski wrote: On Thu, 2006-11-30 at 16:08 +1100, Brendon Costa wrote: Hi again, Is it safe to assume in the C++ front end that two functions declared in such a manner will always share the same implementation in which case it is kind-of like a "using" statement? The C++ front

gcc-4.0-20061130 is now available

2006-11-30 Thread gccadmin
Snapshot gcc-4.0-20061130 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20061130/ 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

Reviewer for top level libgcc

2006-11-30 Thread Daniel Jacobowitz
The top level libgcc patches are almost ready to submit; I need to go over them one last time, but that's it. Mark has suggested that any large projects find a reviewer in advance; is there anyone out there who feels qualified and available to review this? (I tried the build system maintainers fi

GCC Internals Documentation

2006-11-30 Thread Brendon Costa
I am getting a bit closer to finishing an alpha release of my project which makes use of a modified version of GCC 4.0.1 in order to collect data about the source code being compiled. In developing it i have come across a number of things that I think may be helpful to be added to the GCC Inter

Re: GCC Internals Documentation

2006-11-30 Thread Mike Stump
On Nov 30, 2006, at 3:02 PM, Brendon Costa wrote: Do i need to have any sort of agreement with FSF in order to submit documentation changes? Change a few lines, no. Add 100 lines, yes. Should I update the latex sources for the docs or do it on the wiki? Updating gcc/doc/*.texi is the pref

Re: how to test multiple warnings?

2006-11-30 Thread Janis Johnson
On Thu, Nov 30, 2006 at 07:25:47PM +, Manuel López-Ibáñez wrote: > Hi, > > PR19978 reports that some overflow warnings are emitted multiple > times. Like for example, > > test.c:6: warning: integer overflow in expression > test.c:6: warning: integer overflow in expression > test.c:6: warning:

Submitting tuning patches in stage 1

2006-11-30 Thread Jagasia, Harsha
Hi, I am looking to submit patches that tune for the new AMDFAM10 architecture. The project is listed at http://gcc.gnu.org/wiki/AMDFAM10 as a stage 2 project. I wanted to find out if it would be ok to submit patches for this project in stage 1. The changes in these patches are all confined in th

Re: Submitting tuning patches in stage 1

2006-11-30 Thread Manuel López-Ibáñez
http://gcc.gnu.org/ml/gcc/2006-09/msg00454.html * Stage 2 Projects If you have a Stage 2 project that's ready, reviewed, and tested, you can check in early. For example, the Stage 2 list has architecture-specific work listed for ARM, ColdFire, and x86-64. If that work is ready, it's unlikely to

Help on compiling with Japanese Text

2006-11-30 Thread Alan Ong
Hello, I am trying to compile my code with hard-coded Japanese Kanji and full-width katakana string text but the compiler view some of the text as escape characters. An example would be the full-width Katakana "so" = ソ which is viewed as \201. Is there a compiler option to view Japanese text

Re: [Bug middle-end/29695] [4.1/4.2/4.3 Regression] Folding breaks (a & 0x80) ? 0x80 : 0 for unsigned char or unsigned short a

2006-11-30 Thread Jakub Jelinek
On Fri, Dec 01, 2006 at 12:07:18AM -, chaoyingfu at gcc dot gnu dot org wrote: > > > --- Comment #6 from chaoyingfu at gcc dot gnu dot org 2006-12-01 00:07 > --- > Subject: Bug 29695 > > Author: chaoyingfu > Date: Fri Dec 1 00:05:26 2006 > New Revision: 119383 > > URL: http://gc

Invoking static library automatically

2006-11-30 Thread Rohit Arul Raj
Hi all, I have built a static runtime library and i want the linker to access it automatically without having to pass it explicitly. Are there any environmental variables available to make this happen? Regards, Rohit