Hello all,
I am doing a private port in GCC 4.4.0. For my target the following
are the alignment requirements:
int - 4 bytes
short - 2 bytes
char - 1 byte
pointer - 4 bytes
stack pointer - 4 bytes
i am not able to implement the alignment for short.
The following is are the macros that i used fo
Hi you!
I'm a C++ developer on Linux. I want you show me the ways to install
both GCC 4.1.2 and GCC 3.2.3 on my Linux.
Thank you very much!
On 27.07.2009 18:12, Richard Guenther wrote:
A release candidate for the GCC 4.3.4 is now available at
ftp://gcc.gnu.org/pub/gcc/snapshots/4.3.4-RC-20090727
I plan to roll out the final release at the beginning of next week
if there are no major problems reported.
testsuite doesn't show regr
While trying to track down the cause of:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40092
I encountered what may be an error. In pt.c around
line 2493, there's this:
if (TYPE_P (t) )
cp_walk_tree (&TYPE_CONTEXT (t),
&find_parameter_packs_r, ppd, ppd->visited);
However, gdb sho
On Mon, 3 Aug 2009, Nguyen Quang Minh wrote:
> I'm a C++ developer on Linux. I want you show me the ways to install
> both GCC 4.1.2 and GCC 3.2.3 on my Linux.
This question is out of scope for this mailing list which is about
the development _of_ GCC, not the development _with_ GCC.
I believe yo
In current gcc the order of options -D and -U is significant. The Single Unix(r)
Specification explicitly specifies that the order should not matter for the c89
command. It reads (cited from version 2, which is ten years old):
-D name[=value]
Define name as if by a C-language #define directive. I
Ira and Dorit,
Is there any chance that PR33113 will be addressed for
gcc 4.5? If I recall correctly, it was one of the last
major issues with vectorization in gfortran that wasn't
addressed yet. Dorit made the following comment back in
Aug 2008...
>From: Dorit Nuzman
>Date: Tue, 12 Aug 2008 1
On Mon, 2009-08-03 at 09:44 +0530, sumanth wrote:
>How can i make sure my tool chain knows the difference between
> global variable r0 and register r0.
The simple solution is to either add a prefix to variable names, or to
add a prefix to register names. In ELF, the convention is to not
> "Dave" == Dave Korn writes:
Dave> Were you using a --prefix? The PPL checks (by design I think) only
Dave> look for PPL in your prefix.
Dave> I do not know it; I have merely observed the behaviour. It may
Dave> even not be by design for all I know, though I suspect it makes
Dave> sense
> "Paolo" == Paolo Bonzini writes:
Paolo> MELT looks extremely cool! You may want to use this too, however:
Paolo> http://lwn.net/Articles/315686/
Yes, I'm also looking at Coccinelle and TreeHydra.
As this is strictly a spare-time project, I am trying to find the
approach that requires the
Basile> Thanks for the bug report. In fact, melt_generated_dir should be the
Basile> same as melt_source_dir
Basile> I just committed rev 150330 of MELT branch to fix that. Tom, could you
Basile> be patient & kind enough to try again! Many thanks!
Thanks, that worked.
Now to actually try MELT...
On 08/03/2009 02:14 AM, Mohamed Shafi wrote:
short - 2 bytes
i am not able to implement the alignment for short.
The following is are the macros that i used for this
#define PARM_BOUNDARY 8
#define STACK_BOUNDARY 64
You haven't explained what the actual problem is. Is there a problem
with glo
On 07/29/2009 06:27 AM, Adam Butcher wrote:
Esben Mose Hansen writes:
I am completely new to gcc hacking, just
dying to get lambda into gcc 4.5 :)
Me too on both counts!
Great! Please feel free to ask me any questions you have directly. Do
you have copyright assignments on file yet? I
Hi Jim,
that seems to be a promising solution.
If I keep the prefix "_" for a global variable , there is a problem in
accessing it in gdb...let me explain you with an example
Eg: file1.c
int a = 10;
int main()
{
int b =10;
int c;
c = add( a , b);
return 0;
}
file2.c
int add( int x, int y)
{
r
Tom Tromey wrote:
Basile> Thanks for the bug report. In fact, melt_generated_dir should be the
Basile> same as melt_source_dir
Basile> I just committed rev 150330 of MELT branch to fix that. Tom, could you
Basile> be patient & kind enough to try again! Many thanks!
Thanks, that worked.
Now to a
On 08/03/2009 08:32 AM, Larry Evans wrote:
While trying to track down the cause of:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40092
I encountered what may be an error. In pt.c around
line 2493, there's this:
if (TYPE_P (t) )
cp_walk_tree (&TYPE_CONTEXT (t), &find_parameter_packs_r, ppd, ppd
On Tue, 2009-08-04 at 00:06 +0530, sumanth wrote:
> > mycompiler-gcc -g file1.c file2.c
> > mycompiler-gdb a.out
> >> when i print "a" in file1.c , i am able to see value 10;
> >> when i print "a" int file2.c, it prints , no symbol defined.
> Instead I can access it with " print _a"
This so
Current trunk (revision 150381) fails to bootstrap with the following
configuration:
[pedro.lama...@larissa trunk-obj]$ ../trunk/configure
--prefix=/opt/gcc-4.5 --enable-bootstrap --enable-shared
--enable-threads=posix --enable-checking --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-
Revision 150382 of the cxx0x-lambdas-branch fails to bootstrap with the
following error:
gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength
I was improving tree aliasing for pointers by adding support a+1 and a
not aliasing. But I ran into a bug in the aliasing where:
/* If both references are through the same type, they do not alias
if the accesses do not overlap. This does extra disambiguation
for mixed/pointer accesses
On 08/03/2009 09:36 PM, Adam Butcher wrote:
Thanks. I haven't any copyright assignments on file -- this is my first
dabbling with gcc and I've been doing it
mostly to experiment with C++ lambda support and non-standard extensions such
as polymorphic lambda support.
OK. We'll need an assignm
Jason Merrill wrote:
Experimenting with a working version and seeing it's issues will be
useful to me. To others to maybe. With concepts
gone from C++0x and being reworked for C++15(?) maybe support for
polymorphic lambdas could be reintroduced? -- though
I'm sure its much too late for that an
I haven't been following GCC, so I need to thank Jason for forwarding
this issue to me.
I just read through the messages on the list, and had some more comments:
+/* relayout again -- to allow for implicit
+ * parameters to have been added to the capture if it was a
+ * 'default ca
2009/8/3 Jim Wilson :
> On 08/03/2009 02:14 AM, Mohamed Shafi wrote:
>>
>> short - 2 bytes
>> i am not able to implement the alignment for short.
>> The following is are the macros that i used for this
>> #define PARM_BOUNDARY 8
>> #define STACK_BOUNDARY 64
>
> You haven't explained what the actual
On 08/03/2009 03:52 PM, Unruh, Erwin wrote:
2) Is this a bug?
I think it's a bug in the specification.
User-specified CFLAGS are always passed last in the Makefiles (at least
for Automake, but it is a good practice in general) so that the user can
override options like -D, -U, -O, -g, -f, -m
25 matches
Mail list logo