Ian Lance Taylor | 1 Sep 02:14 2011
Picon

Re: Linker stumbles over non-grouped .text/.rodata for a C++ function

Stephan Bergmann <stephan.bergmann.secondary <at> googlemail.com> writes:

>> That said, this message from the linker is a warning, and you can
>> normally ignore it.
>
> Hm, for me it resulted in an ld exit code of 1, but maybe that was due to one of the additional command line
switches apart from -shared when linking (but which did not otherwise affect the problem).

Whoops, you're right, somebody has changed it to an error.  That seems
unfortunate, as it is often harmless.  Sorry about that.

In a pinch you could try -Wl,--noinhibit-exec.

Ian

Xiangfu Liu | 1 Sep 05:00 2011
Picon

I am work with lm32 and want to help with the lm32 target in gcc

Hi

I am work with lm32 and want to help with the lm32 target in gcc.
the device name is milkymist one. with FPGA software CPU core lm32.

what is the first step I should do for help with lm32 target in gcc?
I have read this http://gcc.gnu.org/contribute.html#legal
I have to start with small contributions. should I do this legal stuff?

thanks

Liu | 1 Sep 05:32 2011
Picon

Re: I am work with lm32 and want to help with the lm32 target in gcc

On Thu, Sep 1, 2011 at 11:00 AM, Xiangfu Liu <xiangfu <at> openmobilefree.net> wrote:
> Hi
>
> I am work with lm32 and want to help with the lm32 target in gcc.
> the device name is milkymist one. with FPGA software CPU core lm32.
>
> what is the first step I should do for help with lm32 target in gcc?
> I have read this http://gcc.gnu.org/contribute.html#legal
> I have to start with small contributions. should I do this legal stuff?
>
> thanks
>

ask for a assignment, sign it, send it back to FSF, and summit your patch.

--Liu

Xiangfu Liu | 1 Sep 08:58 2011
Picon

Re: I am work with lm32 and want to help with the lm32 target in gcc

Hi

can you send me the copyright assignment forms.
it should be an assignment for all future changes, right?

thanks for reply

On 09/01/2011 11:32 AM, Liu wrote:
> On Thu, Sep 1, 2011 at 11:00 AM, Xiangfu Liu<xiangfu <at> openmobilefree.net>  wrote:
>> Hi
>>
>> I am work with lm32 and want to help with the lm32 target in gcc.
>> the device name is milkymist one. with FPGA software CPU core lm32.
>>
>> what is the first step I should do for help with lm32 target in gcc?
>> I have read this http://gcc.gnu.org/contribute.html#legal
>> I have to start with small contributions. should I do this legal stuff?
>>
>> thanks
>>
>
> ask for a assignment, sign it, send it back to FSF, and summit your patch.
>
> --Liu

Pierre Vittet | 1 Sep 17:18 2011

Re: role of dump_file notably for/in plugins?

Hello,

From what I understand, the question is not really how do we dump passes
but what a pass (from a plugin or not) should dump? So the question is
what do you expect from a dump file?

Do you expect to have the full internal representation of the code after
the end of the pass? For many dump files, we just get this (lower,cfg,
ssa...).
Or do you expect something more oriented on what the pass did? Like
"this pass remove three unreable basicblocks, they were located here,
here and here"?

Maybe there is no particular rules and it just depends of the pass.
However I guess there should some clear rules about this. Dump files can
be quite useful to understand the compiler behavior (sometimes it is a
huge task to search using the debugger).

Thanks.

Pierre Vittet

gccadmin | 2 Sep 00:44 2011
Picon

gcc-4.5-20110901 is now available

Snapshot gcc-4.5-20110901 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20110901/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 4.5 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-4_5-branch revision 178427

You'll find:

 gcc-4.5-20110901.tar.bz2             Complete GCC

  MD5=c1e222654db6e193ef659888853ee02d
  SHA1=855f49dd368949a49f4f2fe3544ec72566f3a4ca

Diffs from 4.5-20110825 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-4.5
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.

Joel Sherrill | 2 Sep 00:51 2011

Wanted gcov literate person for reviewer

Hi,

RTEMS is participating in the ESA Summer of
Code in Space.  We have a student who is
enhancing the RTEMS coverage tool[1] to produce
gcno files.  Is there someone who feels
competent in this area who could help review
and guide this student?

I expect this will be a light duty activity.

Thanks.

[1] covoar takes as input whatever trace or
coverage file is available -- usually from
CPU simulators.  This information is at the
level of address executed or branch taken/not
taken. It can merge multiple program runs.
It produces a variety of reports but the focus
is on which code ranges are not executed and
which branches were not fully executed.
The reports correlate the assembly language
with source code.  For example,
reports for the sparc/erc32 are at

http://www.rtems.org/ftp/pub/rtems/people/joel/coverage/erc32/erc32.html

--

-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill <at> OARcorp.com        On-Line Applications Research
(Continue reading)

Jiangning Liu | 2 Sep 07:58 2011

Is VRP is too conservative to identify boolean value 0 and 1?

Hi,

For the following small case,

int f(int i, int j)
{
	if (i==1 && j==2)
		return i;
	else
		return j;
}

with -O2 option, GCC has vrp2 dump like below,

======================

Value ranges after VRP:

i_1: VARYING
i_2(D): VARYING
D.1249_3: [0, +INF]
j_4(D): VARYING
D.1250_5: [0, +INF]
D.1251_6: [0, +INF]
j_10: [2, 2]  EQUIVALENCES: { j_4(D) } (1 elements)

Removing basic block 3
f (int i, int j)
{
  _Bool D.1251;
(Continue reading)

Andrew Pinski | 2 Sep 08:27 2011
Picon

Re: Is VRP is too conservative to identify boolean value 0 and 1?

On Thu, Sep 1, 2011 at 10:58 PM, Jiangning Liu <jiangning.liu <at> arm.com> wrote:
> D.1249_3: [0, 1]
> D.1250_5: [0, 1]
> D.1251_6: [0, 1]

Those are equivalent to [0, MAX] as _Bool only has two different
values, 0 and 1 (MAX).  Can you explain more about the optimization
which you are working on that needs the ranges as (int)[0,1] rather
than (_Bool)[0,MAX] ?

Thanks,
Andrew Pinski

Richard Guenther | 2 Sep 11:07 2011
Picon

Re: Is VRP is too conservative to identify boolean value 0 and 1?

On Fri, Sep 2, 2011 at 7:58 AM, Jiangning Liu <jiangning.liu <at> arm.com> wrote:
> Hi,
>
> For the following small case,
>
> int f(int i, int j)
> {
>        if (i==1 && j==2)
>                return i;
>        else
>                return j;
> }
>
> with -O2 option, GCC has vrp2 dump like below,
>
> ======================
>
> Value ranges after VRP:
>
> i_1: VARYING
> i_2(D): VARYING
> D.1249_3: [0, +INF]
> j_4(D): VARYING
> D.1250_5: [0, +INF]
> D.1251_6: [0, +INF]
> j_10: [2, 2]  EQUIVALENCES: { j_4(D) } (1 elements)
>
>
> Removing basic block 3
> f (int i, int j)
(Continue reading)


Gmane