public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/30765] New: generating files from m4
@ 2007-02-11 19:42 tkoenig at gcc dot gnu dot org
2007-02-11 21:00 ` [Bug libfortran/30765] " tkoenig at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-02-11 19:42 UTC (permalink / raw)
To: gcc-bugs
There is something mighty strange going on with the
dependencies for the files generated with m4 with
--enable-maintainer-mode.
In http://gcc.gnu.org/ml/gcc-cvs/2007-02/msg00353.html ,
I committed a change to Makefile.am which removed $(srcdir) from
a lot of targets. This is required to get touch m4/* to
correctly regenerate the targets.
OTOH, the $(srcdir) is needed to get "rm generated/* && make"
to work.
Yuck.
--
Summary: generating files from m4
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tkoenig at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30765
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/30765] generating files from m4
2007-02-11 19:42 [Bug libfortran/30765] New: generating files from m4 tkoenig at gcc dot gnu dot org
@ 2007-02-11 21:00 ` tkoenig at gcc dot gnu dot org
2007-02-14 17:22 ` tkoenig at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-02-11 21:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tkoenig at gcc dot gnu dot org 2007-02-11 21:00 -------
I have a fix.
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tkoenig at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-02-11 21:00:01
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30765
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/30765] generating files from m4
2007-02-11 19:42 [Bug libfortran/30765] New: generating files from m4 tkoenig at gcc dot gnu dot org
2007-02-11 21:00 ` [Bug libfortran/30765] " tkoenig at gcc dot gnu dot org
@ 2007-02-14 17:22 ` tkoenig at gcc dot gnu dot org
2007-02-19 20:50 ` [Bug libfortran/30765] [4.3 regression] " tkoenig at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-02-14 17:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tkoenig at gcc dot gnu dot org 2007-02-14 17:22 -------
Hi FX,
I had already noticed the breakage, you can look at
the fix I have in PR 30533.
I'll be in a position to submit a formal patch on Friday
(probably).
Regards
Thomas
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30765
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/30765] [4.3 regression] generating files from m4
2007-02-11 19:42 [Bug libfortran/30765] New: generating files from m4 tkoenig at gcc dot gnu dot org
2007-02-11 21:00 ` [Bug libfortran/30765] " tkoenig at gcc dot gnu dot org
2007-02-14 17:22 ` tkoenig at gcc dot gnu dot org
@ 2007-02-19 20:50 ` tkoenig at gcc dot gnu dot org
2007-02-19 21:45 ` [Bug libfortran/30765] [4.2, 4.1 only] " tkoenig at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-02-19 20:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tkoenig at gcc dot gnu dot org 2007-02-19 20:49 -------
Subject: Bug 30765
Author: tkoenig
Date: Mon Feb 19 20:49:10 2007
New Revision: 122137
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122137
Log:
2007-02-19 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/30533
PR libfortran/30765
* Makefile.am: Add $(srcdir) too all files in generated/.
(i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c,
maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and
maxloc0_16_i2.c.
(i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c,
maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and
maxloc1_16_i2.c.
(i_maxval_c): Add maxval_i1.c and maxval_i2.c.
(i_minloc0_c): Add minloc0_4_i1.c, minloc0_8_i1.c,
minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and
minloc0_16_i2.c.
(i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c,
minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and
minloc1_16_i2.c.
(i_minval_c): Add minval_i1.c and minval_i2.c.
(i_sum_c): Add sum_i1.c and sum_i2.c.
(i_product_c): Add product_i1.c and product_i2.c.
(i_matmul_c): Add matmul_i1.c and matmul_i2.c.
(gfor_built_specific_src): Remove $(srcdir) from target.
(gfor_bulit_specific2_src): Likewise.
Makefile.in: Regenerated.
libgfortran.h: Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE.
Add gfc_array_i1 and gfc_array_i2.
* generated/matmul_i1.c: New file.
* generated/matmul_i2.c: New file.
* generated/maxloc0_16_i1.c: New file.
* generated/maxloc0_16_i2.c: New file.
* generated/maxloc0_4_i1.c: New file.
* generated/maxloc0_4_i2.c: New file.
* generated/maxloc0_8_i1.c: New file.
* generated/maxloc0_8_i2.c: New file.
* generated/maxloc1_16_i1.c: New file.
* generated/maxloc1_16_i2.c: New file.
* generated/maxloc1_4_i1.c: New file.
* generated/maxloc1_4_i2.c: New file.
* generated/maxloc1_8_i1.c: New file.
* generated/maxloc1_8_i2.c: New file.
* generated/maxval_i1.c: New file.
* generated/maxval_i2.c: New file.
* generated/minloc0_16_i1.c: New file.
* generated/minloc0_16_i2.c: New file.
* generated/minloc0_4_i1.c: New file.
* generated/minloc0_4_i2.c: New file.
* generated/minloc0_8_i1.c: New file.
* generated/minloc0_8_i2.c: New file.
* generated/minloc1_16_i1.c: New file.
* generated/minloc1_16_i2.c: New file.
* generated/minloc1_4_i1.c: New file.
* generated/minloc1_4_i2.c: New file.
* generated/minloc1_8_i1.c: New file.
* generated/minloc1_8_i2.c: New file.
* generated/minval_i1.c: New file.
* generated/minval_i2.c: New file.
* generated/product_i1.c: New file.
* generated/product_i2.c: New file.
* generated/sum_i1.c: New file.
* generated/sum_i2.c: New file.
2007-02-19 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/30533
* fortran/iresolve.c(gfc_resolve_maxloc): Remove coercion of
argument to default integer.
(gfc_resolve_minloc): Likewise.
2007-02-19 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/30533
* gfortran.dg/intrinsic_intkinds_1.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/intrinsic_intkinds_1.f90
trunk/libgfortran/generated/matmul_i1.c
trunk/libgfortran/generated/matmul_i2.c
trunk/libgfortran/generated/maxloc0_16_i1.c
trunk/libgfortran/generated/maxloc0_16_i2.c
trunk/libgfortran/generated/maxloc0_4_i1.c
trunk/libgfortran/generated/maxloc0_4_i2.c
trunk/libgfortran/generated/maxloc0_8_i1.c
trunk/libgfortran/generated/maxloc0_8_i2.c
trunk/libgfortran/generated/maxloc1_16_i1.c
trunk/libgfortran/generated/maxloc1_16_i2.c
trunk/libgfortran/generated/maxloc1_4_i1.c
trunk/libgfortran/generated/maxloc1_4_i2.c
trunk/libgfortran/generated/maxloc1_8_i1.c
trunk/libgfortran/generated/maxloc1_8_i2.c
trunk/libgfortran/generated/maxval_i1.c
trunk/libgfortran/generated/maxval_i2.c
trunk/libgfortran/generated/minloc0_16_i1.c
trunk/libgfortran/generated/minloc0_16_i2.c
trunk/libgfortran/generated/minloc0_4_i1.c
trunk/libgfortran/generated/minloc0_4_i2.c
trunk/libgfortran/generated/minloc0_8_i1.c
trunk/libgfortran/generated/minloc0_8_i2.c
trunk/libgfortran/generated/minloc1_16_i1.c
trunk/libgfortran/generated/minloc1_16_i2.c
trunk/libgfortran/generated/minloc1_4_i1.c
trunk/libgfortran/generated/minloc1_4_i2.c
trunk/libgfortran/generated/minloc1_8_i1.c
trunk/libgfortran/generated/minloc1_8_i2.c
trunk/libgfortran/generated/minval_i1.c
trunk/libgfortran/generated/minval_i2.c
trunk/libgfortran/generated/product_i1.c
trunk/libgfortran/generated/product_i2.c
trunk/libgfortran/generated/sum_i1.c
trunk/libgfortran/generated/sum_i2.c
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/iresolve.c
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/Makefile.am
trunk/libgfortran/Makefile.in
trunk/libgfortran/libgfortran.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30765
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/30765] [4.2, 4.1 only] generating files from m4
2007-02-11 19:42 [Bug libfortran/30765] New: generating files from m4 tkoenig at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-02-19 20:50 ` [Bug libfortran/30765] [4.3 regression] " tkoenig at gcc dot gnu dot org
@ 2007-02-19 21:45 ` tkoenig at gcc dot gnu dot org
2007-02-28 21:37 ` tkoenig at gcc dot gnu dot org
2007-02-28 21:39 ` [Bug libfortran/30765] [4.1 " tkoenig at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-02-19 21:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from tkoenig at gcc dot gnu dot org 2007-02-19 21:44 -------
The file generation issue still needs to be fixed on 4.2.
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.3 regression] generating |[4.2, 4.1 only] generating
|files from m4 |files from m4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30765
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/30765] [4.2, 4.1 only] generating files from m4
2007-02-11 19:42 [Bug libfortran/30765] New: generating files from m4 tkoenig at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-02-19 21:45 ` [Bug libfortran/30765] [4.2, 4.1 only] " tkoenig at gcc dot gnu dot org
@ 2007-02-28 21:37 ` tkoenig at gcc dot gnu dot org
2007-02-28 21:39 ` [Bug libfortran/30765] [4.1 " tkoenig at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-02-28 21:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from tkoenig at gcc dot gnu dot org 2007-02-28 21:36 -------
Subject: Bug 30765
Author: tkoenig
Date: Wed Feb 28 21:36:31 2007
New Revision: 122412
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122412
Log:
2007-02-28 Thomas Koenig <Thomas.Koenig@online.de>
Backport from trunk
PR fortran/30869
PR libfortran/30533
PR libfortran/30765
* match.c(gfc_match_iterator): Remove conflict between
loop variable and pointer.
* fortran/iresolve.c(gfc_resolve_maxloc): Remove coercion of
argument to default integer.
(gfc_resolve_minloc): Likewise.
2007-02-28 Thomas Koenig <Thomas.Koenig@online.de>
Backport from trunk
PR libfortran/30533
PR libfortran/30765
* Makefile.am: Add $(srcdir) too all files in generated/.
(i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c,
maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and
maxloc0_16_i2.c.
(i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c,
maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and
maxloc1_16_i2.c.
(i_maxval_c): Add maxval_i1.c and maxval_i2.c.
(i_minloc0_c): Add minloc0_4_i1.c, minloc0_8_i1.c,
minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and
minloc0_16_i2.c.
(i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c,
minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and
minloc1_16_i2.c.
(i_minval_c): Add minval_i1.c and minval_i2.c.
(i_sum_c): Add sum_i1.c and sum_i2.c.
(i_product_c): Add product_i1.c and product_i2.c.
(i_matmul_c): Add matmul_i1.c and matmul_i2.c.
(gfor_built_specific_src): Remove $(srcdir) from target.
(gfor_bulit_specific2_src): Likewise.
Use $(M4) instead of m4.
Makefile.in: Regenerated.
libgfortran.h: Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE.
Add gfc_array_i1 and gfc_array_i2.
* generated/matmul_i1.c: New file.
* generated/matmul_i2.c: New file.
* generated/maxloc0_16_i1.c: New file.
* generated/maxloc0_16_i2.c: New file.
* generated/maxloc0_4_i1.c: New file.
* generated/maxloc0_4_i2.c: New file.
* generated/maxloc0_8_i1.c: New file.
* generated/maxloc0_8_i2.c: New file.
* generated/maxloc1_16_i1.c: New file.
* generated/maxloc1_16_i2.c: New file.
* generated/maxloc1_4_i1.c: New file.
* generated/maxloc1_4_i2.c: New file.
* generated/maxloc1_8_i1.c: New file.
* generated/maxloc1_8_i2.c: New file.
* generated/maxval_i1.c: New file.
* generated/maxval_i2.c: New file.
* generated/minloc0_16_i1.c: New file.
* generated/minloc0_16_i2.c: New file.
* generated/minloc0_4_i1.c: New file.
* generated/minloc0_4_i2.c: New file.
* generated/minloc0_8_i1.c: New file.
* generated/minloc0_8_i2.c: New file.
* generated/minloc1_16_i1.c: New file.
* generated/minloc1_16_i2.c: New file.
* generated/minloc1_4_i1.c: New file.
* generated/minloc1_4_i2.c: New file.
* generated/minloc1_8_i1.c: New file.
* generated/minloc1_8_i2.c: New file.
* generated/minval_i1.c: New file.
* generated/minval_i2.c: New file.
* generated/product_i1.c: New file.
* generated/product_i2.c: New file.
* generated/sum_i1.c: New file.
* generated/sum_i2.c: New file.
2007-02-28 Thomas Koenig <Thomas.Koenig@online.de>
Backport from trunk
PR fortran/30869
PR libfortran/30533
PR libfortran/30765
* gfortran.dg/intrinsic_intkinds_1.f90: New test.
* gfortran.dg/do_pointer_1.f90: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/do_pointer_1.f90
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/intrinsic_intkinds_1.f90
branches/gcc-4_2-branch/libgfortran/generated/matmul_i1.c
branches/gcc-4_2-branch/libgfortran/generated/matmul_i2.c
branches/gcc-4_2-branch/libgfortran/generated/maxloc0_16_i1.c
branches/gcc-4_2-branch/libgfortran/generated/maxloc0_16_i2.c
branches/gcc-4_2-branch/libgfortran/generated/maxloc0_4_i1.c
branches/gcc-4_2-branch/libgfortran/generated/maxloc0_4_i2.c
branches/gcc-4_2-branch/libgfortran/generated/maxloc0_8_i1.c
branches/gcc-4_2-branch/libgfortran/generated/maxloc0_8_i2.c
branches/gcc-4_2-branch/libgfortran/generated/maxloc1_16_i1.c
branches/gcc-4_2-branch/libgfortran/generated/maxloc1_16_i2.c
branches/gcc-4_2-branch/libgfortran/generated/maxloc1_4_i1.c
branches/gcc-4_2-branch/libgfortran/generated/maxloc1_4_i2.c
branches/gcc-4_2-branch/libgfortran/generated/maxloc1_8_i1.c
branches/gcc-4_2-branch/libgfortran/generated/maxloc1_8_i2.c
branches/gcc-4_2-branch/libgfortran/generated/maxval_i1.c
branches/gcc-4_2-branch/libgfortran/generated/maxval_i2.c
branches/gcc-4_2-branch/libgfortran/generated/minloc0_16_i1.c
branches/gcc-4_2-branch/libgfortran/generated/minloc0_16_i2.c
branches/gcc-4_2-branch/libgfortran/generated/minloc0_4_i1.c
branches/gcc-4_2-branch/libgfortran/generated/minloc0_4_i2.c
branches/gcc-4_2-branch/libgfortran/generated/minloc0_8_i1.c
branches/gcc-4_2-branch/libgfortran/generated/minloc0_8_i2.c
branches/gcc-4_2-branch/libgfortran/generated/minloc1_16_i1.c
branches/gcc-4_2-branch/libgfortran/generated/minloc1_16_i2.c
branches/gcc-4_2-branch/libgfortran/generated/minloc1_4_i1.c
branches/gcc-4_2-branch/libgfortran/generated/minloc1_4_i2.c
branches/gcc-4_2-branch/libgfortran/generated/minloc1_8_i1.c
branches/gcc-4_2-branch/libgfortran/generated/minloc1_8_i2.c
branches/gcc-4_2-branch/libgfortran/generated/minval_i1.c
branches/gcc-4_2-branch/libgfortran/generated/minval_i2.c
branches/gcc-4_2-branch/libgfortran/generated/product_i1.c
branches/gcc-4_2-branch/libgfortran/generated/product_i2.c
branches/gcc-4_2-branch/libgfortran/generated/sum_i1.c
branches/gcc-4_2-branch/libgfortran/generated/sum_i2.c
Modified:
branches/gcc-4_2-branch/gcc/fortran/ChangeLog
branches/gcc-4_2-branch/gcc/fortran/iresolve.c
branches/gcc-4_2-branch/gcc/fortran/match.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
branches/gcc-4_2-branch/libgfortran/ChangeLog
branches/gcc-4_2-branch/libgfortran/Makefile.am
branches/gcc-4_2-branch/libgfortran/Makefile.in
branches/gcc-4_2-branch/libgfortran/libgfortran.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30765
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libfortran/30765] [4.1 only] generating files from m4
2007-02-11 19:42 [Bug libfortran/30765] New: generating files from m4 tkoenig at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-02-28 21:37 ` tkoenig at gcc dot gnu dot org
@ 2007-02-28 21:39 ` tkoenig at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-02-28 21:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from tkoenig at gcc dot gnu dot org 2007-02-28 21:39 -------
Fixed on 4.2. Closing.
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Summary|[4.2, 4.1 only] generating |[4.1 only] generating files
|files from m4 |from m4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30765
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-02-28 21:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-11 19:42 [Bug libfortran/30765] New: generating files from m4 tkoenig at gcc dot gnu dot org
2007-02-11 21:00 ` [Bug libfortran/30765] " tkoenig at gcc dot gnu dot org
2007-02-14 17:22 ` tkoenig at gcc dot gnu dot org
2007-02-19 20:50 ` [Bug libfortran/30765] [4.3 regression] " tkoenig at gcc dot gnu dot org
2007-02-19 21:45 ` [Bug libfortran/30765] [4.2, 4.1 only] " tkoenig at gcc dot gnu dot org
2007-02-28 21:37 ` tkoenig at gcc dot gnu dot org
2007-02-28 21:39 ` [Bug libfortran/30765] [4.1 " tkoenig at gcc dot gnu dot 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).