This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.4 patch?] -save-temps still produces different .s and .o

On Jan 24, 2004, Per Bothner <> wrote:

> Alexandre Oliva wrote:
>> However, your simpler patch also fails to fix the problem that the
>> dir// entries are duplicated if you re-preprocess an already
>> preprocessed file.  Getting cb.dir_change to output while
>> preprocessing requires you to remove the token backtracking, such that
>> the line-change directive isn't processed twice, once issuing the
>> dir_change callback within read_main_directory (sp?), and once as a
>> regular line-change directive after backtracking.  This is wrong.

> I don't see why it matters,

Me neither, but it was imposed as a hard requirement on me when I
implemented -fworking-directory.

> I have changed the rules in mainline:  Use the line_table variable:

>    line_table.trace_includes = cpp_opts->print_include_names;

Even cleaner!  Cool.

Alexandre Oliva   Enjoy Guarana', see
Happy GNU Year!                     oliva@{,}
Red Hat GCC Developer                 aoliva@{,}
Free Software Evangelist                Professional serial bug killer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]