Joel Sherrill | 21 Oct 16:11 2014

m32c libgcc SJLJ detection in libgcc

Hi

It looks like the check for SJLJ use by a target starting at line
211 in libgcc/configure.ac does not take into account whether
the build included a language that needs this. For RTEMS,
we build m32c with only C and this check not being guarded
results in needing to provide --disable-sjlj-exceptions on the
configure line. Before we didn't have to do this.

FWIW I think this same issue is tripped by the h8300.

--

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill <at> OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

Ajit Kumar Agarwal | 21 Oct 09:37 2014

Expansion of memset and memcpy calls.

Hello All:

Memset and Memcpy calls are extensively used in many benchmarks. Inlining or expansion
the memcpy and memset calls improves the performance of many performance 
Benchmark. 
I have implemented the expansion of strcmp  to the optimizaed sequence of instruction
In open64 compiler for AMD x86 target.

Can I suggest and propose to expand the memset and memcpy calls to the sequence
Of instruction as many targets like ARM are moving implementation of memcpy and 
Memset in assembly instead of C. This makes it easier to expand the memcpy and 
Memset call in gcc.

To implement this in GCC we need to expand similarly to the implementation as  builtins.

Let me know what do you think.

Thanks & Regards
Ajit

Andrew Bennett | 20 Oct 14:56 2014
Andrew Bennett <Andrew.Bennett <at> imgtec.com>

Subject: RE: gcc testsuite

RE: gcc testsuite

> Hi,
> These kinds of failures
> This failure is repeating again and again
> 
> FAIL: gcc.c-torture/compile/990625-1.c  -O0  (test for excess errors)
> Excess errors:
> /home/ash/rpm-root/packages/BUILD/gcc-4.4.5/gcc/testsuite/gcc.c-
> torture/compile/990625-1.c:2:20:
> error: string.h: No such file or directory
> 
> I have also attached the log file with this mail.
> 
> Please find the attachment for gcc.log and also site.exp

It looks like you have not built and installed a C library
for your target (which looks like PowerPC).  I would check that
newlib is in the GCC source directory, and that it has been correctly
built.

Regards,


Andrew
Manpreet Singh | 20 Oct 10:02 2014
Picon

gcc testsuite

Hi,
    I am trying to run gcc-4.4.5 testsuite , but everytime i run it, i
got lots of failure
e.g unexpected failures 13000

My configuration:-
In my pc latest version of gcc-4.8 is install and i want to configure
and run gcc testsuite for gcc-4.4.5
Ubuntu 14.04
Host    =   x86_64-linux-gnu
Build   =   x86_64-linux-gnu
Target  =   powerpc-linux-gnu

These are the steps which i performed to run testsuite
1. I am trying to run configure with this script

sourcedir.../gcc-4.4.5/configure  --prefix=/tmp/gcc-4.4.5
--enable-languages=c,c++ --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=powerpc-linux-gnu
--enable-languages=c,c++ --enable-long-long

2. And then to build gcc :-
make all-gcc

3. To run the testsuite :-  sourcedir.../gcc-4.4.5/gcc
make check

It generates lot of failures

Dejagnu :- latest version
(Continue reading)

gccadmin | 20 Oct 00:36 2014
Picon

gcc-5-20141019 is now available

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

This snapshot has been generated from the GCC 5 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision 216444

You'll find:

 gcc-5-20141019.tar.bz2               Complete GCC

  MD5=f22b72a00554559049e86628e2cb9b42
  SHA1=6da09cf91770b5b4c49d0b64cf526b465034705e

Diffs from 5-20141012 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-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.

Panu-Kristian Poiksalo | 19 Oct 18:58 2014
Picon

Is there an error in GCC Internals Manual, chapter 16.4?

Chapter 16.4, "RTL Template" in GCC Internals Manual, found at
https://gcc.gnu.org/onlinedocs/gccint/RTL-Template.html#RTL-Template
has this to say about match_scratch:

"
(match_scratch:m n constraint)
    This expression is also a placeholder for operand number n and
indicates that operand must be a scratch or reg expression.

    When matching patterns, this is equivalent to

              (match_operand:m n "scratch_operand" pred)
"
I'm wondering what is "pred" in this context? I'm thinking that
"scratch_operand" might be the predicate, so should there read
"constraint" in place of "pred" in the last clause?

I'm sorry if this is an idiotic question, I'm just trying to digest
all the information, so I might be overly pedantic about the matter. I
just want to be sure I understand what I read. I'm sure it'll all make
sense when I actually need to use this expression.

Sorry to have taken your time.
-Panu

Krzesimir Nowak | 17 Oct 09:12 2014
Picon

Contributing to GCC

Hello.

My name is Krzesimir Nowak and I'd like to try my hand at contributing
to gcc in my free time.

To start learning a workflow I started with something easy - 42014. Is
testcase for this fix necessary (it would be checking preprocessor
output)? Is sending a patch created by "git format-patch" for review
with git-send-email to gcc-patches acceptable (or even better - git
patches with cover letter)?

Thanks.

gccadmin | 17 Oct 00:36 2014
Picon

gcc-4.8-20141016 is now available

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

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

You'll find:

 gcc-4.8-20141016.tar.bz2             Complete GCC

  MD5=904b270e67e0460fc5556734b7929526
  SHA1=3eba44fecdcd93256c7003bb083d9dfcefad4a38

Diffs from 4.8-20141009 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-4.8
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.

Uros Bizjak | 16 Oct 11:25 2014
Picon

Recent bootstrap failure on CentOS 5.11, /usr/bin/ld: Dwarf Error: found dwarf version '4' ...

Hello!

Recent change caused bootstrap failure on CentOS 5.11:

/usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only
handles version 2 information.
unwind-dw2-fde-dip_s.o: In function `__pthread_cleanup_routine':
unwind-dw2-fde-dip.c:(.text+0x1590): multiple definition of
`__pthread_cleanup_routine'
/usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only
handles version 2 information.
unwind-dw2_s.o:unwind-dw2.c:(.text+0x270): first defined here
/usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only
handles version 2 information.
unwind-sjlj_s.o: In function `__pthread_cleanup_routine':
unwind-sjlj.c:(.text+0x0): multiple definition of `__pthread_cleanup_routine'
unwind-dw2_s.o:unwind-dw2.c:(.text+0x270): first defined here
/usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only
handles version 2 information.
emutls_s.o: In function `__pthread_cleanup_routine':
emutls.c:(.text+0x170): multiple definition of `__pthread_cleanup_routine'
unwind-dw2_s.o:unwind-dw2.c:(.text+0x270): first defined here
collect2: error: ld returned 1 exit status
gmake[5]: *** [libgcc_s.so] Error 1

$ ld --version
GNU ld version 2.17.50.0.6-26.el5 20061020

Uros.

(Continue reading)

lin zuojian | 16 Oct 08:13 2014
Picon

df.c Actully Introduces A Way To Think Of Algorithm

Hi,
    I don't know if this is mentioned before, df.c is introducing a very
    good way to think of algorithms. It brings two effective orders to
    handle many problems: DF_FORWARD and DF_BACKWARD. They means two
    fact respectively: a subproblem will not be accessed until all
    its parents get accessed; And a problem will not be accessed until
    all its subproblems get accessed.

    The single source shortest path will have a O(n) solution instead of
    O(n + log(n)) if using DF_FORWARD. Defining
    df_confluence_function_n like following:
    {
        if(e->wight + e->src->total_wight < e.dest->total_wight)
            {
                e->dest.total_wight = e->wight + e->src->total_wight;
                e->dest.parent = e->src;
            }
    }

    I think it's really O(n) for a dfs right?
    That's what I want to proposed.
--
Lin Zuojian

gccadmin | 16 Oct 00:37 2014
Picon

gcc-4.9-20141015 is now available

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

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

You'll find:

 gcc-4.9-20141015.tar.bz2             Complete GCC

  MD5=de06e9eca5246f73069fac233e9e76fd
  SHA1=80321c991413dab1c3f5cdb17537106a0903a704

Diffs from 4.9-20141008 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-4.9
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.


Gmane