First, please note that having gfortran testresults for one platform
only means that "some version of the compiler was able to correctly
compile GMP & MPFR", not that "GCC trunk is able to correctly compile
GMP & MPFR". Nevertheless:
* i386-unknown-freebsd (alpha-unknown-freebsd5.4)
http://g
Hi all,
I'm not sure whom to write about the workings of the GCC bugzilla
database, so I'm writing here and CCing Daniel Berlin, since IIRC he
handles part of that work.
I think it would be nice (although not high priority) to remove the
libf2c component in bugzilla, since we don't ship libf2c a
And why would you think (twice) that the best place for reporting this
is neither the gfortran mailing-list, nor bugzilla?
I suggest that you test the following patch and report back to us:
Index: libgfortran/runtime/error.c
===
---
I suggest that you test the following patch and report back to us:
I got the patch wrong (it's not a real printf function we have there):
Index: libgfortran/runtime/error.c
===
--- libgfortran/runtime/error.c (revision 118806)
+++
[sorry for breaking the thread; stupid gmail doesn't want to add
custom References headers]
It may be that not too many people pick up 4.2.0. But, if 4.3 isn't
looking very stable, there will be a point when people decide that 4.2.0
is looking very attractive. The worst outcome of trying to do
Hi all,
There are two platforms on which mainline is broken:
* bootstrap is broken for i386-netbsd, see PR30058
* the compiler built on i386-mingw32 is unusable, see PR30589
Both regressions were introduced by Geoffrey Keating
(http://gcc.gnu.org/ml/gcc-patches/2006-11/msg3.html) in a "C99
As it turns out, I do now have access to a NetBSD system, and will
look at that problem when I next get time.
Thanks. When you provid a patch, I will test it. (If someone else ever
wants access to a netbsd system, it's worth noting there's one on the
GCC compile farm!)
My understanding from 30
Hi Richard,
I found the following in my build logs, and thought it was worth
reporting to you. Although I don't speak texinfo, the lines in
questions are the ones introduced by your ColdFire 9/63 patch
(commited as rev. 120713):
perl /home/fxcoudert/gfortran_nightbuild/trunk/gcc/../contrib/texi2
I noticed a performance regression on the following code:
$ cat a.c
#include
#include
void
add256 (uint64_t x[4], const uint64_t y[4])
{
unsigned char carry;
x[0] += y[0];
carry = (x[0] < y[0]);
x[1] += y[1]+carry;
carry = carry ? (x[1] <= y[1]) : (x[1] < y[1]);
x[2] += y[2]+carry;
carr
Hi Tobias,
What is the proper way to obtain this information?
I fear the answer to this question is "there's no way". We already
discussed that a few months ago, at the thread starting here: http://
gcc.gnu.org/ml/gcc/2006-10/msg00346.html From private discussion,
with Paul Brook & Josep
Thus we may consider adding a -fstdcall option to gfortran, which
appends the @n. The -mrtd would be needed additionally and it seems to
work. (That I don't get @n in C for __stdcall might because I tested
under Linux.)
On mingw, I get the following:
$ cat a.c
int foo(int x) { return x+1; }
$ g
It might be considered a backend issue, but in general it
is a binutils (so OP is in the wrong list!).
I beg to disagree with the "in general it is a binutils issue" part.
One of the posters explained why the information needed for name
decoration can't be determined at link-time (nor at assembl
Hi all,
I'm working on implementing a correct Fortran rounding (rounding to
nearest-integer, with half integer values rounded to the integer of
maximum absolute value) in the Fortran front-end, following
ada/trans.c (convert_with_check) and
http://gcc.gnu.org/ml/fortran/2005-04/msg00139.html
The
Hi all,
A bootstrap attempt of GCC mainline on a i386-unknown-netbsdelf2.0.2 with:
Memory: 378M Act, 264M Inact, 3520K Wired, 4664K Exec, 633M File, 151M Free
Swap: 129M Total, 129M Free
failed due to a compilation error in stage1:
cc1: out of memory allocating 138677280 bytes after a total
My nightly bootstrap of mainline on i386-linux failed tonight, on
revision 123192.
This issue is still not fixed as of now. A diff was posted to PR31344
with the mention "This isn't a real patch." Is a real patch planned in
the near future, or is there any other short-time plan to get
i386-linux
is there any other short-time plan to get
i386-linux bootstrap back?
Just configure gcc with --disable-decimal-float. I don't think
dfp works on x86 very well.
Thanks for suggesting --disable-decimal-float.
Note that, in my above sentence, "any other short-time plan" includes
disabling it by
I tried to apply on the SoC website, but the application form only
reloaded when I hit "Become a mentor", neither saying if it worked
or didn't work. So, I hope it worked. Can someone check it (Ian,
maybe?)
Problem fixed. The Google form doesn't work if you 1) use Safari and
2) come from
Hi all,
Could someone give me a pointer to doc or code about building a
function decl and function call expr that take a variable number of
arguments (like printf)?
Thanks,
FX
Hi Zack, hi all,
A bootstrap of GCC mainline, rev. 123324, fails because of:
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wmissing-for
I'm CCing Zack
Away on vacation until March 31st, said the automated reply.
PS: I've launched a cross build to see if I can reproduce it there,
which would of course make it easier for tracking down.
Works OK on the cross. So, it's probably a host problem in gengtype.
It appears to exist on
Yeah, it appears I was overly optimistic in hoping vsnprintf() would
do what C99 says it does. I do not have access to any system that
shows the problem, but I've attached a patch that should fix it (it
just reverts the oprintf() changes, which were not really necessary, I
was just trying to be m
Hi Aurélien,
A few remarks:
1. you don't show us the actual compilation error message: why is
make failing?
2. maybe you don't know, but there are binaries available from
http://gcc.gnu.org/wiki/GFortranBinaries, if that helps.
3. you should definitely quote the system compiler and cctools
ver
out_make is the output of the make. In fact it is the output of the
make launch a second time. (To big otherwise.)
Yes, but it's missing the standard error file. Please use:
make > out_make 2> err_make
or something similar.
FX
You want more bugs fixed, it would seem a better way would be to build
a better sense of community (Have bugfix-only days, etc) and encourage
it through good behavior, not through negative reinforcement.
I do agree with that in a general way, but I think there should also
be a real effort done b
The "mea culpa" is to permit for long time to modify "configure" instead of
"configure.ac" or "configure.in" that is used by "autoconf" and/or "automake".
[...]
I'm sorry, but I don't understand at all what you propose, what your
proposal is supposed to fix or how that is related to the mail yo
libdecnumber/aclocal.m4:# generated automatically by aclocal 1.9.5 -*-
Autoconf -*-
That's a problem in the last regeneration of this file. I'm CCing M.
Meissner, H. J. Lu and M. Cornea, since they appear to have last
changed this file, although there's no ChangeLog entry for it in their
commit.
Hi all,
Attached is a first draft of a patch to add a -fstatic-libgfortran
option. This new option is recognized by the driver and instead of
adding "-lgfortran" to the various subprocesses, it adds "-Wl,-Bstatic
-lgfortran -Wl,-Bdynamic". I have two questions about this:
+ linkers other than th
Sorry about the (possibly off) question: would this apply also to
GMP/MPFR, if not, wouldn't it make sense?
GMP and MPFR are host libraries, so it is actually an independent
issue. However, it might be worth having --with-static-gmp and
--with-static-mpfr to request static linking of these libra
Can you explain in a little more detail what you are trying
to accomplish? gfortran can already pass the -m and -f
options suppported by gcc. For example, -ffast-math works.
Runtime library reads GFORTRAN_FPU_* environment variables if they exist,
and set up the FPU accordingly.
One other thing
[speaking of an environnement variable used to set IEEE rounding mode]
You'll find that globally changing the rounding mode will screw up
libm functions. Which is pretty much going to make this useless.
Further, when folks need rounding modes other than round-to-nearest,
they tend to need to switc
I believe that you understand incorrectly.
Of course, you're right. We can choose not to support alteration of rounding
mode, but we might want to add that nice feature into gfortran. So, I'll
stop invoking the standard, but I still think it would be interesting. Of
course, since noone seems to
> Knowing that you do regular Cygwin builds of gcc, I wonder can you advise
> me, please? For the better part of a month, I have not succeeded in
> building gcc from the CVS tree under Cygwin_NT-5.1 for one reason or
> another.
That's PR 21766 (appropriately named "Bootstrap failure on
i686-pc-cy
The fortran front-end needs to recognize clog10, clog10f and clog10l a
proper built-ins. Attached patch tries to add them to clog10, under a
new category: DEF_EXT_C99RES_BUILTIN (as suggested by jsm28).
Can someone review this? Is it OK?
Thanks,
François-Xavier
Index: gcc/builtins.def
===
>> * builtins.def: Add DEF_EXT_C99RES_BUILTIN to define builtins
>> that C99 reserve for future use. Use it to define clog10, clog10f
>> and clog10l.
>
> Ok.
Commited.
Thanks,
FX
Coming back to this topic.
Nobody has answered to one of my questions: if the mingw/cygwin
maintainers can't approve such a patch, who can?
FX
Hi all,
PR 22619 and PR 22509 are two examples of recent 4.1 regressions that
showed up in gfortran, due to middle-end or optimization bugs (only
happen at -O3). Since these are regressions, they should be treated
before a long time passes, but since both source codes are Fortran, I
guess people d
Hi all,
I've been playing with the svn test repo during the last few days,
updating my own (few) scripts and all, and it's been going very
smoothly. The only thing that's worrying me is disk usage.
I do only have small involvement in gcc, preparing few patches (never
more than 5 at a time) on lim
> Not that I know of. As Daniel Berlin said, Subversion 1.4 will probably have
> support for checking out repositories with compressed local copies (or no copy
> at all -- but I wouldn't suggest this, as you'd start to be slow in "svn
> diff",
> "svn stat", etc).
I guess no local copy would be fi
Since there is a big brainstorming, I will sum up my opinion here (and
then stop spending time on this issue). From the discussion, it looks
like the switch seems the most important constraint imposed by the switch
is about hardware/software requirements, and I do strongly second this
point.
For e
>> PR fortran/18452
>> * gcc/c.opt: Add a -lang-fortran option.
>> * gcc/c-opts.c: Add a lang_fortran flag.
>> (c_common_init_options): Handling the -lang-fortran option.
>> (c_common_handle_option): Add a case for Fortran options in
>> preprocessing. Remove case
>> - with this patch, the libgfortran is built, but the gfortran
>> testsuite doesn't run; why isn't $(RPATH_ENVVAR) including HOST_LIB_PATH
>> for the testsuite?
>
> It should
Well, it doesn't. The problem is that the gfortran testsuite is not
run with the toplevel Makefile, but by going into t
> You can use "make check-target-libgfortran", which is what I thought you
> were using to test.
There's no testsuite for libgfortran (the command you mentionned does
not test anything). The only way I'm aware of to run the gfortran
testsuite is "make check-fortran" inside $builddir/gcc. I think I
Here is a patch to fix PR libfortran/21547: when building with
--with-gmp=/foo/bar and a shared libgmp in /foo/bar, the
$(RPATH_ENVVAR) variable (usually LD_LIBRARY_PATH) is not set
correctly when using the freshly built gfortran to build libgfortran.
The same thing happens for the gfortran testsui
>> Here is a patch to fix PR libfortran/21547: when building with
>> --with-gmp=/foo/bar and a shared libgmp in /foo/bar, the
>> $(RPATH_ENVVAR) variable (usually LD_LIBRARY_PATH) is not set
>> correctly when using the freshly built gfortran to build libgfortran.
>> The same thing happens for the g
> The newest version of mpfr will build a shared library.
> In fact, we should move to using the newest version,
> but I think some/many people would object to having two
> external library dependencies.
What advantages have the newest version? And (sorry for the obvious
question) why isn't it kep
> Basic testing done on i686-linux (built with --languages=c,fortran and
> a shared libgmp in /foo/bar, and regtested). Extended testing (which
> takes ages on my computer) in progress.
>
> OK for mainline? OK for 4.0?
*ping*
This patch has both a toplevel part and a part in gcc/, so I don't
know
> Or did I miss the point entirely?
Right now, having the GMP/MPFR libraries (later refered as GMP) in
/home/gmp and typing:
configure --with-gmp=/home/gmp --enable-languages=c,fortran
does configure fine but running "make" then fails when it attempts to
build libgfortran. This is PR 21547, see
>> Basic testing done on i686-linux (built with --languages=c,fortran and
>> a shared libgmp in /foo/bar, and regtested). Extended testing (which
>> takes ages on my computer) in progress.
>>
>> OK for mainline? OK for 4.0?
>
> *ping*
>
> This patch has both a toplevel part and a part in gcc/, so I
>>> Testing done on i686-linux (built with --languages=c,fortran and
>>> a shared libgmp in /foo/bar, and regtested).
>>> OK for mainline? OK for 4.0?
ping**3, build machinery maintainers in Cc.
This patch makes --with-gmp and --with-mpfr similar to --with-as and
others, where you don't need to h
Hi,
I am stuck with PR libfortran/22097 because currently, the libgfortran
configury isn't clever enough to get cabsl (among others) right on
mips-irix6.5. config.h has
#define HAVE_CABSF 1
and
/* #undef HAVE_COMPLEX_H */
while the correct definition of cabsl is provided in complex.h. Can
someon
> I have got massive FORFRAN test failures on Linux/ia64 and
> Linux/x86-64:
>
> http://gcc.gnu.org/ml/gcc-testresults/2006-02/msg00730.html
> http://gcc.gnu.org/ml/gcc-testresults/2006-02/msg00729.html
>
> Most of failures look like:
>
> /net/gnu-13/export/gnu/src/gcc/gcc/gcc/testsuite/gfortran.dg
Hi all,
I'm sending this mail because I'm a bit confused about the
-mlong-double-128 option on (for example) ppc64-linux, and its impact
on gfortran/libgfortran.
When I simply bootstrap a compiler with "configure
--with-cpu=default32", I get a gfortran that does only have kind=4 and
kind=8 reals
> I guess libgfortran has configury to figure out if kind=16 is available?
Yes.
> If so then libgfortran should be built with -mlong-double-128, as this
> should only add extra symbols that do not conflict with kind=4 and kind=8
> ones.
Hum, that has to be done early in the configury (before all
> Having gfortran magically know about certain ABI breaking options, and doing
> funny things on certain targets seems a very bad precedent to me.
Then, I think we should have the front-end refuse the option. It's
annoying to have a compiler accept code, and only tell you at runtime
(at the end of
Hi all,
libgomp currently doesn't configure well on Tru64 (PR
bootstrap/26161), because the configury is testing the usability of
pthread.h system headers, while on Tru64 this can only work when the
compiler is used with the -pthread option.
While this flag could be added on a per-target basis (i
> I might be missing out on something but I get a segmentation fault when
> manualy executing omp_hello.f from libgomp testsuite
> (libgomp/testsuite/libgomp.fortran/omp_hello.f)...
>
> Compiled using gfortran -static -fopenmp -g omp_hello.f -o omp_hello
Hum... for trunk on i686-linux, I do see th
[sorry for breaking the thread, stupid gmail interface doesn't allow
adding custom headers]
> i tried to compile gcc 4.1.0 (the final release) on windows, too. I'm using
> msys and configured the buildprocess with "--enable-threads=win32
> --with-win32-nlsapi=unicode". On the msys console i type "
> I started again (deleted the generated files) and configured with "sh
> ../gcc-4.1.0/configure --prefix=/home/gcc41 --enable-threads=win32
> --with-ld=/mingw/bin/ld --with-win32-nlsapi=unicode" and fired "make
> bootstrap". I think this time make made more than the last time, but ejected
> an err
Hi all,
I'm experiencing a strange gfortran bug, i686-pc-mingw32 specific,
with options -march=pentium4 -mfpmath=sse -msse. I reproduce it below,
and post it here before filing it because I can't manage to create a C
testcase, and have no idea if this is something already known (though
my bugzilla
> I'm experiencing a strange gfortran bug, i686-pc-mingw32 specific,
> with options -march=pentium4 -mfpmath=sse -msse.
Some more input... the bug appears when SSE sqrtsd is called, but only
if libgfortran contrusctors have been run:
cat a.s
.file "a.f90"
.section .rdata,"dr"
Hi all,
The following regression appeared between 20060504 and 20060505 on
i686-linux. It is filed as PR 27443,and appears to be a consequence of
a new optimization pass introduced by revision 113518.
FAIL: gfortran.fortran-torture/execute/entry_3.f90 compilation, -O3
-fomit-frame-pointer
FAIL:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27437
Humpf. Does that mean that the patch wasn't regtested before being applied?
FX
[CCing the OpenMP experts]
Henry,
The -fopenmp option doesn't work under mingw32. Since I am the one
building the Windows (mingw32) binary packages you downloaded, I'm
rather interesting in getting it to work... So here are a few things
we could sort out:
1. currently, using the -fopenmp optio
you just port libgomp to mingw32 + pthreads-win32
and assuming pthreads-win32 is sufficiently rich and not too buggy, it will
just work.
With the attached patch, I can compile libgomp with
../gcc/configure --prefix=/mingw --disable-nls --with-ld=/mingw/bin/ld
--with-as=/mingw/bin/as --disable-w
I've been doing some benchmarking of gfortran, and reducing the
testcase leads to what seems a missed optimization in the following
code:
$ cat a.c
void foo (float * restrict x, float * restrict y)
{
int i;
for (i = 0; i < 1; i++)
x[i] = y[i] * y[i];
}
$ gcc a.c -O1 -ffast-math -msse -m
Hi,
I'm trying to understand PR 13615, where a used-uninitialized Fortran
character string induces the following diagnostic:
'c[1]{lb: 1 sz: 1}t.f: In function 'warn_character':
t.f:33: warning: ' is used uninitialized in this function
I see that this error message is emitted from tree-ssa.c, b
I'd say the FE is not setting the name properly into whatever _DECL we
found.
unit size
align 8 symtab 0 alias set 4 precision 8 min max
pointer_to_this >
used unsigned QI file pr13615.f line 7 size unit size
align 8 context >
I'll try to understand why this $1
Hi,
When the commit which introduced the regression is known, why not
simply assign the bug to the committer? Surely, people do follow
regularly the bugs that are assigned to them, don't they?
In my opinion, all regressions should always be assigned to someone,
at all times. Either to the identi
CCing the person who caused the regression is more appropriate. Assigning
bugs to them detracts others from fixing the bug.
We already do that, and in lots of cases it doesn't work. CCing is not
coercive enough, you only receive a few more mails (and some people
don't even read their bugzilla m
We already do that, and in lots of cases it doesn't work. CCing is not
coercive enough, you only receive a few more mails (and some people
don't even read their bugzilla mail).
Coercion isn't an option that is available to us.
Hum, I checked the Merriam-Webster dictionary, and clearly "coerciv
Hello,
It too is possible that you
have completed your assignment process with the FSF, but have yet to be
removed from the list of outstanding assignments. If this is the case
please let me know so that I can update the record.
This is the case: I have had a copyright assignment on file for a
Hi all,
Bootstrap including gfortran has been broken on native i386-pc-mingw32
for at least 10 days, with the C compiler having an ICE while
compiling libgfortran/io/write.c. I finally found the opportunity to
reduce the ICE to the following code:
$ cat write.i
extern void fflush (int);
extern __
> FAIL: gfortran.dg/g77/980310-3.f (internal compiler error)
> FAIL: gfortran.dg/g77/980310-3.f (test for excess errors)
I saw this one on x86_64-linux with -m32, and filed it as PR33074. I
asked about it on IRC yesterday, and if I understood Andrew Pinksi, it
probably is a middle-end problem, as
Well, at least the culprit is easy to find!
2007-08-16 H.J. Lu <[EMAIL PROTECTED]>
* Makefile.in (REVISION): New.
(REVISION_c): New.
(REVISION_s): New.
(version.o): Also depend on $(REVISION). Add
-DREVISION=$(REVISION_s).
* version.c (version_st
> Because of the famous duplicated declaration problem
This sentence is reminding me that I forgot to send the following update:
As I said I was going to give it a shot over the week-end, here's an
update on this: it won't make it into 4.3, because it's a big change
and my current patch is trigge
>> As I said I was going to give it a shot over the week-end, here's an
>> update on this: it won't make it into 4.3, because it's a big change
>> and my current patch is triggering a very long string of
> Huh, still I would be interested in seeing the patch.
It's based on Michal Matz's patch at
h
> Does anyone knows the answer? or should it be asked on comp.lang.fortran?
It's very specific to the problem at hand, so I doubt c.l.f could give
us much input on that. As I understand, in this case, it actually is
the right thing to do.
FX
The last few days have seen a regression in the Fortran testsuite on
i386-linux and x86_64-linux (filed as PR33391). The following code
gives wrong results at -O2 while it works at -O1:
program test
integer(kind=1) :: i
do i = -128, 127
end do
if (i /= -128) call abort
end pro
Hi all,
I'm currently rewriting the fortran/ part of the GCC website and
trying to use the website preprocessor locally, to check my
modifications (which include bringing fortran/ to the website common
style). The script needs mhc, which seems to be the metahtml
compiler. I tried to compile metaht
The documentation for different releases of GCC in the same branch
vary only slightly. For that reason, I think it would be nice to be
able to have a URL for "the doc of a given branch", meaning "the doc
of the last released version of this branch". For example, that would
be achieved by creating a
Hi there,
Mainline currently doesn't bootstrap on mips-sgi-irix6.5 due to an ICE
while compiling mips-sgi-irix6.5/64/libgcc/_powitf2.o at stage 1. This
happens, afaict, with any use of the TF mode with either -mabi=64 or
-mabi=n32:
$ cat foo.i
void __powitf2 (float x __attribute__ ((mode (TF
ping? Gerald, being web pages maintainers, what's your opinion?
Answering to Janne's comment, I'm certainly not opposed to any
preprocessor/templating system. My own goal is to rewrite the fortran
pages, including the common navigation bar, and I can't use MetaHTML
to do that.
On 9/29/07, FX Co
Bootstrap on i386-linux has been broken for a week now, from what I
can see. I have reported it as PR33679
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33679), but AFAIK noone
has reproduced it, as most people now build for i686-linux. Could
someone please spare a cycle to confirm this problem? I c
Hi Uros,
It sounds like a great idea! I'm forwarding this to the Fortran list,
because I think it might raise quite some interest there also :
http://gcc.gnu.org/ml/gcc/2007-11/msg00164.html
FX
84 matches
Mail list logo