Hi, I'd like to know if the current behaviour of -Winvalid-pch is the
intended one, mainly because gcc prints the message saying that the pch
is invalid even if later it finds a valid one.
Suppose that one project builds the pch for several build types (debug,
release...) in the same directory. In
Hi,
I noticed, that the builtin functions for mingw (at least for 64-bit
Windows) are not correct in return type. See msdn
http://msdn2.microsoft.com/en-us/library/xwy0k9bb.aspx.
The return type for those targets (i?86-pc-mingw32 and x86_64-pc-mingw32)
is a intptr_t, but a 'int' for other targe
On Wed, Jan 30, 2008 at 02:29:15PM +0100, Richard Guenther wrote:
> c) Supressing this builtin on mingw64
>
> ... should be the correct thing.
You could just call disable_builtin_function ("execl") and similarly
for other exec* family functions from i386/mingw-c.c
Jakub
Jakub Jelinek wrote on 30.01.2008 14:59:34:
> On Wed, Jan 30, 2008 at 02:29:15PM +0100, Richard Guenther wrote:
> > c) Supressing this builtin on mingw64
> >
> > ... should be the correct thing.
>
> You could just call disable_builtin_function ("execl") and similarly
> for other exec* family fun
On Jan 30, 2008 2:20 PM, Kai Tietz <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I noticed, that the builtin functions for mingw (at least for 64-bit
> Windows) are not correct in return type. See msdn
> http://msdn2.microsoft.com/en-us/library/xwy0k9bb.aspx.
> The return type for those targets (i?86-pc-min
Hello
I generate a GIMPLE form extended with new nodes coming from language
extensions. I would like to generate assembly code directly from those
nodes. I was thinking of using the GCC builtins system. But I cannot
find the entry point (hook and file) within the files to do so. (GCC 4.1
vers
"Thomas A.M. Bernard" <[EMAIL PROTECTED]> writes:
> I generate a GIMPLE form extended with new nodes coming from language
> extensions. I would like to generate assembly code directly from those
> nodes. I was thinking of using the GCC builtins system. But I cannot
> find the entry point (hook and
When you mean scheduling of the instruction, does it mean that the
register allocation for ASM is not that advanced than it is for a
builtin ? For instance the use of register classes, for the instruction.
I basically would like to translate a gimple node which holds
information about a featur
"Thomas A.M. Bernard" <[EMAIL PROTECTED]> writes:
> When you mean scheduling of the instruction, does it mean that the
> register allocation for ASM is not that advanced than it is for a
> builtin ? For instance the use of register classes, for the
> instruction.
Register allocation for an asm us
Dear User,
We wrote to you on 25th January 2008 advising that you change the
password on your account in order to prevent any unauthorised
account access following the network intrusion we previously
communicated.
Whilst we have found the vulnerability that caused this issue, and have
instigated
David Daney <[EMAIL PROTECTED]> writes:
> From Fri Jan 25 06:57:52 UTC 2008 (revision 131816)
>
> Configured thusly:
>
> ../trunk/configure --with-arch=r5000 --disable-java-awt --without-x
> --enable-__cxa_atexit --disable-jvmpi --disable-libgomp --disable-static
> --enable-languages=c,c++,java
From Fri Jan 25 06:57:52 UTC 2008 (revision 131816)
Configured thusly:
../trunk/configure --with-arch=r5000 --disable-java-awt --without-x
--enable-__cxa_atexit --disable-jvmpi --disable-libgomp --disable-static
--enable-languages=c,c++,java --disable-fixed-point
--enable-checking=release --w
Richard Sandiford wrote:
David Daney <[EMAIL PROTECTED]> writes:
From Fri Jan 25 06:57:52 UTC 2008 (revision 131816)
Configured thusly:
../trunk/configure --with-arch=r5000 --disable-java-awt --without-x
--enable-__cxa_atexit --disable-jvmpi --disable-libgomp --disable-static
--enable-la
Hi,
I am PhD student in Computer Engineering. I would like to contribute to GCC
and at the same time learn more about cross-compilers. I have taken a couple
of compiler classes and I can program in C. However, I am not familiar with
the GCC internals. Do you have any suggestions on a project relat
"Rodrigo Dominguez" <[EMAIL PROTECTED]> writes:
> I am PhD student in Computer Engineering. I would like to contribute to GCC
> and at the same time learn more about cross-compilers. I have taken a couple
> of compiler classes and I can program in C. However, I am not familiar with
> the GCC inter
We've encountered a bad code generation problem because of the way that
resource.c:mark_set_resources is ignorant of COND_EXEC patterns, which
ultimately results in a delay slot instruction clobbering a register
for the fall-through pass because find_dead_or_set_registers flags registers
set in a C
> It has callers and callees which should not be inlined in order to
> reproduce the bug.
__attribute__((noinline))?
--
Eric Botcazou
On Wed, Jan 30, 2008 at 09:18:14PM +, Joern Rennecke wrote:
> However, AFAIK having multiple source files is at odds with a simple test.
If noinline attribute doesn't help, then you can use
/* { dg-additional-sources "..." } */
(just grep for dg-additional-sources in testsuite/gcc.dg/*.c to se
On Wed, Jan 30, 2008 at 10:51:25PM +0100, Jakub Jelinek wrote:
> On Wed, Jan 30, 2008 at 09:18:14PM +, Joern Rennecke wrote:
> > However, AFAIK having multiple source files is at odds with a simple test.
>
> If noinline attribute doesn't help, then you can use
It doesn't. I see the symbols w
Snapshot gcc-4.2-20080130 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/4.2-20080130/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 4.2 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches
I'm debugging an EH failure on m32c-elf (-mcpu=m32c). The test case
is this:
extern int U();
void *ra;
main()
{
foo((ra + U()) - 1);
}
In the context of the bug, sizeof(void *) is 32 (well, PSImode = 24
bit) and sizeof(int) == 16. U() returns zero in this example.
So, the call is this:
Thanks for your suggestions.
It seems like the best place to start for someone new to GCC would be the
beginners projects off from the GCC Projects webpage
(http://gcc.gnu.org/projects/beginner.html). I think I will start from there
and then try to move to the cross-compiling area.
Thanks again f
Joern Rennecke <[EMAIL PROTECTED]> writes:
> On Wed, Jan 30, 2008 at 10:51:25PM +0100, Jakub Jelinek wrote:
> > On Wed, Jan 30, 2008 at 09:18:14PM +, Joern Rennecke wrote:
> > > However, AFAIK having multiple source files is at odds with a simple test.
> >
> > If noinline attribute doesn't he
Hi,
I am a new contributor to GCC. I am interested in the following project from
the beginners webpage:
"Make insn-recog.c use a byte-coded DFA"
I would like to know what's the status of this item? Is this still an open
project? Doing a quick search on the mailing list archives I was only able
t
> It seems like the best place to start for someone new to GCC would be the
> beginners projects off from the GCC Projects webpage
> (http://gcc.gnu.org/projects/beginner.html). I think I will start from there
> and then try to move to the cross-compiling area.
Once you get into GCC in enough deta
On 31/01/2008, Ben Elliston <[EMAIL PROTECTED]> wrote:
> Once you get into GCC in enough detail, you'll come to appreciate that
> cross-compiling is not particularly special. It's just the compiler
> running on a different system type to the code being generated. There
> is certainly a bit of int
Manuel López-Ibáñez wrote:
On 31/01/2008, Ben Elliston <[EMAIL PROTECTED]> wrote:
Once you get into GCC in enough detail, you'll come to appreciate that
cross-compiling is not particularly special. It's just the compiler
running on a different system type to the code being generated. There
is
On 1/30/08, Rodrigo Dominguez <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am PhD student in Computer Engineering. I would like to contribute to GCC
> and at the same time learn more about cross-compilers. I have taken a couple
> of compiler classes and I can program in C. However, I am not familiar with
DJ Delorie writes:
>extern int U();
>void *ra;
...
> foo((ra + U()) - 1)
...
>1. What are the language rules controlling this expression, and do they
>have any say about signed vs unsigned wrt the int->pointer promotion?
There is no integer to pointer promotion. You're adding an integer to a
poi
See: http://www.linuxonly.nl/docs/2/0_Page_1.html
It's very clear, you should use a type cast:
result = concat ("(", cond1, ") && (", cond2, ")", (char *)NULL);
instead of:
result = concat ("(", cond1, ") && (", cond2, ")", NULL);
Dongsheng
2008/1/29, Kaveh R. GHAZI <[EMAIL PROTECTED]
On Jan 30, 2008 7:38 PM, Dongsheng Song <[EMAIL PROTECTED]> wrote:
> See: http://www.linuxonly.nl/docs/2/0_Page_1.html
It says:
This is because NULL is not of the right type: it is defined as
integer 0 instead of a pointer with the value 0.
Except that is wrong from what the C99 standard says abo
LAST_UPDATED: Obtained from SVN: trunk revision 131847
Native configuration is i386-unknown-openbsd4.2
=== g++ tests ===
Running target unix
FAIL: g++.dg/cpp/_Pragma1.C (test for excess errors)
FAIL: g++.dg/cpp0x/vt-34103.C (internal compiler error)
FAIL: g++.dg/cpp0x/vt-34103.C
But the current xgcc in gcc 4.3 building issue the warning yet.
2008/1/31, Andrew Pinski <[EMAIL PROTECTED]>:
> On Jan 30, 2008 7:38 PM, Dongsheng Song <[EMAIL PROTECTED]> wrote:
> > See: http://www.linuxonly.nl/docs/2/0_Page_1.html
>
>
> It says:
> This is because NULL is not of the right type:
I am trying to get fndecl on a C++ CALL_EXPR with get_callee_fndecl.
But get_callee_fndecl returns NULL. What is the proper way to
get fndecl on a C++ CALL_EXPR in the middle end?
Thanks.
H.J.
Sorry for my mail conf.
Building & test as:
$ mkdir obj && cd obj
$ bash ../gcc-4.3-20080125/configure --prefix=/usr/local/gcc-4.3.x \
--enable-languages=c,c++,fortran \
--with-gmp=/usr/local --with-mpfr=/usr/local
$ gmake CFLAGS='-O2 -pipe' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-i
On Jan 30, 2008 7:55 PM, Dongsheng Song <[EMAIL PROTECTED]> wrote:
> But the current xgcc in gcc 4.3 building issue the warning yet.
Yes because the header defines NULL incorrectly. Which was the whole
issue in the first place.
-- Pinski
On Jan 30, 2008 7:59 PM, H.J. Lu <[EMAIL PROTECTED]> wrote:
> I am trying to get fndecl on a C++ CALL_EXPR with get_callee_fndecl.
> But get_callee_fndecl returns NULL. What is the proper way to
> get fndecl on a C++ CALL_EXPR in the middle end?
If it is returning NULL, then there is no function d
Andrew Pinski wrote:
On Jan 30, 2008 7:59 PM, H.J. Lu <[EMAIL PROTECTED]> wrote:
I am trying to get fndecl on a C++ CALL_EXPR with get_callee_fndecl.
But get_callee_fndecl returns NULL. What is the proper way to
get fndecl on a C++ CALL_EXPR in the middle end?
If it is returning NULL, then the
On Wed, Jan 30, 2008 at 08:04:52PM -0800, Andrew Pinski wrote:
> On Jan 30, 2008 7:59 PM, H.J. Lu <[EMAIL PROTECTED]> wrote:
> > I am trying to get fndecl on a C++ CALL_EXPR with get_callee_fndecl.
> > But get_callee_fndecl returns NULL. What is the proper way to
> > get fndecl on a C++ CALL_EXPR i
Richard Sandiford wrote:
> David Daney <[EMAIL PROTECTED]> writes:
>
>> From Fri Jan 25 06:57:52 UTC 2008 (revision 131816)
>>
>> Configured thusly:
>>
>> ../trunk/configure --with-arch=r5000 --disable-java-awt --without-x
>> --enable-__cxa_atexit --disable-jvmpi --disable-libgomp --disable-st
40 matches
Mail list logo