This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch ping, 4.1/4.2/4.3] fix GNU as version detection


On Jul  5, 2007, Matthias Klose <doko@ubuntu.com> wrote:

> please see http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00154.html

Any reason to not use some simpler regexp such as

  ^.* \([0-9][0-9]*\.[0-9][0-9]*\).*$

given that the test is only interested in major and minor versions
anyway?

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member         http://www.fsfla.org/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]