and champion
this formality, which he was happy to hear.)
Grüße
Thomas
On 2025-01-01T03:09:44+0100, "Jose E. Marchesi"
wrote:
> Hello people, happy GNU year!
>
> This WIP is a GCC front-end for Algol 68, the fascinating, generally
> poorly understood and often vilified pro
What a blunder.
> But you do know that methods have an extra (first, actually) parameter
> containing the this pointer, right?
I totally missed it. Thank you for informing me.
I tested it with a dummy parameter. The dummy parameter taking the
place of the this pointer. It worked perfectly.
Obviou
Hi,
On Fri, Mar 31, 2017 at 08:56:26AM +0200, Andre Groenewald wrote:
> Sorry about the fwd in the description.
>
> This is my implementation:
>
> fnDeclType = build_function_type_array(integer_type_node,
> argVect.NumOfItems, parmTypes);
> tree fnDecl = build_fn_decl(identifier->Str, fnDeclType
Sorry about the fwd in the description.
This is my implementation:
fnDeclType = build_function_type_array(integer_type_node,
argVect.NumOfItems, parmTypes);
tree fnDecl = build_fn_decl(identifier->Str, fnDeclType);
DECL_EXTERNAL(fnDecl) = 1;
fnAddr = build1(ADDR_EXPR, build_pointer_type(fnDeclTyp
Hello,
I am not sure if I can help you but...
On Thu, Mar 30, 2017 at 08:05:07AM +0200, Andre Groenewald wrote:
> I am discovering the awesome world of GCC internals. I managed to
> develop a basic front end. It can call internal and external functions
> and link with standard libraries. All is g
I am discovering the awesome world of GCC internals. I managed to
develop a basic front end. It can call internal and external functions
and link with standard libraries. All is good.
The hunger for more does not end. I want to call c++ libraries and
interact with c++ objects.
My starting point w
On Tue, 8 Dec 2015, Jodi A. Miller wrote:
One algebraic simplification we are seeing is particularly interesting.
Given the following code snippet intended to check for buffer overflow,
which is actually undefined behavior in C++, we expected to maybe see
the if check optimized away entirely.
On 12/08/2015 12:32 PM, Jodi A. Miller wrote:
Good Afternoon,
My colleagues and I are doing a study on compilers. We have some
questions related to gcc and the compilation process that we were
hoping you could help us with.
In a general sense, we were wondering what optimizations may be
occurr
Good Afternoon,
My colleagues and I are doing a study on compilers. We have some questions
related to gcc and the compilation process that we were hoping you could help
us with.
In a general sense, we were wondering what optimizations may be occurring in
the front-end stages of the compiler?
On 2011-3-7 5:29, Andi Hellmund wrote:
Hey ALL,
after some time of source code investigations, testing and experiments,
I finally bundled my experiences with GCC front-ends in a "white paper"
about the internals of GCC front-ends. It is not really structured like
a tutorial, but it should hopefu
Hey ALL,
after some time of source code investigations, testing and experiments,
I finally bundled my experiences with GCC front-ends in a "white paper"
about the internals of GCC front-ends. It is not really structured like
a tutorial, but it should hopefully be usuable by GCC newbies to spee
Hello all,
I have noticed something that is creating problems in my modified GCC,
and I see it as a bug, maybe I don't do something right. If you take a
look at cpp_interpret_string() function in charset.c you will see the
following part:
for (;;)
{
base = p;
while (p
HI,
I wanna say thanks to everyone that help me.
My problem was find the correct path and the command line
I will expose what I did to help someone that can have the same problem.
I copied the files in my local path
$ cp debug /usr/local/bin/
$ cp debugx /usr/local/bin/
after I just run the de
Guilherme Puglia wrote:
> Hi!
>
> or better, hello again! I have posted a question (with my class friend
> Eduardo) about 2 or 3 weeks ago. My question was about the grammar
> wich gcc C front end use.
Yeh! Hi again you guys :)
> To solve my problem I wanna debug the C front end. I was trying
Guilherme Puglia <1c3br...@gmail.com> writes:
> To solve my problem I wanna debug the C front end. I was trying to
> debug the gcc main function, toplev_main. Unfortunately, I can't
> insert a break point in this line.
>
> I saw the site http://gcc.gnu.org/wiki/DebuggingGCC and
> http://gcc.gnu.or
Hi!
or better, hello again! I have posted a question (with my class friend
Eduardo) about 2 or 3 weeks ago. My question was about the grammar
wich gcc C front end use.
Happily, I found the answer of my question. Now, I'm having other
trouble. I wanna insert some "predefined" AST's tree nodes.
To
On Fri, 2006-09-29 at 02:58 -0700, Mohamed Shafi wrote:
> Hello all,
>
> I am involved with a GCC port where i have to add fixed point support
> to C based on the fixed point extension of DSP-C specification.
I think you are in luck as there is a project to add that to 4.3:
http://gcc.gnu.org/wik
Hello all,
I am involved with a GCC port where i have to add fixed point support to C
based on the fixed point extension of DSP-C specification.
So intially i thought that i will typedef long or short to support the new data
type.
But for my hardware the fixed point registers are 48 bit long.
In order to build a metrication tool I need a frontend that can
provide me with an abstract syntax tree containing information on all
actual language constructs in the code and also a CFG representation.
I reckon GCC has these capabilities and I was wondering if any of you
could tell me if it is p
On 8/18/06, Roel Meeuws <[EMAIL PROTECTED]> wrote:
In order to build a metrication tool I need a frontend that can
provide me with an abstract syntax tree containing information on all
actual language constructs in the code and also a CFG representation.
I reckon GCC has these capabilities and I
Hi,
I'm Roel Meeuws a dutch MSc. student that is working on a project
involving software metrics. I need a program that can determine a wide
variety of code metrics based on control flow graphs and abstract
syntax trees. While browsing the internet I found that there are no
good GPL'ed metricatio
On Wed, 2006-03-29 at 15:03 +0800, Tianwei Sheng wrote:
> I need the field_info to help in alias analysis. for example:
> int *p = &pair.a;
> int *q = &pair.b;
>
> then if I can set length of "*p" to 4,ofset is '0' . for "*q" to
> "8,4". also I know that p definitly points to pair.a and q points t
On Mar 29, 2006, at 12:15 AM, Tianwei Sheng wrote:
but it's my be too aggressive. as you said, you mean "base,ofst"
rule is enough,
a more safe method is "base,ofst, lenght" rule.
Right. I didn't mean to exclude length, just that I didn't expound
on the idea, as I wanted to get the simple
but it's my be too aggressive. as you said, you mean "base,ofst" rule is enough,
a more safe method is "base,ofst, lenght" rule. p still can point to
pair.b if p is update by
assignment or other ways.
we should ensure *p will never exceed the length, otherwilse it will
fail to do alias analysis.
On Mar 28, 2006, at 11:03 PM, Tianwei Sheng wrote:
I need the field_info to help in alias analysis. for example:
int *p = &pair.a;
int *q = &pair.b;
then if I can set length of "*p" to 4,ofset is '0' . for "*q" to
"8,4". also I know that p definitly points to pair.a and q points to
pair.b, then
I need the field_info to help in alias analysis. for example:
int *p = &pair.a;
int *q = &pair.b;
then if I can set length of "*p" to 4,ofset is '0' . for "*q" to
"8,4". also I know that p definitly points to pair.a and q points to
pair.b, then i can say "*p" and "*q" are not aliased with each oth
Hi all:
for the following statement, how can I get the field_id info for
the structure member
struct{
int a;
int b;
} pair;
int main()
{
int * p = &pair.a;
}
It seems that we can't get the field_id info because of address taken
operator. it treats the "&pair.a" as "&pair + ofset of a".
> the language available and will be ready to dive into connecting it to
> a back end, so this would be much appreciated.
I think that you should take a look at the GCC front end HOWTO. Some parts of
it are out of date but most of it is quite useful. Studing other front ends
is also helpfull
Hello,
I'm currently working on implementing a tool chain for a 'pet
language' of mine called O (for Obscure, since my preferred name was
taken). You can see the [unfinished] language specification here:
http://sean.heybryan.org/spec0_unfinished.pdf
Note that the implementation notes chap
i write a front-end , and compile it with gcc-3.4.1 source code,
and it errors in function rest_of_compilation()
void
rest_of_compilation (tree decl)
{
rtx insns;
timevar_push (TV_REST_OF_COMPILATION);
rtl_register_cfg_hooks ();
generating_concat_p = 0;
cse_not_expected = ! optimize;
There is no option that does what you want. This is a deliberate,
albeit controversial, design decision which we are not presently
interested in debating.
If you are writing a back end, consider using the existing, well-
understood machinery for porting GCC to a new architecture. If you go
that
I am making a back-end compiler to use a gcc front-end
I want to translate gcc intermediate representation to our IR
gcc's IR is tree
so i want to view gcc IR
but i can't find view gcc IR option
-fdump-translation-unit-all make a .tu file , Is this gcc's IR?
but .tu file do
32 matches
Mail list logo