bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad regexp in Libtool m4 for PGI compiler version checking


From: Brent LEBACK
Subject: Re: Bad regexp in Libtool m4 for PGI compiler version checking
Date: Sat, 14 Nov 2009 08:00:28 -0800
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

The earliest PGI compiler version in use today is 3.x, so if the test was changed from [1-5] to [3-5], the fall through case would handle all past releases correctly and all future releases until the year 2030 in the current naming scheme.

- Brent

Ralf Wildenhues wrote:
* Ralf Wildenhues wrote on Sat, Nov 14, 2009 at 11:27:04AM CET:
              case `$CC -V` in
              *pgCC\ [1-5][^0-9]* | *pgcpp\ [1-5][^0-9]*)
                old ...
              *)
                new ...

D'oh.  That would have to be
                *pgCC\ [1-5][!0-9]* | *pgcpp\ [1-5][!0-9]*)

--
------------------------------------------------------------------------
Brent Leback - Engineering Manager               address@hidden
The Portland Group                               http://www.pgroup.com
Advanced Compilers and Tools                     http://www.wil.st.com
SST Portland Lab, STMicroelectronics             Phone:  +1-503-431-7139
Two Centerpointe Drive, Suite 320                FAX:    +1-503-682-2637
Lake Oswego, OR USA 97035                        Cell:   +1-503-805-9153
------------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]