public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Alexandre Petit-Bianco <apbianco@cygnus.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: java/4360: libjava fails to compile on i686-pc-linux-gnu (AttributedString) Date: Fri, 21 Sep 2001 11:26:00 -0000 [thread overview] Message-ID: <20010921182601.24384.qmail@sourceware.cygnus.com> (raw) The following reply was made to PR java/4360; it has been noted by GNATS. From: Alexandre Petit-Bianco <apbianco@cygnus.com> To: "Georg Wild" <georg.wild@gmx.de>, gcc-gnats@gcc.gnu.org Cc: Subject: Re: java/4360: libjava fails to compile on i686-pc-linux-gnu (AttributedString) Date: Fri, 21 Sep 2001 11:25:45 -0700 (PDT) [Please keep gcc-gnats@gcc.gnu.org in CC so that things get archived, not mentionning reaching a larger audience.] Georg Wild writes: > /root/gcc/gcc/gcj -B/root/gcc/i686-pc-linux-gnu/libjava/ -B/root/gcc/gcc/ -- > encoding=UTF-8 -C -g -classpath /root/gcc/i686-pc-linux-gnu/libjava:. -d > /root/gcc/i686-pc-linux-gnu/libjava java/lang/ClassNotFoundException.java > java/lang/ClassNotFoundException.java:0: warning: source file seen twice on > command line and will be compiled only once. Intriguing. Can you apply the patch below, and run the same command putting a -v at the end of it? Thanks. ./A Index: jcf-parse.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/java/jcf-parse.c,v retrieving revision 1.93 diff -u -p -r1.93 jcf-parse.c --- jcf-parse.c 2001/09/06 22:22:43 1.93 +++ jcf-parse.c 2001/09/21 18:23:14 @@ -950,7 +950,13 @@ predefined_filename_p (node) int i; for (i = 0; i < PREDEF_FILENAMES_SIZE; i++) if (predef_filenames [i] == node) - return 1; + { + printf ("// predefined_filename_p: %s found @%d\n", + IDENTIFIER_POINTER (node), i); + return 1; + } + printf ("// predefined_filename_p: %s not found\n", + IDENTIFIER_POINTER (node)); return 0; } @@ -1050,14 +1053,21 @@ yyparse () current_file_list. This search happens only for these files, presumably only when we're recompiling libgcj. */ + printf ("// value=%s\n", value); if ((id = maybe_get_identifier (value))) { + printf ("// id=%s\n", IDENTIFIER_POINTER (id)); if (predefined_filename_p (id)) { tree c; for (c = current_file_list; c; c = TREE_CHAIN (c)) - if (TREE_VALUE (c) == id) - twice = 1; + { + printf ("// Considering c=%s - id=%s", + IDENTIFIER_POINTER (TREE_VALUE (c)), + IDENTIFIER_POINTER (id)); + if (TREE_VALUE (c) == id) + twice = 1; + } } else twice = 1;
next reply other threads:[~2001-09-21 11:26 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-09-21 11:26 Alexandre Petit-Bianco [this message] -- strict thread matches above, loose matches on Subject: below -- 2001-09-22 11:52 apbianco 2001-09-22 11:26 Alexandre Petit-Bianco 2001-09-22 9:26 Alexandre Petit-Bianco 2001-09-22 3:46 Georg Wild 2001-09-22 3:26 Georg Wild 2001-09-21 15:46 Alexandre Petit-Bianco 2001-09-21 13:06 Alexandre Petit-Bianco 2001-09-20 8:16 Alexandre Petit-Bianco 2001-09-19 8:26 Alexandre Petit-Bianco 2001-09-19 6:06 georg.wild
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20010921182601.24384.qmail@sourceware.cygnus.com \ --to=apbianco@cygnus.com \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).