Work in your project

2012-05-26 Thread Serg Anohovsky
Hi guys, In next three years I'm going to get the scientific degree in System programming. That's why I'm looking for the interesting and actual theme not like a new bicycle with square rings. My degree work in university was connected with value range propagation (VRP) functionality in clang stat

How to run a compiled C program?

2012-05-26 Thread Georg-Johann Lay
The avr backend auto-generates a part of the texi documentation by means of a small C program. The relevant part of t-avr reads: s-avr-mmcu-texi: gen-avr-mmcu-texi$(build_exeext) $(RUN_GEN) $< | sed -e 's:\r::g' > avr-mmcu.texi There was a problem report that the executable cannot be

How to compare two text files? Using sed, cmp, diff, tr?

2012-05-26 Thread Georg-Johann Lay
The avr backend auto-generates parts of GCC's texi documentation, namely the supported -mmcu= options, which are about 200. To generate the texi a small C program is used to print the texi to stdout, and that output is then compared against the already existing doc/avr-mmci.texi If the output is

Re: How to compare two text files? Using sed, cmp, diff, tr?

2012-05-26 Thread Kevin
Georg-Johann Lay wrote: The avr backend auto-generates parts of GCC's texi documentation, namely the supported -mmcu= options, which are about 200. To generate the texi a small C program is used to print the texi to stdout, and that output is then compared against the already existing doc/avr-mm

Re: How to compare two text files? Using sed, cmp, diff, tr?

2012-05-26 Thread Jonathan Wakely
On 26 May 2012 11:01, Georg-Johann Lay wrote: > > Is there a valid compare tool that compares text modulo line-endings? POSIX diff with the -b option should report the files as equal, I don't know if that's portable enough to rely on though.

Re: How to compare two text files? Using sed, cmp, diff, tr?

2012-05-26 Thread Joerg Wunsch
As Jonathan Wakely wrote: > POSIX diff with the -b option should report the files as equal, I > don't know if that's portable enough to rely on though. I think it is. The Single Unix Specification requires the -b option ("Cause any amount of white space at the end of a line to be treated as a si

Re: Work in your project

2012-05-26 Thread Diego Novillo
On 12-05-26 04:46 , Serg Anohovsky wrote: It would be nice, if you suggest me good theme or give me the area where I could find it. You can find GCC's VRP implementation in the file gcc/tree-vrp.c in the source repository http://gcc.gnu.org/viewcvs/trunk/gcc/tree-vrp.c?view=markup The file

Re: How to compare two text files? Using sed, cmp, diff, tr?

2012-05-26 Thread Joern Rennecke
Quoting Georg-Johann Lay : The avr backend auto-generates parts of GCC's texi documentation, namely the supported -mmcu= options, which are about 200. I hope that autogenerated documentation is still helpful then. Sometimes an overabundance of verbose documentation can prevent a user from find

Re: How to run a compiled C program?

2012-05-26 Thread Ian Lance Taylor
Georg-Johann Lay writes: > The avr backend auto-generates a part of the texi documentation by > means of a small C program. The relevant part of t-avr reads: > > s-avr-mmcu-texi: gen-avr-mmcu-texi$(build_exeext) > $(RUN_GEN) $< | sed -e 's:\r::g' > avr-mmcu.texi > > > There was a problem re

Re: How to compare two text files? Using sed, cmp, diff, tr?

2012-05-26 Thread Miles Bader
Joern Rennecke writes: > Some platforms need "b" for fopen, others reject it. Hmm, really? "b" seems to standard in ISO-C (and widely used in programs aiming for portability)... -miles -- Bore, n. A person who talks when you wish him to listen.

gcc-4.7-20120526 is now available

2012-05-26 Thread gccadmin
Snapshot gcc-4.7-20120526 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.7-20120526/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.7 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches