public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/53607] New: opt-functions.awk --> "awk: There is a regular expression error."
@ 2012-06-08  2:16 skunk at iskunk dot org
  2012-12-23  3:18 ` [Bug bootstrap/53607] " danglin at gcc dot gnu.org
  2021-12-24 14:12 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: skunk at iskunk dot org @ 2012-06-08  2:16 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53607

             Bug #: 53607
           Summary: opt-functions.awk --> "awk: There is a regular
                    expression error."
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: skunk@iskunk.org
              Host: hppa2.0w-hp-hpux11.00
            Target: hppa2.0w-hp-hpux11.00
             Build: hppa2.0w-hp-hpux11.00


Created attachment 27583
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27583
Proposed fix

Bootstrapping 4.7.0 on an HP-UX 11.00 system fails with

[...]
echo timestamp > s-options
awk -f /home/src/gcc-4.7.0/gcc/opt-functions.awk -f /tg/freepor
t/src/gcc/gcc--4.7.0-tera/gcc/opt-read.awk \
               -f /home/src/gcc-4.7.0/gcc/opth-gen.awk \
               < optionlist > tmp-options.h
awk: There is a regular expression error.
        ?, *, or + not preceded by valid regular expression
 The source line number is 90.
 The error context is
                        if (flags ~ >>>  "^{") <<< 
gmake[3]: *** [s-options-h] Error 2
gmake[3]: Leaving directory `/tmp/gcc-build/gcc'
gmake[2]: *** [all-stage1-gcc] Error 2
gmake[2]: Leaving directory `/tmp/gcc-build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/tmp/gcc-build'
gmake: *** [bootstrap-lean] Error 2


The fix for this is fairly trivial; patch against SVN is attached.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug bootstrap/53607] opt-functions.awk --> "awk: There is a regular expression error."
  2012-06-08  2:16 [Bug bootstrap/53607] New: opt-functions.awk --> "awk: There is a regular expression error." skunk at iskunk dot org
@ 2012-12-23  3:18 ` danglin at gcc dot gnu.org
  2021-12-24 14:12 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-12-23  3:18 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53607

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu.org

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2012-12-23 03:18:19 UTC ---
Please send patch with ChangeLog to gcc-patches and CC me.  I will
apply if approved.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug bootstrap/53607] opt-functions.awk --> "awk: There is a regular expression error."
  2012-06-08  2:16 [Bug bootstrap/53607] New: opt-functions.awk --> "awk: There is a regular expression error." skunk at iskunk dot org
  2012-12-23  3:18 ` [Bug bootstrap/53607] " danglin at gcc dot gnu.org
@ 2021-12-24 14:12 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-24 14:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53607

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So this was fixed in GCC 7 by r7-5331 (aka PR 78766) so I am going to close
this as a dup of bug 78766.

*** This bug has been marked as a duplicate of bug 78766 ***

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-24 14:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-08  2:16 [Bug bootstrap/53607] New: opt-functions.awk --> "awk: There is a regular expression error." skunk at iskunk dot org
2012-12-23  3:18 ` [Bug bootstrap/53607] " danglin at gcc dot gnu.org
2021-12-24 14:12 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).